Bug 1319919 - Fix vertical spacing, font-size, and colors of the insecure field warning. r=seanlee a=jcristau
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Thu, 15 Dec 2016 14:26:47 -0500
changeset 374077 253b34072aeb84b850a7fa014875b4d97f08cbb2
parent 374076 a858ae07d7a443043e75a66c11ca6f613c30fd3d
child 374078 15cb38704cedd92177f9912af58e594351e66850
push id35
push userfmarier@mozilla.com
push dateThu, 09 Feb 2017 06:52:49 +0000
reviewersseanlee, jcristau
bugs1319919
milestone52.0a2
Bug 1319919 - Fix vertical spacing, font-size, and colors of the insecure field warning. r=seanlee a=jcristau MozReview-Commit-ID: LngIqzZPCw9
browser/themes/shared/autocomplete.inc.css
--- a/browser/themes/shared/autocomplete.inc.css
+++ b/browser/themes/shared/autocomplete.inc.css
@@ -35,14 +35,30 @@
 
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="login"] > .ac-site-icon[selected] {
   list-style-image: url(chrome://browser/skin/notification-icons.svg#login-highlighted);
 }
 
 
 /* Insecure field warning */
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] {
-  background-color: #F6F6F6; /* Bug 1319176 */
+  background-color: var(--arrowpanel-dimmed);
+  border-bottom: 1px solid var(--panel-separator-color);
+  padding-bottom: 4px;
+  padding-top: 4px;
+}
+
+#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"][selected] {
+  background-color: var(--arrowpanel-dimmed-further);
+}
+
+#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] > .ac-title {
+  color: GrayText;
+  font-size: 1em;
+}
+
+#PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"][selected] > .ac-title {
+  color: inherit;
 }
 
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="insecureWarning"] > .ac-site-icon {
   list-style-image: url(chrome://browser/skin/connection-mixed-active-loaded.svg#icon);
 }