Bug 1401908 - Completely disable the lightweight theme text-shadow for the Dark and Light themes. r?johannh draft
authorDão Gottwald <dao@mozilla.com>
Thu, 21 Sep 2017 11:46:47 +0200
changeset 668218 798c24309d34e29347a9995a3d8504a15d738bcf
parent 668025 47f7b6c64265bc7bdd22eef7ab71abc97cf3f8bf
child 732635 3ec1b68ee2af3e2f66dfbee03265f15a95424dca
push id80974
push userdgottwald@mozilla.com
push dateThu, 21 Sep 2017 09:47:14 +0000
reviewersjohannh
bugs1401908
milestone57.0a1
Bug 1401908 - Completely disable the lightweight theme text-shadow for the Dark and Light themes. r?johannh MozReview-Commit-ID: IpsMvGyM1e1
browser/themes/shared/compacttheme.inc.css
--- a/browser/themes/shared/compacttheme.inc.css
+++ b/browser/themes/shared/compacttheme.inc.css
@@ -2,16 +2,18 @@
 % License, v. 2.0. If a copy of the MPL was not distributed with this
 % file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 /* compacttheme.css is loaded in browser.xul after browser.css when it is
    preffed on.  The bulk of the styling is here in the shared file, but
    there are overrides for each platform in their compacttheme.css files. */
 
 :root:-moz-lwtheme {
+  text-shadow: none;
+
   --toolbar-bgcolor: var(--chrome-secondary-background-color);
   --toolbar-gbimage: none;
   --toolbar-non-lwt-bgcolor: var(--toolbar-bgcolor);
   --toolbar-non-lwt-textcolor: var(--chrome-color);
   --toolbar-non-lwt-bgimage: none;
 
   --toolbarbutton-icon-fill-opacity: .7;
 
@@ -82,25 +84,16 @@ toolbar[brighttext] .toolbarbutton-1 {
 }
 
 /* Default findbar text color doesn't look good - Bug 1125677 */
 .browserContainer > findbar .findbar-find-status,
 .browserContainer > findbar .found-matches {
   color: inherit;
 }
 
-.browserContainer > findbar .findbar-button,
-#PlacesToolbar toolbarbutton.bookmark-item {
-  text-shadow: none;
-}
-
-#TabsToolbar {
-  text-shadow: none !important;
-}
-
 /* URL bar and search bar*/
 #urlbar:not([focused="true"]),
 .searchbar-textbox:not([focused="true"]) {
   border-color: var(--chrome-nav-bar-controls-border-color);
 }
 
 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #identity-icon-labels:-moz-lwtheme-brighttext {
   color: #30e60b;