Template:Georgia State/dropdown css

From 2010.igem.org

(Difference between revisions)
 
(19 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<style type="text/css">
<style type="text/css">
 +
@charset "UTF-8";
 +
/**
 +
* Horizontal CSS Drop-Down Menu Module
 +
*
 +
* @file dropdown.css
 +
* @package Dropdown
 +
* @version 0.7.1
 +
* @type Transitional
 +
* @stacks 597-599
 +
* @browsers Windows: IE6+, Opera7+, Firefox1+
 +
* Mac OS: Safari2+, Firefox2+
 +
*
 +
* @link http://www.lwis.net/
 +
* @copyright 2006-2008 Live Web Institute. All Rights Reserved.
 +
*
 +
*/
 +
 +
ul.dropdown,
 +
ul.dropdown li,
 +
ul.dropdown ul {
 +
list-style: none;
 +
margin: 0;
 +
padding: 0;
 +
}
ul.dropdown {
ul.dropdown {
-
  font: normal 12px "Trebuchet MS", Arial, Helvetica, sans-serif;
+
  position: relative;
-
  text-transform: uppercase;
+
z-index: 597;
 +
float: left;
 +
width: 950px;
 +
  background-color: #000000;
}
}
-
ul.dropdown li {
+
ul.dropdown li {
-
padding: 7px 0;
+
float: left;
-
background-color: #000;
+
line-height: 1.3em;
-
color: #fff;
+
vertical-align: middle;
-
line-height: normal;
+
zoom: 1;
-
}
+
}
-
ul.dropdown li.hover,
+
ul.dropdown li.hover,
-
ul.dropdown li:hover {
+
ul.dropdown li:hover {
-
+
position: relative;
-
}
+
z-index: 599;
 +
cursor: default;
 +
}
-
ul.dropdown a:link,
+
ul.dropdown ul {
-
ul.dropdown a:visited { color: #fff; text-decoration: none; }
+
visibility: hidden;
-
ul.dropdown a:hover { color: #76b900; text-decoration: none; }
+
position: absolute;
-
ul.dropdown a:active { color: #fff; }
+
top: 100%;
 +
left: 0;
 +
z-index: 598;
 +
width: 100%;
 +
}
 +
ul.dropdown ul li {
 +
float: none;
 +
}
-
/* ----- END LEVEL */
+
ul.dropdown ul ul {
 +
top: 1px;
 +
left: 99%;
 +
}
 +
ul.dropdown li:hover > ul {
 +
visibility: visible;
 +
}
-
/* ----- NON-FIRST LEVEL */
 
-
 
-
ul.dropdown ul {
 
-
width: 170px;
 
-
background-color: #333;
 
-
color: #fff;
 
-
font-size: 11px;
 
-
text-transform: none;
 
-
filter: alpha(opacity=90);
 
-
-moz-opacity: .9;
 
-
KhtmlOpacity: .9;
 
-
opacity: .9;
 
-
}
 
-
 
-
ul.dropdown ul li {
 
-
background-color: transparent;
 
-
color: #000;
 
-
filter: none;
 
-
}
 
-
 
-
ul.dropdown ul li.hover,
 
-
ul.dropdown ul li:hover {
 
-
background-color: transparent;
 
-
}
 
-
 
-
ul.dropdown ul a:link,
 
-
ul.dropdown ul a:visited { color: #fff; }
 
-
ul.dropdown ul a:hover { color: #fff; text-decoration: none; }
 
-
ul.dropdown ul a:active { color: #fff; }
 
 +
</style>
 +
<script type="text/javascript">
 +
var fh = document.getElementsByClassName("firstHeading")[0];
 +
fh.parentElement.removeChild(fh);
 +
var fh=document.getElementById("contentSub");
 +
fh.parentElement.removeChild(fh);
 +
</script>
 +
<!-- !END GSUCSS -->
</html>
</html>

Latest revision as of 19:05, 27 October 2010