X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fautocomplete.css;h=4cba2cba1f0afb0ac9855061292ac89f782eec5e;hp=4ca30ee01f0200b4d610d60fcf9c65ac48d92af5;hb=7729765cff651b4f095a18d7b76fa5b112150216;hpb=95f94087d217c1c6d04787315b9b79ea6eda091c diff --git a/EarlyBlue/global/autocomplete.css b/EarlyBlue/global/autocomplete.css index 4ca30ee0..4cba2cba 100644 --- a/EarlyBlue/global/autocomplete.css +++ b/EarlyBlue/global/autocomplete.css @@ -112,90 +112,76 @@ panel[type="autocomplete-richlistbox"], overflow-x: hidden !important; } -.autocomplete-richlistitem { - padding: 1px 2px; -} - -.autocomplete-richlistitem[selected="true"] { - background-color: #336699; - color: white; -} - -.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 { +.ac-type-icon { width: 16px; height: 16px; - margin-top: 0; - margin-bottom: -3px; - -moz-margin-start: 3px; - -moz-margin-end: 5px; + 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"); +} +*/ +@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-extra > .ac-comment { - -moz-padding-end: 4px; +.ac-title { + -moz-margin-start: 0; + -moz-margin-end: 6px; } -.ac-ellipsis-after { - margin: 2px 0px 0px !important; - padding: 0; - min-width: 1em; +html|span.ac-tag { + -moz-margin-start: 0; + -moz-margin-end: 2px; } -.ac-normal-text { - margin: 2px 0px 0px !important; - padding: 0; +.ac-tags { + -moz-margin-start: 0; + -moz-margin-end: 4px; } -.ac-normal-text > html|span { - margin: 0 !important; - padding: 0; +.ac-separator { + -moz-margin-start: 0; + -moz-margin-end: 6px; } -html|span.ac-emphasize-text { - font-weight: bold; - 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 ::::: */