correction disable look for buttons

This commit is contained in:
Niels Lyngsø
2020-01-08 10:43:37 +01:00
parent 16a9630be2
commit 95120d779a
2 changed files with 5 additions and 5 deletions

View File

@@ -48,7 +48,7 @@
&:disabled:hover {
cursor: default;
border-color: @btnBorder;
.opacity(65);
.opacity(80);
.box-shadow(none);
}
@@ -213,7 +213,7 @@ input[type="button"] {
}
// Made for Umbraco, 2019, used for buttons that has to stand back.
.btn-white {
.buttonBackground(@btnWhiteBackground, @btnWhiteBackgroundHighlight, @btnWhiteType, @btnWhiteTypeHover);
.buttonBackground(@btnWhiteBackground, @btnWhiteBackgroundHighlight, @btnWhiteType, @btnWhiteTypeHover, @gray-10, @gray-7);
}
// Inverse appears as dark gray
.btn-inverse {

View File

@@ -434,7 +434,7 @@
// Button backgrounds
// ------------------
.buttonBackground(@startColor, @hoverColor: @startColor, @textColor: @white, @textColorHover: @textColor) {
.buttonBackground(@startColor, @hoverColor: @startColor, @textColor: @white, @textColorHover: @textColor, @disabledColor: @sand-1, @disabledTextColor: @white) {
color: @textColor;
border-color: @startColor @startColor darken(@startColor, 15%);
@@ -454,8 +454,8 @@
}
&.disabled, &[disabled] {
color: @white;
background-color: @sand-1;
background-color: @disabledColor;
color: @disabledTextColor;
}
}