allaw-ui 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/stories/button.css +30 -0
- package/dist/stories/header.css +32 -0
- package/dist/stories/page.css +69 -0
- package/dist/styles/icons.css +356 -0
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.storybook-button {
|
|
2
|
+
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
3
|
+
font-weight: 700;
|
|
4
|
+
border: 0;
|
|
5
|
+
border-radius: 3em;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
display: inline-block;
|
|
8
|
+
line-height: 1;
|
|
9
|
+
}
|
|
10
|
+
.storybook-button--primary {
|
|
11
|
+
color: white;
|
|
12
|
+
background-color: #1ea7fd;
|
|
13
|
+
}
|
|
14
|
+
.storybook-button--secondary {
|
|
15
|
+
color: #333;
|
|
16
|
+
background-color: transparent;
|
|
17
|
+
box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 0px 1px inset;
|
|
18
|
+
}
|
|
19
|
+
.storybook-button--small {
|
|
20
|
+
font-size: 12px;
|
|
21
|
+
padding: 10px 16px;
|
|
22
|
+
}
|
|
23
|
+
.storybook-button--medium {
|
|
24
|
+
font-size: 14px;
|
|
25
|
+
padding: 11px 20px;
|
|
26
|
+
}
|
|
27
|
+
.storybook-button--large {
|
|
28
|
+
font-size: 16px;
|
|
29
|
+
padding: 12px 24px;
|
|
30
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.storybook-header {
|
|
2
|
+
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
3
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
4
|
+
padding: 15px 20px;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.storybook-header svg {
|
|
11
|
+
display: inline-block;
|
|
12
|
+
vertical-align: top;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.storybook-header h1 {
|
|
16
|
+
font-weight: 700;
|
|
17
|
+
font-size: 20px;
|
|
18
|
+
line-height: 1;
|
|
19
|
+
margin: 6px 0 6px 10px;
|
|
20
|
+
display: inline-block;
|
|
21
|
+
vertical-align: top;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.storybook-header button + button {
|
|
25
|
+
margin-left: 10px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.storybook-header .welcome {
|
|
29
|
+
color: #333;
|
|
30
|
+
font-size: 14px;
|
|
31
|
+
margin-right: 10px;
|
|
32
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
.storybook-page {
|
|
2
|
+
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
3
|
+
font-size: 14px;
|
|
4
|
+
line-height: 24px;
|
|
5
|
+
padding: 48px 20px;
|
|
6
|
+
margin: 0 auto;
|
|
7
|
+
max-width: 600px;
|
|
8
|
+
color: #333;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.storybook-page h2 {
|
|
12
|
+
font-weight: 700;
|
|
13
|
+
font-size: 32px;
|
|
14
|
+
line-height: 1;
|
|
15
|
+
margin: 0 0 4px;
|
|
16
|
+
display: inline-block;
|
|
17
|
+
vertical-align: top;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.storybook-page p {
|
|
21
|
+
margin: 1em 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.storybook-page a {
|
|
25
|
+
text-decoration: none;
|
|
26
|
+
color: #1ea7fd;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.storybook-page ul {
|
|
30
|
+
padding-left: 30px;
|
|
31
|
+
margin: 1em 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.storybook-page li {
|
|
35
|
+
margin-bottom: 8px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.storybook-page .tip {
|
|
39
|
+
display: inline-block;
|
|
40
|
+
border-radius: 1em;
|
|
41
|
+
font-size: 11px;
|
|
42
|
+
line-height: 12px;
|
|
43
|
+
font-weight: 700;
|
|
44
|
+
background: #e7fdd8;
|
|
45
|
+
color: #66bf3c;
|
|
46
|
+
padding: 4px 12px;
|
|
47
|
+
margin-right: 10px;
|
|
48
|
+
vertical-align: top;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.storybook-page .tip-wrapper {
|
|
52
|
+
font-size: 13px;
|
|
53
|
+
line-height: 20px;
|
|
54
|
+
margin-top: 40px;
|
|
55
|
+
margin-bottom: 40px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.storybook-page .tip-wrapper svg {
|
|
59
|
+
display: inline-block;
|
|
60
|
+
height: 12px;
|
|
61
|
+
width: 12px;
|
|
62
|
+
margin-right: 4px;
|
|
63
|
+
vertical-align: top;
|
|
64
|
+
margin-top: 3px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.storybook-page .tip-wrapper svg path {
|
|
68
|
+
fill: #1ea7fd;
|
|
69
|
+
}
|
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
* {
|
|
2
|
+
margin: 0;
|
|
3
|
+
padding: 0;
|
|
4
|
+
border: 0;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
a:link {
|
|
9
|
+
text-decoration: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
ul,
|
|
13
|
+
li {
|
|
14
|
+
list-style: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@font-face {
|
|
18
|
+
font-family: "allaw-font";
|
|
19
|
+
src: url("../assets/allaw-font.eot");
|
|
20
|
+
src:
|
|
21
|
+
url("../assets/allaw-font.eot?#iefix") format("embedded-opentype"),
|
|
22
|
+
url("../assets/allaw-font.ttf") format("truetype"),
|
|
23
|
+
url("../assets/allaw-font.woff") format("woff"),
|
|
24
|
+
url("../assets/allaw-font.svg#allaw-font") format("svg");
|
|
25
|
+
font-weight: normal;
|
|
26
|
+
font-style: normal;
|
|
27
|
+
font-display: block;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[class^="allaw-icon-"],
|
|
31
|
+
[class*=" allaw-icon-"] {
|
|
32
|
+
/* use !important to prevent issues with browser extensions that change fonts */
|
|
33
|
+
font-family: "allaw-font" !important;
|
|
34
|
+
/* speak: never; */
|
|
35
|
+
font-style: normal;
|
|
36
|
+
font-weight: normal;
|
|
37
|
+
font-variant: normal;
|
|
38
|
+
text-transform: none;
|
|
39
|
+
line-height: 1;
|
|
40
|
+
|
|
41
|
+
/* Better Font Rendering =========== */
|
|
42
|
+
-webkit-font-smoothing: antialiased;
|
|
43
|
+
-moz-osx-font-smoothing: grayscale;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.allaw-icon-cam:before {
|
|
47
|
+
content: "\e942";
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.allaw-icon-cam-outline:before {
|
|
51
|
+
content: "\e944";
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.allaw-icon-hung-up:before {
|
|
55
|
+
content: "\e944";
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.allaw-icon-mic:before {
|
|
59
|
+
content: "\e946";
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.allaw-icon-mic-outline:before {
|
|
63
|
+
content: "\e947";
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.allaw-icon-presentation:before {
|
|
67
|
+
content: "\e948";
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.allaw-icon-presentation-outline:before {
|
|
71
|
+
content: "\e949";
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.allaw-icon-verified:before {
|
|
75
|
+
content: "\e90a";
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.allaw-icon-logo:before {
|
|
79
|
+
content: "\e941";
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.allaw-icon-document:before {
|
|
83
|
+
content: "\e915";
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.allaw-icon-export:before {
|
|
87
|
+
content: "\e916";
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.allaw-icon-visio:before {
|
|
91
|
+
content: "\e943";
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.allaw-icon-cam-off:before {
|
|
95
|
+
content: "\e946";
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.allaw-icon-hung-up:before {
|
|
99
|
+
content: "\e945";
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.allaw-icon-mic-off:before {
|
|
103
|
+
content: "\e944";
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.allaw-icon-eye-off:before {
|
|
107
|
+
content: "\e917";
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.allaw-icon-visio::before {
|
|
111
|
+
content: "\e942";
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.allaw-icon-arrow-up:before {
|
|
115
|
+
content: "\e918";
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.allaw-icon-file-not-found:before {
|
|
119
|
+
content: "\e919";
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.allaw-icon-arrow-left:before {
|
|
123
|
+
content: "\e91a";
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.allaw-icon-file:before {
|
|
127
|
+
content: "\e91b";
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.allaw-icon-archive:before {
|
|
131
|
+
content: "\e91c";
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.allaw-icon-arrow-right:before {
|
|
135
|
+
content: "\e91d";
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.allaw-icon-arrow-up-right:before {
|
|
139
|
+
content: "\e91e";
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.allaw-icon-calendar:before {
|
|
143
|
+
content: "\e91f";
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.allaw-icon-carefull:before {
|
|
147
|
+
content: "\e920";
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.allaw-icon-check-circle:before {
|
|
151
|
+
content: "\e921";
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.allaw-icon-check:before {
|
|
155
|
+
content: "\e922";
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.allaw-icon-chevron-down:before {
|
|
159
|
+
content: "\e923";
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.allaw-icon-chevron-left:before {
|
|
163
|
+
content: "\e924";
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.allaw-icon-chevron-right:before {
|
|
167
|
+
content: "\e925";
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.allaw-icon-chevron-up:before {
|
|
171
|
+
content: "\e926";
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.allaw-icon-deconnexion:before {
|
|
175
|
+
content: "\e927";
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.allaw-icon-download:before {
|
|
179
|
+
content: "\e928";
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.allaw-icon-edit-2:before {
|
|
183
|
+
content: "\e929";
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.allaw-icon-edit-3:before {
|
|
187
|
+
content: "\e92a";
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.allaw-icon-encrypted-file:before {
|
|
191
|
+
content: "\e92b";
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.allaw-icon-external-link:before {
|
|
195
|
+
content: "\e92c";
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.allaw-icon-eye:before {
|
|
199
|
+
content: "\e92d";
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.allaw-icon-folder:before {
|
|
203
|
+
content: "\e92e";
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.allaw-icon-grid:before {
|
|
207
|
+
content: "\e92f";
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.allaw-icon-help-circle:before {
|
|
211
|
+
content: "\e930";
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.allaw-icon-home:before {
|
|
215
|
+
content: "\e931";
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.allaw-icon-inbox:before {
|
|
219
|
+
content: "\e932";
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.allaw-icon-info:before {
|
|
223
|
+
content: "\e933";
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.allaw-icon-link-off:before {
|
|
227
|
+
content: "\e934";
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.allaw-icon-link:before {
|
|
231
|
+
content: "\e935";
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.allaw-icon-loader:before {
|
|
235
|
+
content: "\e936";
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.allaw-icon-lock:before {
|
|
239
|
+
content: "\e937";
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.allaw-icon-map-pin:before {
|
|
243
|
+
content: "\e938";
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.allaw-icon-map:before {
|
|
247
|
+
content: "\e939";
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.allaw-icon-more-vertical:before {
|
|
251
|
+
content: "\e93a";
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.allaw-icon-play-circle:before {
|
|
255
|
+
content: "\e93b";
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.allaw-icon-refresh-cw:before {
|
|
259
|
+
content: "\e93c";
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.allaw-icon-rss:before {
|
|
263
|
+
content: "\e93d";
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.allaw-icon-search:before {
|
|
267
|
+
content: "\e93e";
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.allaw-icon-settings:before {
|
|
271
|
+
content: "\e93f";
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.allaw-icon-share:before {
|
|
275
|
+
content: "\e940";
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.allaw-icon-contact-support:before {
|
|
279
|
+
content: "\e900";
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.allaw-icon-phone:before {
|
|
283
|
+
content: "\e901";
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.allaw-icon-user:before {
|
|
287
|
+
content: "\e902";
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.allaw-icon-users:before {
|
|
291
|
+
content: "\e903";
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.allaw-icon-add:before {
|
|
295
|
+
content: "\e904";
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.allaw-icon-warning:before {
|
|
299
|
+
content: "\e905";
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.allaw-icon-website:before {
|
|
303
|
+
content: "\e906";
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.allaw-icon-close:before {
|
|
307
|
+
content: "\e907";
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.allaw-icon-carefull1:before {
|
|
311
|
+
content: "\e908";
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.allaw-icon-loading:before {
|
|
315
|
+
content: "\e909";
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.allaw-icon-near-me:before {
|
|
319
|
+
content: "\e90b";
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.allaw-icon-filter:before {
|
|
323
|
+
content: "\e90c";
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.allaw-icon-clock:before {
|
|
327
|
+
content: "\e90d";
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.allaw-icon-pmr:before {
|
|
331
|
+
content: "\e90e";
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.allaw-icon-prestation:before {
|
|
335
|
+
content: "\e90f";
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.allaw-icon-mail:before {
|
|
339
|
+
content: "\e910";
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.allaw-icon-upload-file:before {
|
|
343
|
+
content: "\e911";
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.allaw-icon-burger:before {
|
|
347
|
+
content: "\e912";
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.allaw-icon-star-fill:before {
|
|
351
|
+
content: "\e913";
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.allaw-icon-star-unfill:before {
|
|
355
|
+
content: "\e914";
|
|
356
|
+
}
|