aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2014-04-19 01:33:30 +0000
committerjeroenpraat <jeroenpraat@xs4all.nl>2014-04-19 01:33:30 +0000
commit2a336dbf7f43ef7f54122c2d9ce1d4dd5064209f (patch)
treedec802dbe77afcfbbb999f7a2ff8db9bb737b63d /view/theme
parent9e865d1e47676f39088dd86c505e7858e2bc5eb1 (diff)
downloadvolse-hubzilla-2a336dbf7f43ef7f54122c2d9ce1d4dd5064209f.tar.gz
volse-hubzilla-2a336dbf7f43ef7f54122c2d9ce1d4dd5064209f.tar.bz2
volse-hubzilla-2a336dbf7f43ef7f54122c2d9ce1d4dd5064209f.zip
Workaround alignment notify menu's
Diffstat (limited to 'view/theme')
-rw-r--r--view/theme/redbasic/css/style.css6
-rw-r--r--view/theme/redbasic/php/style.php3
-rw-r--r--view/theme/redbasic/schema/dark.php3
3 files changed, 11 insertions, 1 deletions
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)