Workaround alignment notify menu's

This commit is contained in:
jeroenpraat 2014-04-19 01:33:30 +00:00
parent 9e865d1e47
commit 2a336dbf7f
3 changed files with 11 additions and 1 deletions

View File

@ -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{

View File

@ -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,

View File

@ -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)