aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-10 20:17:41 -0700
committerfriendica <info@friendica.com>2013-10-10 20:17:41 -0700
commitc52db29ff56abfed857b11d8b9cbfb5cb4d7d598 (patch)
treeeb9faf91bfcf8a343fff9a22453c1302fad2e793 /view/theme/redbasic/php/style.php
parent993e90e9746b6a6fbc763200fefb763439770515 (diff)
downloadvolse-hubzilla-c52db29ff56abfed857b11d8b9cbfb5cb4d7d598.tar.gz
volse-hubzilla-c52db29ff56abfed857b11d8b9cbfb5cb4d7d598.tar.bz2
volse-hubzilla-c52db29ff56abfed857b11d8b9cbfb5cb4d7d598.zip
set the colour of the active nav element so it doesn't get washed out
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r--view/theme/redbasic/php/style.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index 2afcbae66..b80a3e764 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -17,12 +17,14 @@
$nav_bg_3 = "#f00";
$nav_bg_4 = "#b00";
$search_background = '#FFDDDD';
+ $active_colour = '#444444';
}
if ($nav_colour == "black") {
$nav_bg_1 = $nav_bg_3 = "#000";
$nav_bg_2 = $nav_bg_4 = "#222";
$search_background = '#EEEEEE';
+ $active_colour = '#AAAAAA';
}
if ($nav_colour == "silver") {
$nav_bg_1 = $nav_bg_2 = $nav_bg_3 = $nav_bg_4 = "silver";
@@ -85,7 +87,8 @@
$radius = "5";
if (! $shadow)
$shadow = "0";
-
+ if(! $active_colour)
+ $active_colour = '#FFFFFF';
// Apply the settings
@@ -105,7 +108,8 @@ $options = array (
'$font_size' => $font_size,
'$font_colour' => $font_colour,
'$radius' => $radius,
-'$shadow' => $shadow
+'$shadow' => $shadow,
+'$active_colour' => $active_colour
);
echo str_replace(array_keys($options), array_values($options), $x);