Bug 1665158 - Apply primary button style for in-content default xul buttons. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D90691
This commit is contained in:
pbz 2020-09-21 21:39:06 +00:00
parent d78733695d
commit 6cab742f60

View File

@ -323,6 +323,7 @@ xul|menulist[disabled="true"] {
html|button[autofocus],
html|button[type="submit"],
xul|button[default],
button.primary {
background-color: var(--in-content-primary-button-background);
color: var(--in-content-selected-text) !important;
@ -331,6 +332,7 @@ button.primary {
html|button[autofocus]:enabled:hover,
html|button[type="submit"]:enabled:hover,
html|button.primary:enabled:hover,
xul|button[default]:not([disabled="true"]):hover,
xul|button.primary:not([disabled="true"]):hover {
background-color: var(--in-content-primary-button-background-hover);
}
@ -338,6 +340,7 @@ xul|button.primary:not([disabled="true"]):hover {
html|button[autofocus]:enabled:hover:active,
html|button[type="submit"]:enabled:hover:active,
html|button.primary:enabled:hover:active,
xul|button[default]:not([disabled="true"]):hover:active,
xul|button.primary:not([disabled="true"]):hover:active {
background-color: var(--in-content-primary-button-background-active);
}