updating EarlyBlue skin; should almost be 0.8 now ;-)
[themes.git] / EarlyBlue / global / autocomplete.css
index c46612f0d6fc71a30e306f4747c8643d0051d161..68b187664a7adb134f001e8ba119198e40563383 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");
 
-/* ::::: autocomplete ::::: */
+/* ===== autocomplete.css =================================================
+  == Styles used by the autocomplete widget.
+  ======================================================================= */
 
-textbox[type="autocomplete"]
-  {
-    cursor              : default !important;
-  }
-
-.autocomplete-internal-box 
-  {
-    padding             : 0px !important;
-  }
+/* ::::: autocomplete ::::: */
 
-.autocomplete-textbox-container
+textbox
   {
-    padding             : 1px 2px 1px 2px;
+    cursor: default;
+    padding: 0px;
   }
 
-.autocomplete-textbox 
-  {
-    cursor              : text;
-  }
+.textbox-input-box {
+  margin: 0 3px;
+  -moz-box-align: center;
+}
 
 /* ::::: history button ::::: */
 
-.autocomplete-history-button
-  {
-    -moz-binding        : url("chrome://global/skin/classicBindings.xml#autocomplete-history-button");
-    width               : 15px; 
-    min-height          : 19px; 
-    border              : none;
-    background-color    : #9999CC;
-    list-style-image    : url("chrome://global/skin/scroll-down.gif");
-    padding             : 0px;
-    margin              : 0px;
-  }
-
-.autocomplete-history-button > .autocomplete-history-button-internal-box 
-  {
-    border              : 1px outset #CCD0DD;
-    padding             : 1px;
-  }
-
-.autocomplete-history-button[open="true"]
-  {
-    border              : none;
-  }
-
-.autocomplete-history-button[open="true"] > .autocomplete-history-button-internal-box
-  {
-    border              : 1px inset #CCD0DD;
-    padding             : 2px 0px 0px 2px;
-  }
+.autocomplete-history-dropmarker {
+  -moz-appearance: menulist-button;
+  -moz-box-align: center;
+  -moz-box-pack: center;
+  min-width: 15px;
+  min-height: 19px; 
+  border: 1px outset #CCD0DD;
+  background-color: #9999CC;
+  padding: 1px;
+  list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
+}
+
+.autocomplete-history-dropmarker[open="true"] {
+  border: 1px inset #CCD0DD;
+  padding: 2px 0px 0px 2px;
+}
 
 /* ::::: autocomplete popups ::::: */
 
 .autocomplete-result-popup,
-.autocomplete-history-popup
-  {
-    border                 : 1px solid #9999CC !important;
-    background-color       : white !important;
-  }
+.autocomplete-history-popup {
+  border: 1px solid #9999CC;
+  background-color: white !important;
+  padding: 0;
+}
 
-.autocomplete-history-popup
-  {
-    max-height             : 180px;
-  }
+.autocomplete-history-popup {
+  max-height: 180px;
+}
 
 /* ::::: outliner ::::: */
 
-.autocomplete-outliner 
-  {
-    border                 : none;
-    background-color       : transparent !important;
-  }
+.autocomplete-outliner {
+  border: none;
+  background-color: transparent !important;
+}
 
-.autocomplete-outlinercol 
-  {
-    margin                 : 0px !important;
-    border                 : none !important;
-    padding                : 0px !important;
-  }
+.autocomplete-outlinercol {
+  margin: 0px !important;
+  border: none !important;
+  padding: 0px !important;
+}
 
-.autocomplete-outlinerbody:-moz-outliner-cell-text 
-  {
-    padding-left: 8px;
-  }
+.autocomplete-outlinerbody:-moz-outliner-cell-text {
+  padding-left: 8px;
+}
 
-.autocomplete-outlinerbody:-moz-outliner-row(menuactive) 
-  {
-    background-color       : #336699;
-  }
+.autocomplete-outlinerbody:-moz-outliner-row(menuactive) {
+  background-color: #336699;
+}
 
-.autocomplete-outlinerbody:-moz-outliner-cell-text(menuactive) 
-  {
-    color                  : white !important;
-  }
+.autocomplete-outlinerbody:-moz-outliner-cell-text(menuactive) {
+  color: white !important;
+}