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/php/style.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'view/theme/redbasic/php/style.php') 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 From 60a9d9e750be5971a6fa2706c22da95796ca3b1b Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 15 Nov 2013 23:51:27 -0800 Subject: do a better job of lining things up (like comments) when the photo size changes --- view/theme/redbasic/php/style.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'view/theme/redbasic/php/style.php') diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index eb32e5ef7..a45482be8 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -95,6 +95,7 @@ $top_photo = '64px'; $pmenu_top = intval($top_photo) - 6 . 'px'; $wwtop = intval($top_photo) - 5 . 'px'; + $comment_indent = intval($top_photo) + 10 . 'px'; if(! $reply_photo) $reply_photo = '32px'; @@ -163,7 +164,8 @@ $options = array ( '$reply_photo' => $reply_photo, '$pmenu_top' => $pmenu_top, '$pmenu_reply' => $pmenu_reply, -'$wwtop' => $wwtop +'$wwtop' => $wwtop, +'$comment_indent' => $comment_indent ); echo str_replace(array_keys($options), array_values($options), $x); -- cgit v1.2.3 From 3f9eb41e762772c9eda42e8ba2c3e75eced37685 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 16 Nov 2013 13:00:18 -0800 Subject: more of a light&fresh look --- view/theme/redbasic/php/style.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/theme/redbasic/php/style.php') diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index a45482be8..515356cb6 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -66,11 +66,11 @@ if (! $banner_colour) $banner_colour = "fff"; if (! $bgcolour) - $bgcolour = "#f8f8f8"; + $bgcolour = "#fdfdfd"; if (! $background_image) $background_image =''; if (! $item_colour) - $item_colour = "#f8f8f8"; + $item_colour = "#fdfdfd"; if (! $toolicon_colour) $toolicon_colour = '#777777'; if (! $toolicon_activecolour) -- cgit v1.2.3 From 8893643da065fb12bf9b60e3d31f65cf64c6754b Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 16 Nov 2013 19:48:45 -0800 Subject: more photo menu positioning work for varying photo sizes --- view/theme/redbasic/php/style.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'view/theme/redbasic/php/style.php') diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 515356cb6..1eb5abfbb 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -93,13 +93,13 @@ $converse_width="1024px"; if(! $top_photo) $top_photo = '64px'; - $pmenu_top = intval($top_photo) - 6 . 'px'; - $wwtop = intval($top_photo) - 5 . 'px'; + $pmenu_top = intval($top_photo) - 16 . 'px'; + $wwtop = intval($top_photo) - 15 . 'px'; $comment_indent = intval($top_photo) + 10 . 'px'; if(! $reply_photo) $reply_photo = '32px'; - $pmenu_reply = intval($reply_photo) - 6 . 'px'; + $pmenu_reply = intval($reply_photo) - 16 . 'px'; if($nav_min_opacity === false || $nav_min_opacity === '') { $nav_float_min_opacity = 1.0; -- cgit v1.2.3 From d126c2bcaae4c25eda03b99b4422398ad781c582 Mon Sep 17 00:00:00 2001 From: tuscanhobbit Date: Sat, 23 Nov 2013 20:04:09 +0100 Subject: redbasic nav bar gradient is now similar to the red shade in the logo --- view/theme/redbasic/php/style.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'view/theme/redbasic/php/style.php') diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 1eb5abfbb..9956ccd31 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -114,22 +114,20 @@ // Nav colours have nested values, so we have to define the actual variables // used in the CSS from the higher level "red", "black", etc here if ($nav_colour == "red") { - $nav_bg_1 = "#f88"; - $nav_bg_2 = "#b00"; - $nav_bg_3 = "#f00"; - $nav_bg_4 = "#b00"; - $search_background = '#FFDDDD'; + $nav_bg_1 = $nav_bg_3 = "#ba002f"; + $nav_bg_2 = $nav_bg_4 = "#ad002c"; + $search_background = "#EEEEEE"; $active_colour = '#444444'; } if ($nav_colour == "black") { - $nav_bg_1 = $nav_bg_3 = "#000"; - $nav_bg_2 = $nav_bg_4 = "#222"; + $nav_bg_1 = $nav_bg_3 = "#000"; + $nav_bg_2 = $nav_bg_4 = "#222"; $search_background = '#EEEEEE'; $active_colour = '#AAAAAA'; } if ($nav_colour == "silver") { - $nav_bg_1 = $nav_bg_2 = $nav_bg_3 = $nav_bg_4 = "silver"; + $nav_bg_1 = $nav_bg_2 = $nav_bg_3 = $nav_bg_4 = "silver"; $search_background = '#EEEEEE'; } -- cgit v1.2.3