}
}
+/* disabled state */
+button,
+input[type="button"],
+input[type="reset"],
+input[type="submit"],
+.button,
+a.button {
+ &:disabled,
+ &.disabled {
+ background-color: $wcfButtonDisabledBackground !important;
+ border-color: $wcfButtonDisabledBorder !important;
+ color: $wcfButtonDisabledText !important;
+ cursor: not-allowed !important;
+ }
+}
+
/* force active state for buttons toggling a dropdown */
.dropdownOpen {
> button,
background-color: $wcfButtonBackgroundActive;
border-color: $wcfButtonBorderActive;
color: $wcfButtonTextActive;
-
- .icon {
- color: $wcfButtonTextActive;
- }
}
> button.buttonPrimary,
background-color: $wcfButtonPrimaryBackgroundActive;
border-color: $wcfButtonPrimaryBorderActive;
color: $wcfButtonPrimaryTextActive;
-
- .icon {
- color: $wcfButtonPrimaryTextActive;
- }
}
}