Bug 1455990 - Update the no-results-message selector since it changed from a className to an ID. r?sfoster draft
authorJared Wein <jwein@mozilla.com>
Tue, 24 Apr 2018 13:33:57 -0700
changeset 787435 30bd8704c54a73ed571e7a4dc9ff6a63e2af9b31
parent 787142 26e53729a10976f52e75efa44e17b5e054969fec
push id107730
push userbmo:jaws@mozilla.com
push dateTue, 24 Apr 2018 20:34:13 +0000
reviewerssfoster
bugs1455990
milestone61.0a1
Bug 1455990 - Update the no-results-message selector since it changed from a className to an ID. r?sfoster MozReview-Commit-ID: 8w0dCpBjisH
browser/themes/shared/incontentprefs/preferences.inc.css
--- a/browser/themes/shared/incontentprefs/preferences.inc.css
+++ b/browser/themes/shared/incontentprefs/preferences.inc.css
@@ -861,39 +861,39 @@ menulist[indicator=true] > menupopup men
 menulist[indicator=true] > menupopup menuitem[indicator=true]:not([image]) > .menu-iconic-left > .menu-iconic-icon:-moz-locale-dir(rtl) {
   transform: scaleX(-1);
 }
 
 .menu-iconic-highlightable-text {
   margin: 0; /* Align with the margin of xul:label.menu-iconic-text */
 }
 
-.no-results-message > label {
+#no-results-message > label {
   margin: 2px 0;
   line-height: 30px;
 }
 
 .no-results-container:nth-child(2) {
   margin-top: 64px;
 }
 
 .no-results-container:nth-child(2) > image {
   list-style-image: url("chrome://browser/skin/preferences/in-content/no-search-results.svg");
   width: 380px;
   height: 293px;
 }
 
-.no-results-message[query*=🔥🦊] {
+#no-results-message[query*=🔥🦊] {
   background-image: url("chrome://browser/skin/preferences/in-content/critters-postcard.jpg");
   background-size: contain;
   background-repeat: no-repeat;
   background-position: center;
 }
 
-.no-results-message[query*=🔥🦊] > .no-results-container {
+#no-results-message[query*=🔥🦊] > .no-results-container {
   visibility: hidden;
 }
 
 /* Proxy port input */
 
 .proxy-port-input {
   width: calc(5ch + 22px); /* 5 chars + 11px padding on both sides */
 }