From 4c9f5031eb5d59c3e637ac0f41af9721f331580d Mon Sep 17 00:00:00 2001 From: jeroenpraat Date: Thu, 1 May 2014 21:48:21 +0000 Subject: Dark schema: there are some minor issues left, but this one should go first --- view/theme/redbasic/css/style.css | 2 +- view/theme/redbasic/php/style.php | 3 +++ view/theme/redbasic/schema/dark.php | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'view/theme') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 0f34ea795..f67a34c2a 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2018,7 +2018,7 @@ img.mail-list-sender-photo { /* widgets */ .widget { - border-bottom: 1px solid #eec; + border-bottom: 1px solid $widget_brdrcolour; -moz-border-radius: $radiuspx; -webkit-border-radius: $radiuspx; border-radius: $radiuspx; diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index f3a138c9d..05f7b96b0 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -136,6 +136,8 @@ if(! $a->install) { $selected_active_colour = "#444"; if (! $selected_active_deco) $selected_active_deco = "none"; + if (! $widget_brdrcolour) + $widget_brdrcolour = "#eec"; if (! $blockquote_colour) $blockquote_colour = "#000"; if (! $blockquote_bgcolour) @@ -267,6 +269,7 @@ $options = array ( '$selected_active_colour' => $selected_active_colour, '$selected_active_deco' => $selected_active_deco, '$body_font_size' => $body_font_size, +'$widget_brdrcolour' => $widget_brdrcolour, '$blockquote_colour' => $blockquote_colour, '$blockquote_bgcolour' => $blockquote_bgcolour, '$blockquote_bordercolour' => $blockquote_bordercolour, diff --git a/view/theme/redbasic/schema/dark.php b/view/theme/redbasic/schema/dark.php index 61b7e3314..78fd98d08 100644 --- a/view/theme/redbasic/schema/dark.php +++ b/view/theme/redbasic/schema/dark.php @@ -56,6 +56,8 @@ $toolicon_activecolour = '#fff'; if (! $font_colour) $font_colour = "#ccc"; + if (! $widget_brdrcolour) + $widget_brdrcolour = "#333"; if (! $blockquote_colour) $blockquote_colour = "#ccc"; if (! $blockquote_bgcolour) -- cgit v1.2.3