From 579cf4ccfb7bc55ac53fe474e1752203f8d55003 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 15 Nov 2013 23:18:53 -0800 Subject: reposition certain things like the wall-to-wall "to" photo when one changes the size of the author icons --- view/theme/redbasic/css/style.css | 9 +++++---- view/theme/redbasic/php/style.php | 6 ++++-- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'view') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index c280e555a..9dbeb5550 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -840,6 +840,7 @@ footer { .thread-wrapper .wall-item-comment-wrapper, .wall-item-content-wrapper.comment { margin-left: 50px; + border-left: 2px solid #eee; } .wall-item-content-wrapper { @@ -911,7 +912,7 @@ footer { left: 50px; margin: 0; position: absolute; - top: 70px; + top: $wwtop; width: 30px } .wallwall .wwto img { @@ -926,7 +927,7 @@ footer { .wall-item-arrowphoto-wrapper { position: absolute; left: 75px; - top: 70px; + top: $wwtop; z-index: 99; } .wall-item-wrapper { @@ -1084,8 +1085,8 @@ footer { .comment-edit-text-empty { color: gray; - height: 1.5em; - width: 40%; /*Too wide? */ + height: 1.0em; + width: 270px; overflow: auto; margin-bottom: 10px; } diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 2fcda2cc8..eb32e5ef7 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -94,11 +94,12 @@ if(! $top_photo) $top_photo = '64px'; $pmenu_top = intval($top_photo) - 6 . 'px'; + $wwtop = intval($top_photo) - 5 . 'px'; if(! $reply_photo) $reply_photo = '32px'; $pmenu_reply = intval($reply_photo) - 6 . 'px'; - + if($nav_min_opacity === false || $nav_min_opacity === '') { $nav_float_min_opacity = 1.0; $nav_percent_min_opacity = 100; @@ -161,7 +162,8 @@ $options = array ( '$top_photo' => $top_photo, '$reply_photo' => $reply_photo, '$pmenu_top' => $pmenu_top, -'$pmenu_reply' => $pmenu_reply +'$pmenu_reply' => $pmenu_reply, +'$wwtop' => $wwtop ); echo str_replace(array_keys($options), array_values($options), $x); -- cgit v1.2.3