mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
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:
parent
d78733695d
commit
6cab742f60
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user