update preview with a real suiterunner EarlyBlue shot in the right size, kill content...
[themes.git] / EarlyBlue / global / autocomplete.css
index c46612f0d6fc71a30e306f4747c8643d0051d161..aa9154fa9c1cbcf2d9db4cb5d38afb33f427edd2 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.css =================================================
+  == Styles used by the autocomplete widget.
+  ======================================================================= */
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+@namespace html url("http://www.w3.org/1999/xhtml");
 
 /* ::::: autocomplete ::::: */
 
-textbox[type="autocomplete"]
-  {
-    cursor              : default !important;
-  }
+textbox {
+  cursor: default;
+  padding: 0px;
+}
 
-.autocomplete-internal-box 
-  {
-    padding             : 0px !important;
-  }
+/* Used by autocomplete widgets that don't have an icon. Gross. -dwh */
+textbox.padded {
+  padding-top: 1px;
+  padding-bottom: 1px;
+  -moz-padding-start: 2px;
+  -moz-padding-end: 0px;
+}
 
-.autocomplete-textbox-container
-  {
-    padding             : 1px 2px 1px 2px;
-  }
+.autocomplete-textbox-container {
+  -moz-box-align: center;
+}
 
-.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 {
+  min-width: 15px;
+  min-height: 19px;
+  background-color: #9999CC;
+}
+
+.autocomplete-history-dropmarker[enablehistory="true"] {
+  -moz-binding: url("chrome://global/skin/globalBindings.xml#history-dropmarker")
+}
+
+.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
-  {
-    max-height             : 180px;
-  }
-
-/* ::::: outliner ::::: */
-
-.autocomplete-outliner 
-  {
-    border                 : none;
-    background-color       : transparent !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-row(menuactive) 
-  {
-    background-color       : #336699;
-  }
-
-.autocomplete-outlinerbody:-moz-outliner-cell-text(menuactive) 
-  {
-    color                  : white !important;
-  }
+.autocomplete-history-popup {
+  border: 1px solid #9999CC;
+  background-color: white !important;
+  padding: 0;
+}
+
+.autocomplete-history-popup {
+  max-height: 25em;
+}
+
+/* ::::: tree ::::: */
+
+.autocomplete-tree {
+  border: none;
+  background-color: transparent !important;
+}
+
+.autocomplete-treecol {
+  margin: 0px !important;
+  border: none !important;
+  padding: 0px !important;
+}
+
+.autocomplete-treebody::-moz-tree-cell-text {
+  padding-left: 8px;
+}
+
+.autocomplete-treebody::-moz-tree-row(selected) {
+  background-color: #336699;
+}
+
+.autocomplete-treebody::-moz-tree-cell-text(selected) {
+  color: white !important;
+}
+
+/* seamonkey and thunderbird do not use the new autocomplete widget yet so we need a couple of the old styles rules */
+
+.autocomplete-treebody::-moz-tree-row(menuactive) {
+  background-color: #336699;
+}
+
+.autocomplete-treebody::-moz-tree-cell-text(menuactive) {
+  color: white !important;
+}
+
+/* end of seamonkey and thunderbird required autocomplete rules */
+
+/* ::::: textboxes inside toolbarpaletteitems ::::: */
+
+toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input {
+  visibility: hidden;
+}
+
+toolbarpaletteitem > toolbaritem > * > textbox > hbox > hbox > html|*.textbox-input {
+  visibility: hidden;
+}