update for toolkit winstripe changes until 2009-01-30: video controls now include...
[themes.git] / EarlyBlue / global / autocomplete.css
index abc327a19e21f68c81804b37259daf68d09f1de2..0811c6cb413fb69ee383d687b90b2d1d25d61f89 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;
 }
 
-/* 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-input-box {
+textbox:not(.padded) .textbox-input-box {
   margin: 0 3px;
+}
+
+.textbox-input-box {
   -moz-box-align: center;
 }
 
@@ -88,7 +88,7 @@ panel[type="autocomplete"],
 panel[type="autocomplete-richlistbox"],
 .autocomplete-history-popup {
   border: 1px solid #9999CC;
-  background-color: white !important;
+  background-color: white;
   padding: 0;
 }
 
@@ -134,10 +134,7 @@ panel[type="autocomplete-richlistbox"],
 /* ::::: richlistbox autocomplete ::::: */
 
 .autocomplete-richlistbox {
-  -moz-appearance: none !important;
   margin: 0;
-  border: none !important;
-  background-color: transparent !important;
 }
 
 .autocomplete-richlistbox > scrollbox {
@@ -150,16 +147,14 @@ panel[type="autocomplete-richlistbox"],
 }
 
 .autocomplete-richlistitem {
-  -moz-box-orient: vertical;
-  overflow:-moz-hidden-unscrollable;
-  padding: 1px 0px 1px 2px;
+  padding: 1px 2px;
   border-bottom: 1px solid #666699;
 }
 
 .ac-site-icon {
   width: 16px;
   height: 16px;
-  margin-right: 8px;
+  margin: 0 5px -3px 3px;
 }
 
 .ac-type-icon {
@@ -167,6 +162,14 @@ panel[type="autocomplete-richlistbox"],
   height: 16px;
 }
 
+.ac-extra > .ac-result-type-tag {
+  margin: 0 4px;
+}
+
+.ac-extra > .ac-comment {
+  padding-right: 4px;
+}
+
 .ac-ellipsis-after {
   margin: 2px 0px 0px 0px !important;
   padding: 0;
@@ -178,13 +181,20 @@ panel[type="autocomplete-richlistbox"],
   padding: 0;
 }
 
-html|*.ac-emphasize-text {
+.ac-normal-text > html|span {
   margin: 0 !important;
   padding: 0;
+}
+
+html|span.ac-emphasize-text {
   font-weight: bold;
   text-decoration: underline;
 }
 
+html|span.ac-emphasize-alt {
+  text-decoration: underline;
+}
+
 .ac-title, .ac-url {
   overflow: hidden;
 }