Move "boxy" conversation design into a schema file

Default design is now again basically the previous one
This commit is contained in:
Christian Vogeley 2014-05-11 02:22:27 +02:00
parent e2b96df27b
commit 5f1f82df5d
3 changed files with 41 additions and 8 deletions

View File

@ -1912,26 +1912,26 @@ img.mail-list-sender-photo {
z-index:99; z-index:99;
} }
.comment .wall-item-body { .comment .wall-item-body {
padding-left: 42px; padding-left: $comment_padding;
} }
.hide-comments-outer, .hide-comments-outer,
.wall-item-content-wrapper.comment { .wall-item-content-wrapper.comment {
background-color: $comment_item_colour; background-color: $comment_item_colour;
border-left: 1px solid $comment_border_colour; border-left: $comment_border_left $comment_border_colour;
border-right: 1px solid $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; border-radius: 0px;
padding: 7px 10px 7px 7px; padding: 7px 10px 7px 7px;
} }
.thread-wrapper.toplevel_item{ .thread-wrapper.toplevel_item{
border-bottom: 1px solid $comment_border_colour; border-bottom: $comment_border_bottom $comment_border_colour;
} }
.wall-item-comment-wrapper { .wall-item-comment-wrapper {
background-color: $comment_item_colour; background-color: $comment_item_colour;
border-right: 1px solid $item_colour; border-right: $comment_border_right $item_colour;
border-left: 1px solid $item_colour; border-left: $comment_border_left $item_colour;
border-top: 1px solid $item_colour; border-top: $comment_border_top $item_colour;
border-radius: 0px; border-radius: 0px;
border-bottom-right-radius: $radiuspx; border-bottom-right-radius: $radiuspx;
border-bottom-left-radius: $radiuspx; border-bottom-left-radius: $radiuspx;

View File

@ -248,6 +248,17 @@ if(! $a->install) {
$reply_photo = '32px'; $reply_photo = '32px';
if(! $infomess_bgcolour) if(! $infomess_bgcolour)
$infomess_bgcolour = "#F0F0F0"; $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 === '') { if($nav_min_opacity === false || $nav_min_opacity === '') {
$nav_float_min_opacity = 1.0; $nav_float_min_opacity = 1.0;
$nav_percent_min_opacity = 100; $nav_percent_min_opacity = 100;
@ -357,7 +368,12 @@ $options = array (
'$pmenu_reply' => $pmenu_reply, '$pmenu_reply' => $pmenu_reply,
'$wwtop' => $wwtop, '$wwtop' => $wwtop,
'$comment_indent' => $comment_indent, '$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); echo str_replace(array_keys($options), array_values($options), $x);

View File

@ -0,0 +1,17 @@
<?php
if (!$comment_padding)
$comment_padding="42px";
if (!$comment_border_left)
$comment_border_left="1px solid";
if (!$comment_border_right)
$comment_border_right="1px solid";
if (!$comment_border_top)
$comment_border_top="1px solid";
if (!$comment_border_bottom)
$comment_border_bottom="1px solid";