Skip to content

Commit

Permalink
fix(checkbox): disabled state issues (#15200)
Browse files Browse the repository at this point in the history
  • Loading branch information
SisIvanova authored Jan 7, 2025
1 parent 50f32c3 commit 652d9cb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,6 @@
@extend %igx-checkbox--indeterminate-fluent !optional;
}

@include mx(material, indeterminate) {
@extend %igx-checkbox--indeterminate-material !optional;
}

@include mx(invalid, indeterminate) {
@extend %igx-checkbox--indeterminate--invalid !optional;

Expand All @@ -246,6 +242,14 @@
}
}

@include mx(material, disabled, indeterminate) {
@extend %igx-checkbox--disabled-indeterminate-material !optional;
}

@include mx(fluent, disabled, indeterminate) {
@extend %igx-checkbox--disabled-indeterminate-fluent !optional;
}

@include mx(indigo, focused, indeterminate) {
@extend %igx-checkbox--focused-checked-indigo !optional;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,12 @@
z-index: 1;
}
}
}

%igx-checkbox--disabled-indeterminate-fluent {
%cbx-composite-mark {
stroke: transparent;
}

%cbx-composite--x--disabled {
background: transparent;
Expand All @@ -387,7 +393,7 @@
}
}

%igx-checkbox--indeterminate-material {
%igx-checkbox--disabled-indeterminate-material {
%cbx-composite--x--disabled {
border-color: var-get($theme, 'disabled-indeterminate-color');
background: var-get($theme, 'disabled-indeterminate-color');
Expand Down

0 comments on commit 652d9cb

Please sign in to comment.