Bug 716186 - Simplify @media queries. r=Neil
authorEdmund Wong <ewong@pw-wspx.org>
Tue, 17 Jan 2012 09:59:11 +0800
changeset 10429 61e32a70af338ffa7bc213d6e744a2d93baeb1c3
parent 10428 a9339f69c68ab9c9404cb301893e4247fa392c73
child 10430 24c90a00c902107d04a052ca915ed049b21ec260
push idunknown
push userunknown
push dateunknown
reviewersNeil
bugs716186
Bug 716186 - Simplify @media queries. r=Neil
suite/themes/classic/communicator/button.css
suite/themes/classic/navigator/tabbrowser.css
suite/themes/modern/mozapps/extensions/extensions.css
--- a/suite/themes/classic/communicator/button.css
+++ b/suite/themes/classic/communicator/button.css
@@ -179,17 +179,17 @@ toolbar[labelalign="end"] .toolbarbutton
   -moz-margin-end: 0px;
 }
 
 /**
  * Fix the missing dropmarker bevel in Classic (bug 216266)
  * Not used in Firefox but used elsewhere,
  **/
 
-@media all and (-moz-windows-classic) {
+@media (-moz-windows-classic) {
 
   .toolbarbutton-menubutton-dropmarker {
     border: 1px solid;
     padding: 2px;
     -moz-border-top-colors: transparent;
     -moz-border-right-colors: transparent;
     -moz-border-bottom-colors: transparent;
     -moz-border-left-colors: transparent;
--- a/suite/themes/classic/navigator/tabbrowser.css
+++ b/suite/themes/classic/navigator/tabbrowser.css
@@ -78,17 +78,17 @@ tabpanels {
   border-left: 2px solid;
   border-bottom: 1px solid ThreeDHighlight;
   -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
   -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
   border-radius: 2px 2px 0px 0px;
 }
 
-@media all and (-moz-windows-theme: aero) {
+@media (-moz-windows-theme: aero) {
   .scrollbutton-up,
   .scrollbutton-down {
     padding: 0px 2px;
   }
 }
 
 .scrollbutton-up:-moz-locale-dir(rtl),
 .scrollbutton-down:-moz-locale-dir(ltr) {
--- a/suite/themes/modern/mozapps/extensions/extensions.css
+++ b/suite/themes/modern/mozapps/extensions/extensions.css
@@ -93,17 +93,17 @@
   background-repeat: repeat-x;
 }
 
 #detail-view .global-warning {
   padding: 4px 12px;
   border-bottom: 1px solid #CAD4E0;
 }
 
-@media all and (max-width: 600px) {
+@media (max-width: 600px) {
   .global-warning-text {
     display: none;
   }
 
   .global-warning .warning-icon {
     background-color: #FFF;
     box-shadow: 0px 0px 2px 5px #FFF;
     border-radius: 10px;
@@ -239,17 +239,17 @@
   -moz-border-end-color: #C7D0D9;
 }
 
 .category-name {
   font-size: 150%;
 }
 
 /* Maximize the size of the viewport when the window is small */
-@media all and (max-width: 800px) {
+@media (max-width: 800px) {
   .category-name {
     display: none;
   }
 }
 
 .category-badge {
   background-color: #55D4FF;
   padding: 2px 8px;