From: Jan Schneider Date: Tue, 16 Feb 2010 17:37:41 +0000 (+0100) Subject: Enable and style application drop down. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=70755f55657aa9d409d6673ffab349c0de74ef76;p=horde.git Enable and style application drop down. Add border to top navigation. --- diff --git a/kronolith/templates/index/index.inc b/kronolith/templates/index/index.inc index 6e69bea9f..5221c5be9 100644 --- a/kronolith/templates/index/index.inc +++ b/kronolith/templates/index/index.inc @@ -4,15 +4,18 @@
+
- - | + + |
- · ' . $help_link; if ($logout_link) echo ' | ' . $logout_link ?> + + | ' . $help_link; if ($logout_link) echo ' | ' . $logout_link ?>
diff --git a/kronolith/themes/screen.css b/kronolith/themes/screen.css index 503dbb87b..db0299c1e 100644 --- a/kronolith/themes/screen.css +++ b/kronolith/themes/screen.css @@ -397,8 +397,62 @@ body.kronolithAjax { /* User data and options */ #kronolithApplications { + position: relative; + z-index: 99; + float: left; + height: 25px; + line-height: 23px; + margin-right: 10px; + overflow: hidden; +} +#kronolithApplications:hover { + overflow: visible; +} +#kronolithApplications ul { + list-style: none; +} +#kronolithApplications li { + margin-bottom: 1px; + text-align: left; +} +#kronolithApplications a { + display: block; + padding: 0 4px; + overflow: hidden; + background-color: #f0f0f0; + border: 1px solid #c0c0c0; + color: #202020; + font-weight: bold; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; +} +#kronolithApplications:hover a { + -moz-border-radius: 0; + -webkit-border-radius: 0; +} +#kronolithApplications:hover li:first-child a { + -moz-border-radius-topleft: 5px; + -moz-border-radius-topright: 5px; + -webkit-border-top-left-radius: 5px; + -webkit-border-top-right-radius: 5px; +} +#kronolithApplications:hover li:last-child a { + -moz-border-radius-bottomleft: 5px; + -moz-border-radius-bottomright: 5px; + -webkit-border-bottom-left-radius: 5px; + -webkit-border-bottom-right-radius: 5px; +} +#kronolithApplications a:hover { + text-decoration: none; + background-color: #d9d9d9; +} +#kronolithApplications li.kronolithApplicationSelected a { + background-color: #d9d9d9; +} +#kronolithApplications .kronolithSeparator { display: none; } + #kronolithServices { float: right; margin-top: 10px; @@ -408,8 +462,9 @@ body.kronolithAjax { #kronolithNotifications { float: left; padding: 0 10px; - height: 25px; - line-height: 25px; + height: 23px; + line-height: 23px; + border: 1px solid #c0c0c0; -moz-border-radius: 0 5px 5px 0; -webkit-border-radius: 0 5px 5px 0; } @@ -579,6 +634,7 @@ a.kronolithFormCancel { float: left; margin: 0 2px 0 0; background: #d6d6d6; + border: 1px solid #c0c0c0; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; font-weight: bold; @@ -586,15 +642,15 @@ a.kronolithFormCancel { } #kronolithBar .kronolithDateChoice div { padding: 0 10px; - height: 25px; - line-height: 25px; + height: 23px; + line-height: 23px; } #kronolithNav { float: left; margin-left: 5px; - height: 25px; - line-height: 25px; + height: 23px; + line-height: 23px; } #kronolithNav a { display: block; @@ -608,6 +664,7 @@ a.kronolithFormCancel { text-decoration: none; color: #202020; cursor: pointer; + border: 1px solid #c0c0c0; } #kronolithNav a:first-child { -moz-border-radius-topleft: 5px;