Template:Georgia State/css
From 2010.igem.org
(Removing all content from page) |
|||
Line 1: | Line 1: | ||
+ | @charset "UTF-8"; | ||
+ | /** | ||
+ | * NVIDIA Advanced CSS Drop-Down Menu Theme | ||
+ | * | ||
+ | * @file default.advanced.css | ||
+ | * @name NVIDIA | ||
+ | * @version 0.1 | ||
+ | * @type transitional | ||
+ | * @browsers Windows: IE5+, Opera7+, Firefox1+ | ||
+ | * Mac OS: Safari2+, Firefox2+ | ||
+ | * | ||
+ | * @link http://www.lwis.net/ | ||
+ | * @copyright 2008 Live Web Institute. All Rights Reserved. | ||
+ | * | ||
+ | */ | ||
+ | |||
+ | @import "default.css"; | ||
+ | |||
+ | |||
+ | ul.dropdown li a { | ||
+ | display: block; | ||
+ | padding: 7px 14px; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* ------------- Override default */ | ||
+ | |||
+ | ul.dropdown li { | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* ------------- Reinitiate default: post-override activities */ | ||
+ | |||
+ | ul.dropdown li.dir { | ||
+ | padding: 7px 20px 7px 14px; | ||
+ | } | ||
+ | |||
+ | ul.dropdown ul li.dir { | ||
+ | padding-right: 15px; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* ------------- Custom */ | ||
+ | |||
+ | ul.dropdown li { | ||
+ | |||
+ | } | ||
+ | |||
+ | ul.dropdown ul a { | ||
+ | padding: 4px 5px 4px 14px; | ||
+ | width: 151px; /* Especially for IE */ | ||
+ | } | ||
+ | |||
+ | ul.dropdown ul a:hover { | ||
+ | background-color: #76b900; | ||
+ | } | ||
+ | |||
+ | ul.dropdown a.open { | ||
+ | background-color: #2e2e2e; | ||
+ | color: #76b900; | ||
+ | } | ||
+ | |||
+ | ul.dropdown ul a.open { | ||
+ | background-color: #76b900; | ||
+ | color: #fff; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* CSS 2.1 */ | ||
+ | |||
+ | ul.dropdown li:hover > a.dir { | ||
+ | background-color: #2e2e2e; | ||
+ | color: #76b900; | ||
+ | } | ||
+ | |||
+ | ul.dropdown ul li:hover > a.dir { | ||
+ | background-color: #76b900; | ||
+ | color: #fff; | ||
+ | } |
Revision as of 04:13, 27 October 2010
@charset "UTF-8";
/**
* NVIDIA Advanced CSS Drop-Down Menu Theme * * @file default.advanced.css * @name NVIDIA * @version 0.1 * @type transitional * @browsers Windows: IE5+, Opera7+, Firefox1+ * Mac OS: Safari2+, Firefox2+ * * @link http://www.lwis.net/ * @copyright 2008 Live Web Institute. All Rights Reserved. * */
@import "default.css";
ul.dropdown li a {
display: block; padding: 7px 14px;
}
/* ------------- Override default */
ul.dropdown li { padding: 0; }
/* ------------- Reinitiate default: post-override activities */
ul.dropdown li.dir { padding: 7px 20px 7px 14px; }
ul.dropdown ul li.dir { padding-right: 15px; }
/* ------------- Custom */
ul.dropdown li {
}
ul.dropdown ul a { padding: 4px 5px 4px 14px; width: 151px; /* Especially for IE */ }
ul.dropdown ul a:hover { background-color: #76b900; }
ul.dropdown a.open { background-color: #2e2e2e; color: #76b900; }
ul.dropdown ul a.open { background-color: #76b900; color: #fff; }
/* CSS 2.1 */
ul.dropdown li:hover > a.dir { background-color: #2e2e2e; color: #76b900; }
ul.dropdown ul li:hover > a.dir { background-color: #76b900; color: #fff; }