@topvisor/ui 0.0.9 → 0.0.11
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/README.md +11 -5
- package/c/button/button.amd.js +27 -32
- package/c/button/button.amd.js.map +1 -1
- package/c/button/button.js +28 -33
- package/c/button/button.js.map +1 -1
- package/c/checkbox/checkbox.amd.js +58 -0
- package/c/checkbox/checkbox.amd.js.map +1 -0
- package/c/checkbox/checkbox.js +59 -0
- package/c/checkbox/checkbox.js.map +1 -0
- package/c/example/example.amd.js +7 -7
- package/c/example/example.js +7 -7
- package/c/icon/icon.amd.js +22 -0
- package/c/icon/icon.amd.js.map +1 -0
- package/c/icon/icon.js +22 -0
- package/c/icon/icon.js.map +1 -0
- package/c/style.css +169 -76
- package/core.css +291 -106
- package/dark.css +12 -12
- package/icomoon/demo-files/Read Me.txt +7 -0
- package/icomoon/demo-files/demo.css +161 -0
- package/icomoon/demo-files/demo.js +30 -0
- package/icomoon/demo.html +2931 -0
- package/icomoon/fonts/Topvisor-2.svg +232 -0
- package/icomoon/fonts/Topvisor-2.ttf +0 -0
- package/icomoon/fonts/Topvisor-2.woff +0 -0
- package/icomoon/selection.json +1 -0
- package/icomoon/style.css +644 -0
- package/l/common/common.amd.js +23 -0
- package/l/common/common.amd.js.map +1 -0
- package/l/common/common.js +22 -0
- package/l/common/common.js.map +1 -0
- package/l/forms/forms.amd.js +66 -56
- package/l/forms/forms.amd.js.map +1 -1
- package/l/forms/forms.js +67 -57
- package/l/forms/forms.js.map +1 -1
- package/l/style.css +162 -76
- package/light.css +15 -15
- package/package.json +22 -22
package/core.css
CHANGED
|
@@ -201,178 +201,363 @@
|
|
|
201
201
|
--color-top-50: #A6E0A3;
|
|
202
202
|
--color-top-100: #C7D7D7;
|
|
203
203
|
--color-top-10000: #FCC94A;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
|
|
204
|
+
}.top-comment {
|
|
205
|
+
color: var(--color-gray-350);
|
|
206
|
+
font-size: 12px;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.top-title {
|
|
210
|
+
margin: 1em 0;
|
|
211
|
+
font-weight: 600;
|
|
212
|
+
}:root {
|
|
213
|
+
--top-font-size: 14px;
|
|
214
|
+
|
|
215
|
+
--top-forms-radius: 8px;
|
|
216
|
+
--top-forms-border-width: 1px;
|
|
217
|
+
--top-style_outline-color: transparent;
|
|
207
218
|
|
|
208
|
-
|
|
209
|
-
|
|
219
|
+
--top-forms-base-height: 32px;
|
|
220
|
+
/* базовая высота поля, должна быть одинаковой у всех форм в одном контексте */
|
|
221
|
+
--top-forms-base-height_l: 36px;
|
|
222
|
+
--top-forms-base-height_xl: 40px;
|
|
210
223
|
|
|
211
|
-
|
|
212
|
-
--
|
|
213
|
-
--
|
|
214
|
-
--g-style_outline-color: transparent;
|
|
224
|
+
--top-forms-padding: 8px;
|
|
225
|
+
--top-forms-padding_l: 12px;
|
|
226
|
+
--top-forms-padding_xl: 16px;
|
|
215
227
|
|
|
216
|
-
--
|
|
217
|
-
--g-forms-base-height_l: 36px;
|
|
218
|
-
--g-forms-base-height_xl: 40px;
|
|
228
|
+
--top-forms-padding_xl: 16px;
|
|
219
229
|
|
|
220
|
-
|
|
221
|
-
--
|
|
222
|
-
--
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
230
|
+
/* top-radio */
|
|
231
|
+
--top-radio-color: var(--color-primary);
|
|
232
|
+
--top-radio-color-hover: var(--color-primary-2);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
button,
|
|
236
|
+
input,
|
|
237
|
+
textarea,
|
|
238
|
+
select{
|
|
239
|
+
border: 1px solid var(--top-forms-border-color);
|
|
240
|
+
color: var(--top-forms-color);
|
|
241
|
+
font-size: var(--top-font-size);
|
|
242
|
+
font-family: inherit;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.top-button,
|
|
246
|
+
.top-input_input,
|
|
247
|
+
.top-checkbox_input,
|
|
248
|
+
.top-radio_input,
|
|
249
|
+
textarea.top-el,
|
|
250
|
+
.top-select_select {
|
|
251
|
+
display: inline-block;
|
|
252
|
+
vertical-align: middle;
|
|
253
|
+
appearance: none;
|
|
254
|
+
-webkit-appearance: none;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.top-input_input,
|
|
258
|
+
textarea.top-el,
|
|
259
|
+
.top-select_select {
|
|
260
|
+
border: 1px solid var(--top-forms-border-color);
|
|
261
|
+
color: var(--top-forms-color);
|
|
227
262
|
}
|
|
228
263
|
|
|
229
264
|
/* placeholder для textarea */
|
|
230
|
-
[contenteditable][placeholder]:empty:before{
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
[type="text"].
|
|
236
|
-
[type="number"].
|
|
237
|
-
[type="date"].
|
|
238
|
-
[type="email"].
|
|
239
|
-
[type="password"].
|
|
240
|
-
textarea.
|
|
241
|
-
select.
|
|
242
|
-
.top-button{
|
|
265
|
+
[contenteditable][placeholder]:empty:before {
|
|
266
|
+
content: attr(placeholder);
|
|
267
|
+
color: var(--color-text-secondary);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
[type="text"].top-el,
|
|
271
|
+
[type="number"].top-el,
|
|
272
|
+
[type="date"].top-el,
|
|
273
|
+
[type="email"].top-el,
|
|
274
|
+
[type="password"].top-el,
|
|
275
|
+
textarea.top-el,
|
|
276
|
+
select.top-el,
|
|
277
|
+
.top-button {
|
|
243
278
|
box-sizing: border-box;
|
|
244
|
-
border-radius: var(--
|
|
279
|
+
border-radius: var(--top-forms-radius);
|
|
280
|
+
border: var(--top-forms-border-width) solid var(--top-forms-border-color);
|
|
281
|
+
height: var(--top-forms-base-height);
|
|
245
282
|
padding: 0;
|
|
246
|
-
padding-right: calc(var(--
|
|
247
|
-
padding-left: calc(max(var(--
|
|
283
|
+
padding-right: calc(var(--top-forms-padding) + var(--top-forms_clear-width) + var(--top-select_arrow-width));
|
|
284
|
+
padding-left: calc(max(var(--top-forms-padding), var(--top-icon-both-width)));
|
|
248
285
|
|
|
249
286
|
transition: border-color 150ms;
|
|
250
287
|
}
|
|
251
288
|
|
|
289
|
+
[type="text"].top-el,
|
|
290
|
+
[type="number"].top-el,
|
|
291
|
+
[type="date"].top-el,
|
|
292
|
+
[type="email"].top-el,
|
|
293
|
+
[type="password"].top-el,
|
|
294
|
+
[type="checkbox"].top-el,
|
|
295
|
+
[type="radio"].top-el,
|
|
296
|
+
textarea.top-el,
|
|
297
|
+
.top-input,
|
|
298
|
+
select.top-el,
|
|
299
|
+
i.top-el,
|
|
300
|
+
span.top-el {
|
|
301
|
+
color: var(--top-forms-color);
|
|
302
|
+
white-space: nowrap;
|
|
303
|
+
display: inline-flex;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
[type="checkbox"][class*="top"],
|
|
307
|
+
[type="radio"][class*="top"] {
|
|
308
|
+
padding: 8px 0;
|
|
309
|
+
line-height: 1.3;
|
|
310
|
+
}
|
|
311
|
+
|
|
252
312
|
.top-button:not(:disabled):focus-visible,
|
|
253
313
|
[type="checkbox"]:focus-visible,
|
|
254
|
-
[type="radio"]:focus-visible{
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
314
|
+
[type="radio"]:focus-visible {
|
|
315
|
+
outline: 2px solid var(--top-radio-color);
|
|
316
|
+
outline-offset: 2px;
|
|
317
|
+
position: relative;
|
|
318
|
+
z-index: 1;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
[type="checkbox"]:before,
|
|
322
|
+
[type="checkbox"]:after,
|
|
323
|
+
[type="radio"]:before,
|
|
324
|
+
[type="radio"]:after,
|
|
325
|
+
.top-select:before {
|
|
326
|
+
vertical-align: middle;
|
|
327
|
+
display: inline-block;
|
|
328
|
+
}
|
|
258
329
|
|
|
259
|
-
|
|
260
|
-
|
|
330
|
+
/* [type="checkbox"].top-el,
|
|
331
|
+
[type="radio"].top-el{
|
|
332
|
+
background: none; width: auto; height: auto; min-height: var(--top-forms-base-height);
|
|
333
|
+
text-indent: 0;
|
|
334
|
+
} */
|
|
261
335
|
|
|
262
|
-
|
|
336
|
+
/* label checkbox, label radio */
|
|
337
|
+
label.top-checkbox,
|
|
338
|
+
label.top-radio {
|
|
339
|
+
cursor: pointer;
|
|
340
|
+
padding: 8px 0;
|
|
341
|
+
color: var(--top-forms-color);
|
|
342
|
+
line-height: 1.3;
|
|
343
|
+
display: inline-flex;
|
|
344
|
+
align-items: flex-start;
|
|
345
|
+
gap: 8px;
|
|
263
346
|
}
|
|
264
347
|
|
|
265
|
-
|
|
266
|
-
[
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
348
|
+
label.top-checkbox > [type="checkbox"][class*="top"],
|
|
349
|
+
label.top-radio > [type="radio"][class*="top"] {
|
|
350
|
+
min-height: unset !important;
|
|
351
|
+
padding: 0;
|
|
352
|
+
margin: 0;
|
|
270
353
|
}
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
354
|
+
|
|
355
|
+
.top-checkbox_caption[data-top-icon]:before,
|
|
356
|
+
.top-radio_caption[data-top-icon]:before {
|
|
357
|
+
height: 16px;
|
|
275
358
|
}
|
|
276
|
-
[data-g-icon=""]{ --g-icon-width: 0px; }
|
|
277
|
-
[data-g-icon2=""]{ --g-icon2-width: 0px; }
|
|
278
359
|
|
|
279
|
-
|
|
280
|
-
[
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
border
|
|
284
|
-
|
|
285
|
-
color: var(--g-icon-color); font-family: Topvisor-2; font-size: var(--g-icon-size); font-weight: 400; line-height: 1;
|
|
286
|
-
display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
|
|
360
|
+
/* checkbox, radio */
|
|
361
|
+
[type="checkbox"].top-el,
|
|
362
|
+
[type="radio"].top-el {
|
|
363
|
+
cursor: pointer;
|
|
364
|
+
border: none;
|
|
365
|
+
white-space: normal;
|
|
287
366
|
}
|
|
288
|
-
[
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
367
|
+
[type="checkbox"].top-el:before,
|
|
368
|
+
[type="radio"].top-el:before {
|
|
369
|
+
flex-shrink: 0;
|
|
370
|
+
}
|
|
371
|
+
[type="checkbox"][title].top-el:after,
|
|
372
|
+
[type="checkbox"][title].top-checkbox_input-switcher:after,
|
|
373
|
+
[type="radio"][title].top-el:after {
|
|
374
|
+
content: attr(title);
|
|
375
|
+
margin-left: 8px;
|
|
293
376
|
}
|
|
294
377
|
|
|
295
|
-
|
|
296
|
-
[data-
|
|
297
|
-
|
|
378
|
+
[type="checkbox"][data-top-icon]:not(.top-checkbox_input-switcher),
|
|
379
|
+
[type="radio"][data-top-icon]:not(.top-radioGroup_item) {
|
|
380
|
+
--top-icon-size: 24px;
|
|
381
|
+
}
|
|
382
|
+
[type="checkbox"][data-top-icon]:not(.top-checkbox_input-switcher):before,
|
|
383
|
+
[type="radio"][data-top-icon]:not(.top-radioGroup_item):before {
|
|
384
|
+
text-indent: calc(18px + 4px);
|
|
385
|
+
}
|
|
386
|
+
[type="checkbox"][data-top-icon].top-el:not(.top-checkbox_input-switcher):after,
|
|
387
|
+
[type="radio"][data-top-icon].top-el:not(.top-radioGroup_item):after {
|
|
388
|
+
text-indent: var(--top-icon-both-width);
|
|
389
|
+
}
|
|
298
390
|
|
|
299
391
|
/* убрать ширину добавляемых элементов */
|
|
300
|
-
label.
|
|
301
|
-
label.
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
label.
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
392
|
+
label.top-el[data-top-icon],
|
|
393
|
+
label.top-el[data-top-icon2] {
|
|
394
|
+
position: relative;
|
|
395
|
+
}
|
|
396
|
+
label.top-el[data-top-icon]:before,
|
|
397
|
+
label.top-el[data-top-icon2]:after {
|
|
398
|
+
position: absolute;
|
|
399
|
+
z-index: 3;
|
|
400
|
+
}
|
|
401
|
+
label.top-el[data-top-icon][data-top-icon2]:after {
|
|
402
|
+
left: calc(var(--top-icon-width));
|
|
403
|
+
}:root {
|
|
404
|
+
--top-icon-size: 0px;
|
|
405
|
+
--top-icon-width: 0px;
|
|
406
|
+
|
|
407
|
+
--top-icon2-size: 0px;
|
|
408
|
+
--top-icon2-width: 0px;
|
|
409
|
+
|
|
410
|
+
--top-icon-both-width: 0px;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/* data-top-icon */
|
|
414
|
+
[data-top-icon] {
|
|
415
|
+
--top-icon-size: 24px;
|
|
416
|
+
--top-icon-width: calc(var(--top-icon-size) + var(--top-forms-padding));
|
|
417
|
+
--top-icon-color: inherit;
|
|
418
|
+
}
|
|
419
|
+
[data-top-icon2] {
|
|
420
|
+
--top-icon2-size: 24px;
|
|
421
|
+
--top-icon2-width: calc(var(--top-icon2-size) + 8px);
|
|
422
|
+
--top-icon2-color: inherit;
|
|
423
|
+
}
|
|
424
|
+
[data-top-icon=""] {
|
|
425
|
+
--top-icon-width: 0px;
|
|
426
|
+
}
|
|
427
|
+
[data-top-icon2=""] {
|
|
428
|
+
--top-icon2-width: 0px;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
[data-top-icon]:before,
|
|
432
|
+
[data-top-icon2]:after {
|
|
433
|
+
pointer-events: none;
|
|
434
|
+
content: attr(data-top-icon);
|
|
435
|
+
border-radius: var(--top-forms-radius);
|
|
436
|
+
width: var(--top-icon-width);
|
|
437
|
+
color: var(--top-icon-color);
|
|
438
|
+
font-family: Topvisor-2;
|
|
439
|
+
font-size: var(--top-icon-size);
|
|
440
|
+
font-weight: 400;
|
|
441
|
+
line-height: 1;
|
|
442
|
+
display: inline-flex;
|
|
443
|
+
align-items: center;
|
|
444
|
+
justify-content: center;
|
|
445
|
+
flex-shrink: 0;
|
|
446
|
+
}
|
|
447
|
+
[data-top-icon2]:after {
|
|
448
|
+
content: attr(data-top-icon2);
|
|
449
|
+
width: var(--top-icon2-width);
|
|
450
|
+
color: var(--top-icon2-color);
|
|
451
|
+
font-size: var(--top-icon2-size);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/* ширина добавляемых элементов */
|
|
455
|
+
[data-top-icon],
|
|
456
|
+
[data-top-icon2] {
|
|
457
|
+
--top-icon-both-width: calc(var(--top-icon-width) + var(--top-icon2-width));
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
[data-top-icon=""]:before {
|
|
461
|
+
font-family: Topvisor;
|
|
462
|
+
}.top-ellipsis {
|
|
308
463
|
max-height: 100%;
|
|
309
464
|
text-overflow: ellipsis;
|
|
310
465
|
overflow: hidden;
|
|
311
466
|
line-height: 1.23;
|
|
312
467
|
flex-grow: 1;
|
|
313
468
|
}
|
|
314
|
-
.
|
|
315
|
-
.
|
|
469
|
+
.top-ellipsis2,
|
|
470
|
+
.top-ellipsis3 {
|
|
316
471
|
max-width: fit-content;
|
|
317
472
|
display: -webkit-box;
|
|
318
473
|
-webkit-line-clamp: 2;
|
|
319
474
|
-webkit-box-orient: vertical;
|
|
320
475
|
overflow: hidden;
|
|
321
476
|
}
|
|
322
|
-
.
|
|
477
|
+
.top-ellipsis3 {
|
|
323
478
|
-webkit-line-clamp: 3;
|
|
324
|
-
}/*
|
|
325
|
-
.
|
|
479
|
+
}/* top-inited используется для блокировки элементов, js к которым еще не привязан, настраивается в каждом модуле отдельно */
|
|
480
|
+
.top-inited {}
|
|
326
481
|
|
|
327
|
-
.
|
|
482
|
+
.top-hidden {
|
|
483
|
+
display: none !important;
|
|
484
|
+
}
|
|
328
485
|
|
|
329
|
-
/*
|
|
330
|
-
.
|
|
486
|
+
/* top-unvisible используется для скрытия элементов, без изменения видимости */
|
|
487
|
+
.top-unvisible {
|
|
488
|
+
width: 0;
|
|
489
|
+
height: 0;
|
|
490
|
+
overflow: hidden;
|
|
491
|
+
position: absolute;
|
|
492
|
+
}
|
|
331
493
|
|
|
332
|
-
.
|
|
494
|
+
.top-loading {}
|
|
495
|
+
|
|
496
|
+
.top-disabled {
|
|
497
|
+
pointer-events: none;
|
|
498
|
+
}
|
|
333
499
|
|
|
334
|
-
.
|
|
335
|
-
.
|
|
336
|
-
.
|
|
337
|
-
--
|
|
500
|
+
.top-error,
|
|
501
|
+
.top-error::placeholder,
|
|
502
|
+
.top-error:before {
|
|
503
|
+
--top-forms-border-color: var(--color-negative);
|
|
338
504
|
|
|
339
505
|
border-color: var(--color-negative);
|
|
340
506
|
}
|
|
341
|
-
.
|
|
342
|
-
--
|
|
507
|
+
.top-error {
|
|
508
|
+
--top-icon-color: var(--color-negative);
|
|
343
509
|
|
|
344
510
|
color: var(--color-negative);
|
|
345
511
|
}
|
|
346
|
-
.
|
|
512
|
+
.top-error ~ .top-forms-caption {
|
|
513
|
+
color: var(--color-negative);
|
|
514
|
+
}
|
|
347
515
|
|
|
348
|
-
.
|
|
349
|
-
--
|
|
516
|
+
.top-warning {
|
|
517
|
+
--top-icon-color: var(--color-orange-500);
|
|
350
518
|
|
|
351
519
|
color: var(--color-orange-500);
|
|
352
520
|
}
|
|
353
521
|
|
|
354
|
-
input.
|
|
522
|
+
input.top-error {
|
|
523
|
+
animation: top-error 0.3s;
|
|
524
|
+
}
|
|
355
525
|
|
|
356
|
-
@keyframes
|
|
357
|
-
0%{
|
|
358
|
-
30%{
|
|
359
|
-
|
|
526
|
+
@keyframes top-error {
|
|
527
|
+
0% {}
|
|
528
|
+
30% {
|
|
529
|
+
box-shadow: inset var(--color-red-200) 0 0 20px;
|
|
530
|
+
}
|
|
531
|
+
100% {}
|
|
360
532
|
}@media only screen and (min-width: 900px) {
|
|
361
|
-
.
|
|
533
|
+
.top-only-mobile {
|
|
362
534
|
display: none !important;
|
|
363
535
|
}
|
|
364
536
|
}
|
|
365
537
|
@media only screen and (max-width: 900px) {
|
|
366
|
-
.
|
|
538
|
+
.top-only-pc {
|
|
367
539
|
display: none !important;
|
|
368
540
|
}
|
|
369
541
|
}
|
|
370
542
|
|
|
371
|
-
html:not([lang="ru"]) .
|
|
372
|
-
html:not([lang="en"]) .
|
|
543
|
+
html:not([lang="ru"]) .top-only-ru,
|
|
544
|
+
html:not([lang="en"]) .top-only-en {
|
|
373
545
|
display: none !important;
|
|
374
546
|
}
|
|
375
547
|
|
|
376
|
-
html[data-is_admin="0"] .
|
|
548
|
+
html[data-is_admin="0"] .top-only-admin {
|
|
377
549
|
display: none !important;
|
|
378
|
-
}
|
|
550
|
+
}/* TODO: перенести в компонент */
|
|
551
|
+
.top-select_arrow{
|
|
552
|
+
--top-select_arrow-color: var(--color-gray-600);
|
|
553
|
+
--top-select_arrow-size: 12px;
|
|
554
|
+
--top-select_arrow-width: 24px;
|
|
555
|
+
|
|
556
|
+
background-image: url("data:image/svg+xml,%3Csvg width='16' height='9' viewBox='0 0 16 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.293 0.29269L8 6.5857L1.70704 0.29269C1.31679 -0.0975633 0.682937 -0.0975633 0.292687 0.29269C-0.0975624 0.682943 -0.0975624 1.31656 0.292687 1.70682L7.29294 8.70713C7.68343 9.09762 8.31657 9.09762 8.70706 8.70713L15.7073 1.70682C16.0976 1.31656 16.0976 0.682943 15.7073 0.29269C15.3171 -0.0975633 14.6832 -0.0975633 14.293 0.29269Z' fill='%23808A99'/%3E%3C/svg%3E");
|
|
557
|
+
background-size: 14px;
|
|
558
|
+
background-position: calc(100% - var(--top-forms-padding)) 50%;
|
|
559
|
+
background-repeat: no-repeat;
|
|
560
|
+
padding-right: 32px;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.top-select_arrow ~ [data-action="top-input_clear"]{ --top-select_arrow-width: 24px; }
|
package/dark.css
CHANGED
|
@@ -88,29 +88,29 @@
|
|
|
88
88
|
--color-theme-975: rgba(250, 251, 252, 1);
|
|
89
89
|
--color-theme-1000: rgba(255, 255, 255, 1);
|
|
90
90
|
|
|
91
|
-
/*
|
|
92
|
-
--
|
|
91
|
+
/* top-shadow */
|
|
92
|
+
--top-shadow-s:
|
|
93
93
|
0px 0px 3px rgba(0, 0, 0, 0.07),
|
|
94
94
|
0px 5px 25px rgba(0, 0, 0, 0.12);
|
|
95
|
-
--
|
|
95
|
+
--top-shadow:
|
|
96
96
|
0px 0px 3px rgba(0, 0, 0, 0.07),
|
|
97
97
|
0px 5px 25px rgba(0, 0, 0, 0.3);
|
|
98
|
-
--
|
|
98
|
+
--top-shadow-b:
|
|
99
99
|
0px 0px 4px rgba(0, 0, 0, 0.08),
|
|
100
100
|
0px 18px 32px rgba(0, 0, 0, 0.18);
|
|
101
101
|
|
|
102
|
-
--
|
|
103
|
-
--
|
|
104
|
-
--
|
|
102
|
+
--top-shadow-darken: inset 1000px 1000px 1000px 1000px rgba(0, 0, 0, 0.03);
|
|
103
|
+
--top-shadow-darken-2: inset 1000px 1000px 1000px 1000px rgba(0, 0, 0, 0.07);
|
|
104
|
+
--top-shadow-darken-3: inset 1000px 1000px 1000px 1000px rgba(0, 0, 0, 0.14);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
/* forms */
|
|
108
108
|
:root {
|
|
109
|
-
--
|
|
109
|
+
--top-forms-color: var(--color-text);
|
|
110
110
|
|
|
111
|
-
--
|
|
112
|
-
--
|
|
111
|
+
--top-forms-border-color: var(--color-line-1-opacity);
|
|
112
|
+
--top-forms-border-color-hover: var(--color-line-2-opacity);
|
|
113
113
|
|
|
114
|
-
--
|
|
115
|
-
--
|
|
114
|
+
--top-forms-background-color: var(--color-bg-3);
|
|
115
|
+
--top-forms-background-color-hover: var(--color-bg-3);
|
|
116
116
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures.
|
|
2
|
+
|
|
3
|
+
To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/#docs/local-fonts
|
|
4
|
+
|
|
5
|
+
You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects.
|
|
6
|
+
|
|
7
|
+
You can import *selection.json* back to the IcoMoon app using the *Import Icons* button (or via Main Menu → Manage Projects) to retrieve your icon selection.
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
body {
|
|
2
|
+
padding: 0;
|
|
3
|
+
margin: 0;
|
|
4
|
+
font-family: sans-serif;
|
|
5
|
+
font-size: 1em;
|
|
6
|
+
line-height: 1.5;
|
|
7
|
+
color: #555;
|
|
8
|
+
background: #fff;
|
|
9
|
+
}
|
|
10
|
+
h1 {
|
|
11
|
+
font-size: 1.5em;
|
|
12
|
+
font-weight: normal;
|
|
13
|
+
}
|
|
14
|
+
small {
|
|
15
|
+
font-size: .66666667em;
|
|
16
|
+
}
|
|
17
|
+
a {
|
|
18
|
+
color: #e74c3c;
|
|
19
|
+
text-decoration: none;
|
|
20
|
+
}
|
|
21
|
+
a:hover, a:focus {
|
|
22
|
+
box-shadow: 0 1px #e74c3c;
|
|
23
|
+
}
|
|
24
|
+
.bshadow0, input {
|
|
25
|
+
box-shadow: inset 0 -2px #e7e7e7;
|
|
26
|
+
}
|
|
27
|
+
input:hover {
|
|
28
|
+
box-shadow: inset 0 -2px #ccc;
|
|
29
|
+
}
|
|
30
|
+
input, fieldset {
|
|
31
|
+
font-family: sans-serif;
|
|
32
|
+
font-size: 1em;
|
|
33
|
+
margin: 0;
|
|
34
|
+
padding: 0;
|
|
35
|
+
border: 0;
|
|
36
|
+
}
|
|
37
|
+
input {
|
|
38
|
+
color: inherit;
|
|
39
|
+
line-height: 1.5;
|
|
40
|
+
height: 1.5em;
|
|
41
|
+
padding: .25em 0;
|
|
42
|
+
}
|
|
43
|
+
input:focus {
|
|
44
|
+
outline: none;
|
|
45
|
+
box-shadow: inset 0 -2px #449fdb;
|
|
46
|
+
}
|
|
47
|
+
.glyph {
|
|
48
|
+
font-size: 16px;
|
|
49
|
+
width: 15em;
|
|
50
|
+
padding-bottom: 1em;
|
|
51
|
+
margin-right: 4em;
|
|
52
|
+
margin-bottom: 1em;
|
|
53
|
+
float: left;
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
}
|
|
56
|
+
.liga {
|
|
57
|
+
width: 80%;
|
|
58
|
+
width: calc(100% - 2.5em);
|
|
59
|
+
}
|
|
60
|
+
.talign-right {
|
|
61
|
+
text-align: right;
|
|
62
|
+
}
|
|
63
|
+
.talign-center {
|
|
64
|
+
text-align: center;
|
|
65
|
+
}
|
|
66
|
+
.bgc1 {
|
|
67
|
+
background: #f1f1f1;
|
|
68
|
+
}
|
|
69
|
+
.fgc1 {
|
|
70
|
+
color: #999;
|
|
71
|
+
}
|
|
72
|
+
.fgc0 {
|
|
73
|
+
color: #000;
|
|
74
|
+
}
|
|
75
|
+
p {
|
|
76
|
+
margin-top: 1em;
|
|
77
|
+
margin-bottom: 1em;
|
|
78
|
+
}
|
|
79
|
+
.mvm {
|
|
80
|
+
margin-top: .75em;
|
|
81
|
+
margin-bottom: .75em;
|
|
82
|
+
}
|
|
83
|
+
.mtn {
|
|
84
|
+
margin-top: 0;
|
|
85
|
+
}
|
|
86
|
+
.mtl, .mal {
|
|
87
|
+
margin-top: 1.5em;
|
|
88
|
+
}
|
|
89
|
+
.mbl, .mal {
|
|
90
|
+
margin-bottom: 1.5em;
|
|
91
|
+
}
|
|
92
|
+
.mal, .mhl {
|
|
93
|
+
margin-left: 1.5em;
|
|
94
|
+
margin-right: 1.5em;
|
|
95
|
+
}
|
|
96
|
+
.mhmm {
|
|
97
|
+
margin-left: 1em;
|
|
98
|
+
margin-right: 1em;
|
|
99
|
+
}
|
|
100
|
+
.mls {
|
|
101
|
+
margin-left: .25em;
|
|
102
|
+
}
|
|
103
|
+
.ptl {
|
|
104
|
+
padding-top: 1.5em;
|
|
105
|
+
}
|
|
106
|
+
.pbs, .pvs {
|
|
107
|
+
padding-bottom: .25em;
|
|
108
|
+
}
|
|
109
|
+
.pvs, .pts {
|
|
110
|
+
padding-top: .25em;
|
|
111
|
+
}
|
|
112
|
+
.unit {
|
|
113
|
+
float: left;
|
|
114
|
+
}
|
|
115
|
+
.unitRight {
|
|
116
|
+
float: right;
|
|
117
|
+
}
|
|
118
|
+
.size1of2 {
|
|
119
|
+
width: 50%;
|
|
120
|
+
}
|
|
121
|
+
.size1of1 {
|
|
122
|
+
width: 100%;
|
|
123
|
+
}
|
|
124
|
+
.clearfix:before, .clearfix:after {
|
|
125
|
+
content: " ";
|
|
126
|
+
display: table;
|
|
127
|
+
}
|
|
128
|
+
.clearfix:after {
|
|
129
|
+
clear: both;
|
|
130
|
+
}
|
|
131
|
+
.hidden-true {
|
|
132
|
+
display: none;
|
|
133
|
+
}
|
|
134
|
+
.textbox0 {
|
|
135
|
+
width: 3em;
|
|
136
|
+
background: #f1f1f1;
|
|
137
|
+
padding: .25em .5em;
|
|
138
|
+
line-height: 1.5;
|
|
139
|
+
height: 1.5em;
|
|
140
|
+
}
|
|
141
|
+
#testDrive {
|
|
142
|
+
display: block;
|
|
143
|
+
padding-top: 24px;
|
|
144
|
+
line-height: 1.5;
|
|
145
|
+
}
|
|
146
|
+
.fs0 {
|
|
147
|
+
font-size: 16px;
|
|
148
|
+
}
|
|
149
|
+
.fs1 {
|
|
150
|
+
font-size: 32px;
|
|
151
|
+
}
|
|
152
|
+
.fs2 {
|
|
153
|
+
font-size: 14px;
|
|
154
|
+
}
|
|
155
|
+
.fs3 {
|
|
156
|
+
font-size: 14px;
|
|
157
|
+
}
|
|
158
|
+
.fs4 {
|
|
159
|
+
font-size: 8px;
|
|
160
|
+
}
|
|
161
|
+
|