зеркало из https://github.com/mozilla/gecko-dev.git
Bug 824651. Tab bar height is doubled on Win8 devices with touchscreens. r=dao
This commit is contained in:
Родитель
98ecb80afc
Коммит
be2c9bd8de
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче