Skip to content

Commit

Permalink
fix(toggle): adjust disabled toggle styles in data table (#7753)
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Feb 11, 2021
1 parent 3fa1c18 commit 42374bc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/components/src/components/toggle/_toggle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,21 @@
box-shadow: none;
}

// disabled toggle in data table #7351
.#{$prefix}--data-table
.#{$prefix}--toggle-input:disabled
+ .#{$prefix}--toggle-input__label
> .#{$prefix}--toggle__switch::before {
background-color: $disabled-02;
}

.#{$prefix}--data-table
.#{$prefix}--toggle-input:disabled
+ .#{$prefix}--toggle-input__label
> .#{$prefix}--toggle__switch::after {
background-color: $disabled-03;
}

//----------------------------------------------
// Small toggle
// ---------------------------------------------
Expand Down

0 comments on commit 42374bc

Please sign in to comment.