Team:WITS-CSIR SA/Styles/default.advanced.css

From 2011.igem.org

Revision as of 10:04, 22 October 2011 by Nkruger (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

@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
*
*/

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: #6279ad; }

ul.dropdown a.open { background-color: #2e2e2e; color: #FFFFFF; }

ul.dropdown ul a.open { background-color: #FFFFFF; color: #fff; }


/* CSS 2.1 */

ul.dropdown li:hover > a.dir { background-color: #2e2e2e; color: #FFFFFF; }

ul.dropdown ul li:hover > a.dir { background-color: #FFFFFF; color: #fff; }