Skip to content

Commit

Permalink
Apply grey color to disabled toggle slider even if it's checked
Browse files Browse the repository at this point in the history
  • Loading branch information
Al2Klimov committed Jul 19, 2024
1 parent d6881e0 commit bedbe52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/css/icinga/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,8 @@ form.inline {

// Disabled inputs

.icinga-controls .toggle-switch.disabled {
.icinga-controls .toggle-switch.disabled,
.icinga-controls input[type="checkbox"]:checked + .toggle-switch.disabled {
cursor: default;

& > .toggle-slider {
Expand Down

0 comments on commit bedbe52

Please sign in to comment.