-
Notifications
You must be signed in to change notification settings - Fork 0
/
colorpicker.css
95 lines (88 loc) · 1.78 KB
/
colorpicker.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
87
88
89
90
91
92
93
94
95
.wrapper {
width: 225px;
height: 225px;
margin: 0 auto;
position: relative;
margin-top: -100px;
}
.pointer-wrapper {
float: left;
left: 0px;
top: 0px;
position: absolute;
width: 225px;
height: 225px;
margin: 0px auto;
pointer-events: none;
}
.color-mask {
float: left;
left: 0px;
top: 0px;
position: absolute;
width: 225px;
height: 225px;
margin: 0 auto;
pointer-events: none;
border-radius: 50%;
background-color: rgba(0, 0, 0, 0);
}
.color-pointer {
float: left;
top: 0;
left: 0;
position: relative;
width: 14px;
height: 14px;
border: 2px black solid;
border-radius: 50%;
pointer-events: none;
}
.slider-pointer-inner,
.color-pointer-inner {
width: 70%;
height: 70%;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
margin: 0px auto;
pointer-events: none;
border: 2px white solid;
border-radius: 50%;
position: absolute;
}
.color-panel {
width: 100%;
background: hsl(0, 0%, 100%);
border-radius: 50%;
cursor: pointer;
pointer-events: all;
}
.light-slider-wrapper {
width: 235px;
height: 24px;
/* background-color: white; */
margin: 50px auto;
position: absolute;
left: 50%;
transform: translate(-50%);
border-radius: 24px;
border: solid white 6px;
background: linear-gradient(to right, black, white);
cursor: pointer;
pointer-events: all;
/* overflow: hidden; */
}
.slider-pointer {
float: left;
top: 3px;
left: 0;
position: relative;
width: 14px;
height: 14px;
border: 2px black solid;
border-radius: 50%;
pointer-events: none;
}