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/redbasic') 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