From ac568ef47bd050eae8171a290dab76d287ae8dc4 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Thu, 1 Mar 2012 17:29:33 -0800 Subject: [PATCH] Updated page footer, submenu indicator. --- NzbDrone.Web/Content/Menu.css | 55 +++++++++++++++++++-- NzbDrone.Web/Content/NzbDrone.css | 66 +++++-------------------- NzbDrone.Web/Views/Shared/Footer.cshtml | 2 +- 3 files changed, 65 insertions(+), 58 deletions(-) diff --git a/NzbDrone.Web/Content/Menu.css b/NzbDrone.Web/Content/Menu.css index fa16118a8..16f28f5f7 100644 --- a/NzbDrone.Web/Content/Menu.css +++ b/NzbDrone.Web/Content/Menu.css @@ -1,4 +1,51 @@ -.sub-menu +#menu +{ + height: 60px; +} + +#menu ul +{ + margin: 0; + padding: 5px 0px 5px 0px; + list-style: none; + line-height: normal; +} + +#menu li +{ + display: block; + float: left; + padding: 5px 15px 2px 10px; +} + +#menu a +{ + display: block; + float: left; + height: 26px; + padding: 0px 5px 7px 5px; + text-decoration: none; + text-align: center; + text-transform: lowercase; + font-size: 21px; + font-weight: normal; + vertical-align: middle; + font-family: "Segoe UI" , "Open Sans" , "Segoe UI Light" , sans-serif; +} + +#menu a:hover +{ + text-decoration: none; +} + +#menu li.current_page_item a +{ + border-bottom: 2px solid; + border-color: #065EFE; +} + + +.sub-menu { padding-left: 5px; margin-top: 0px; @@ -9,11 +56,13 @@ display: inline; list-style-type: circle; margin-right: 12px; - padding-left: 2px; + padding-left: 4px; padding-top: 2px; - border-left: 7px solid #F0F5FF; + border-left: 5px solid #85aeff; + cursor: pointer; } + .sub-menu a { text-decoration: none; diff --git a/NzbDrone.Web/Content/NzbDrone.css b/NzbDrone.Web/Content/NzbDrone.css index 37f0bb1ed..ddc7a878b 100644 --- a/NzbDrone.Web/Content/NzbDrone.css +++ b/NzbDrone.Web/Content/NzbDrone.css @@ -50,54 +50,6 @@ hr display: none; } -/* Menu */ - -#menu -{ - height: 60px; -} - -#menu ul -{ - margin: 0; - padding: 5px 0px 5px 0px; - list-style: none; - line-height: normal; -} - -#menu li -{ - display: block; - float: left; - padding: 5px 15px 2px 10px; -} - -#menu a -{ - display: block; - float: left; - height: 26px; - padding: 0px 5px 7px 5px; - text-decoration: none; - text-align: center; - text-transform: lowercase; - font-size: 21px; - font-weight: normal; - vertical-align: middle; - font-family: "Segoe UI" , "Open Sans" , "Segoe UI Light" , sans-serif; -} - -#menu a:hover -{ - text-decoration: none; -} - -#menu li.current_page_item a -{ - border-bottom: 2px solid; - border-color: #065EFE; -} - /* Page */ #page @@ -119,8 +71,7 @@ hr background: url(images/logo.png) no-repeat left top; background-color: #065EFE; font-size: 110px; - color: white; - /**color: rgb(40, 40, 40);**/ + color: white; /**color: rgb(40, 40, 40);**/ text-transform: lowercase; letter-spacing: -1px; line-height: 110px; @@ -280,8 +231,15 @@ button span, input[type="button"] span, input[type="submit"] span, input[type="r font-weight: normal; } -#footer a { - font-family: "Segoe UI Light", "Open Sans", "Segoe UI", sans-serif; - font-size: 14px; +#footer a +{ + font-family: "Segoe UI" , "Open Sans" , "Segoe UI" , sans-serif; + font-size: 16px; + text-decoration: none; font-weight: lighter; -} \ No newline at end of file +} + +#footer a:hover +{ + text-decoration: underline; +} diff --git a/NzbDrone.Web/Views/Shared/Footer.cshtml b/NzbDrone.Web/Views/Shared/Footer.cshtml index faa30f570..8573e1a0a 100644 --- a/NzbDrone.Web/Views/Shared/Footer.cshtml +++ b/NzbDrone.Web/Views/Shared/Footer.cshtml @@ -1,4 +1,4 @@ @using NzbDrone.Web.Models @model FooterModel -@Html.ActionLink(String.Format("NzbDrone {0} {1:MMM d, yyyy}", Model.Version, Model.BuildTime), "Index", "Update") +@Html.ActionLink(String.Format("NzbDrone {0} ({1:MMM d, yyyy})", Model.Version, Model.BuildTime), "Index", "Update")