Team:Edinburgh/defaultcss

From 2009.igem.org

(Difference between revisions)
(Undo revision 169849 by JRWK (Talk))
 
(16 intermediate revisions not shown)
Line 7: Line 7:
-
/*-------------------------------------------------/
+
/*------------------------------------------------------------------------------------------------------/
  * @section Base Drop-Down Styling
  * @section Base Drop-Down Styling
  * @structure ul (unordered list)
  * @structure ul (unordered list)
  * ul li (list item)
  * ul li (list item)
  * ul li a (links)
  * ul li a (links)
-
  * /*\.class|(li|a):hover/
+
  * *(.class|:hover)
  * @level sep ul
  * @level sep ul
  */
  */
 +
 +
/* ----- ALL LEVELS (incl. first) */
ul.dropdown {
ul.dropdown {
-
  font-weight: bold;
+
  font: 12px Arial, Helvetica, sans-serif;
}
}
ul.dropdown li {
ul.dropdown li {
-
padding: 7px 10px;
+
padding: 7px 12px;
-
border-style: solid;
+
background-color: #252833;
-
border-width: 1px 1px 1px 0;
+
color: #fff;
-
border-color: #fff #d9d9d9 #d9d9d9;
+
-
background-color: #f6f6f6;
+
-
color: #000;
+
}
}
ul.dropdown li.hover,
ul.dropdown li.hover,
ul.dropdown li:hover {
ul.dropdown li:hover {
-
background-color: #eee;
+
background-color: #252833;
-
color: #000;
+
}
}
ul.dropdown a:link,
ul.dropdown a:link,
-
ul.dropdown a:visited { color: #000; text-decoration: none; }
+
ul.dropdown a:visited { color: #fff; text-decoration: none; }
-
ul.dropdown a:hover { color: #000; }
+
ul.dropdown a:hover { color: #fff; text-decoration: underline; }
-
ul.dropdown a:active { color: #ffa500; }
+
ul.dropdown a:active { color: #fff; }
-
/* -- level mark -- */
+
/* ----- END LEVEL */
 +
 
 +
 
 +
/* ----- NON-FIRST LEVEL */
ul.dropdown ul {
ul.dropdown ul {
-
width: 150px;
+
margin-left: -6px;
-
margin-top: 1px;
+
width: 170px;
 +
padding-bottom: 9px;
 +
background: url(https://static.igem.org/mediawiki/2009/d/d6/EdinburghDropdown_pane.png) 0 100% no-repeat;
 +
color: #000;
 +
font-size: 11px;
 +
font-weight: normal;
}
}
ul.dropdown ul li {
ul.dropdown ul li {
-
font-weight: normal;
+
background-color: transparent;
 +
color: #000;
}
}
 +
ul.dropdown ul li.hover,
 +
ul.dropdown ul li:hover {
 +
background-color: transparent;
 +
}
 +
 +
ul.dropdown ul li.empty {
 +
padding: 12px 12px 7px !important;
 +
font-weight: bold;
 +
}
 +
 +
ul.dropdown ul a:link,
 +
ul.dropdown ul a:visited { color: #000; }
 +
ul.dropdown ul a:hover { color: #000; text-decoration: none; }
 +
ul.dropdown ul a:active { color: #000; }
 +
 +
ul.dropdown ul ul {
 +
}
 +
ul.dropdown ul ul li {}
 +
/* ----- END LEVEL */
-
/*-------------------------------------------------/
+
/*------------------------------------------------------------------------------------------------------/
-
  * @section Support Class `dir`
+
  * @section Support Class 'dir'
  * @level sep ul, .class
  * @level sep ul, .class
  */
  */
 +
 +
/* ----- ALL LEVELS (incl. first) */
ul.dropdown *.dir {
ul.dropdown *.dir {
-
  padding-right: 20px;
+
  padding-right: 12px;
-
  background-image: url(images/nav-arrow-down.png);
+
  background-image: none;
  background-position: 100% 50%;
  background-position: 100% 50%;
  background-repeat: no-repeat;
  background-repeat: no-repeat;
}
}
 +
/* ----- END LEVEL */
-
/* -- Components override -- */
+
 
 +
 
 +
 
 +
/* Components override */
ul.dropdown-horizontal ul *.dir {
ul.dropdown-horizontal ul *.dir {
Line 81: Line 113:
}
}
-
ul.dropdown-upward *.dir {
+
ul.dropdown-vertical *.dir {
-
background-image: url(images/nav-arrow-top.png);
+
-
}
+
-
 
+
-
ul.dropdown-vertical *.dir,
+
-
ul.dropdown-upward ul *.dir {
+
  background-image: url(images/nav-arrow-right.png);
  background-image: url(images/nav-arrow-right.png);
}
}
ul.dropdown-vertical-rtl *.dir {
ul.dropdown-vertical-rtl *.dir {
-
  padding-right: 10px;
+
  padding-right: 15px;
-
padding-left: 15px;
+
  background-image: url(images/nav-arrow-left.png);
  background-image: url(images/nav-arrow-left.png);
  background-position: 0 50%;
  background-position: 0 50%;
}
}
-
 
</style>
</style>
</html>
</html>

Latest revision as of 12:51, 16 July 2010