aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen <jeroenpraat@xs4all.nl>2014-10-07 22:52:44 +0000
committerJeroen <jeroenpraat@xs4all.nl>2014-10-07 22:52:44 +0000
commitd94f6f7c53fbb01a76a6d3beb14968d02ebb3afa (patch)
tree66413623d839881a93cacc768368bc078601eb3e
parent14d538c79329a7b6e4e8797977629672f7c47f28 (diff)
downloadvolse-hubzilla-d94f6f7c53fbb01a76a6d3beb14968d02ebb3afa.tar.gz
volse-hubzilla-d94f6f7c53fbb01a76a6d3beb14968d02ebb3afa.tar.bz2
volse-hubzilla-d94f6f7c53fbb01a76a6d3beb14968d02ebb3afa.zip
Schema option for bgcolour and underline yes/no on hover for the left aside.
-rw-r--r--view/theme/redbasic/css/style.css5
-rw-r--r--view/theme/redbasic/php/style.php3
-rw-r--r--view/theme/redbasic/schema/dark.php2
-rw-r--r--view/theme/redbasic/schema/simple_black_on_white.php2
-rw-r--r--view/theme/redbasic/schema/simple_green_on_black.php2
-rw-r--r--view/theme/redbasic/schema/simple_white_on_black.php2
6 files changed, 16 insertions, 0 deletions
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)