style: add disabled variant of buttons (#50302)
This commit is contained in:
parent
967c67f9fa
commit
0daa0d2ab4
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue