Commit 008d1ad7 authored by Valentin Hervieu's avatar Valentin Hervieu

Refactorize even more the LESS file

parent 9c659bf4
......@@ -57,13 +57,13 @@ rzslider {
z-index: 1;
background: @barNormalColor;
.rounded(@barHeight/2);
}
&.rz-bar.rz-selection {
&.rz-selection {
z-index: 2;
background: @barFillColor;
.rounded(@barHeight/2);
}
}
&.rz-pointer {
cursor: pointer;
......@@ -77,9 +77,8 @@ rzslider {
// -moz-transition:all linear 0.15s;
// -o-transition:all linear 0.15s;
// transition:all linear 0.15s;
}
&.rz-pointer:after {
&:after {
content: '';
width: @handlePointerSize;
height: @handlePointerSize;
......@@ -89,30 +88,27 @@ rzslider {
.rounded(@handlePointerSize/2);
background: @handleInnerColor;
}
&.rz-pointer:hover:after {
&:hover:after {
background-color: @handleHoverColor;
}
&.rz-pointer.rz-active:after {
&.rz-active:after {
background-color: @handleActiveColor;
}
}
&.rz-bubble {
cursor: default;
bottom: @handleSize/2;
padding: @bubblePadding;
color: @labelTextColor;
}
&.rz-bubble.rz-selection {
&.rz-selection {
top: @handleSize/2;
}
&.rz-bubble.rz-limit {
&.rz-limit {
color: @limitLabelTextColor;
}
}
}
.rz-ticks {
box-sizing: border-box;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment