Template:TU-Delft css

From 2012.igem.org

(Difference between revisions)
Line 301: Line 301:
}
}
-
/* dropdown */
 
-
#nav li:hover > ul {
 
-
    display: block;
 
-
}
 
-
/* level 2 list */
 
-
#nav ul {
 
-
    display: none;
 
-
 
-
    margin: 0;
 
-
    padding: 0;
 
-
    width: 215px; /* ändra bredd på dropdown */
 
-
    position: absolute;
 
-
    z-index:1;
 
-
    top: 35px;
 
-
    left: 0;
 
-
    border-bottom: 0px solid #6699cc; /*#4ba6d5;  blåa längst ner på dropdown. */
 
-
}
 
-
#nav ul li {
 
-
    float: none;
 
-
    margin: 0;
 
-
    padding: 0;
 
-
    border-bottom: 1px solid #2d2d2d; /* Avskiljare i dropdown. */
 
-
    line-height: 35px;
 
-
}
 
-
 
-
/* level 3+ list */
 
-
#nav ul ul {
 
-
    left: 181px;
 
-
    top: -3px;
 
-
}
 
/* rounded corners of first and last link */
/* rounded corners of first and last link */
Line 420: Line 390:
/* ******************************************************************* */
/* ******************************************************************* */
/* SHOW SUBMENU  1 */
/* SHOW SUBMENU  1 */
-
#menu li:hover ul, #menu li.over ul {
+
#nav li:hover ul, #nav li.over ul {
display:block;
display:block;
}
}
-
#menu li:hover ul ul, #menu li.over ul ul {
+
#nav li:hover ul ul, #nav li.over ul ul {
display:none;
display:none;
}
}
/* SHOW SUBMENU  2 */
/* SHOW SUBMENU  2 */
-
#menu ul li:hover ul, #menu ul li.over ul {
+
#nav ul li:hover ul, #nav ul li.over ul {
display:block;
display:block;
}
}

Revision as of 21:39, 4 September 2012