update to suite default status of 2009-01-30: bug 474807 - replace margin/padding...
[themes.git] / LCARStrek / global / autocomplete.css
index 1576f0bfe5e91900600d014e17f8e576cb6817fa..3bdefee6534e6af153c9552a8a1160b120cadd93 100644 (file)
 
 /* ::::: 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 {