зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1313830 - fixed media queries to not use 'not at all', r=dao
This commit is contained in:
Родитель
5a423c04cf
Коммит
7a872260a7
|
@ -98,7 +98,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media not all and (-moz-windows-default-theme) {
|
@media (-moz-windows-default-theme: 0) {
|
||||||
#main-window {
|
#main-window {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
@ -225,7 +225,7 @@
|
||||||
background-color: hsl(355, 82%, 69%);
|
background-color: hsl(355, 82%, 69%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media not all and (-moz-windows-default-theme) {
|
@media (-moz-windows-default-theme: 0) {
|
||||||
.titlebar-button {
|
.titlebar-button {
|
||||||
background-color: -moz-field;
|
background-color: -moz-field;
|
||||||
}
|
}
|
||||||
|
@ -444,7 +444,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Aero Basic */
|
/* Aero Basic */
|
||||||
@media not all and (-moz-windows-compositor) {
|
@media (-moz-windows-compositor: 0) {
|
||||||
@media (-moz-windows-default-theme) {
|
@media (-moz-windows-default-theme) {
|
||||||
#main-window {
|
#main-window {
|
||||||
background-color: rgb(185,209,234);
|
background-color: rgb(185,209,234);
|
||||||
|
|
|
@ -187,8 +187,8 @@ toolbar:-moz-lwtheme {
|
||||||
transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
|
transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media not all and (-moz-windows-compositor),
|
@media (-moz-windows-compositor: 0),
|
||||||
not all and (-moz-windows-default-theme) {
|
(-moz-windows-default-theme: 0) {
|
||||||
/* Please keep the menu text colors in this media block in sync with
|
/* Please keep the menu text colors in this media block in sync with
|
||||||
* devedition.css, minus the :not(:-moz-lwtheme) condition - see Bug 1165718.
|
* devedition.css, minus the :not(:-moz-lwtheme) condition - see Bug 1165718.
|
||||||
*/
|
*/
|
||||||
|
@ -203,7 +203,7 @@ toolbar:-moz-lwtheme {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media not all and (-moz-windows-compositor) {
|
@media (-moz-windows-compositor: 0) {
|
||||||
#main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
|
#main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
@ -383,7 +383,7 @@ toolbar:-moz-lwtheme {
|
||||||
border-top: 1px solid @toolbarShadowColor@ !important;
|
border-top: 1px solid @toolbarShadowColor@ !important;
|
||||||
box-shadow: 0 1px 0 @toolbarHighlight@ inset;
|
box-shadow: 0 1px 0 @toolbarHighlight@ inset;
|
||||||
}
|
}
|
||||||
@media not all and (-moz-windows-compositor) {
|
@media (-moz-windows-compositor: 0) {
|
||||||
#TabsToolbar[collapsed="true"] + #nav-bar {
|
#TabsToolbar[collapsed="true"] + #nav-bar {
|
||||||
border-top-style: none !important;
|
border-top-style: none !important;
|
||||||
}
|
}
|
||||||
|
@ -1614,7 +1614,7 @@ html|span.ac-emphasize-text-url {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media not all and (-moz-windows-default-theme) {
|
@media (-moz-windows-default-theme: 0) {
|
||||||
.autocomplete-richlistitem[selected=true] {
|
.autocomplete-richlistitem[selected=true] {
|
||||||
background-color: Highlight;
|
background-color: Highlight;
|
||||||
}
|
}
|
||||||
|
@ -2560,7 +2560,7 @@ notification.pluginVulnerable > .notification-inner > .messageCloseButton {
|
||||||
* window caption buttons, and therefore needs to be special-cased.
|
* window caption buttons, and therefore needs to be special-cased.
|
||||||
*/
|
*/
|
||||||
@media (-moz-windows-default-theme) {
|
@media (-moz-windows-default-theme) {
|
||||||
@media not all and (-moz-windows-compositor) {
|
@media (-moz-windows-compositor: 0) {
|
||||||
#main-window[sizemode="normal"] > #titlebar > #titlebar-content > #titlebar-buttonbox-container > #private-browsing-indicator-titlebar > .private-browsing-indicator {
|
#main-window[sizemode="normal"] > #titlebar > #titlebar-content > #titlebar-buttonbox-container > #private-browsing-indicator-titlebar > .private-browsing-indicator {
|
||||||
background-image: url("chrome://browser/skin/privatebrowsing-mask-titlebar-XPVista7-tall.png");
|
background-image: url("chrome://browser/skin/privatebrowsing-mask-titlebar-XPVista7-tall.png");
|
||||||
height: 28px;
|
height: 28px;
|
||||||
|
|
|
@ -120,7 +120,7 @@ menu[disabled="true"].subviewbutton > .menu-right {
|
||||||
list-style-image: url(chrome://browser/skin/customizableui/menu-arrow.svg#arrow-disabled);
|
list-style-image: url(chrome://browser/skin/customizableui/menu-arrow.svg#arrow-disabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media not all and (-moz-windows-default-theme) {
|
@media (-moz-windows-default-theme: 0) {
|
||||||
menu[_moz-menuactive].subviewbutton > .menu-right {
|
menu[_moz-menuactive].subviewbutton > .menu-right {
|
||||||
list-style-image: url(chrome://browser/skin/customizableui/menu-arrow.svg#arrow-hover);
|
list-style-image: url(chrome://browser/skin/customizableui/menu-arrow.svg#arrow-hover);
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
(Win XP or 7 in classic / basic theme), or else dragging and focus become
|
(Win XP or 7 in classic / basic theme), or else dragging and focus become
|
||||||
broken. So instead just show the normal titlebar in that case, and override
|
broken. So instead just show the normal titlebar in that case, and override
|
||||||
the window color as transparent when the compositor is available. */
|
the window color as transparent when the compositor is available. */
|
||||||
@media not all and (-moz-windows-compositor) {
|
@media (-moz-windows-compositor: 0) {
|
||||||
#main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
|
#main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
@ -191,8 +191,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Use proper menu text styling in Win7 classic mode (copied from browser.css) */
|
/* Use proper menu text styling in Win7 classic mode (copied from browser.css) */
|
||||||
@media not all and (-moz-windows-compositor),
|
@media (-moz-windows-compositor: 0),
|
||||||
not all and (-moz-windows-default-theme) {
|
(-moz-windows-default-theme: 0) {
|
||||||
#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar,
|
#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar,
|
||||||
#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar {
|
#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar {
|
||||||
color: CaptionText;
|
color: CaptionText;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
%include ../../../shared/incontentprefs/preferences.inc.css
|
%include ../../../shared/incontentprefs/preferences.inc.css
|
||||||
|
|
||||||
@media not all and (-moz-windows-default-theme) {
|
@media (-moz-windows-default-theme: 0) {
|
||||||
#category-general > .category-icon {
|
#category-general > .category-icon {
|
||||||
list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general-native");
|
list-style-image: url("chrome://browser/skin/preferences/in-content/icons.svg#general-native");
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,7 +59,7 @@ button[default="true"] {
|
||||||
-moz-border-left-colors: ThreeDDarkShadow ThreeDHighlight ThreeDLightShadow;
|
-moz-border-left-colors: ThreeDDarkShadow ThreeDHighlight ThreeDLightShadow;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media not all and (-moz-windows-default-theme) {
|
@media (-moz-windows-default-theme: 0) {
|
||||||
@media (-moz-windows-compositor) {
|
@media (-moz-windows-compositor) {
|
||||||
/* This is for high-contrast themes on Windows 8 and later */
|
/* This is for high-contrast themes on Windows 8 and later */
|
||||||
button[default="true"],
|
button[default="true"],
|
||||||
|
|
|
@ -24,7 +24,7 @@ xul|checkbox {
|
||||||
padding-inline-start: 0;
|
padding-inline-start: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media not all and (-moz-windows-default-theme) {
|
@media (-moz-windows-default-theme: 0) {
|
||||||
xul|*.checkbox-check {
|
xul|*.checkbox-check {
|
||||||
background-image: none !important;
|
background-image: none !important;
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ xul|radio {
|
||||||
padding-inline-start: 0;
|
padding-inline-start: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media not all and (-moz-windows-default-theme) {
|
@media (-moz-windows-default-theme: 0) {
|
||||||
xul|*.radio-check {
|
xul|*.radio-check {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@ xul|checkbox:-moz-focusring > xul|*.checkbox-label-box {
|
||||||
|
|
||||||
/* Use a 2px border so that selected row highlight is still visible behind
|
/* Use a 2px border so that selected row highlight is still visible behind
|
||||||
an existing high-contrast border that uses the background color */
|
an existing high-contrast border that uses the background color */
|
||||||
@media not all and (-moz-windows-default-theme) {
|
@media (-moz-windows-default-theme: 0) {
|
||||||
xul|treechildren::-moz-tree-row(selected),
|
xul|treechildren::-moz-tree-row(selected),
|
||||||
xul|listbox xul|listitem[selected="true"] {
|
xul|listbox xul|listitem[selected="true"] {
|
||||||
border: 2px dotted Highlight;
|
border: 2px dotted Highlight;
|
||||||
|
|
|
@ -97,7 +97,7 @@ toolbarbutton[checked="true"]:not([disabled="true"]) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media not all and (-moz-windows-default-theme) {
|
@media (-moz-windows-default-theme: 0) {
|
||||||
toolbarbutton:-moz-lwtheme {
|
toolbarbutton:-moz-lwtheme {
|
||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
margin-inline-end: 16px;
|
margin-inline-end: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media not all and (-moz-windows-default-theme) {
|
@media (-moz-windows-default-theme: 0) {
|
||||||
#header-utils-btn {
|
#header-utils-btn {
|
||||||
list-style-image: url("chrome://mozapps/skin/extensions/utilities.svg#utilities-native");
|
list-style-image: url("chrome://mozapps/skin/extensions/utilities.svg#utilities-native");
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче