From e2b96df27b76d27c9688cf131e2d5e63a410fad0 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sat, 10 May 2014 23:43:37 +0200 Subject: another experiment --- view/theme/redbasic/css/style.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'view/theme') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index ba26f8910..3ed087c74 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1911,29 +1911,33 @@ img.mail-list-sender-photo { .wall-item-content-wrapper:hover { z-index:99; } -/* .comment .wall-item-body { padding-left: 42px; } - */ + .hide-comments-outer, .wall-item-content-wrapper.comment { background-color: $comment_item_colour; border-left: 1px solid $comment_border_colour; border-right: 1px solid $comment_border_colour; - border-bottom: 1px solid $comment_border_colour; +/* border-bottom: 1px solid $comment_border_colour; */ border-radius: 0px; padding: 7px 10px 7px 7px; } - +.thread-wrapper.toplevel_item{ + border-bottom: 1px solid $comment_border_colour; +} .wall-item-comment-wrapper { background-color: $comment_item_colour; - border: 1px solid $item_colour; + border-right: 1px solid $item_colour; + border-left: 1px solid $item_colour; + border-top: 1px solid $item_colour; border-radius: 0px; border-bottom-right-radius: $radiuspx; border-bottom-left-radius: $radiuspx; } + .wall-item-like, .wall-item-dislike { font-size: 11px; -- cgit v1.2.3 From 5f1f82df5d0126cf68780b03f95e3c53f137bb75 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sun, 11 May 2014 02:22:27 +0200 Subject: Move "boxy" conversation design into a schema file Default design is now again basically the previous one --- view/theme/redbasic/css/style.css | 14 +++++++------- view/theme/redbasic/php/style.php | 18 +++++++++++++++++- view/theme/redbasic/schema/boxy.php | 17 +++++++++++++++++ 3 files changed, 41 insertions(+), 8 deletions(-) create mode 100644 view/theme/redbasic/schema/boxy.php (limited to 'view/theme') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 3ed087c74..c1a30ee6d 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1912,26 +1912,26 @@ img.mail-list-sender-photo { z-index:99; } .comment .wall-item-body { -padding-left: 42px; + padding-left: $comment_padding; } .hide-comments-outer, .wall-item-content-wrapper.comment { background-color: $comment_item_colour; - border-left: 1px solid $comment_border_colour; - border-right: 1px solid $comment_border_colour; + border-left: $comment_border_left $comment_border_colour; + border-right: $comment_border_right $comment_border_colour; /* border-bottom: 1px solid $comment_border_colour; */ border-radius: 0px; padding: 7px 10px 7px 7px; } .thread-wrapper.toplevel_item{ - border-bottom: 1px solid $comment_border_colour; + border-bottom: $comment_border_bottom $comment_border_colour; } .wall-item-comment-wrapper { background-color: $comment_item_colour; - border-right: 1px solid $item_colour; - border-left: 1px solid $item_colour; - border-top: 1px solid $item_colour; + border-right: $comment_border_right $item_colour; + border-left: $comment_border_left $item_colour; + border-top: $comment_border_top $item_colour; border-radius: 0px; border-bottom-right-radius: $radiuspx; border-bottom-left-radius: $radiuspx; diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 698adaf4d..e03d1c741 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -248,6 +248,17 @@ if(! $a->install) { $reply_photo = '32px'; if(! $infomess_bgcolour) $infomess_bgcolour = "#F0F0F0"; + if (!$comment_padding) + $comment_padding="0px"; + if (!$comment_border_left) + $comment_border_left="2px 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($nav_min_opacity === false || $nav_min_opacity === '') { $nav_float_min_opacity = 1.0; $nav_percent_min_opacity = 100; @@ -357,7 +368,12 @@ $options = array ( '$pmenu_reply' => $pmenu_reply, '$wwtop' => $wwtop, '$comment_indent' => $comment_indent, -'$body_width' => $body_width +'$body_width' => $body_width, +'$comment_padding' => $comment_padding, +'$comment_border_left' =>$comment_border_left, +'$comment_border_right' =>$comment_border_right, +'$comment_border_top' =>$comment_border_top, +'$comment_border_bottom' =>$comment_border_bottom, ); echo str_replace(array_keys($options), array_values($options), $x); diff --git a/view/theme/redbasic/schema/boxy.php b/view/theme/redbasic/schema/boxy.php new file mode 100644 index 000000000..505e3ec07 --- /dev/null +++ b/view/theme/redbasic/schema/boxy.php @@ -0,0 +1,17 @@ + Date: Sun, 11 May 2014 03:16:39 +0200 Subject: some corrections and cleanup --- view/theme/redbasic/css/style.css | 11 ++++++----- view/theme/redbasic/schema/boxy.php | 2 ++ 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'view/theme') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index c1a30ee6d..16d79e110 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1918,19 +1918,20 @@ img.mail-list-sender-photo { .hide-comments-outer, .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: 1px solid $comment_border_colour; */ border-radius: 0px; padding: 7px 10px 7px 7px; } .thread-wrapper.toplevel_item{ border-bottom: $comment_border_bottom $comment_border_colour; + border-right: $comment_border_right $item_colour; + border-left: $comment_border_left $item_colour; + border-top-right-radius: $radiuspx; + border-top-left-radius: $radiuspx; + border-bottom-right-radius: $radiuspx; + border-bottom-left-radius: $radiuspx; } .wall-item-comment-wrapper { background-color: $comment_item_colour; - border-right: $comment_border_right $item_colour; - border-left: $comment_border_left $item_colour; border-top: $comment_border_top $item_colour; border-radius: 0px; border-bottom-right-radius: $radiuspx; diff --git a/view/theme/redbasic/schema/boxy.php b/view/theme/redbasic/schema/boxy.php index 505e3ec07..1de2f98cd 100644 --- a/view/theme/redbasic/schema/boxy.php +++ b/view/theme/redbasic/schema/boxy.php @@ -14,4 +14,6 @@ if (!$comment_border_top) if (!$comment_border_bottom) $comment_border_bottom="1px solid"; +if (! $radiuspx) + $radiuspx = "4"; \ No newline at end of file -- cgit v1.2.3 From f9ad959f170666b229f656fcb3c0a7800e583c1e Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sun, 11 May 2014 04:13:54 +0200 Subject: saved --- view/theme/redbasic/css/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'view/theme') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 16d79e110..511022d2d 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1918,13 +1918,19 @@ img.mail-list-sender-photo { .hide-comments-outer, .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: 1px solid $comment_border_colour; border-radius: 0px; padding: 7px 10px 7px 7px; } .thread-wrapper.toplevel_item{ border-bottom: $comment_border_bottom $comment_border_colour; +/* border-right: $comment_border_right $item_colour; border-left: $comment_border_left $item_colour; + */ border-top-right-radius: $radiuspx; border-top-left-radius: $radiuspx; border-bottom-right-radius: $radiuspx; @@ -1933,6 +1939,9 @@ img.mail-list-sender-photo { .wall-item-comment-wrapper { background-color: $comment_item_colour; border-top: $comment_border_top $item_colour; + border-right: $comment_border_right $item_colour; + border-left: $comment_border_left $item_colour; +/* border-bottom: $comment_border_bottom $item_colour; */ border-radius: 0px; border-bottom-right-radius: $radiuspx; border-bottom-left-radius: $radiuspx; -- cgit v1.2.3 From 2d69a81c000f18d0eaa14821784d39f7c09ba0c7 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sun, 11 May 2014 04:22:52 +0200 Subject: saved 2 --- view/theme/redbasic/css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/theme') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 511022d2d..bf49a76ef 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1921,7 +1921,7 @@ img.mail-list-sender-photo { border-left: $comment_border_left $comment_border_colour; border-right: $comment_border_right $comment_border_colour; - border-bottom: 1px solid $comment_border_colour; +/* border-bottom: 1px solid $comment_border_colour; */ border-radius: 0px; padding: 7px 10px 7px 7px; } -- cgit v1.2.3 From 889aaad6684cab3396ee107d7ae63e47df6a5c6c Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sun, 11 May 2014 13:16:01 +0200 Subject: For the moment last change --- view/theme/redbasic/css/style.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'view/theme') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index bf49a76ef..64129eb36 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1921,27 +1921,29 @@ img.mail-list-sender-photo { border-left: $comment_border_left $comment_border_colour; border-right: $comment_border_right $comment_border_colour; -/* border-bottom: 1px solid $comment_border_colour; */ + border-bottom: 1px solid $comment_border_colour; border-radius: 0px; padding: 7px 10px 7px 7px; } +/* .thread-wrapper.toplevel_item{ border-bottom: $comment_border_bottom $comment_border_colour; -/* + border-right: $comment_border_right $item_colour; border-left: $comment_border_left $item_colour; - */ + border-top-right-radius: $radiuspx; border-top-left-radius: $radiuspx; border-bottom-right-radius: $radiuspx; border-bottom-left-radius: $radiuspx; } + */ .wall-item-comment-wrapper { background-color: $comment_item_colour; - border-top: $comment_border_top $item_colour; + /* border-top: $comment_border_top $item_colour; */ border-right: $comment_border_right $item_colour; border-left: $comment_border_left $item_colour; -/* border-bottom: $comment_border_bottom $item_colour; */ + border-bottom: $comment_border_bottom $item_colour; border-radius: 0px; border-bottom-right-radius: $radiuspx; border-bottom-left-radius: $radiuspx; -- cgit v1.2.3 From 3fbac93619a59e03706a771a1527c8492ff85e82 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sun, 11 May 2014 13:23:38 +0200 Subject: grrr --- view/theme/redbasic/css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/theme') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 64129eb36..88fd693ad 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1921,7 +1921,7 @@ img.mail-list-sender-photo { border-left: $comment_border_left $comment_border_colour; border-right: $comment_border_right $comment_border_colour; - border-bottom: 1px solid $comment_border_colour; + border-bottom: $comment_border_bottom $comment_border_colour; border-radius: 0px; padding: 7px 10px 7px 7px; } -- cgit v1.2.3