start 2.48 cycle
[themes.git] / EarlyBlue / global / autocomplete.css
index b69fd8aa6c42abf4b85fca346e32b56df3100eb5..260f35618ccf9e721441a2d1b8b5836062abc4b6 100644 (file)
@@ -48,8 +48,8 @@ textbox:not(.padded) .textbox-input-box {
   border: 1px inset #CCD0DD;
   padding-top: 2px;
   padding-bottom: 0;
-  -moz-padding-start: 2px;
-  -moz-padding-end: 0;
+  padding-inline-start: 2px;
+  padding-inline-end: 0;
 }
 
 /* ::::: autocomplete popups ::::: */
@@ -58,7 +58,8 @@ panel[type="autocomplete"],
 panel[type="autocomplete-richlistbox"],
 .autocomplete-history-popup {
   border: 1px solid #9999CC;
-  background-color: white;
+  background-color: #FFFFFF;
+  color: #000000;
   padding: 0;
 }
 
@@ -85,7 +86,7 @@ panel[type="autocomplete-richlistbox"],
 }
 
 .autocomplete-treebody::-moz-tree-cell-text {
-  -moz-padding-start: 8px;
+  padding-inline-start: 8px;
 }
 
 .autocomplete-treebody::-moz-tree-row(selected) {
@@ -111,68 +112,76 @@ panel[type="autocomplete-richlistbox"],
   overflow-x: hidden !important;
 }
 
-.autocomplete-richlistitem[selected="true"] {
-  background-color: #336699;
-  color: white;
-}
-
-.autocomplete-richlistitem {
-  padding: 1px 2px;
-}
-
-.autocomplete-richlistitem:not(:first-child) {
-  border-top: 1px solid #666699;
-}
-
-.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;
+  margin-inline-start: 14px;
+  margin-inline-end: 6px;
 }
 
-.ac-type-icon {
+.ac-site-icon {
   width: 16px;
   height: 16px;
+  max-width: 16px;
+  max-height: 16px;
+  margin-inline-start: 0px;
+  margin-inline-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 {
+  margin-inline-start: 0;
+  margin-inline-end: 6px;
 }
 
-.ac-normal-text {
-  margin: 2px 0px 0px !important;
-  padding: 0;
+html|span.ac-tag {
+  margin-inline-start: 0;
+  margin-inline-end: 2px;
 }
 
-.ac-normal-text > html|span {
-  margin: 0 !important;
-  padding: 0;
+.ac-tags {
+  margin-inline-start: 0;
+  margin-inline-end: 4px;
 }
 
-html|span.ac-emphasize-text {
-  font-weight: bold;
-  text-decoration: underline;
+.ac-separator {
+  margin-inline-start: 0;
+  margin-inline-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 ::::: */