forked from leongersen/noUiSlider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnouislider.pips.less
104 lines (95 loc) · 1.83 KB
/
nouislider.pips.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/* Base;
*
*/
.@{noUi-css-prefix}-pips,
.@{noUi-css-prefix}-pips * {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.@{noUi-css-prefix}-pips {
position: absolute;
color: #999;
}
/* Values;
*
*/
.@{noUi-css-prefix}-value {
position: absolute;
white-space: nowrap;
text-align: center;
}
.@{noUi-css-prefix}-value-sub {
color: #ccc;
font-size: 10px;
}
/* Markings;
*
*/
.@{noUi-css-prefix}-marker {
position: absolute;
background: #CCC;
}
.@{noUi-css-prefix}-marker-sub {
background: #AAA;
}
.@{noUi-css-prefix}-marker-large {
background: #AAA;
}
/* Horizontal layout;
*
*/
.@{noUi-css-prefix}-pips-horizontal {
padding: 10px 0;
height: 80px;
top: 100%;
left: 0;
width: 100%;
}
.@{noUi-css-prefix}-value-horizontal {
-webkit-transform: translate(-50%, 50%);
transform: translate(-50%, 50%);
.@{noUi-css-prefix}-rtl & {
-webkit-transform: translate(50%, 50%);
transform: translate(50%, 50%);
}
}
.@{noUi-css-prefix}-marker-horizontal.@{noUi-css-prefix}-marker {
margin-left: -1px;
width: 2px;
height: 5px;
}
.@{noUi-css-prefix}-marker-horizontal.@{noUi-css-prefix}-marker-sub {
height: 10px;
}
.@{noUi-css-prefix}-marker-horizontal.@{noUi-css-prefix}-marker-large {
height: 15px;
}
/* Vertical layout;
*
*/
.@{noUi-css-prefix}-pips-vertical {
padding: 0 10px;
height: 100%;
top: 0;
left: 100%;
}
.@{noUi-css-prefix}-value-vertical {
-webkit-transform: translate(0, -50%);
transform: translate(0,-50%,0);
padding-left: 25px;
.@{noUi-css-prefix}-rtl & {
-webkit-transform: translate(0, 50%);
transform: translate(0, 50%);
}
}
.@{noUi-css-prefix}-marker-vertical.@{noUi-css-prefix}-marker {
width: 5px;
height: 2px;
margin-top: -1px;
}
.@{noUi-css-prefix}-marker-vertical.@{noUi-css-prefix}-marker-sub {
width: 10px;
}
.@{noUi-css-prefix}-marker-vertical.@{noUi-css-prefix}-marker-large {
width: 15px;
}