Bug 1839236 - Use better hover and active colors for the panel-banner. r=aleca

Differential Revision: https://phabricator.services.mozilla.com/D181485

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Richard Marti 2023-06-20 21:46:52 +00:00
Родитель 6983ccba5d
Коммит 350f4d8c60
2 изменённых файлов: 4 добавлений и 4 удалений

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

@ -47,7 +47,7 @@
},
"properties": {
"color_scheme": "dark",
"panel_hover": "color-mix(in srgb, currentColor 9%, transparent)",
"panel_hover": "color-mix(in srgb, currentColor 10%, transparent)",
"panel_active": "color-mix(in srgb, currentColor 14%, transparent)",
"panel_active_darker": "color-mix(in srgb, currentColor 25%, transparent)"
}

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

@ -761,17 +761,17 @@ toolbarpaletteitem[place="menu-panel"] > .subviewbutton-nav::after {
padding-block: calc(var(--appmenu-button-padding) + 3px);
border-radius: var(--arrowpanel-menuitem-border-radius);
color: var(--button-color);
background-color: var(--button-background-color);
background-color: color-mix(in srgb, currentColor 7%, transparent);;
margin-bottom: 4px;
font-weight: 600;
}
.panel-banner-item:not([disabled]):hover {
background-color: var(--button-hover-background-color);
background-color: var(--arrowpanel-dimmed);
}
.panel-banner-item:not([disabled]):hover:active {
background-color: var(--button-active-background-color);
background-color: var(--arrowpanel-dimmed-further);
}
.panel-banner-item > .toolbarbutton-text {