Skip to content

Commit

Permalink
Fix: Remove rangeslider library styles (fixes adaptlearning#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
swashbuck authored Mar 22, 2023
1 parent e760bf4 commit 83fafa3
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions less/slider.less
Original file line number Diff line number Diff line change
Expand Up @@ -122,19 +122,11 @@
color: @validation-success-inverted;
}

&__widget.show-user-answer.is-correct .rangeslider__fill {
background-color: @validation-success;
}

&__widget.show-user-answer.is-incorrect &__number-selection {
background-color: @validation-error;
color: @validation-error-inverted;
}

&__widget.show-user-answer.is-incorrect .rangeslider__fill {
background-color: @validation-error;
}

// Class to show the correct answers
// --------------------------------------------------
&__widget.show-correct-answer &__number-selection {
Expand All @@ -146,35 +138,4 @@
background-color: @validation-success;
color: @validation-success-inverted;
}

&__widget.show-correct-answer.is-correct .rangeslider__fill,
&__widget.show-correct-answer.is-incorrect .rangeslider__fill {
background-color: @validation-success;
}
}

// Rangeslider overrides
// --------------------------------------------------
.rangeslider {
&--horizontal {
height: 0.375rem;
}

&--horizontal &__handle {
top: -0.875rem;
}

&__handle {
height: 2rem;
width: 2rem;
}

&__handle:after {
height: 1rem;
width: 1rem;
}

.slider__widget.is-disabled &__handle {
cursor: default;
}
}

0 comments on commit 83fafa3

Please sign in to comment.