X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fautocomplete.css;h=ad2c92cd0beb880c1bd6eca3392d1fc24aeb69f7;hp=4d44a49c91a353cabc3f48bd3c99f5ecb7cd0264;hb=dc96f1d66a318c19bb8dc8d6d4420e2d268f2dd6;hpb=37953ab48bd07b740b15610e6b7acb2f10333996 diff --git a/LCARStrek/global/autocomplete.css b/LCARStrek/global/autocomplete.css index 4d44a49c..ad2c92cd 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; } @@ -122,68 +123,74 @@ panel[type="autocomplete-richlistbox"], overflow-x: hidden !important; } -.autocomplete-richlistitem[selected="true"] { - background-color: #008484; - color: #000000; -} - -.autocomplete-richlistitem { - padding: 1px 2px; -} - -.autocomplete-richlistitem:not(:first-child) { - border-top: 1px solid #E7ADE7; -} - -.ac-site-icon { +.ac-type-icon { width: 16px; height: 16px; - margin-top: 0; - margin-bottom: -3px; - -moz-margin-start: 0; - -moz-margin-end: 3px; + max-width: 16px; + max-height: 16px; + -moz-margin-start: 14px; + -moz-margin-end: 6px; } -.ac-type-icon { +.ac-site-icon { width: 16px; height: 16px; + max-width: 16px; + max-height: 16px; + -moz-margin-start: 0px; + -moz-margin-end: 11px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); } -.ac-extra > .ac-result-type-tag { - margin: 0 4px; +.ac-site-icon[selected] { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon-inverted.png"); } -.ac-extra > .ac-comment { - -moz-padding-end: 4px; +@media (min-resolution: 1.1dppx) { + .ac-site-icon { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png"); + } + .ac-site-icon[selected] { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon-inverted@2x.png"); + } } -.ac-ellipsis-after { - margin: 2px 0px 0px !important; - padding: 0; - min-width: 1em; +.ac-title { + -moz-margin-start: 0; + -moz-margin-end: 6px; } -.ac-normal-text { - margin: 2px 0px 0px !important; - padding: 0; +html|span.ac-tag { + -moz-margin-start: 0; + -moz-margin-end: 2px; } -.ac-normal-text > html|span { - margin: 0 !important; - padding: 0; +.ac-tags { + -moz-margin-start: 0; + -moz-margin-end: 4px; } -html|span.ac-emphasize-text { - font-weight: bold; - text-decoration: underline; +.ac-separator { + -moz-margin-start: 0; + -moz-margin-end: 6px; } -html|span.ac-emphasize-alt { - text-decoration: underline; +/* Better align the URL/action with the title. */ +.ac-tags, +.ac-separator, +.ac-url, +.ac-action { + margin-bottom: -2px; } -.ac-title, .ac-url { - overflow: hidden; +.ac-title-text, +.ac-tags-text, +.ac-separator-text, +.ac-url-text, +.ac-action-text, +.ac-text-overflow-container { + padding: 0 !important; + margin: 0 !important; } /* ::::: textboxes inside toolbarpaletteitems ::::: */