From abd69c4bf20cb21ab2accecf44e510e781329bf0 Mon Sep 17 00:00:00 2001 From: jeroenpraat Date: Thu, 1 May 2014 21:21:35 +0000 Subject: Update for the Dark schema because of revision/redesign of conv_item.tpl --- view/theme/redbasic/css/style.css | 5 +++-- view/theme/redbasic/php/style.php | 6 +++--- view/theme/redbasic/schema/dark.php | 6 +++++- 3 files changed, 11 insertions(+), 6 deletions(-) (limited to 'view/theme') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 678adbb86..0f34ea795 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1909,14 +1909,14 @@ img.mail-list-sender-photo { .hide-comments-outer, .wall-item-content-wrapper.comment { background-color: $comment_item_colour; - border-left: 3px solid $item_bordercolour; + border-left: 3px solid $item_colour; border-radius: 0px; padding: 7px 10px 7px 7px; } .wall-item-comment-wrapper { background-color: $comment_item_colour; - border-left: 3px solid $item_bordercolour; + border-left: 3px solid $item_colour; border-radius: 0px; border-bottom-right-radius: $radiuspx; border-bottom-left-radius: $radiuspx; @@ -2248,6 +2248,7 @@ blockquote { .btn-default { background-color: $editbuttons_bgcolour; border-color: $editbuttons_bordercolour; + color: $editbuttons_colour; text-shadow: none; box-shadow: none; } diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 95ca5a4fe..f3a138c9d 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -126,8 +126,6 @@ if(! $a->install) { $toolicon_activecolour = '#000'; if (! $item_opacity) $item_opacity = "1"; - if (! $item_bordercolour) - $item_bordercolour = $item_colour; if (! $font_size) $font_size = "1.0em"; if (! $body_font_size) @@ -158,6 +156,8 @@ if(! $a->install) { $editbuttons_bgcolour = "transparent"; if (! $editbuttons_bordercolour) $editbuttons_bordercolour = "#ccc"; + if (! $editbuttons_colour) + $editbuttons_colour = "#333"; if (! $editbuttons_bghover) $editbuttons_bghover = "#ebebeb"; if (! $preview_backgroundimg) @@ -260,7 +260,6 @@ $options = array ( '$item_colour' => $item_colour, '$comment_item_colour' => $comment_item_colour, '$item_opacity' => $item_opacity, -'$item_bordercolour' => $item_bordercolour, '$toolicon_colour' => $toolicon_colour, '$toolicon_activecolour' => $toolicon_activecolour, '$font_size' => $font_size, @@ -279,6 +278,7 @@ $options = array ( '$notif_itemhovercolour' => $notif_itemhovercolour, '$editbuttons_bgcolour' => $editbuttons_bgcolour, '$editbuttons_bordercolour' => $editbuttons_bordercolour, +'$editbuttons_colour' => $editbuttons_colour, '$editbuttons_bghover' => $editbuttons_bghover, '$preview_backgroundimg' => $preview_backgroundimg, '$acpopup_bgcolour' => $acpopup_bgcolour, diff --git a/view/theme/redbasic/schema/dark.php b/view/theme/redbasic/schema/dark.php index 0aa81cef5..122369580 100644 --- a/view/theme/redbasic/schema/dark.php +++ b/view/theme/redbasic/schema/dark.php @@ -47,7 +47,9 @@ if (! $bgcolour) $bgcolour = "#111"; if (! $item_colour) - $item_colour = "#111"; + $item_colour = "rgba(26,26,26,0.8)"; + if (! $comment_item_colour) + $comment_item_colour = "rgba(18,18,18,0.4)"; if (! $toolicon_colour) $toolicon_colour = '#999'; if (! $toolicon_activecolour) @@ -84,6 +86,8 @@ $editbuttons_bgcolour = "#1e1e1e"; if (! $editbuttons_bordercolour) $editbuttons_bordercolour = "#222"; + if (! $editbuttons_colour) + $editbuttons_colour = "#ccc"; if (! $editbuttons_bghover) $editbuttons_bghover = "#222"; if (! $preview_backgroundimg) -- cgit v1.2.3 From efa943dddcb6cb84246a3b6b951c91c5282febf6 Mon Sep 17 00:00:00 2001 From: jeroenpraat Date: Thu, 1 May 2014 21:28:00 +0000 Subject: A little bit less dark --- view/theme/redbasic/schema/dark.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/theme') diff --git a/view/theme/redbasic/schema/dark.php b/view/theme/redbasic/schema/dark.php index 122369580..61b7e3314 100644 --- a/view/theme/redbasic/schema/dark.php +++ b/view/theme/redbasic/schema/dark.php @@ -47,7 +47,7 @@ if (! $bgcolour) $bgcolour = "#111"; if (! $item_colour) - $item_colour = "rgba(26,26,26,0.8)"; + $item_colour = "rgba(28,28,28,0.8)"; if (! $comment_item_colour) $comment_item_colour = "rgba(18,18,18,0.4)"; if (! $toolicon_colour) -- cgit v1.2.3 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