mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
Bug 1930840 - Revert to pre-bug 1917588 toolbarbutton colors. r=desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D229133
This commit is contained in:
parent
2d57792e2a
commit
1d14062f29
@ -9,8 +9,8 @@
|
||||
--toolbarbutton-outer-padding: 2px;
|
||||
--toolbarbutton-inner-padding: 8px;
|
||||
|
||||
--toolbarbutton-hover-background: var(--button-background-color-hover);
|
||||
--toolbarbutton-active-background: var(--button-background-color-active);
|
||||
--toolbarbutton-hover-background: color-mix(in srgb, currentColor 17%, transparent);
|
||||
--toolbarbutton-active-background: color-mix(in srgb, currentColor 30%, transparent);
|
||||
--toolbarbutton-outline-color: transparent;
|
||||
--toolbarbutton-hover-outline-color: transparent;
|
||||
--toolbarbutton-active-outline-color: transparent;
|
||||
@ -128,15 +128,13 @@ toolbar .toolbarbutton-1 {
|
||||
outline-color: var(--toolbarbutton-hover-outline-color);
|
||||
}
|
||||
|
||||
&:hover:active > :is(.toolbarbutton-icon, .toolbarbutton-text, .toolbarbutton-badge-stack) {
|
||||
&:is(:hover:active, [open], [checked]) > :is(.toolbarbutton-icon, .toolbarbutton-text, .toolbarbutton-badge-stack) {
|
||||
background-color: var(--toolbarbutton-active-background);
|
||||
color: inherit;
|
||||
outline-color: var(--toolbarbutton-active-outline-color);
|
||||
}
|
||||
|
||||
&:is([open], [checked]) > :is(.toolbarbutton-icon, .toolbarbutton-text, .toolbarbutton-badge-stack) {
|
||||
background-color: var(--toolbarbutton-active-background);
|
||||
color: inherit;
|
||||
outline-color: var(--toolbarbutton-selected-outline-color);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user