From 488d5b871407d5be6e4c38692aa7134a1a0e9899 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 8 Mar 2015 12:07:32 +0100 Subject: port boxy scheme --- view/theme/redbasic/css/style.css | 19 ++++++++----------- view/theme/redbasic/php/style.php | 10 ---------- view/theme/redbasic/schema/boxy.css | 11 +++++++++++ view/theme/redbasic/schema/boxy.php | 15 --------------- 4 files changed, 19 insertions(+), 36 deletions(-) (limited to 'view/theme') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 69a78f610..de7e8ef81 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1688,25 +1688,22 @@ img.mail-list-sender-photo { border-radius: $radiuspx; } -.comment .wall-item-body { - padding-left: $comment_padding; -} - .wall-item-content-wrapper.comment { background-color: $comment_item_colour; - border-left: $comment_border_left $comment_border_colour; - border-right: $comment_border_right $comment_border_colour; - border-bottom: $comment_border_bottom $comment_border_colour; + border-color: $comment_border_colour; + border-style: solid; + border-width: 1px 0px 0px 3px; border-radius: 0px; padding: 7px 10px 7px 7px; } .hide-comments-outer { background-color: $comment_item_colour; - border-left: $comment_border_left $comment_border_colour; - border-right: $comment_border_right $comment_border_colour; - border-bottom: $comment_border_bottom $comment_border_colour; - border-top: 1px dashed #ccc; + border-color: $comment_border_colour; + border-top-color: #ccc; + border-style: solid; + border-top-style: dashed; + border-width: 1px 0px 0px 3px; text-align: center; border-radius: 0px; } diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 30d5f0a16..cc67aaecc 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -282,16 +282,6 @@ if(! $a->install) { $chat_txtbgcol = "#EEE"; if(! $fancybox_bgcolour) $fancybox_bgcolour = "#FFFFFF"; - if (!$comment_padding) - $comment_padding="0px"; - if (!$comment_border_left) - $comment_border_left="3px solid"; - if (!$comment_border_right) - $comment_border_right="0px solid"; - if (!$comment_border_top) - $comment_border_top="0px solid"; - if (!$comment_border_bottom) - $comment_border_bottom="0px solid"; if (!$admintable_hoverbgcol) $admintable_hoverbgcol="#BBC7D7"; if (!$dirpopup_txtcol) diff --git a/view/theme/redbasic/schema/boxy.css b/view/theme/redbasic/schema/boxy.css index e69de29bb..f3da9b262 100644 --- a/view/theme/redbasic/schema/boxy.css +++ b/view/theme/redbasic/schema/boxy.css @@ -0,0 +1,11 @@ +.comment .wall-item-body { + padding-left: 42px; +} + +.wall-item-content-wrapper.comment { + border-width: 0px 1px 1px 1px; +} + +.hide-comments-outer { + border-width: 1px 1px 1px 1px; +} diff --git a/view/theme/redbasic/schema/boxy.php b/view/theme/redbasic/schema/boxy.php index 1de2f98cd..d609ccd25 100644 --- a/view/theme/redbasic/schema/boxy.php +++ b/view/theme/redbasic/schema/boxy.php @@ -1,19 +1,4 @@