Bug 685549 - Clean up tablet CSS [r=wesj]
authorMatt Brubeck <mbrubeck@mozilla.com>
Thu, 08 Sep 2011 17:45:24 -0700
changeset 78111 09eb988935285cb445e3faf4f80da3ff431df59c
parent 78110 bab147717076d92f874164d50838d41e795ff3dc
child 78112 e48615c337829fc96c779f4ee9c37efeeec3143b
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswesj
bugs685549
milestone9.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 685549 - Clean up tablet CSS [r=wesj]
mobile/themes/core/tablet.css
--- a/mobile/themes/core/tablet.css
+++ b/mobile/themes/core/tablet.css
@@ -9,129 +9,126 @@
 }
 
 %ifndef honeycomb
 .button-actionbar:hover:active {
   background-color: #8db8d8;
 }
 %endif
 
-#toolbar-main[tablet="true"] > .spacer-actionbar,
-#toolbar-main[tablet="true"] > .button-actionbar {
+#toolbar-main[tablet] > .spacer-actionbar,
+#toolbar-main[tablet] > .button-actionbar {
   visibility: visible;
 }
-#toolbar-main[tablet="true"] > #tool-tabs {
+#toolbar-main[tablet] > #tool-tabs {
   visibility: collapse;
 }
 
-#controls-scrollbox[tablet="true"] > #controls-sidebar {
+#controls-scrollbox[tablet] > #controls-sidebar {
   visibility: collapse;
 }
 
-#tabs-spacer[tablet="true"]  {
+#tabs-spacer[tablet]  {
   visibility: collapse;
 }
 
-#tabs-container[tablet="true"] {
+#tabs-container[tablet] {
   -moz-border-end: 0px;
   background: #000;
 }
 
-#tabs[tablet="true"] > .tabs-scrollbox {
+#tabs[tablet] > .tabs-scrollbox {
   max-width: 200px;
   -moz-box-orient: vertical;
 }
 
-#tabs[tablet="true"] .tabs-list {
-}
-
-#tabs[tablet="true"] .tabs-list {
+#tabs[tablet] .tabs-list {
   width: 200px;
   -moz-column-width: auto;
   -moz-padding-end: 0px;
   -moz-padding-start: 0px;
 }
 
-#tabs[tablet="true"] documenttab {
+#tabs[tablet] documenttab {
   /* Use px instead of mozmm because tab bar items have hard-coded pixel sizes */
   width: 200px;
   padding: 12px;
   -moz-margin-start: 0px;
   background: none;
 }
 
-#tabs[tablet="true"] documenttab[selected="true"] {
+#tabs[tablet] documenttab[selected="true"] {
   background: none;
 }
 
-.documenttab-thumbnail[tablet="true"] {
+.documenttab-thumbnail[tablet] {
   border-radius: @border_radius_tiny@;
 }
 
-.documenttab-close-container[tablet="true"] {
+.documenttab-close-container[tablet] {
   left: 0px;
   -moz-margin-end: 0px;
   -moz-margin-start: 135px;
   -moz-box-pack: end;
   -moz-box-align: center;
 }
 
-documenttab[selected="true"] > stack > .documenttab-close-container[tablet="true"] {
+documenttab[selected="true"] > stack > .documenttab-close-container[tablet] {
   background: url("chrome://browser/skin/images/close-background-hdpi.png");
   background-repeat: no-repeat;
   background-position: right;
   -moz-margin-end: -12px;
   padding-right: 2px;
 }
 
-.documenttab-close[tablet="true"] {
+.documenttab-close[tablet] {
   width: 30px;
   height: 44px;
   list-style-image: url("chrome://browser/skin/images/close-inactive-tab-tablet-hdpi.png");
 }
 
-documenttab[selected="true"] > stack > hbox > .documenttab-close[tablet="true"] {
+documenttab[selected="true"] > stack > hbox > .documenttab-close[tablet] {
   list-style-image: url("chrome://browser/skin/images/close-default-tablet-hdpi.png");
 }
 
-.documenttab-close-container:hover:active > .documenttab-close[tablet="true"] {
+.documenttab-close-container:hover:active > .documenttab-close[tablet] {
   list-style-image: url("chrome://browser/skin/images/close-active-tablet-hdpi.png");
 }
 
-.documenttab-reload[tablet="true"] {
+.documenttab-reload[tablet] {
   background: url("chrome://browser/skin/images/tab-reopen-tablet-hdpi.png");
 }
 
-#newtab-button[tablet="true"] {
+#newtab-button[tablet] {
   list-style-image: url("images/newtab-default-tablet-hdpi.png");
 }
 
 @media (@orientation@: portrait) {
-  #toolbar-main[tablet="true"] > #tool-tabs {
+  #toolbar-main[tablet] > #tool-tabs {
     visibility: visible;
   }
 
-  #controls-scrollbox[tablet="true"] > #tabs-sidebar {
+  #controls-scrollbox[tablet] > #tabs-sidebar {
     border: none;
 %ifdef honeycomb
     top: @touch_button_xlarge@;
 %else
     top: -moz-calc(@touch_button_xlarge@ + @margin_normal@);
 %endif
     visibility: collapse;
   }
 
-  #controls-scrollbox[tablet="true"] > #tabs-sidebar:-moz-locale-dir(ltr) {
+  #controls-scrollbox[tablet] > #tabs-sidebar:-moz-locale-dir(ltr) {
     left: 0;
   }
-  #controls-scrollbox[tablet="true"] > #tabs-sidebar:-moz-locale-dir(rtl) {
+  #controls-scrollbox[tablet] > #tabs-sidebar:-moz-locale-dir(rtl) {
     right: 0;
   }
 
-  #controls-scrollbox[tablet="true"] > #tabs-sidebar[open] {
+  #controls-scrollbox[tablet] > #tabs-sidebar[open] {
     position: fixed;
     visibility: visible;
   }
 }
 
 %ifndef honeycomb
 @media (min-width: @tablet_panel_minwidth@) {
   #awesome-panels {