From 2a336dbf7f43ef7f54122c2d9ce1d4dd5064209f Mon Sep 17 00:00:00 2001 From: jeroenpraat Date: Sat, 19 Apr 2014 01:33:30 +0000 Subject: Workaround alignment notify menu's --- view/theme/redbasic/css/style.css | 6 +++++- view/theme/redbasic/php/style.php | 3 +++ view/theme/redbasic/schema/dark.php | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) (limited to 'view/theme') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 1846c023b..03c17e0a4 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1545,7 +1545,9 @@ header { #nav-notify-menu, #nav-network-menu, #nav-home-menu { - background: $notify_bgcolour; + background-color: $notify_bgcolour; + border-top: none; + margin-top: $notify_topmargin; } #nav-notify-menu a, #nav-network-menu a, #nav-home-menu a { @@ -2143,6 +2145,8 @@ nav .dropdown-menu { border-bottom-right-radius: $radiuspx; border-bottom-left-radius: $radiuspx; background-color: $notify_bgcolour; + border-top: none; + margin-top: $notify_topmargin; } nav .dropdown-menu .divider{ diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 5546b134e..87e0b12bb 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -181,6 +181,8 @@ if(! $a->install) { $notifyseen_bghover = "#e7e7e7"; if (! $notifyseen_linkhover) $notifyseen_linkhover = "#333"; + if (! $notify_topmargin) + $notify_topmargin = "1px"; if (! $input_bgsubmit) $input_bgsubmit = "#F0F0F0"; if (! $input_linksubmit) @@ -290,6 +292,7 @@ $options = array ( '$notifyseen_linkcolour' => $notifyseen_linkcolour, '$notifyseen_bghover' => $notifyseen_bghover, '$notifyseen_linkhover' => $notifyseen_linkhover, +'$notify_topmargin' => $notify_topmargin, '$input_bgsubmit' => $input_bgsubmit, '$input_linksubmit' => $input_linksubmit, '$input_border' => $input_border, diff --git a/view/theme/redbasic/schema/dark.php b/view/theme/redbasic/schema/dark.php index 063df9210..be1777427 100644 --- a/view/theme/redbasic/schema/dark.php +++ b/view/theme/redbasic/schema/dark.php @@ -94,6 +94,9 @@ $notify_linkcolour = "#FFF"; if (! $notify_bghover) $notify_bghover = "#222"; + $notifyseen_linkhover = "#333"; + if (! $notify_topmargin) + $notify_topmargin = "-1px"; if (! $notifyseen_bgcolour) $notifyseen_bgcolour = "#111"; if (! $notifyseen_linkcolour) -- cgit v1.2.3