Bug 1487979 - Combine @media (-moz-windows-classic) rules in tree.css. r=dao
authorarika.arnzen@wsu.edu
Fri, 07 Sep 2018 10:53:42 +0200
changeset 435184 69f608b5cdc6
parent 435183 9151eaf3db89
child 435185 14b26ab73868
push id34598
push userdluca@mozilla.com
push dateFri, 07 Sep 2018 16:36:02 +0000
treeherdermozilla-central@b8905df54d01 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1487979
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1487979 - Combine @media (-moz-windows-classic) rules in tree.css. r=dao
toolkit/themes/windows/global/tree.css
--- a/toolkit/themes/windows/global/tree.css
+++ b/toolkit/themes/windows/global/tree.css
@@ -14,26 +14,16 @@ treecol:not([hideheader="true"]) > .tree
   list-style-image: url("chrome://global/skin/tree/sort-asc.png");
 }
 
 treecol:not([hideheader="true"]) > .treecol-sortdirection[sortDirection="descending"] {
   list-style-image: url("chrome://global/skin/tree/sort-dsc.png");
 }
 
 @media (-moz-windows-classic) {
-  treecol:not([hideheader="true"]) > .treecol-sortdirection[sortDirection="ascending"] {
-    list-style-image: url("chrome://global/skin/tree/sort-asc-classic.png");
-  }
-
-  treecol:not([hideheader="true"]) > .treecol-sortdirection[sortDirection="descending"] {
-    list-style-image: url("chrome://global/skin/tree/sort-dsc-classic.png");
-  }
-}
-
-@media (-moz-windows-classic) {
   treecol,
   treecolpicker {
     border: 1px solid;
     border-top-color: ThreeDHighlight;
     border-inline-end-color: ThreeDShadow;
     border-bottom-color: ThreeDShadow;
     border-inline-start-color: ThreeDHighlight;
     background-color: -moz-Dialog;
@@ -41,9 +31,17 @@ treecol:not([hideheader="true"]) > .tree
 
   treecol:hover:active,
   treecolpicker:hover:active {
     border-top-color: ThreeDShadow;
     border-inline-end-color: ThreeDHighlight;
     border-bottom-color: ThreeDHighlight;
     border-inline-start-color: ThreeDShadow;
   }
+
+  treecol:not([hideheader="true"]) > .treecol-sortdirection[sortDirection="ascending"] {
+    list-style-image: url("chrome://global/skin/tree/sort-asc-classic.png");
+  }
+
+  treecol:not([hideheader="true"]) > .treecol-sortdirection[sortDirection="descending"] {
+    list-style-image: url("chrome://global/skin/tree/sort-dsc-classic.png");
+  }
 }