correction disable look for buttons
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user