From 963e0cefbb4c5ac400d7b43f7d8862474c0e9654 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 3 Oct 2013 02:20:09 -0700 Subject: get rid of pink search bar when not using redbasic "red" --- view/theme/redbasic/css/style.css | 2 +- view/theme/redbasic/php/style.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'view') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 3f4a71104..f929087b1 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2041,7 +2041,7 @@ a.mail-list-link { font-size: 0.8em; border-radius: 14px; border: none; - background-color: #FFDDDD; + background-color: $search_background; color: #eec; } diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index d97e85668..cb17f8298 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -16,14 +16,17 @@ $nav_bg_2 = "#b00"; $nav_bg_3 = "#f00"; $nav_bg_4 = "#b00"; + $search_background = '#FFDDDD'; } if ($nav_colour == "black") { $nav_bg_1 = $nav_bg_3 = "#000"; $nav_bg_2 = $nav_bg_4 = "#222"; + $search_background = '#EEEEEE'; } if ($nav_colour == "silver") { $nav_bg_1 = $nav_bg_2 = $nav_bg_3 = $nav_bg_4 = "silver"; + $search_background = '#EEEEEE'; } $background_colour = get_pconfig($uid, "redbasic", "background_colour"); @@ -73,6 +76,7 @@ $options = array ( '$nav_bg_2' => $nav_bg_2, '$nav_bg_3' => $nav_bg_3, '$nav_bg_4' => $nav_bg_4, +'$search_background' => $search_background, '$background_colour' => $background_colour, '$background_image' => $background_image, '$item_colour' => $item_colour, -- cgit v1.2.3