Bug 1583325 - Lighten the stripes in the TP switch section background when OFF. r=johannh,timhuang a=lizzard
authorNihanth Subramanya <nhnt11@gmail.com>
Tue, 01 Oct 2019 23:01:54 +0300
changeset 555577 546ee49d66a195581d9f151a78b71b3566567ca1
parent 555576 e8fb03fbdda7f151d41e8c9b8565d10cd1a9a8a5
child 555578 5a2d2970920aded37a79daab2b9730377186a378
push id2165
push userffxbld-merge
push dateMon, 14 Oct 2019 16:30:58 +0000
treeherdermozilla-release@0eae18af659f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjohannh, timhuang, lizzard
bugs1583325
milestone70.0
Bug 1583325 - Lighten the stripes in the TP switch section background when OFF. r=johannh,timhuang a=lizzard Differential Revision: https://phabricator.services.mozilla.com//D47735
browser/themes/shared/controlcenter/panel.inc.css
--- a/browser/themes/shared/controlcenter/panel.inc.css
+++ b/browser/themes/shared/controlcenter/panel.inc.css
@@ -946,18 +946,28 @@ description#identity-popup-content-verif
 
 #protections-popup-tp-switch-breakage-link {
   margin-top: calc(0.5 * var(--vertical-section-padding)) !important;
 }
 
 #protections-popup[hasException] #protections-popup-tp-switch-section {
   background: repeating-linear-gradient(
     -56deg,
-    var(--arrowpanel-dimmed),
-    var(--arrowpanel-dimmed) 10px,
+    hsla(0,0%,80%,.25),
+    hsla(0,0%,80%,.25) 10px,
+    transparent 10px,
+    transparent 20px
+  );
+}
+
+:root[lwt-popup-brighttext] #protections-popup[hasException] #protections-popup-tp-switch-section {
+  background: repeating-linear-gradient(
+    -56deg,
+    rgba(249,249,250,.05),
+    rgba(249,249,250,.05) 10px,
     transparent 10px,
     transparent 20px
   );
 }
 
 #protections-popup-siteNotWorkingView-header {
   border-bottom: 1px solid var(--panel-separator-color);
 }