Bug 1313830 - fixed media queries to not use 'not at all', r=dao

This commit is contained in:
katecastellano 2016-10-29 13:00:22 +02:00
Родитель 5a423c04cf
Коммит 7a872260a7
9 изменённых файлов: 20 добавлений и 20 удалений

Просмотреть файл

@ -98,7 +98,7 @@
}
}
@media not all and (-moz-windows-default-theme) {
@media (-moz-windows-default-theme: 0) {
#main-window {
background-color: transparent;
}
@ -225,7 +225,7 @@
background-color: hsl(355, 82%, 69%);
}
}
@media not all and (-moz-windows-default-theme) {
@media (-moz-windows-default-theme: 0) {
.titlebar-button {
background-color: -moz-field;
}
@ -444,7 +444,7 @@
}
/* Aero Basic */
@media not all and (-moz-windows-compositor) {
@media (-moz-windows-compositor: 0) {
@media (-moz-windows-default-theme) {
#main-window {
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;
}
@media not all and (-moz-windows-compositor),
not all and (-moz-windows-default-theme) {
@media (-moz-windows-compositor: 0),
(-moz-windows-default-theme: 0) {
/* Please keep the menu text colors in this media block in sync with
* 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 {
visibility: hidden;
}
@ -383,7 +383,7 @@ toolbar:-moz-lwtheme {
border-top: 1px solid @toolbarShadowColor@ !important;
box-shadow: 0 1px 0 @toolbarHighlight@ inset;
}
@media not all and (-moz-windows-compositor) {
@media (-moz-windows-compositor: 0) {
#TabsToolbar[collapsed="true"] + #nav-bar {
border-top-style: none !important;
}
@ -1614,7 +1614,7 @@ html|span.ac-emphasize-text-url {
font-weight: 600;
}
@media not all and (-moz-windows-default-theme) {
@media (-moz-windows-default-theme: 0) {
.autocomplete-richlistitem[selected=true] {
background-color: Highlight;
}
@ -2560,7 +2560,7 @@ notification.pluginVulnerable > .notification-inner > .messageCloseButton {
* window caption buttons, and therefore needs to be special-cased.
*/
@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 {
background-image: url("chrome://browser/skin/privatebrowsing-mask-titlebar-XPVista7-tall.png");
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);
}
@media not all and (-moz-windows-default-theme) {
@media (-moz-windows-default-theme: 0) {
menu[_moz-menuactive].subviewbutton > .menu-right {
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
broken. So instead just show the normal titlebar in that case, and override
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 {
visibility: visible;
}
@ -191,8 +191,8 @@
}
/* Use proper menu text styling in Win7 classic mode (copied from browser.css) */
@media not all and (-moz-windows-compositor),
not all and (-moz-windows-default-theme) {
@media (-moz-windows-compositor: 0),
(-moz-windows-default-theme: 0) {
#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar,
#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar {
color: CaptionText;

Просмотреть файл

@ -4,7 +4,7 @@
%include ../../../shared/incontentprefs/preferences.inc.css
@media not all and (-moz-windows-default-theme) {
@media (-moz-windows-default-theme: 0) {
#category-general > .category-icon {
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;
}
@media not all and (-moz-windows-default-theme) {
@media (-moz-windows-default-theme: 0) {
@media (-moz-windows-compositor) {
/* This is for high-contrast themes on Windows 8 and later */
button[default="true"],

Просмотреть файл

@ -24,7 +24,7 @@ xul|checkbox {
padding-inline-start: 0;
}
@media not all and (-moz-windows-default-theme) {
@media (-moz-windows-default-theme: 0) {
xul|*.checkbox-check {
background-image: none !important;
}
@ -40,7 +40,7 @@ xul|radio {
padding-inline-start: 0;
}
@media not all and (-moz-windows-default-theme) {
@media (-moz-windows-default-theme: 0) {
xul|*.radio-check {
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
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|listbox xul|listitem[selected="true"] {
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 {
-moz-appearance: none;
}

Просмотреть файл

@ -9,7 +9,7 @@
margin-inline-end: 16px;
}
@media not all and (-moz-windows-default-theme) {
@media (-moz-windows-default-theme: 0) {
#header-utils-btn {
list-style-image: url("chrome://mozapps/skin/extensions/utilities.svg#utilities-native");
}