mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 713822 - Simplify @media queries. r=dao
This commit is contained in:
parent
e3ae415a2f
commit
0d29408f55
@ -37,7 +37,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
#navigator-toolbox > toolbar:not(:-moz-lwtheme),
|
||||
#browser-bottombox:not(:-moz-lwtheme) {
|
||||
background-color: @customToolbarColor@;
|
||||
@ -82,7 +82,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-compositor) {
|
||||
@media (-moz-windows-compositor) {
|
||||
/* These should be hidden w/ glass enabled. Windows draws its own buttons. */
|
||||
.titlebar-button {
|
||||
display: none;
|
||||
@ -348,7 +348,7 @@
|
||||
}
|
||||
|
||||
/* ::::: splitmenu highlight style that imitates Windows 7 start menu ::::: */
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
.splitmenu-menuitem,
|
||||
.splitmenu-menu {
|
||||
-moz-appearance: none;
|
||||
|
@ -165,14 +165,14 @@
|
||||
margin: 0 0 2px;
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-classic) {
|
||||
@media (-moz-windows-classic) {
|
||||
#appmenu-button {
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
%ifndef WINSTRIPE_AERO
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
#main-window[sizemode="normal"] #appmenu-button {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
@ -315,7 +315,7 @@
|
||||
-moz-border-end: 1px solid ThreeDShadow;
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
#appmenu-popup {
|
||||
-moz-appearance: none;
|
||||
background: white;
|
||||
@ -483,7 +483,7 @@
|
||||
-moz-appearance: -moz-window-titlebar-maximized;
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-classic) {
|
||||
@media (-moz-windows-classic) {
|
||||
#main-window[sizemode="normal"] > #titlebar > #titlebar-content > #appmenu-button-container {
|
||||
margin-top: 4px;
|
||||
}
|
||||
@ -1214,7 +1214,7 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
|
||||
-moz-padding-end: 2px;
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
#urlbar,
|
||||
.searchbar-textbox {
|
||||
@navbarTextboxCustomBorder@
|
||||
@ -1712,7 +1712,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
|
||||
margin: 16px 0 -2px;
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
.panel-promo-box {
|
||||
margin: 8px -16px -16px;
|
||||
padding: 8px 16px;
|
||||
@ -1795,7 +1795,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
|
||||
}
|
||||
|
||||
%ifndef WINSTRIPE_AERO
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
#main-window[sizemode=normal] #TabsToolbar {
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
@ -1827,7 +1827,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
|
||||
}
|
||||
|
||||
%ifndef WINSTRIPE_AERO
|
||||
@media all and (-moz-windows-theme: luna-blue) {
|
||||
@media (-moz-windows-theme: luna-blue) {
|
||||
.tabbrowser-tab,
|
||||
.tabs-newtab-button {
|
||||
background-image: @toolbarShadowOnTab@,
|
||||
@ -1956,7 +1956,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
|
||||
|
||||
/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
|
||||
|
||||
@media all and (-moz-touch-enabled) {
|
||||
@media (-moz-touch-enabled) {
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-up,
|
||||
.tabbrowser-arrowscrollbox > .scrollbutton-down,
|
||||
#TabsToolbar .toolbarbutton-1 {
|
||||
|
@ -21,7 +21,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-compositor) {
|
||||
@media (-moz-windows-compositor) {
|
||||
#placesToolbox {
|
||||
border-top: none;
|
||||
}
|
||||
@ -31,7 +31,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
#placesView,
|
||||
#searchModifiers,
|
||||
#infoPane,
|
||||
|
@ -66,7 +66,7 @@
|
||||
min-height: 41px;
|
||||
}
|
||||
|
||||
@media all and (max-width: 600px) {
|
||||
@media (max-width: 600px) {
|
||||
.global-warning-text {
|
||||
display: none;
|
||||
}
|
||||
@ -206,7 +206,7 @@
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
@ -73,7 +73,7 @@
|
||||
border-bottom: 1px solid rgba(50, 65, 92, 0.4);
|
||||
}
|
||||
|
||||
@media all and (max-width: 600px) {
|
||||
@media (max-width: 600px) {
|
||||
.global-warning-text {
|
||||
display: none;
|
||||
}
|
||||
@ -239,7 +239,7 @@
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ html|html {
|
||||
}
|
||||
|
||||
%ifdef WINSTRIPE_AERO
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
*|*:root {
|
||||
color: #000;
|
||||
background-color: #CCD9EA;
|
||||
@ -72,7 +72,7 @@ html|html {
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-compositor) {
|
||||
@media (-moz-windows-compositor) {
|
||||
*|*:root {
|
||||
color: #000;
|
||||
/* Blame shorlander for this monstrosity. */
|
||||
@ -117,7 +117,7 @@ html|html {
|
||||
}
|
||||
|
||||
%ifdef WINSTRIPE_AERO
|
||||
@media all and (-moz-windows-compositor) {
|
||||
@media (-moz-windows-compositor) {
|
||||
/* Buttons */
|
||||
*|button,
|
||||
menulist,
|
||||
|
@ -1,6 +1,6 @@
|
||||
%include menu.css
|
||||
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
menubar > menu:-moz-lwtheme {
|
||||
-moz-appearance: menuitem;
|
||||
}
|
||||
|
@ -69,7 +69,7 @@ menuitem[_moz-menuactive="true"][disabled="true"],
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-classic) {
|
||||
@media (-moz-windows-classic) {
|
||||
menu[disabled="true"],
|
||||
menubar > menu[disabled="true"][_moz-menuactive="true"],
|
||||
menuitem[disabled="true"],
|
||||
|
@ -70,7 +70,7 @@ notification[type="critical"] .messageImage {
|
||||
%ifdef XP_WIN
|
||||
/*
|
||||
XXX: apply styles to all themes until bug 509642 is fixed
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
*/
|
||||
.popup-notification-menubutton[type="menu-button"] {
|
||||
-moz-appearance: none;
|
||||
|
@ -131,7 +131,7 @@ panel[type="arrow"] {
|
||||
%endif
|
||||
|
||||
%ifdef XP_WIN
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
panel[type="arrow"][side="top"],
|
||||
panel[type="arrow"][side="bottom"] {
|
||||
margin-left: -25px;
|
||||
|
@ -1,6 +1,6 @@
|
||||
%include toolbarbutton.css
|
||||
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
toolbarbutton:-moz-lwtheme:not([disabled="true"]) {
|
||||
color: inherit;
|
||||
text-shadow: inherit;
|
||||
|
@ -96,7 +96,7 @@ toolbarbutton[disabled="true"] {
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-classic) {
|
||||
@media (-moz-windows-classic) {
|
||||
toolbarbutton[disabled="true"] {
|
||||
color: ThreeDShadow;
|
||||
text-shadow: 1px 1px ThreeDHighlight;
|
||||
@ -113,7 +113,7 @@ toolbarbutton[checked="true"]:not([disabled="true"]) {
|
||||
color: ButtonText;
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
toolbarbutton:-moz-lwtheme {
|
||||
text-shadow: none;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
%include downloads.css
|
||||
|
||||
@media all and (-moz-windows-compositor) {
|
||||
@media (-moz-windows-compositor) {
|
||||
#downloadManager {
|
||||
-moz-appearance: -moz-win-glass;
|
||||
background: transparent;
|
||||
|
@ -10,7 +10,7 @@
|
||||
color: -moz-DialogText;
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-compositor) {
|
||||
@media (-moz-windows-compositor) {
|
||||
#genericAbout {
|
||||
-moz-appearance: -moz-win-glass;
|
||||
background: transparent;
|
||||
|
@ -87,7 +87,7 @@
|
||||
border-bottom: 1px solid #CAD4E0;
|
||||
}
|
||||
|
||||
@media all and (max-width: 600px) {
|
||||
@media (max-width: 600px) {
|
||||
.global-warning-text {
|
||||
display: none;
|
||||
}
|
||||
@ -251,7 +251,7 @@
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
@ -319,7 +319,7 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
#header-search {
|
||||
-moz-appearance: none;
|
||||
border: 1px solid rgba(0, 0, 0, 0.32);
|
||||
|
@ -207,7 +207,7 @@
|
||||
}
|
||||
|
||||
%ifdef WINSTRIPE_AERO
|
||||
@media all and (-moz-windows-default-theme) {
|
||||
@media (-moz-windows-default-theme) {
|
||||
#footer {
|
||||
background-color: #f1f5fb;
|
||||
box-shadow: 0px 1px 2px rgb(204,214,234) inset;
|
||||
|
Loading…
Reference in New Issue
Block a user