Bug 1980297 - Remove redundant in-content tab styles. r=desktop-theme-reviewers,dao a=RyanVM DONTBUILD
The selected styles match the unselected ones. Same for some of the forced-colors ones. Differential Revision: https://phabricator.services.mozilla.com/D259355
This commit is contained in:
committed by
rvandermeulen@mozilla.com
parent
9e34876554
commit
f6e6238593
@@ -221,6 +221,9 @@ xul|tab {
|
|||||||
|
|
||||||
&:where(:hover) {
|
&:where(:hover) {
|
||||||
border-bottom-color: var(--in-content-border-color);
|
border-bottom-color: var(--in-content-border-color);
|
||||||
|
@media (forced-colors) {
|
||||||
|
border-bottom-color: currentColor;
|
||||||
|
}
|
||||||
background-color: var(--in-content-button-background-hover);
|
background-color: var(--in-content-button-background-hover);
|
||||||
color: var(--in-content-button-text-color-hover);
|
color: var(--in-content-button-text-color-hover);
|
||||||
}
|
}
|
||||||
@@ -233,25 +236,6 @@ xul|tab {
|
|||||||
&[selected] {
|
&[selected] {
|
||||||
color: var(--color-accent-primary);
|
color: var(--color-accent-primary);
|
||||||
border-bottom-color: currentColor;
|
border-bottom-color: currentColor;
|
||||||
&:hover {
|
|
||||||
background-color: var(--in-content-button-background-hover);
|
|
||||||
}
|
|
||||||
&:hover:active {
|
|
||||||
background-color: var(--in-content-button-background-active);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (forced-colors) {
|
|
||||||
&:hover,
|
|
||||||
&:hover:active {
|
|
||||||
border-bottom-color: currentColor;
|
|
||||||
}
|
|
||||||
&[selected]:hover {
|
|
||||||
color: var(--in-content-button-text-color-hover);
|
|
||||||
}
|
|
||||||
&[selected]:hover:active {
|
|
||||||
color: var(--in-content-button-text-color-active);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user