-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
206 lines (187 loc) · 9.4 KB
/
index.html
File metadata and controls
206 lines (187 loc) · 9.4 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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Sen:wght@400;700;800&display=swap" rel="stylesheet">
<script src="./src/script.js" defer type="module"></script>
<link rel="stylesheet" href="./css/style.css">
<title>picker nav</title>
</head>
<body>
<div class="extension">
<ul class="nav nav--main">
<li class="nav-indicator"><span></span></li>
<li class="nav-item nav-item--active" data-type="color-picker">
<a href="#color-picker" class="nav-item-link">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" class="nav-icon">
<rect width="256" height="256" fill="none"></rect>
<path
d="M224,67.5a35.5,35.5,0,0,0-11.3-25.7c-14-13.2-36.7-12.7-50.6,1.2L140.2,64.9a24.1,24.1,0,0,0-33.2.8l-7,7a16.1,16.1,0,0,0,0,22.6l2.1,2.1L51.7,147.7a40.3,40.3,0,0,0-11,35.8l-9.8,22.4a13.6,13.6,0,0,0,2.9,15.2,15.8,15.8,0,0,0,11.3,4.7,16.3,16.3,0,0,0,6.4-1.3l21-9.2a40.3,40.3,0,0,0,35.8-11l50.3-50.4,2.1,2.1a15.9,15.9,0,0,0,22.6,0l7-7a24.1,24.1,0,0,0,.8-33.2l22.4-22.3A36.2,36.2,0,0,0,224,67.5ZM97,193a24.3,24.3,0,0,1-23.2,6.2,8,8,0,0,0-5.3.4L47,209l9.4-21.5a8,8,0,0,0,.4-5.3A24.3,24.3,0,0,1,63,159l50.4-50.3,33.9,33.9Z">
</path>
</svg>
</a>
</li>
<li class="nav-item" data-type="color-pallette">
<a href="#color-pallete" class="nav-item-link">
<svg xmlns="http://www.w3.org/2000/svg" class="nav-icon" viewBox="0 0 256 256">
<rect width="256" height="256" fill="none"></rect>
<path
d="M228.2,153,209,100.3a16,16,0,0,0-20.5-9.5l-59.9,21.8,11-62.8a16,16,0,0,0-2.6-12,16.2,16.2,0,0,0-10.3-6.6L71.5,21.5A16.1,16.1,0,0,0,53,34.5L28.8,171.7a45,45,0,0,0,7.7,33.9,43.4,43.4,0,0,0,28.7,17.9,51.6,51.6,0,0,0,6.7.5H212a16,16,0,0,0,16-16V164.3A15.7,15.7,0,0,0,228.2,153ZM72,192a12,12,0,1,1,12-12A12,12,0,0,1,72,192Zm140,16H123.7L212,175.9Zm-98.5-13.3a41,41,0,0,0,1.8-7.1l10.1-56.8,68.6-25,19.1,52.6Z">
</path>
</svg>
</a>
</li>
<li class="nav-item" data-type="shades-tints">
<a href="#color-shades" class="nav-item-link">
<svg xmlns="http://www.w3.org/2000/svg" class="nav-icon" viewBox="0 0 256 256">
<rect width="256" height="256" fill="none"></rect>
<path
d="M128,24A104,104,0,1,0,232,128,104.2,104.2,0,0,0,128,24ZM40,128a88.1,88.1,0,0,1,88-88V216A88.1,88.1,0,0,1,40,128Z">
</path>
</svg>
</a>
</li>
<li class="nav-item" data-type="contrast-checker">
<a href="#contrast-checker" class="nav-item-link">
<svg xmlns="http://www.w3.org/2000/svg" class="nav-icon" viewBox="0 0 256 256">
<rect width="256" height="256" fill="none"></rect>
<path
d="M174.6,81.4a80,80,0,1,0-93.2,93.2,80,80,0,1,0,93.2-93.2ZM32,96A64,64,0,0,1,158,80.1,79.9,79.9,0,0,0,80.1,158,64.2,64.2,0,0,1,32,96ZM160,224a64.2,64.2,0,0,1-62-48.1A79.9,79.9,0,0,0,175.9,98,64,64,0,0,1,160,224Z">
</path>
</svg>
</a>
</li>
<li class="nav-item" data-type="color-groups">
<a href="#color-groubs" class="nav-item-link">
<svg xmlns="http://www.w3.org/2000/svg" class="nav-icon" viewBox="0 0 256 256">
<rect width="256" height="256" fill="none"></rect>
<path
d="M208,48H48A24.1,24.1,0,0,0,24,72V184a24.1,24.1,0,0,0,24,24H208a24.1,24.1,0,0,0,24-24V72A24.1,24.1,0,0,0,208,48Zm-56.5,76.8a24,24,0,0,1-47,0A16.1,16.1,0,0,0,88.8,112H40V96H216v16H167.2A16.1,16.1,0,0,0,151.5,124.8ZM48,64H208a8,8,0,0,1,8,8v8H40V72A8,8,0,0,1,48,64Z">
</path>
</svg>
</a>
</li>
<li class="nav-item" data-type="settings">
<a href="#color-setting" class="nav-item-link">
<svg xmlns="http://www.w3.org/2000/svg" class="nav-icon" viewBox="0 0 256 256">
<rect width="256" height="256" fill="none"></rect>
<path d="M216,164H194.8a28,28,0,0,0-53.6,0H40a8,8,0,0,0,0,16H141.2a28,28,0,0,0,53.6,0H216a8,8,0,0,0,0-16Z">
</path>
<path d="M40,92H77.2a28,28,0,0,0,53.6,0H216a8,8,0,0,0,0-16H130.8a28,28,0,0,0-53.6,0H40a8,8,0,0,0,0,16Z">
</path>
</svg>
</a>
</li>
</ul>
<main class="tools">
<div id="color-picker" class="tool" data-type="color-picker">
<div class="tool-title mb-md">
<h3 class="tool-heading">Color picker</h3>
<button class="btn btn--main eye-drop"><span class="btn-text">pick
a color</span> </button>
</div>
<div id="picker" class="picker"></div>
<div class="center">
<ul class="nav nav--secondary color-code-toggle">
<li class="nav-indicator"><span></span></li>
<li class="nav-item nav-item--active" data-type="hexString"> HEX </li>
<li class="nav-item" data-type="rgbaString"> RGB</li>
<li class="nav-item" data-type="hslaString"> HSL</li>
</ul>
</div>
<div class="color-code mb-lg">
<div class="color-code-type">Hex</div>
<span class="divider"></span>
<div class="color-code-value">#15a65f</div>
<button class="color-code-btn btn btn--action">
<svg xmlns="http://www.w3.org/2000/svg" class="icon-btn" viewBox="0 0 256 256">
<rect width="256" height="256" fill="none"></rect>
<path
d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z">
</path>
</svg>
</button>
</div>
<div class="recent-color">
<div class="tool-title mb-small">
<h2 class="heading-secondary">Recent colors</h2>
<button class="btn btn--tertiary clear-recent-colors">Clear</button>
</div>
<ul class="colors">
<!-- <li class="color" data-color="#15a65f"><span></span></li> -->
</ul>
</div>
</div>
<div id="color-pallete" class="tool" data-type="color-pallette">
<div class="tool-title mb-md">
<h3 class="tool-heading">Color pallette</h3>
</div>
<div class="temp">
<img src="assets/img/under-construction.svg" alt="construction" class="temp--img">
<p class="temp--title">This feature is <br /> under construction</p>
<div class="flex-container support">
<img src="assets/img/bmc-button.svg" alt="Buy me a cup of coffer" class="btn--img bmc">
<a href="#" class="temp--link">Follow me</a>
</div>
</div>
</div>
<div id="color-shades" class="tool" data-type="shades-tints">
<div class="tool-title mb-md">
<h3 class="tool-heading">Shades and tints generator</h3>
</div>
<div class="temp">
<img src="assets/img/under-construction.svg" alt="construction" class="temp--img">
<p class="temp--title">This feature is <br /> under construction</p>
<div class="flex-container support">
<img src="assets/img/bmc-button.svg" alt="Buy me a cup of coffer" class="btn--img bmc">
<a href="#" class="temp--link">Follow me</a>
</div>
</div>
</div>
<div id="contrast-checker" class="tool" data-type="contrast-checker">
<div class="tool-title mb-md">
<h3 class="tool-heading">Contrast checker</h3>
</div>
<div class="temp">
<img src="assets/img/under-construction.svg" alt="construction" class="temp--img">
<p class="temp--title">This feature is <br /> under construction</p>
<div class="flex-container support">
<img src="assets/img/bmc-button.svg" alt="Buy me a cup of coffer" class="btn--img bmc">
<a href="#" class="temp--link">Follow me</a>
</div>
</div>
</div>
<div id="color-groubs" class="tool" data-type="color-groups">
<div class="tool-title mb-md">
<h3 class="tool-heading">Color groups</h3>
</div>
<div class="temp">
<img src="assets/img/under-construction.svg" alt="construction" class="temp--img">
<p class="temp--title">This feature is <br /> under construction</p>
<div class="flex-container support">
<img src="assets/img/bmc-button.svg" alt="Buy me a cup of coffer" class="btn--img bmc">
<a href="#" class="temp--link">Follow me</a>
</div>
</div>
</div>
<div id="color-setting" class="tool" data-type="settings">
<div class="tool-title mb-md">
<h3 class="tool-heading">Setting</h3>
</div>
<div class="temp">
<img src="assets/img/under-construction.svg" alt="construction" class="temp--img">
<p class="temp--title">This feature is <br /> under construction</p>
<div class="flex-container support">
<img src="assets/img/bmc-button.svg" alt="Buy me a cup of coffer" class="btn--img bmc">
<a href="#" class="temp--link">Follow me</a>
</div>
</div>
</div>
</main>
</div>
</body>
</html>