style: add disabled variant of buttons (#50302)

This commit is contained in:
Frédéric Péters 2021-01-19 14:08:56 +01:00
parent 967c67f9fa
commit 0daa0d2ab4
1 changed files with 8 additions and 0 deletions

View File

@ -103,6 +103,14 @@ a.button {
&:focus {
border-color: darken($button-color, 20%);
}
&.disabled, &:disabled {
border-color: #888;
color: #888;
background: #f3f3f3;
pointer-events: none;
box-shadow: none;
cursor: not-allowed;
}
@include vendor-prefix('transition', 'border-color 0.2s ease, box-shadow 0.2s linear');
}