aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css16
-rw-r--r--view/theme/redbasic/php/style.php24
-rw-r--r--view/theme/redbasic/schema/dark.php16
3 files changed, 56 insertions, 0 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index ff051d673..02a807ed2 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -2147,14 +2147,30 @@ blockquote {
.dropdown-menu {
font-size: $body_font_size;
border-radius: $radiuspx;
+ background-color: $dropdown_bgcolour;
+}
+
+.dropdown-menu >li > a {
+ color: $dropdown_textcolour;
}
+.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
+ color: $dropdown_txtcolhover;
+ background-color: $dropdown_bgcolhover;
+ $dropdown_bgimghover
+}
.dropdown-menu img {
border-radius: $radiuspx;
}
+.open .dropdown-toggle.btn-default {
+ color: $dropdown_togglecol;
+ background-color: $dropdown_togglebgcol;
+ border-color: $dropdown_bordercol;
+}
+
.navbar-inverse {
background-image: -webkit-linear-gradient(top, $nav_gradient_top 0%, $nav_gradient_bottom 100%);
background-image: linear-gradient(to bottom, $nav_gradient_top 0%, $nav_gradient_bottom 100%);
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index ffae179e3..4d892d356 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -171,6 +171,22 @@ if(! $a->install) {
$editbuttons_colour = "#333";
if (! $editbuttons_bghover)
$editbuttons_bghover = "#ebebeb";
+ if (! $dropdown_bgcolour)
+ $dropdown_bgcolour = "#FFF";
+ if (! $dropdown_textcolour)
+ $dropdown_textcolour = "#333";
+ if (! $dropdown_txtcolhover)
+ $dropdown_txtcolhover = "#262626";
+ if (! $dropdown_bgcolhover)
+ $dropdown_bgcolhover = "#F5F5F5";
+ if (! $dropdown_bgimghover)
+ $dropdown_bgimghover = "";
+ if (! $dropdown_togglecol)
+ $dropdown_togglecol = "#333";
+ if (! $dropdown_togglebgcol)
+ $dropdown_togglebgcol = "#EBEBEB";
+ if (! $dropdown_bordercol)
+ $dropdown_bordercol = "#ADADAD";
if (! $preview_backgroundimg)
$preview_backgroundimg = "gray_and_white_diagonal_stripes_background_seamless.gif";
if (! $acpopup_bgcolour)
@@ -298,6 +314,14 @@ $options = array (
'$editbuttons_bordercolour' => $editbuttons_bordercolour,
'$editbuttons_colour' => $editbuttons_colour,
'$editbuttons_bghover' => $editbuttons_bghover,
+'$dropdown_bgcolour' => $dropdown_bgcolour,
+'$dropdown_textcolour' => $dropdown_textcolour,
+'$dropdown_txtcolhover' => $dropdown_txtcolhover,
+'$dropdown_bgcolhover' => $dropdown_bgcolhover,
+'$dropdown_bgimghover' => $dropdown_bgimghover,
+'$dropdown_togglecol' => $dropdown_togglecol,
+'$dropdown_togglebgcol' => $dropdown_togglebgcol,
+'$dropdown_bordercol' => $dropdown_bordercol,
'$preview_backgroundimg' => $preview_backgroundimg,
'$acpopup_bgcolour' => $acpopup_bgcolour,
'$acpopup_bordercolour' => $acpopup_bordercolour,
diff --git a/view/theme/redbasic/schema/dark.php b/view/theme/redbasic/schema/dark.php
index a90fe8367..4da020116 100644
--- a/view/theme/redbasic/schema/dark.php
+++ b/view/theme/redbasic/schema/dark.php
@@ -100,6 +100,22 @@
$editbuttons_colour = "#ccc";
if (! $editbuttons_bghover)
$editbuttons_bghover = "#222";
+ if (! $dropdown_bgcolour)
+ $dropdown_bgcolour = "#222";
+ if (! $dropdown_textcolour)
+ $dropdown_textcolour = "#ccc";
+ if (! $dropdown_txtcolhover)
+ $dropdown_txtcolhover = "#ddd";
+ if (! $dropdown_bgcolhover)
+ $dropdown_bgcolhover = "#333";
+ if (! $dropdown_bgimghover)
+ $dropdown_bgimghover = "background-image: none;";
+ if (! $dropdown_togglecol)
+ $dropdown_togglecol = "#ccc";
+ if (! $dropdown_togglebgcol)
+ $dropdown_togglebgcol = "#222";
+ if (! $dropdown_bordercol)
+ $dropdown_bordercol = "#222";
if (! $preview_backgroundimg)
$preview_backgroundimg = "gray_and_black_diagonal_stripes_background_seamless.gif";
if (! $notify_bgcolour)