X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fautocomplete.css;h=3bdefee6534e6af153c9552a8a1160b120cadd93;hp=1576f0bfe5e91900600d014e17f8e576cb6817fa;hb=8caa872d050772c572257f23011c668f70dcaef7;hpb=c79d2bbe6e21fbe322c5481d0757831306d1eeaf diff --git a/LCARStrek/global/autocomplete.css b/LCARStrek/global/autocomplete.css index 1576f0bf..3bdefee6 100644 --- a/LCARStrek/global/autocomplete.css +++ b/LCARStrek/global/autocomplete.css @@ -44,30 +44,26 @@ /* ::::: autocomplete ::::: */ -textbox { +/* .padded is used by autocomplete widgets that don't have an icon. Gross. -dwh */ +textbox:not(.padded) { cursor: default; padding: 0px; -moz-border-radius: 3px; } -/* 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; +textbox[nomatch="true"][highlightnonmatches="true"] { + color: red; } .autocomplete-textbox-container { -moz-box-align: center; } -textbox[nomatch="true"][highlightnonmatches="true"] { - color: red; +textbox:not(.padded) .textbox-input-box { + margin: 0 3px; } .textbox-input-box { - margin: 0 3px; -moz-box-align: center; -moz-border-radius: 3px; } @@ -122,7 +118,7 @@ panel[type="autocomplete-richlistbox"], } .autocomplete-treebody::-moz-tree-cell-text { - padding-left: 8px; + -moz-padding-start: 8px; } .autocomplete-treebody::-moz-tree-row(selected) { @@ -174,7 +170,7 @@ panel[type="autocomplete-richlistbox"], } .ac-extra > .ac-comment { - padding-right: 4px; + -moz-padding-end: 4px; } .ac-ellipsis-after {