[ticket/17010] Add button disabled state CSS

PHPBB3-17010
This commit is contained in:
Marc Alexander 2022-10-28 20:55:54 +02:00
parent 7092f24645
commit 06458c95f5
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
2 changed files with 23 additions and 0 deletions

View file

@ -32,6 +32,20 @@
outline: none;
}
.button[disabled],
.button[disabled]:hover,
.button.disabled,
.button.disabled:hover {
background: #eee;
color: #aaa;
border-color: #aaa;
cursor: default;
}
.button.hidden {
display: none;
}
.caret {
border-left: 1px solid;
position: relative;

View file

@ -697,6 +697,15 @@ dd.profile-warnings {
color: #d41142;
}
.button[disabled],
.button[disabled]:hover,
.button.disabled,
.button.disabled:hover {
background: #e0e0e0;
color: #9e9e9e;
border-color: #9e9e9e;
}
.button .icon,
.button-secondary,
.c-button-icon {