Skip to content

Commit

Permalink
Fix: Removed rangeslider styling (adaptlearning#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
guywillis authored Mar 23, 2023
1 parent 068cd44 commit 2627896
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions less/plugins/adapt-contrib-slider/slider.less
Original file line number Diff line number Diff line change
Expand Up @@ -49,40 +49,3 @@
margin-bottom: @item-margin * 4;
}
}

// Rangeslider
// --------------------------------------------------
.rangeslider {
background-color: @disabled;

&--horizontal {
box-shadow: none;
}

&__fill {
background-color: @item-color;
box-shadow: none;
}

&__handle {
background-image: none;
border: 0;
box-shadow: 0 2px 5px fade(@black, 30%);
}

&__handle:after {
background-image: none;
}
}

// Rangeslider focus styles
// --------------------------------------------------
input[type='range']:focus-visible + .rangeslider .rangeslider__handle {
html:not(.a11y-disable-focusoutline) & {
box-shadow: 0 2px 5px fade(@black, 60%);
}

html.a11y-disable-focusoutline & {
box-shadow: 0 2px 5px fade(@black, 30%);
}
}

0 comments on commit 2627896

Please sign in to comment.