X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fautocomplete.css;h=a2ad582ca9d42378c4505f2005dadc0fcb89c21b;hp=ee86e3319492a64bd831e961556565ddbef0963f;hb=b4888bae6fbc1a4e61b478a329f0dca352d0e5a7;hpb=71a617ff22ae6266108ab20198128db5ae2bd33c diff --git a/LCARStrek/global/autocomplete.css b/LCARStrek/global/autocomplete.css index ee86e331..a2ad582c 100644 --- a/LCARStrek/global/autocomplete.css +++ b/LCARStrek/global/autocomplete.css @@ -69,6 +69,7 @@ panel[type="autocomplete-richlistbox"], .autocomplete-history-popup { border: 1px solid #FF9F00; background-color: #000000; + color: #FF9F00; padding: 0; } @@ -135,6 +136,32 @@ panel[type="autocomplete-richlistbox"], border-top: 1px solid #E7ADE7; } +.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;