X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fautocomplete.css;h=aa9154fa9c1cbcf2d9db4cb5d38afb33f427edd2;hp=10f121903272266ae528e212b7f8c0488fab4b1e;hb=7b819315b3d2a65149683e56a8a6b5ae7a3a9d61;hpb=c9b2b3ef52cf12effa0b33e5a20735ccb5e637a7 diff --git a/EarlyBlue/global/autocomplete.css b/EarlyBlue/global/autocomplete.css index 10f12190..aa9154fa 100644 --- a/EarlyBlue/global/autocomplete.css +++ b/EarlyBlue/global/autocomplete.css @@ -42,6 +42,9 @@ == 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 { @@ -49,6 +52,18 @@ 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; @@ -57,15 +72,13 @@ textbox { /* ::::: history button ::::: */ .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; + 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"] { @@ -83,30 +96,52 @@ textbox { } .autocomplete-history-popup { - max-height: 180px; + max-height: 25em; } -/* ::::: outliner ::::: */ +/* ::::: tree ::::: */ -.autocomplete-outliner { +.autocomplete-tree { border: none; background-color: transparent !important; } -.autocomplete-outlinercol { +.autocomplete-treecol { margin: 0px !important; border: none !important; padding: 0px !important; } -.autocomplete-outlinerbody:-moz-outliner-cell-text { +.autocomplete-treebody::-moz-tree-cell-text { padding-left: 8px; } -.autocomplete-outlinerbody:-moz-outliner-row(menuactive) { +.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-outlinerbody:-moz-outliner-cell-text(menuactive) { +.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; +}