From e5640769521a6ad40e4c8378fa67322eaa5b6f65 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 31 Dec 2008 14:01:22 -0800 Subject: [PATCH] Add styling to the navigation bar * Decorator.css.php * docs/decoratortest.html --- Decorator.css.php | 110 ++++++++++++++++++++++++++++++++++++++++ docs/decoratortest.html | 21 +++++++- 2 files changed, 130 insertions(+), 1 deletion(-) diff --git a/Decorator.css.php b/Decorator.css.php index b5f6c69..b9d4ba4 100644 --- a/Decorator.css.php +++ b/Decorator.css.php @@ -305,3 +305,113 @@ table .alt2 { top: 40px; } + +/* Used to title the system */ +#nav h1 +{ + font-size: 24px; + font-weight: bold; + color: rgb(255, 255, 255); + text-align: center; +} + +/* Used for top links in the navbar */ +#nav h2, #nav h2 a:link, #hav h2 a:active, #nav h2 a:visited +{ + font-size: 12px; + font-weight: normal; + color: rgb(203, 234, 148); + text-align: center; + text-decoration: none; +} + + #nav h2 a:hover + { + text-decoration: underline; + } + +/* Navigation list */ +#nav ul +{ + margin-top: 10px; +} + +/* Navigation sections */ +#nav ul li +{ + list-style-type: none; + + border-width: 0px 0px 1px 0px; + border-style: solid; + border-color: rgb(0, 0, 0); + + font-size: 18px; + font-weight: bold; + color: rgb(203, 234, 148); + text-indent: 10px; + + height: 50px; + line-height: 50px; + + background-image: url(/DecoratorResources/nav-section.jpg); + background-repeat: repeat-x; +} + + #nav ul li:first-child + { + border-top-width: 1px; + } + +/* Expanded navigation section */ +#nav ul li.expand +{ + text-align: center; + color: rgb(40, 42, 34); + + background-image: url(/DecoratorResources/nav-section-open.jpg); +} + +/* Navigation items list */ +#nav ul ul +{ + margin: 0px; + + border-width: 0px 0px 1px 0px; + border-color: rgb(0, 0, 0); + border-style: solid; +} + +/* Navigation items */ +#nav ul ul li +{ + border: none; + + padding: 2px 4px 2px 10px; + + height: auto; + + font-size: 12px; + font-weight: normal; + color: rgb(0, 0, 0); + line-height: 15px; + + background-color: rgb(203, 234, 148); + background-image: none; +} + + #nav ul ul li:first-child + { + padding-top: 10px; + } + + #nav ul ul li:last-child + { + padding-bottom: 10px; + } + +/* Selected navigation items */ +#nav ul ul li.selected +{ + font-weight: bold; + font-style: italic; +} diff --git a/docs/decoratortest.html b/docs/decoratortest.html index 0a4c3db..5f5e921 100644 --- a/docs/decoratortest.html +++ b/docs/decoratortest.html @@ -8,7 +8,26 @@ - +
Settings
-- 2.22.5