Bug 1368679 - Increase hover opacity of window control buttons, apply the hover effect on the menu bar. r=dao

MozReview-Commit-ID: 2pw4UHOnzNE

--HG--
extra : rebase_source : 3cfb7b21994ce25b1ea0e0be87c6572a53fc31b4
This commit is contained in:
Johann Hofmann 2017-07-25 17:26:37 +02:00
parent 4eab240653
commit 5e11e993f2

View File

@ -190,12 +190,18 @@
@media (-moz-windows-default-theme) {
%ifdef MOZ_PHOTON_THEME
.titlebar-button:hover {
background-color: hsla(0,0%,100%,.12);
#main-menubar > menu {
-moz-appearance: none;
}
.titlebar-button:hover:active {
#main-menubar > menu[_moz-menuactive="true"],
.titlebar-button:hover {
background-color: hsla(0,0%,100%,.22);
}
.titlebar-button:hover:active {
background-color: hsla(0,0%,100%,.32);
}
#main-menubar > menu[_moz-menuactive="true"]:-moz-lwtheme-darktext,
.titlebar-button:-moz-lwtheme-darktext:hover {
background-color: hsla(0,0%,0%,.12);
}