зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1631202 - Convert all uses of :-moz-any to :is in devtools/ r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D90692
This commit is contained in:
Родитель
e28cf185f0
Коммит
e44be6b134
|
@ -53,17 +53,17 @@
|
|||
background: var(--toolbarbutton-background);
|
||||
}
|
||||
|
||||
.devtools-toolbarbutton:not([label]):-moz-any([checked],[open],:hover,:hover:active) {
|
||||
.devtools-toolbarbutton:not([label]):is([checked],[open],:hover,:hover:active) {
|
||||
background: var(--toolbarbutton-hover-background);
|
||||
}
|
||||
|
||||
/* Selectable button which is unchecked. */
|
||||
|
||||
.devtools-toolbarbutton[label]:not(:-moz-any([checked=true],[disabled])):hover {
|
||||
.devtools-toolbarbutton[label]:not(:is([checked=true],[disabled])):hover {
|
||||
background-color: var(--toolbarbutton-hover-background);
|
||||
}
|
||||
|
||||
.devtools-toolbarbutton:not(:-moz-any([checked=true],[disabled]))[label]:focus {
|
||||
.devtools-toolbarbutton:not(:is([checked=true],[disabled]))[label]:focus {
|
||||
background-color: var(--toolbarbutton-focus-background);
|
||||
color: var(--toolbarbutton-focus-color);
|
||||
}
|
||||
|
|
|
@ -389,7 +389,7 @@ checkbox:-moz-focusring {
|
|||
/* Selectable button which is unchecked. */
|
||||
|
||||
.devtools-button:not(:empty):not(:disabled):not(.checked):hover,
|
||||
.devtools-button:empty:not(:disabled):-moz-any(:hover:active,.checked),
|
||||
.devtools-button:empty:not(:disabled):is(:hover:active,.checked),
|
||||
.devtools-button[aria-haspopup="menu"][aria-expanded="true"] {
|
||||
background-color: var(--toolbarbutton-hover-background);
|
||||
}
|
||||
|
|
|
@ -476,7 +476,7 @@ strong {
|
|||
margin-inline-end: 15px;
|
||||
}
|
||||
|
||||
.tooltip-container[type="doorhanger"] .menuitem > button.command:-moz-any([role="menuitem"],[role="menuitemcheckbox"],[role="link"]) {
|
||||
.tooltip-container[type="doorhanger"] .menuitem > button.command:is([role="menuitem"],[role="menuitemcheckbox"],[role="link"]) {
|
||||
appearance: none;
|
||||
border: none;
|
||||
color: var(--theme-arrowpanel-color);
|
||||
|
@ -485,7 +485,7 @@ strong {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.tooltip-container[type="doorhanger"] .menuitem > .command:not(:-moz-any([disabled],[open],:active)):-moz-any(:hover,:focus) {
|
||||
.tooltip-container[type="doorhanger"] .menuitem > .command:not(:is([disabled],[open],:active)):is(:hover,:focus) {
|
||||
background-color: var(--theme-arrowpanel-dimmed);
|
||||
}
|
||||
|
||||
|
@ -493,7 +493,7 @@ strong {
|
|||
border-color: transparent;
|
||||
}
|
||||
|
||||
.tooltip-container[type="doorhanger"] .menuitem > .command:not([disabled]):-moz-any([open],:hover:active) {
|
||||
.tooltip-container[type="doorhanger"] .menuitem > .command:not([disabled]):is([open],:hover:active) {
|
||||
background-color: var(--theme-arrowpanel-dimmed-further);
|
||||
box-shadow: 0 1px 0 hsla(210,4%,10%,.03) inset;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче