This repository has been archived by the owner on Apr 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 177
/
angular-slider.css
86 lines (86 loc) · 2.19 KB
/
angular-slider.css
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
slider {
display: inline-block;
position: relative;
height: 7px;
width: 100%;
margin: 25px 5px 25px 5px;
vertical-align: middle;
}
slider span {
white-space: nowrap;
position: absolute;
display: inline-block;
}
slider span.base {
width: 100%;
height: 100%;
padding: 0;
}
slider span.bar {
width: 100%;
height: 100%;
z-index: 0;
-webkit-border-radius: 1em/1em;
border-radius: 1em/1em;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #c0c0c0), color-stop(1, #8d8d8d));
background: -webkit-linear-gradient(top, #c0c0c0 0, #8d8d8d 100%);
background: -moz-linear-gradient(top, #c0c0c0 0, #8d8d8d 100%);
background: -o-linear-gradient(top, #c0c0c0 0, #8d8d8d 100%);
background: -ms-linear-gradient(top, #c0c0c0 0, #8d8d8d 100%);
background: linear-gradient(top, #c0c0c0 0, #8d8d8d 100%);
-webkit-box-shadow: inset 2px 2px 5px;
box-shadow: inset 2px 2px 5px;
}
slider span.bar.selection {
width: 0%;
z-index: 1;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #13b6ff), color-stop(1, #00a8f3));
background: -webkit-linear-gradient(top, #13b6ff 0, #00a8f3 100%);
background: -moz-linear-gradient(top, #13b6ff 0, #00a8f3 100%);
background: -o-linear-gradient(top, #13b6ff 0, #00a8f3 100%);
background: -ms-linear-gradient(top, #13b6ff 0, #00a8f3 100%);
background: linear-gradient(top, #13b6ff 0, #00a8f3 100%);
-webkit-box-shadow: none;
box-shadow: none;
}
slider span.pointer {
cursor: pointer;
width: 20px;
height: 20px;
top: -8px;
background-color: #fff;
border: 1px solid #000;
z-index: 2;
-webkit-border-radius: 1em/1em;
border-radius: 1em/1em;
}
slider span.pointer:after {
content: '';
background-color: #808080;
width: 8px;
height: 8px;
position: absolute;
top: 6px;
left: 6px;
-webkit-border-radius: 1em/1em;
border-radius: 1em/1em;
}
slider span.pointer:hover:after {
background-color: #000;
}
slider span.pointer.active:after {
background-color: #f00;
}
slider span.bubble {
cursor: default;
top: -22px;
padding: 1px 3px 1px 3px;
font-size: 0.7em;
font-family: sans-serif;
}
slider span.bubble.selection {
top: 15px;
}
slider span.bubble.limit {
color: #808080;
}