== 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 {
padding: 0px;
}
+/* 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 {
+ -moz-box-align: center;
+}
+
.textbox-input-box {
margin: 0 3px;
-moz-box-align: center;
/* ::::: history button ::::: */
.autocomplete-history-dropmarker {
- -moz-box-align: center;
- -moz-box-pack: center;
min-width: 15px;
- min-height: 19px;
- border: 1px outset #CCD0DD;
+ min-height: 19px;
background-color: #9999CC;
- padding: 1px;
- list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
+}
+
+.autocomplete-history-dropmarker[enablehistory="true"] {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#history-dropmarker")
}
.autocomplete-history-dropmarker[open="true"] {
/* ::::: autocomplete popups ::::: */
-.autocomplete-result-popup,
+panel[type="autocomplete"],
.autocomplete-history-popup {
border: 1px solid #9999CC;
background-color: white !important;
}
.autocomplete-history-popup {
- max-height: 180px;
+ max-height: 25em;
}
/* ::::: tree ::::: */
padding: 0px !important;
}
-.autocomplete-treebody:-moz-tree-cell-text {
+.autocomplete-treebody::-moz-tree-cell-text {
padding-left: 8px;
}
-.autocomplete-treebody:-moz-tree-row(menuactive) {
+.autocomplete-treebody::-moz-tree-row(selected) {
background-color: #336699;
}
-.autocomplete-treebody:-moz-tree-cell-text(menuactive) {
+.autocomplete-treebody::-moz-tree-cell-text(selected) {
color: white !important;
}
+
+/* ::::: textboxes inside toolbarpaletteitems ::::: */
+
+toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input {
+ visibility: hidden;
+}
+
+toolbarpaletteitem > toolbaritem > * > textbox > hbox > hbox > html|*.textbox-input {
+ visibility: hidden;
+}