From d94f6f7c53fbb01a76a6d3beb14968d02ebb3afa Mon Sep 17 00:00:00 2001 From: Jeroen Date: Tue, 7 Oct 2014 22:52:44 +0000 Subject: Schema option for bgcolour and underline yes/no on hover for the left aside. --- view/theme/redbasic/css/style.css | 5 +++++ view/theme/redbasic/php/style.php | 3 +++ view/theme/redbasic/schema/dark.php | 2 ++ view/theme/redbasic/schema/simple_black_on_white.php | 2 ++ view/theme/redbasic/schema/simple_green_on_black.php | 2 ++ view/theme/redbasic/schema/simple_white_on_black.php | 2 ++ 6 files changed, 16 insertions(+) (limited to 'view/theme') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index fd9139c11..7bf8d77bf 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2311,6 +2311,11 @@ blockquote { $dropdown_bgimghover } +aside .nav > li > a:hover, aside .nav > li > a:focus { + text-decoration: $navtabs_decohover; + background-color: $navaside_bghover; +} + .dropdown-menu img { border-radius: $radiuspx; } diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 4c998ce59..01ca5a7b9 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -109,6 +109,8 @@ if(! $a->install) { $navtabs_bgchover = "rgba(238,238,238,0.8)"; if (! $link_colour) $link_colour = "#428BCA"; + if (! $navaside_bghover) + $navaside_bghover = "#eee"; if (! $link_font_weight) $link_font_weight = "normal"; if (! $banner_colour) @@ -322,6 +324,7 @@ $options = array ( '$navtabs_linkchover' => $navtabs_linkchover, '$navtabs_bgchover' => $navtabs_bgchover, '$navtabs_decohover' => $navtabs_decohover, +'$navaside_bghover' => $navaside_bghover, '$link_colour' => $link_colour, '$link_font_weight' => $link_font_weight, '$banner_colour' => $banner_colour, diff --git a/view/theme/redbasic/schema/dark.php b/view/theme/redbasic/schema/dark.php index 2e00b8617..96600f9f6 100644 --- a/view/theme/redbasic/schema/dark.php +++ b/view/theme/redbasic/schema/dark.php @@ -34,6 +34,8 @@ $navtabs_bgchover = "#222"; if (! $navtabs_decohover) $navtabs_decohover = "underline"; + if (! $navaside_bghover) + $navaside_bghover = "#222"; if (! $link_colour) $link_colour = "#fff"; if (! $link_font_weight) diff --git a/view/theme/redbasic/schema/simple_black_on_white.php b/view/theme/redbasic/schema/simple_black_on_white.php index 33e8458aa..42a62c5ba 100644 --- a/view/theme/redbasic/schema/simple_black_on_white.php +++ b/view/theme/redbasic/schema/simple_black_on_white.php @@ -34,6 +34,8 @@ $navtabs_bgchover = "#fff"; if (! $navtabs_decohover) $navtabs_decohover = "underline"; +if (! $navaside_bghover) + $navaside_bghover = "#F5F5F5"; if (! $link_colour) $link_colour = "#000"; if (! $link_font_weight) diff --git a/view/theme/redbasic/schema/simple_green_on_black.php b/view/theme/redbasic/schema/simple_green_on_black.php index bfe804237..641a46668 100644 --- a/view/theme/redbasic/schema/simple_green_on_black.php +++ b/view/theme/redbasic/schema/simple_green_on_black.php @@ -34,6 +34,8 @@ $navtabs_bgchover = "#000"; if (! $navtabs_decohover) $navtabs_decohover = "underline"; +if (! $navaside_bghover) + $navaside_bghover = "#143D12"; if (! $link_colour) $link_colour = "#50f148"; if (! $link_font_weight) diff --git a/view/theme/redbasic/schema/simple_white_on_black.php b/view/theme/redbasic/schema/simple_white_on_black.php index 53477d01b..50379dfe4 100644 --- a/view/theme/redbasic/schema/simple_white_on_black.php +++ b/view/theme/redbasic/schema/simple_white_on_black.php @@ -34,6 +34,8 @@ $navtabs_bgchover = "#000"; if (! $navtabs_decohover) $navtabs_decohover = "underline"; + if (! $navaside_bghover) + $navaside_bghover = "#030303"; if (! $link_colour) $link_colour = "#fff"; if (! $link_font_weight) -- cgit v1.2.3