[mq]: Bug 1411210 - Update / Replace @media not all and (-moz-...) draft
authorKristiyan <dimitr14@uni.coventry.ac.uk>
Tue, 12 Dec 2017 23:38:52 +0100
changeset 710987 7e41ac13b4f3eacfbdcad18d5786b0e99268e6d6
parent 710843 05b139f260e1ff878159f950693f0bf9e36bc9d6
child 711215 ca46445a691f618b9e04a5bf78e9ecb702bd52c3
push id92962
push userbmo:dimitr14@uni.coventry.ac.uk
push dateTue, 12 Dec 2017 22:58:52 +0000
bugs1411210
milestone59.0a1
[mq]: Bug 1411210 - Update / Replace @media not all and (-moz-...) MozReview-Commit-ID: DZwQRC7fz2s
browser/themes/osx/browser.css
browser/themes/osx/syncedtabs/sidebar.css
browser/themes/windows/browser-aero.css
browser/themes/windows/browser.css
browser/themes/windows/places/organizer.css
toolkit/themes/mobile/mozapps/plugins/pluginProblem.css
toolkit/themes/osx/global/tabbox.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -86,17 +86,17 @@
  * doesn't reverse the order of the items in the titlebar in RTL mode. */
 .titlebar-placeholder[type="caption-buttons"],
 #titlebar-buttonbox {
   margin-left: 12px;
 }
 
 /* The fullscreen button doesnt show on Yosemite(10.10) or above so dont give it a
    border there */
-@media not all and (-moz-mac-yosemite-theme) {
+@media (-moz-mac-yosemite-theme: 0) {
   .titlebar-placeholder[type="fullscreen-button"] {
     margin-right: 4px;
   }
 }
 
 #main-window:not([tabsintitlebar]) > #titlebar {
   height: 22px; /* The native titlebar on OS X is 22px tall. */
 }
--- a/browser/themes/osx/syncedtabs/sidebar.css
+++ b/browser/themes/osx/syncedtabs/sidebar.css
@@ -38,17 +38,17 @@
 }
 
 .item.client .item-twisty-container {
   min-width: 16px;
   height: 16px;
   background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded");
 }
 
-@media not all and (-moz-mac-yosemite-theme) {
+@media (-moz-mac-yosemite-theme: 0) {
   .item.client.selected .item-twisty-container {
     background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-expanded-inverted");
   }
 
   .item.client.selected.closed .item-twisty-container {
     background-image: url("chrome://global/skin/tree/arrow-disclosure.svg#arrow-disclosure-collapsed-inverted");
   }
 
--- a/browser/themes/windows/browser-aero.css
+++ b/browser/themes/windows/browser-aero.css
@@ -2,17 +2,17 @@
  * 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/. */
 
 %filter substitution
 %define glassActiveBorderColor rgb(37, 44, 51)
 %define glassInactiveBorderColor rgb(102, 102, 102)
 
 @media (-moz-os-version: windows-win7) {
-  @media not all and (-moz-windows-classic) {
+  @media (-moz-windows-classic: 0) {
     #main-window[sizemode="normal"] > #tab-view-deck > #browser-panel > #navigator-toolbox > #toolbar-menubar {
       margin-top: 1px;
     }
   }
 }
 
 @media (-moz-windows-default-theme) {
   .menu-accel,
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -324,17 +324,17 @@
 #main-window[sizemode="maximized"] #titlebar-max {
   -moz-appearance: -moz-window-button-restore;
 }
 
 #titlebar-close {
   -moz-appearance: -moz-window-button-close;
 }
 
-@media not all and (-moz-windows-classic) {
+@media (-moz-windows-classic: 0) {
   #titlebar-min {
     margin-inline-end: 2px;
   }
 }
 
 /* ::::: bookmark menus ::::: */
 
 menu.bookmark-item,
--- a/browser/themes/windows/places/organizer.css
+++ b/browser/themes/windows/places/organizer.css
@@ -133,17 +133,17 @@
   display: none;
 }
 
 #clearDownloadsButton {
   padding-inline-start: 9px;
   padding-inline-end: 9px;
 }
 
-@media not all and (-moz-windows-classic) {
+@media (-moz-windows-classic: 0) {
   #placesToolbox {
     -moz-appearance: none;
     background-color: transparent;
   }
 
   #placesToolbar {
     -moz-appearance: none;
     background-color: -moz-Dialog;
--- a/toolkit/themes/mobile/mozapps/plugins/pluginProblem.css
+++ b/toolkit/themes/mobile/mozapps/plugins/pluginProblem.css
@@ -85,17 +85,17 @@ html|a {
   margin-left: 5px;
 }
 
 .msgTapToPlay,
 .msgClickToPlay {
   text-decoration: underline;
 }
 
-@media not all and (-moz-touch-enabled) {
+@media (-moz-touch-enabled) {
   :-moz-handler-clicktoplay .msgTapToPlay {
     display: none;
   }
 }
 
 @media (-moz-touch-enabled) {
   :-moz-handler-clicktoplay .msgClickToPlay {
     display: none;
--- a/toolkit/themes/osx/global/tabbox.css
+++ b/toolkit/themes/osx/global/tabbox.css
@@ -50,17 +50,17 @@ tab:first-of-type {
 tab:last-of-type {
   padding-inline-end: 2px;
 }
 
 tab[visuallyselected="true"]:not(:-moz-window-inactive) {
   color: #FFF;
 }
 
-@media not all and (-moz-mac-yosemite-theme) {
+@media (-moz-mac-yosemite-theme: 0) {
   tab[visuallyselected="true"] {
     color: #FFF;
     text-shadow: rgba(0, 0, 0, 0.4) 0 1px;
   }
 }
 
 .tab-middle {
   padding: 1px 6px 2px;