-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
154 lines (154 loc) · 5.13 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="src/styles/index.scss" />
<link
href="https://fonts.googleapis.com/css?family=Poppins&display=swap"
rel="stylesheet"
/>
<title>Tooltip Component</title>
</head>
<body>
<main class="wrapper">
<section class="object__wrapper">
<div class="object__container">
<div class="object">A</div>
</div>
<div class="object__container">
<div class="object">B</div>
</div>
<div class="object__container">
<div class="object">C</div>
</div>
</section>
<section>
<div class="config-panel">
<form class="config-panel__form">
<fieldset class="config-panel__container color-panel">
<legend class="config-panel__title">COLOR</legend>
<div>
<input
type="radio"
value="primary"
name="color-pick"
class="config-panel__radio"
checked
/>
<label for="primary" class="config-panel__label">primary</label>
</div>
<div>
<input
type="radio"
value="secondary"
name="color-pick"
class="config-panel__radio"
/>
<label for="secondary" class="config-panel__label"
>secondary</label
>
</div>
<div>
<input
type="radio"
value="dark"
name="color-pick"
class="config-panel__radio"
/>
<label for="dark" class="config-panel__label">dark</label>
</div>
<div>
<input
type="radio"
value="light"
name="color-pick"
class="config-panel__radio"
/>
<label for="light" class="config-panel__label">light</label>
</div>
<div>
<input
type="radio"
value="accent"
name="color-pick"
class="config-panel__radio"
/>
<label for="accent" class="config-panel__label">accent</label>
</div>
</fieldset>
<fieldset class="config-panel__container position-panel">
<legend class="config-panel__title">POSITION</legend>
<div>
<input
type="radio"
value="top"
name="position-pick"
class="config-panel__radio"
/>
<label for="top" class="config-panel__label">top</label>
</div>
<div>
<input
type="radio"
value="bottom"
name="position-pick"
class="config-panel__radio"
checked
/>
<label for="top" class="config-panel__label">bottom</label>
</div>
<div>
<input
type="radio"
value="left"
name="position-pick"
class="config-panel__radio"
/>
<label for="top" class="config-panel__label">left</label>
</div>
<div>
<input
type="radio"
value="right"
name="position-pick"
class="config-panel__radio"
/>
<label for="top" class="config-panel__label">right </label>
</div>
</fieldset>
<fieldset class="config-panel__container text-panel">
<legend class="config-panel__title">TEXT</legend>
<div class="config-panel__input-container">
Color HEX<input
type="text"
value="#FFFFFF"
class="config-panel__input"
data-role="tooltip-text-color"
name="tooltip-text-color-input"
/>
</div>
<div class="config-panel__input-container">
Max length<input
type="number"
value="100"
class="config-panel__input"
data-role="text-length"
name="tooltip-max-text-length"
/>
</div>
<textarea
placeholder="dowolny tekst X znaków"
class="config-panel__textarea"
data-role="tooltip-input"
name="tooltip-text-input"
></textarea>
</fieldset>
</form>
</div>
</section>
</main>
<script src="src/scripts/tooltip.js"></script>
</body>
</html>