Respect disabled button color for all buttons

This commit is contained in:
2019-09-20 15:40:22 +02:00
parent 4ab28016a3
commit 51d8b6c8c1
+2 -2
View File
@@ -32,7 +32,7 @@ button, input[type=submit], .button {
padding: 0.2rem 0.8rem;
}
&.danger {
&.danger:not(:disabled) {
color: $red;
background-color: rgba(40, 21, 21, 0.6);
border-color: rgba(40, 21, 21, 1);
@@ -45,7 +45,7 @@ button, input[type=submit], .button {
}
}
&.green {
&.green:not(:disabled) {
color: $green;
background-color: rgba(21, 40, 21, 0.6);
border-color: rgba(21, 40, 21, 1);