first steps on synching EarlyBlue with trunk *stripe (global files starting with...
[themes.git] / EarlyBlue / global / menulist.css
index 14c5aca76b978eabddd4ece719ab5718fa4e1d93..8a33007a72835350eb62bf9eaac94dee85991dcc 100644 (file)
  *
  * ***** END LICENSE BLOCK ***** */
 
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
-
 /* ===== menulist.css ===================================================
   == Styles used by the XUL menulist element.
   ======================================================================= */
 
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
+
 /* :::::::::: menulist :::::::::: */
 
 menulist {
@@ -55,12 +55,6 @@ menulist {
   -moz-box-align: center;
   -moz-box-pack: center;
 /*  margin: 1px; */
-}
-
-.menulist-label-box,
-menulist[open="true"]:focus > .menulist-label-box {
-/*  border: 1px inset #CCD0DD; */
-  background-color: transparent;
   color: inherit;
 }
 
@@ -74,48 +68,39 @@ menulist[open="true"]:focus > .menulist-label-box {
   margin-left: 1ex !important;
 }
 
+menulist:focus > .menulist-label-box {
+/*  border: 1px dotted #999999; */
+  background-color: #336699;
+  color: #000000;
+}
+
+menulist[disabled="true"] {
+  background-color: #CCCCCC;
+  color: #999999;
+}
+
 /* ..... dropmarker ..... */
 
 .menulist-dropmarker {
-  -moz-box-align: center;
-  -moz-box-pack: center;
-  min-width: 15px;
-  border: 1px outset #CCD0DD;
   background-color: #CCCCCC;
-  list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
 }
 
-.menulist-dropmarker,
 menulist[disabled="true"]:hover:active > .menulist-dropmarker {
   padding: 1px;
 }
 
-menulist[disabled="true"] > .menulist-dropmarker {
-  list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
-}
-
-menulist:hover:active > .menulist-dropmarker {
+menulist:hover:active > .menulist-dropmarker,
+menulist:[open="true"] > .menulist-dropmarker {
   border: 1px inset #CCD0DD;
   padding: 2px 0px 0px 2px;
 }
 
-/* ..... focused state ..... */
+/* ::::: editable menulists ::::: */
 
-menulist:focus > .menulist-label-box {
-/*  border: 1px dotted #999999; */
-  background-color: #336699;
+menulist[editable="true"] {
   color: #000000;
 }
 
-/* ..... disabled state ..... */
-
-menulist[disabled="true"] {
-  background-color: #CCCCCC;
-  color: #999999;
-}
-
-/* ::::: editable menulists ::::: */
-
 .menulist-editable-box {
   background-color: #FFFFFF;
   padding: 2px;
@@ -125,8 +110,6 @@ html|*.menulist-editable-input {
   margin: 0px !important;
   border: none !important;
   padding: 0px !important;
-  background-color: #FFFFFF;
-  color: #000000;
   font: inherit;
 }
 
@@ -137,30 +120,26 @@ html|*.menulist-editable-input {
   -moz-box-pack: center;
   margin: 0px;
   border: 1px outset #CCD0DD;
-/*  background-color: -moz-Dialog;
-  color: -moz-DialogText; */
-}
-
-.menulist-compact > .menulist-label {
-  margin: 0 3px !important;
-  text-align: right;
+  color: #000000;
+  list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
 }
 
 .menulist-compact > .menulist-dropmarker {
-  margin-left: 2px;
-  border: none;
+  -moz-margin-start: 2px;
   padding: 0 !important;
-  background: transparent;
+  list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
 }
 
-menulist:hover:active > .menulist-dropmarker {
-  border: none;
-  padding: 0;
+.menulist-compact[disabled="true"] > .menulist-dropmarker {
+  list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
+}
+
+.menulist-compact > .menulist-label {
+  margin: 0 3px !important;
+  text-align: right;
 }
 
 .menulist-compact[open="true"] {
   border: 1px inset #CCD0DD;
-/*  background-color: ThreeDShadow;
-  color: ThreeDHighlight; */
+  /* color: ThreeDHighlight; */
 }
-