-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathColorPicker.css
More file actions
151 lines (132 loc) · 2.5 KB
/
Copy pathColorPicker.css
File metadata and controls
151 lines (132 loc) · 2.5 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
* {
box-sizing: border-box;
}
/*** Trigger button default style ****/
button[data-color] {
width: 50px;
height: 50px;
border-radius: 5px;
border: 1px solid #ccc;
cursor: pointer;
}
.hcg_color_picker {
position: absolute;
width: 232px;
background-color: #ffffff;
border: 1px solid #bfbfbf;
z-index: 99999;
user-select: none;
}
.hcg_slider_container {
display: flex;
justify-content: space-between;
margin: 0 5px;
align-items: center;
}
.hcg_eye_dropper {
display: flex;
align-items: center;
justify-content: space-between;
gap: 5px;
}
.hcg_eye_dropper_btn {
padding: 0;
width: 30px;
height: 30px;
border: 0;
cursor: pointer;
background: none;
border-radius: 50%;
}
.hcg_preview_wrap {
position: relative;
width: 35px;
height: 35px;
flex-shrink: 0;
}
.hcg_copy_btn {
display: none;
position: absolute;
inset: 0;
align-items: center;
justify-content: center;
width: 35px;
height: 35px;
border-radius: 50%;
border: 0;
background: rgba(0, 0, 0, 0.45);
cursor: pointer;
padding: 0;
}
.hcg_preview_wrap:hover .hcg_copy_btn {
display: flex;
}
.hcg_color_sliders {
text-align: right;
}
.hcg_color_values {
outline: 0;
text-align: center;
display: flex;
justify-content: space-between;
margin: 5px 5px;
gap: 5px;
}
.hcg_color_input {
flex: 1 1 auto;
}
.hcg_color_input>div {
display: flex;
align-items: center;
justify-content: space-between;
gap: 5px;
}
.hcg_color_col {
width: 100%;
}
.hcg_color_col label {
display: flex;
align-items: center;
flex-direction: column;
gap: 5px;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #646363;
min-width: auto;
max-width: initial;
}
.hcg_color_col input {
width: 100%;
border-radius: 4px;
height: 30px;
border: 1px solid #cecece;
outline: 0;
font-family: monospace;
font-size: 12px;
color: #333;
text-align: center;
padding: 2px 2px;
}
.hcg_alpha_input {
min-width: 48px;
}
.hcg_switch_btn {
padding: 0;
width: 25px;
height: 31px;
border: 0;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
background: none;
}
.hcg_eye_dropper_btn:hover,
.hcg_switch_btn:hover,
.hcg_color_col input:hover {
background-color: #f2f2f2;
}
.hcg_color_col input:focus {
border: 1px solid #0068d8;
background-color: #fff;
}