X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fautocomplete.css;h=5878ae11fba204fc82d6981b4fc9efa57d0b61ad;hb=6102b41b16bcc636299e74aa5a9ac09f16cbf2dc;hp=7aac494519ff62a4e28d02cf136da8200f8b45aa;hpb=a1f525f0c2c8526761b87b460de74e463e4f263f;p=themes.git diff --git a/EarlyBlue/global/autocomplete.css b/EarlyBlue/global/autocomplete.css index 7aac4945..5878ae11 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,14 +72,13 @@ textbox { /* ::::: 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"] { @@ -74,7 +88,8 @@ textbox { /* ::::: autocomplete popups ::::: */ -.autocomplete-result-popup, +panel[type="autocomplete"], +panel[type="autocomplete-richlistbox"], .autocomplete-history-popup { border: 1px solid #9999CC; background-color: white !important; @@ -82,7 +97,7 @@ textbox { } .autocomplete-history-popup { - max-height: 180px; + max-height: 25em; } /* ::::: tree ::::: */ @@ -102,10 +117,82 @@ textbox { 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; } + +/* ::::: richlistbox autocomplete ::::: */ + +.autocomplete-richlistbox { + -moz-appearance: none !important; + margin: 0; + border: none !important; + background-color: transparent !important; +} + +.autocomplete-richlistbox > richlistitem[selected="true"] { + background-color: #336699; + color: white; +} + +.autocomplete-richlistitem { + overflow: hidden; + padding: 1px 0px 1px 2px; +} + +.ac-site-icon { + width: 16px; + height: 16px; +} + +.ac-type-icon { + width: 16px; + height: 16px; +} + +.ac-ellipsis-before { + margin: 2px -2px 0px 2px !important; + padding: 0; + min-width: 1em; +} + +.ac-ellipsis-between { + margin: 2px 0px 0px 0px !important; + -moz-padding-end: 8px; + min-width: 2em; +} + +.ac-ellipsis-after { + margin: 2px 0px 0px 0px !important; + padding: 0; + min-width: 1em; +} + +.ac-normal-text { + margin: 2px 0px 0px 0px !important; + padding: 0; +} + +.ac-emphasize-text { + margin: 0 !important; + padding: 0; + font-weight: bold; +} + +.ac-title, .ac-url { + overflow: hidden; +} + +/* ::::: textboxes inside toolbarpaletteitems ::::: */ + +toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input { + visibility: hidden; +} + +toolbarpaletteitem > toolbaritem > * > textbox > hbox > hbox > html|*.textbox-input { + visibility: hidden; +}