fix(buttonGroupd): add focus state to button in disabled button group telerik/kendo#7846
This commit is contained in:
Родитель
444d5441b6
Коммит
7cb9e91e67
|
@ -143,6 +143,11 @@
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.k-state-disabled .k-button,
|
||||||
|
.k-state-disabled {
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.k-group-start,
|
.k-group-start,
|
||||||
.k-item:first-child .k-button {
|
.k-item:first-child .k-button {
|
||||||
@include border-left-radius();
|
@include border-left-radius();
|
||||||
|
|
|
@ -105,12 +105,22 @@
|
||||||
|
|
||||||
// Selected hover state
|
// Selected hover state
|
||||||
.k-button:active:hover,
|
.k-button:active:hover,
|
||||||
.k-button.k-state-active:hover
|
.k-button.k-state-active:hover,
|
||||||
> input[type="radio"]:hover + .k-button,
|
> input[type="radio"]:hover + .k-button,
|
||||||
> input[type="checkbox"]:hover + .k-button {
|
> input[type="checkbox"]:hover + .k-button {
|
||||||
@include fill( $selected-text, $selected-bg, $selected-border, none );
|
@include fill( $selected-text, $selected-bg, $selected-border, none );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Disabled state
|
||||||
|
&.k-state-disabled .k-button,
|
||||||
|
.k-state-disabled {
|
||||||
|
|
||||||
|
&:not(.k-state-active),
|
||||||
|
&:not(.k-state-active):hover {
|
||||||
|
@include fill( $button-text, $button-bg, $button-border, $button-gradient );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//SplitButton
|
//SplitButton
|
||||||
|
|
Загрузка…
Ссылка в новой задаче