X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fautocomplete.css;h=4ca30ee01f0200b4d610d60fcf9c65ac48d92af5;hp=b69fd8aa6c42abf4b85fca346e32b56df3100eb5;hb=fa703ff4868b5400c27aa76a4c65219d297a2431;hpb=9099c61da39b1346a25b1c01463829a44d72d6e1 diff --git a/EarlyBlue/global/autocomplete.css b/EarlyBlue/global/autocomplete.css index b69fd8aa..4ca30ee0 100644 --- a/EarlyBlue/global/autocomplete.css +++ b/EarlyBlue/global/autocomplete.css @@ -58,7 +58,8 @@ panel[type="autocomplete"], panel[type="autocomplete-richlistbox"], .autocomplete-history-popup { border: 1px solid #9999CC; - background-color: white; + background-color: #FFFFFF; + color: #000000; padding: 0; } @@ -111,19 +112,45 @@ panel[type="autocomplete-richlistbox"], overflow-x: hidden !important; } +.autocomplete-richlistitem { + padding: 1px 2px; +} + .autocomplete-richlistitem[selected="true"] { background-color: #336699; color: white; } -.autocomplete-richlistitem { - padding: 1px 2px; -} - .autocomplete-richlistitem:not(:first-child) { border-top: 1px solid #666699; } +.ac-title-box { +} + +.ac-url-box { + /* When setting a vertical margin here, half of that needs to be added + .ac-title-box's translateY for when .ac-url-box is hidden (see below). */ +/* margin: 1px 0 4px;*/ +} + +.autocomplete-richlistitem[actiontype="keyword"] .ac-url-box, +.autocomplete-richlistitem[actiontype="searchengine"] .ac-url-box, +.autocomplete-richlistitem[actiontype="visiturl"] .ac-url-box, +.autocomplete-richlistitem[type~="autofill"] .ac-url-box { + visibility: hidden; +} + +.autocomplete-richlistitem[actiontype="keyword"] .ac-title-box, +.autocomplete-richlistitem[actiontype="searchengine"] .ac-title-box, +.autocomplete-richlistitem[actiontype="visiturl"] .ac-title-box, +.autocomplete-richlistitem[type~="autofill"] .ac-title-box { + /* Center the title by moving it down by half of .ac-url-box's height, + including vertical margins (if any). */ +/* transform: translateY(calc(.5em + 2px));*/ + transform: translateY(calc(.5em)); +} + .ac-site-icon { width: 16px; height: 16px; @@ -167,10 +194,6 @@ html|span.ac-emphasize-text { text-decoration: underline; } -html|span.ac-emphasize-alt { - text-decoration: underline; -} - .ac-title, .ac-url { overflow: hidden; }