From be2c9bd8dec0e7796109a745aa73c9b9e3ec030d Mon Sep 17 00:00:00 2001 From: Felipe Gomes Date: Wed, 30 Jan 2013 15:34:25 -0500 Subject: [PATCH] Bug 824651. Tab bar height is doubled on Win8 devices with touchscreens. r=dao --- browser/themes/winstripe/browser.css | 29 -------------------------- browser/themes/winstripe/searchbar.css | 5 ----- 2 files changed, 34 deletions(-) diff --git a/browser/themes/winstripe/browser.css b/browser/themes/winstripe/browser.css index dc56c3e6fb5e..0bcd428bb9cc 100644 --- a/browser/themes/winstripe/browser.css +++ b/browser/themes/winstripe/browser.css @@ -1252,11 +1252,6 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, padding: 2px 2px; } -.urlbar-icon:-moz-system-metric(touch-enabled) { - -moz-margin-end: 1px !important; - padding: 0 3px !important; -} - .urlbar-icon:hover { background-image: radial-gradient(circle closest-side, hsla(200,100%,70%,.3), hsla(200,100%,70%,0)); } @@ -1383,10 +1378,6 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, -moz-image-region: rect(0px, 11px, 14px, 0px); } -.urlbar-history-dropmarker:-moz-system-metric(touch-enabled) { - min-width: 6.4mozmm; -} - .urlbar-history-dropmarker:hover { background-image: radial-gradient(circle closest-side, hsla(205,100%,70%,.3), hsla(205,100%,70%,0)); -moz-image-region: rect(0px, 22px, 14px, 11px); @@ -1928,10 +1919,6 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action- list-style-image: url("chrome://global/skin/icons/close.png"); } -.tab-close-button:-moz-system-metric(touch-enabled) { - transform: scale(1.2); -} - .tab-close-button:hover, .tab-close-button:hover[selected="true"] { -moz-image-region: rect(0, 32px, 16px, 16px); @@ -1948,22 +1935,6 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action- /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */ -@media (-moz-touch-enabled) { - .tabbrowser-arrowscrollbox > .scrollbutton-up, - .tabbrowser-arrowscrollbox > .scrollbutton-down, - #TabsToolbar .toolbarbutton-1 { - min-width: 8.1mozmm; - } - - .tabs-newtab-button { - min-width: 10mozmm; - } - - .tab-content { - min-height: calc(6.8mozmm - 7px); /* subtract borders from the desired height */ - } -} - .tabbrowser-arrowscrollbox > .scrollbutton-up, .tabbrowser-arrowscrollbox > .scrollbutton-down { list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png"); diff --git a/browser/themes/winstripe/searchbar.css b/browser/themes/winstripe/searchbar.css index 74386e1a5c51..86a485530c4a 100644 --- a/browser/themes/winstripe/searchbar.css +++ b/browser/themes/winstripe/searchbar.css @@ -64,11 +64,6 @@ -moz-image-region: rect(0px 16px 16px 0px); } -.search-go-button:-moz-system-metric(touch-enabled) { - -moz-padding-start: 5px; - -moz-padding-end: 3px; -} - .search-go-button:-moz-locale-dir(rtl) { transform: scaleX(-1); }