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

Refactorize even more the LESS file

parent 9c659bf4
...@@ -57,13 +57,13 @@ rzslider { ...@@ -57,13 +57,13 @@ rzslider {
z-index: 1; z-index: 1;
background: @barNormalColor; background: @barNormalColor;
.rounded(@barHeight/2); .rounded(@barHeight/2);
}
&.rz-bar.rz-selection { &.rz-selection {
z-index: 2; z-index: 2;
background: @barFillColor; background: @barFillColor;
.rounded(@barHeight/2); .rounded(@barHeight/2);
} }
}
&.rz-pointer { &.rz-pointer {
cursor: pointer; cursor: pointer;
...@@ -77,9 +77,8 @@ rzslider { ...@@ -77,9 +77,8 @@ rzslider {
// -moz-transition:all linear 0.15s; // -moz-transition:all linear 0.15s;
// -o-transition:all linear 0.15s; // -o-transition:all linear 0.15s;
// transition:all linear 0.15s; // transition:all linear 0.15s;
}
&.rz-pointer:after { &:after {
content: ''; content: '';
width: @handlePointerSize; width: @handlePointerSize;
height: @handlePointerSize; height: @handlePointerSize;
...@@ -89,30 +88,27 @@ rzslider { ...@@ -89,30 +88,27 @@ rzslider {
.rounded(@handlePointerSize/2); .rounded(@handlePointerSize/2);
background: @handleInnerColor; background: @handleInnerColor;
} }
&:hover:after {
&.rz-pointer:hover:after {
background-color: @handleHoverColor; background-color: @handleHoverColor;
} }
&.rz-active:after {
&.rz-pointer.rz-active:after {
background-color: @handleActiveColor; background-color: @handleActiveColor;
} }
}
&.rz-bubble { &.rz-bubble {
cursor: default; cursor: default;
bottom: @handleSize/2; bottom: @handleSize/2;
padding: @bubblePadding; padding: @bubblePadding;
color: @labelTextColor; color: @labelTextColor;
} &.rz-selection {
&.rz-bubble.rz-selection {
top: @handleSize/2; top: @handleSize/2;
} }
&.rz-limit {
&.rz-bubble.rz-limit {
color: @limitLabelTextColor; color: @limitLabelTextColor;
} }
} }
}
.rz-ticks { .rz-ticks {
box-sizing: border-box; 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