lakelib 0.3.5 → 0.3.6
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 +1 -1
- package/dist/lake.min.js +1 -1
- package/dist/lake.min.js.map +1 -1
- package/lib/lake.css +145 -0
- package/lib/lake.d.ts +17 -13
- package/lib/lake.js +38 -32
- package/lib/lake.js.map +1 -1
- package/package.json +8 -8
package/lib/lake.css
CHANGED
|
@@ -263,13 +263,16 @@ button.lake-button {
|
|
|
263
263
|
cursor: pointer;
|
|
264
264
|
user-select: none;
|
|
265
265
|
}
|
|
266
|
+
|
|
266
267
|
button.lake-button:focus-visible {
|
|
267
268
|
outline: var(--lake-button-outline);
|
|
268
269
|
}
|
|
270
|
+
|
|
269
271
|
button.lake-button[disabled] {
|
|
270
272
|
opacity: 0.25;
|
|
271
273
|
cursor: default;
|
|
272
274
|
}
|
|
275
|
+
|
|
273
276
|
button.lake-button svg,
|
|
274
277
|
button.lake-button img {
|
|
275
278
|
display: inline-block;
|
|
@@ -277,42 +280,52 @@ button.lake-button img {
|
|
|
277
280
|
height: 16px;
|
|
278
281
|
margin: 6px;
|
|
279
282
|
}
|
|
283
|
+
|
|
280
284
|
button.lake-button svg {
|
|
281
285
|
fill: var(--lake-text-color);
|
|
282
286
|
}
|
|
287
|
+
|
|
283
288
|
button.lake-icon-button.lake-button-hovered {
|
|
284
289
|
background-color: var(--lake-button-background-hover-color);
|
|
285
290
|
}
|
|
291
|
+
|
|
286
292
|
button.lake-icon-button.lake-button-selected {
|
|
287
293
|
background-color: var(--lake-button-background-active-color);
|
|
288
294
|
}
|
|
295
|
+
|
|
289
296
|
button.lake-text-button {
|
|
290
297
|
background-color: transparent;
|
|
291
298
|
border: 1px solid var(--lake-button-border-color);
|
|
292
299
|
padding: 8px 16px;
|
|
293
300
|
line-height: normal;
|
|
294
301
|
}
|
|
302
|
+
|
|
295
303
|
button.lake-text-button.lake-button-hovered {
|
|
296
304
|
background-color: var(--lake-button-background-hover-color);
|
|
297
305
|
}
|
|
306
|
+
|
|
298
307
|
button.lake-text-button.lake-button-selected {
|
|
299
308
|
background-color: var(--lake-button-background-active-color);
|
|
300
309
|
}
|
|
310
|
+
|
|
301
311
|
button.lake-text-button svg {
|
|
302
312
|
background-color: transparent;
|
|
303
313
|
margin: 0 6px 0 0;
|
|
304
314
|
vertical-align: middle;
|
|
305
315
|
}
|
|
316
|
+
|
|
306
317
|
button.lake-text-button span {
|
|
307
318
|
display: inline-block;
|
|
308
319
|
line-height: 16px;
|
|
309
320
|
vertical-align: middle;
|
|
310
321
|
}
|
|
322
|
+
|
|
311
323
|
button.lake-primary-button {
|
|
312
324
|
color: #fff;
|
|
313
325
|
border-color: transparent;
|
|
314
326
|
background-color: #5672cd;
|
|
315
327
|
}
|
|
328
|
+
|
|
316
329
|
button.lake-primary-button.lake-button-hovered {
|
|
317
330
|
background-color: #3a5ccc;
|
|
318
331
|
}
|
|
@@ -324,6 +337,7 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
324
337
|
font-size: var(--lake-button-font-size);
|
|
325
338
|
user-select: none;
|
|
326
339
|
}
|
|
340
|
+
|
|
327
341
|
.lake-dropdown button.lake-dropdown-title {
|
|
328
342
|
border-radius: 5px;
|
|
329
343
|
border: 0;
|
|
@@ -338,18 +352,22 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
338
352
|
margin-right: 4px;
|
|
339
353
|
cursor: pointer;
|
|
340
354
|
}
|
|
355
|
+
|
|
341
356
|
.lake-dropdown[disabled] button.lake-dropdown-title {
|
|
342
357
|
opacity: 0.25;
|
|
343
358
|
cursor: default;
|
|
344
359
|
}
|
|
360
|
+
|
|
345
361
|
.lake-dropdown.lake-list-dropdown button.lake-dropdown-title-hovered,
|
|
346
362
|
.lake-dropdown.lake-icon-dropdown button.lake-dropdown-title-hovered,
|
|
347
363
|
.lake-dropdown.lake-character-dropdown button.lake-dropdown-title-hovered {
|
|
348
364
|
background-color: var(--lake-button-background-hover-color);
|
|
349
365
|
}
|
|
366
|
+
|
|
350
367
|
.lake-dropdown button.lake-dropdown-title.lake-dropdown-title-no-down {
|
|
351
368
|
margin-right: 0;
|
|
352
369
|
}
|
|
370
|
+
|
|
353
371
|
.lake-dropdown .lake-dropdown-text {
|
|
354
372
|
height: 16px;
|
|
355
373
|
line-height: normal;
|
|
@@ -358,49 +376,60 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
358
376
|
white-space: nowrap;
|
|
359
377
|
color: var(--lake-text-color);
|
|
360
378
|
}
|
|
379
|
+
|
|
361
380
|
.lake-dropdown .lake-dropdown-icon {
|
|
362
381
|
position: relative;
|
|
363
382
|
line-height: 0;
|
|
364
383
|
border-radius: 5px 0 0 5px;
|
|
365
384
|
}
|
|
385
|
+
|
|
366
386
|
.lake-dropdown .lake-dropdown-icon-hovered {
|
|
367
387
|
background-color: var(--lake-button-background-hover-color);
|
|
368
388
|
}
|
|
389
|
+
|
|
369
390
|
.lake-dropdown .lake-dropdown-icon svg,
|
|
370
391
|
.lake-dropdown .lake-dropdown-icon img {
|
|
371
392
|
width: 16px;
|
|
372
393
|
height: 16px;
|
|
373
394
|
margin: 6px 2px 6px 4px;
|
|
374
395
|
}
|
|
396
|
+
|
|
375
397
|
.lake-dropdown .lake-dropdown-icon svg {
|
|
376
398
|
fill: var(--lake-text-color);
|
|
377
399
|
}
|
|
400
|
+
|
|
378
401
|
.lake-dropdown.lake-color-dropdown .lake-dropdown-icon svg:last-child {
|
|
379
402
|
position: absolute;
|
|
380
403
|
left: 0;
|
|
381
404
|
bottom: 0;
|
|
382
405
|
fill: none;
|
|
383
406
|
}
|
|
407
|
+
|
|
384
408
|
.lake-dropdown button.lake-dropdown-title-no-down .lake-dropdown-icon svg,
|
|
385
409
|
.lake-dropdown button.lake-dropdown-title-no-down .lake-dropdown-icon img {
|
|
386
410
|
margin: 6px;
|
|
387
411
|
}
|
|
412
|
+
|
|
388
413
|
.lake-dropdown button.lake-dropdown-title-no-down .lake-dropdown-icon svg {
|
|
389
414
|
fill: var(--lake-text-color);
|
|
390
415
|
}
|
|
416
|
+
|
|
391
417
|
.lake-dropdown .lake-dropdown-down-icon {
|
|
392
418
|
line-height: 0;
|
|
393
419
|
border-radius: 0 5px 5px 0;
|
|
394
420
|
}
|
|
421
|
+
|
|
395
422
|
.lake-dropdown .lake-dropdown-down-icon-hovered {
|
|
396
423
|
background-color: var(--lake-button-background-hover-color);
|
|
397
424
|
}
|
|
425
|
+
|
|
398
426
|
.lake-dropdown .lake-dropdown-down-icon svg {
|
|
399
427
|
width: 12px;
|
|
400
428
|
height: 12px;
|
|
401
429
|
margin: 8px 2px;
|
|
402
430
|
fill: var(--lake-secondary-text-color);
|
|
403
431
|
}
|
|
432
|
+
|
|
404
433
|
/* menu */
|
|
405
434
|
.lake-dropdown .lake-dropdown-menu,
|
|
406
435
|
.lake-dropdown-menu {
|
|
@@ -418,10 +447,12 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
418
447
|
user-select: none;
|
|
419
448
|
display: none;
|
|
420
449
|
}
|
|
450
|
+
|
|
421
451
|
.lake-dropdown-menu.lake-dropdown-menu-with-scroll {
|
|
422
452
|
overflow-y: scroll;
|
|
423
453
|
scrollbar-width: thin;
|
|
424
454
|
}
|
|
455
|
+
|
|
425
456
|
.lake-dropdown .lake-dropdown-menu li,
|
|
426
457
|
.lake-dropdown-menu li {
|
|
427
458
|
display: flex;
|
|
@@ -429,89 +460,112 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
429
460
|
cursor: pointer;
|
|
430
461
|
margin: 0;
|
|
431
462
|
}
|
|
463
|
+
|
|
432
464
|
/* list type */
|
|
433
465
|
.lake-list-dropdown-menu li {
|
|
434
466
|
padding: 6px 24px 6px 10px;
|
|
435
467
|
}
|
|
468
|
+
|
|
436
469
|
.lake-list-dropdown-menu li.lake-dropdown-item-hovered {
|
|
437
470
|
background-color: var(--lake-button-background-hover-color);
|
|
438
471
|
}
|
|
472
|
+
|
|
439
473
|
.lake-list-dropdown-menu li.lake-dropdown-item-selected {
|
|
440
474
|
background-color: var(--lake-button-background-hover-color);
|
|
441
475
|
}
|
|
476
|
+
|
|
442
477
|
.lake-list-dropdown-menu li .lake-dropdown-menu-check {
|
|
443
478
|
line-height: 0;
|
|
444
479
|
visibility: hidden;
|
|
445
480
|
}
|
|
481
|
+
|
|
446
482
|
.lake-list-dropdown-menu li .lake-dropdown-menu-check svg {
|
|
447
483
|
width: 12px;
|
|
448
484
|
height: 12px;
|
|
449
485
|
fill: var(--lake-text-color);
|
|
450
486
|
}
|
|
487
|
+
|
|
451
488
|
.lake-list-dropdown-menu li .lake-dropdown-menu-icon {
|
|
452
489
|
line-height: 0;
|
|
453
490
|
margin-left: 10px;
|
|
454
491
|
}
|
|
492
|
+
|
|
455
493
|
.lake-list-dropdown-menu li .lake-dropdown-menu-icon svg {
|
|
456
494
|
width: 16px;
|
|
457
495
|
height: 16px;
|
|
458
496
|
fill: var(--lake-text-color);
|
|
459
497
|
}
|
|
498
|
+
|
|
460
499
|
.lake-list-dropdown-menu li .lake-dropdown-menu-text {
|
|
461
500
|
margin-left: 10px;
|
|
462
501
|
white-space: nowrap;
|
|
463
502
|
}
|
|
503
|
+
|
|
464
504
|
/* icon type */
|
|
465
505
|
.lake-icon-dropdown-menu {
|
|
466
506
|
flex-wrap: wrap;
|
|
467
507
|
justify-content: center;
|
|
468
508
|
}
|
|
509
|
+
|
|
469
510
|
.lake-icon-dropdown-menu li {
|
|
470
511
|
padding: 0;
|
|
471
512
|
border-radius: 2px;
|
|
472
513
|
}
|
|
514
|
+
|
|
473
515
|
.lake-icon-dropdown-menu li.lake-dropdown-item-hovered {
|
|
474
516
|
background-color: var(--lake-button-background-hover-color);
|
|
475
517
|
}
|
|
518
|
+
|
|
476
519
|
.lake-icon-dropdown-menu li.lake-dropdown-item-selected {
|
|
477
520
|
background-color: var(--lake-button-background-hover-color);
|
|
478
521
|
}
|
|
522
|
+
|
|
479
523
|
.lake-icon-dropdown-menu li .lake-dropdown-menu-check {
|
|
480
524
|
display: none;
|
|
481
525
|
}
|
|
526
|
+
|
|
482
527
|
.lake-icon-dropdown-menu li .lake-dropdown-menu-icon {
|
|
483
528
|
line-height: 0;
|
|
484
529
|
margin: 5px;
|
|
485
530
|
}
|
|
531
|
+
|
|
486
532
|
.lake-icon-dropdown-menu li .lake-dropdown-menu-icon svg,
|
|
487
533
|
.lake-icon-dropdown-menu li .lake-dropdown-menu-icon img {
|
|
488
534
|
width: 32px;
|
|
489
535
|
height: 32px;
|
|
490
536
|
}
|
|
537
|
+
|
|
491
538
|
.lake-icon-dropdown-menu li .lake-dropdown-menu-text {
|
|
492
539
|
display: none;
|
|
493
540
|
}
|
|
541
|
+
|
|
494
542
|
/* character type */
|
|
495
543
|
.lake-character-dropdown-menu {
|
|
496
544
|
flex-wrap: wrap;
|
|
497
545
|
justify-content: center;
|
|
498
546
|
}
|
|
547
|
+
|
|
499
548
|
.lake-character-dropdown-menu li {
|
|
500
549
|
padding: 0;
|
|
501
550
|
border-radius: 2px;
|
|
502
551
|
}
|
|
552
|
+
|
|
503
553
|
.lake-character-dropdown-menu li.lake-dropdown-item-hovered {
|
|
504
554
|
background-color: var(--lake-button-background-hover-color);
|
|
505
555
|
}
|
|
556
|
+
|
|
506
557
|
.lake-character-dropdown-menu li.lake-dropdown-item-selected {
|
|
507
558
|
background-color: var(--lake-button-background-active-color);
|
|
508
559
|
}
|
|
560
|
+
|
|
509
561
|
.lake-character-dropdown-menu li .lake-dropdown-menu-check {
|
|
510
562
|
display: none;
|
|
511
563
|
}
|
|
564
|
+
|
|
512
565
|
.lake-character-dropdown-menu li .lake-dropdown-menu-icon {
|
|
513
566
|
display: none;
|
|
514
567
|
}
|
|
568
|
+
|
|
515
569
|
.lake-character-dropdown-menu li .lake-dropdown-menu-text {
|
|
516
570
|
text-align: center;
|
|
517
571
|
font-size: 24px;
|
|
@@ -519,21 +573,26 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
519
573
|
height: 42px;
|
|
520
574
|
line-height: 42px;
|
|
521
575
|
}
|
|
576
|
+
|
|
522
577
|
/* color type */
|
|
523
578
|
.lake-color-dropdown-menu {
|
|
524
579
|
flex-wrap: wrap;
|
|
525
580
|
justify-content: center;
|
|
526
581
|
}
|
|
582
|
+
|
|
527
583
|
.lake-color-dropdown-menu li {
|
|
528
584
|
position: relative;
|
|
529
585
|
padding: 0;
|
|
530
586
|
}
|
|
587
|
+
|
|
531
588
|
.lake-color-dropdown-menu li.lake-dropdown-item-hovered {
|
|
532
589
|
background-color: var(--lake-button-background-hover-color);
|
|
533
590
|
}
|
|
591
|
+
|
|
534
592
|
.lake-color-dropdown-menu li.lake-dropdown-item-selected {
|
|
535
593
|
background-color: var(--lake-button-background-active-color);
|
|
536
594
|
}
|
|
595
|
+
|
|
537
596
|
.lake-color-dropdown-menu li .lake-dropdown-menu-check {
|
|
538
597
|
position: absolute;
|
|
539
598
|
top: 6px;
|
|
@@ -542,24 +601,29 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
542
601
|
line-height: 0;
|
|
543
602
|
visibility: hidden;
|
|
544
603
|
}
|
|
604
|
+
|
|
545
605
|
.lake-color-dropdown-menu li .lake-dropdown-menu-check svg {
|
|
546
606
|
width: 12px;
|
|
547
607
|
height: 12px;
|
|
548
608
|
fill: #fff;
|
|
549
609
|
}
|
|
610
|
+
|
|
550
611
|
.lake-color-dropdown-menu li[value^="#f" i] .lake-dropdown-menu-check svg,
|
|
551
612
|
.lake-color-dropdown-menu li[value^="#e6" i] .lake-dropdown-menu-check svg {
|
|
552
613
|
fill: #000;
|
|
553
614
|
}
|
|
615
|
+
|
|
554
616
|
.lake-color-dropdown-menu li .lake-dropdown-menu-icon {
|
|
555
617
|
line-height: 0;
|
|
556
618
|
}
|
|
619
|
+
|
|
557
620
|
.lake-color-dropdown-menu li .lake-dropdown-menu-icon svg {
|
|
558
621
|
width: 16px;
|
|
559
622
|
height: 16px;
|
|
560
623
|
margin: 3px 4px;
|
|
561
624
|
fill: var(--lake-text-color);
|
|
562
625
|
}
|
|
626
|
+
|
|
563
627
|
.lake-color-dropdown-menu li .lake-dropdown-menu-text {
|
|
564
628
|
font-size: 0;
|
|
565
629
|
box-sizing: content-box;
|
|
@@ -569,15 +633,18 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
569
633
|
height: 16px;
|
|
570
634
|
margin: 3px;
|
|
571
635
|
}
|
|
636
|
+
|
|
572
637
|
.lake-color-dropdown-menu li:first-child {
|
|
573
638
|
width: 100%;
|
|
574
639
|
margin-left: 10px;
|
|
575
640
|
margin-right: 10px;
|
|
576
641
|
margin-bottom: 4px;
|
|
577
642
|
}
|
|
643
|
+
|
|
578
644
|
.lake-color-dropdown-menu li:first-child .lake-dropdown-menu-check {
|
|
579
645
|
display: none;
|
|
580
646
|
}
|
|
647
|
+
|
|
581
648
|
.lake-color-dropdown-menu li:first-child .lake-dropdown-menu-text {
|
|
582
649
|
width: 100%;
|
|
583
650
|
font-size: var(--lake-button-font-size);
|
|
@@ -593,14 +660,17 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
593
660
|
line-height: normal;
|
|
594
661
|
color: var(--lake-text-color);
|
|
595
662
|
}
|
|
663
|
+
|
|
596
664
|
.lake-popup *,
|
|
597
665
|
.lake-popup ::before,
|
|
598
666
|
.lake-popup ::after {
|
|
599
667
|
box-sizing: border-box;
|
|
600
668
|
}
|
|
669
|
+
|
|
601
670
|
.lake-popup .lake-text-button {
|
|
602
671
|
box-shadow: var(--lake-button-shadow);
|
|
603
672
|
}
|
|
673
|
+
|
|
604
674
|
.lake-popup input[type="text"] {
|
|
605
675
|
font-family: var(--lake-font-family);
|
|
606
676
|
font-size: var(--lake-popup-font-size);
|
|
@@ -609,13 +679,16 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
609
679
|
border: 1px solid var(--lake-input-border-color);
|
|
610
680
|
padding: 4px 10px;
|
|
611
681
|
}
|
|
682
|
+
|
|
612
683
|
.lake-popup input[type="text"]:hover {
|
|
613
684
|
border: 1px solid var(--lake-input-border-hover-color);
|
|
614
685
|
}
|
|
686
|
+
|
|
615
687
|
.lake-popup input[type="text"]:focus-visible {
|
|
616
688
|
outline: var(--lake-input-outline);
|
|
617
689
|
outline-offset: -2px;
|
|
618
690
|
}
|
|
691
|
+
|
|
619
692
|
.lake-popup .lake-row {
|
|
620
693
|
padding-bottom: 8px;
|
|
621
694
|
}
|
|
@@ -639,6 +712,7 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
639
712
|
scrollbar-width: thin;
|
|
640
713
|
user-select: none;
|
|
641
714
|
}
|
|
715
|
+
|
|
642
716
|
.lake-menu .lake-menu-item {
|
|
643
717
|
display: flex;
|
|
644
718
|
align-items: center;
|
|
@@ -648,6 +722,7 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
648
722
|
border-radius: 5px;
|
|
649
723
|
scroll-margin: 4px 0;
|
|
650
724
|
}
|
|
725
|
+
|
|
651
726
|
.lake-menu .lake-menu-item-selected {
|
|
652
727
|
background-color: var(--lake-button-background-active-color);
|
|
653
728
|
}
|
|
@@ -656,6 +731,7 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
656
731
|
user-select: none;
|
|
657
732
|
display: none;
|
|
658
733
|
}
|
|
734
|
+
|
|
659
735
|
.lake-resizer-top-left,
|
|
660
736
|
.lake-resizer-top-right,
|
|
661
737
|
.lake-resizer-bottom-left,
|
|
@@ -669,26 +745,31 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
669
745
|
border-radius: 6px;
|
|
670
746
|
background-color: var(--lake-box-border-focus-color);
|
|
671
747
|
}
|
|
748
|
+
|
|
672
749
|
.lake-resizer-top-left {
|
|
673
750
|
top: -5px;
|
|
674
751
|
left: -5px;
|
|
675
752
|
cursor: nwse-resize;
|
|
676
753
|
}
|
|
754
|
+
|
|
677
755
|
.lake-resizer-top-right {
|
|
678
756
|
top: -5px;
|
|
679
757
|
right: -5px;
|
|
680
758
|
cursor: nesw-resize;
|
|
681
759
|
}
|
|
760
|
+
|
|
682
761
|
.lake-resizer-bottom-left {
|
|
683
762
|
bottom: -5px;
|
|
684
763
|
left: -5px;
|
|
685
764
|
cursor: nesw-resize;
|
|
686
765
|
}
|
|
766
|
+
|
|
687
767
|
.lake-resizer-bottom-right {
|
|
688
768
|
bottom: -5px;
|
|
689
769
|
right: -5px;
|
|
690
770
|
cursor: nwse-resize;
|
|
691
771
|
}
|
|
772
|
+
|
|
692
773
|
.lake-resizer-info {
|
|
693
774
|
position: absolute;
|
|
694
775
|
bottom: 8px;
|
|
@@ -717,6 +798,7 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
717
798
|
padding: 0 6px;
|
|
718
799
|
display: none;
|
|
719
800
|
}
|
|
801
|
+
|
|
720
802
|
.lake-corner-toolbar button {
|
|
721
803
|
border-radius: 5px;
|
|
722
804
|
border: 0;
|
|
@@ -728,6 +810,7 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
728
810
|
cursor: pointer;
|
|
729
811
|
user-select: none;
|
|
730
812
|
}
|
|
813
|
+
|
|
731
814
|
.lake-corner-toolbar button svg {
|
|
732
815
|
fill: #fff;
|
|
733
816
|
width: 16px;
|
|
@@ -752,26 +835,32 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
752
835
|
margin: 0;
|
|
753
836
|
padding: 0;
|
|
754
837
|
}
|
|
838
|
+
|
|
755
839
|
.lake-container h1 {
|
|
756
840
|
font-size: 36px;
|
|
757
841
|
margin-bottom: 16px;
|
|
758
842
|
}
|
|
843
|
+
|
|
759
844
|
.lake-container h2 {
|
|
760
845
|
font-size: 30px;
|
|
761
846
|
margin-bottom: 14px;
|
|
762
847
|
}
|
|
848
|
+
|
|
763
849
|
.lake-container h3 {
|
|
764
850
|
font-size: 24px;
|
|
765
851
|
margin-bottom: 14px;
|
|
766
852
|
}
|
|
853
|
+
|
|
767
854
|
.lake-container h4 {
|
|
768
855
|
font-size: 20px;
|
|
769
856
|
margin-bottom: 12px;
|
|
770
857
|
}
|
|
858
|
+
|
|
771
859
|
.lake-container h5 {
|
|
772
860
|
font-size: 18px;
|
|
773
861
|
margin-bottom: 10px;
|
|
774
862
|
}
|
|
863
|
+
|
|
775
864
|
.lake-container h6 {
|
|
776
865
|
font-size: 16px;
|
|
777
866
|
margin-bottom: 8px;
|
|
@@ -784,89 +873,109 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
784
873
|
margin-bottom: 4px;
|
|
785
874
|
padding: 0;
|
|
786
875
|
}
|
|
876
|
+
|
|
787
877
|
.lake-container ol lake-box[name="emoji"],
|
|
788
878
|
.lake-container ul lake-box[name="emoji"] {
|
|
789
879
|
vertical-align: middle;
|
|
790
880
|
}
|
|
881
|
+
|
|
791
882
|
.lake-container ol[indent="1"],
|
|
792
883
|
.lake-container ul[indent="1"] {
|
|
793
884
|
padding-left: 2em;
|
|
794
885
|
}
|
|
886
|
+
|
|
795
887
|
.lake-container ol[indent="2"],
|
|
796
888
|
.lake-container ul[indent="2"] {
|
|
797
889
|
padding-left: 4em;
|
|
798
890
|
}
|
|
891
|
+
|
|
799
892
|
.lake-container ol[indent="3"],
|
|
800
893
|
.lake-container ul[indent="3"] {
|
|
801
894
|
padding-left: 6em;
|
|
802
895
|
}
|
|
896
|
+
|
|
803
897
|
.lake-container ol[indent="4"],
|
|
804
898
|
.lake-container ul[indent="4"] {
|
|
805
899
|
padding-left: 8em;
|
|
806
900
|
}
|
|
901
|
+
|
|
807
902
|
.lake-container ol[indent="5"],
|
|
808
903
|
.lake-container ul[indent="5"] {
|
|
809
904
|
padding-left: 10em;
|
|
810
905
|
}
|
|
906
|
+
|
|
811
907
|
.lake-container ol[indent="6"],
|
|
812
908
|
.lake-container ul[indent="6"] {
|
|
813
909
|
padding-left: 12em;
|
|
814
910
|
}
|
|
911
|
+
|
|
815
912
|
.lake-container ol[indent="7"],
|
|
816
913
|
.lake-container ul[indent="7"] {
|
|
817
914
|
padding-left: 14em;
|
|
818
915
|
}
|
|
916
|
+
|
|
819
917
|
.lake-container ol[indent="8"],
|
|
820
918
|
.lake-container ul[indent="8"] {
|
|
821
919
|
padding-left: 16em;
|
|
822
920
|
}
|
|
921
|
+
|
|
823
922
|
.lake-container ol[indent="9"],
|
|
824
923
|
.lake-container ul[indent="9"] {
|
|
825
924
|
padding-left: 18em;
|
|
826
925
|
}
|
|
926
|
+
|
|
827
927
|
.lake-container ol[indent="10"],
|
|
828
928
|
.lake-container ul[indent="10"] {
|
|
829
929
|
padding-left: 20em;
|
|
830
930
|
}
|
|
931
|
+
|
|
831
932
|
.lake-container ol li,
|
|
832
933
|
.lake-container ul li {
|
|
833
934
|
margin-left: 20px;
|
|
834
935
|
padding-left: 4px;
|
|
835
936
|
}
|
|
937
|
+
|
|
836
938
|
.lake-container ol li {
|
|
837
939
|
list-style: decimal;
|
|
838
940
|
}
|
|
941
|
+
|
|
839
942
|
.lake-container ul li {
|
|
840
943
|
list-style: disc;
|
|
841
944
|
}
|
|
945
|
+
|
|
842
946
|
.lake-container ol[indent="1"] li,
|
|
843
947
|
.lake-container ol[indent="4"] li,
|
|
844
948
|
.lake-container ol[indent="7"] li,
|
|
845
949
|
.lake-container ol[indent="10"] li {
|
|
846
950
|
list-style-type: lower-alpha;
|
|
847
951
|
}
|
|
952
|
+
|
|
848
953
|
.lake-container ol[indent="2"] li,
|
|
849
954
|
.lake-container ol[indent="5"] li,
|
|
850
955
|
.lake-container ol[indent="8"] li {
|
|
851
956
|
list-style-type: lower-roman;
|
|
852
957
|
}
|
|
958
|
+
|
|
853
959
|
.lake-container ul[indent="1"] li,
|
|
854
960
|
.lake-container ul[indent="4"] li,
|
|
855
961
|
.lake-container ul[indent="7"] li,
|
|
856
962
|
.lake-container ul[indent="10"] li {
|
|
857
963
|
list-style-type: circle;
|
|
858
964
|
}
|
|
965
|
+
|
|
859
966
|
.lake-container ul[indent="2"] li,
|
|
860
967
|
.lake-container ul[indent="5"] li,
|
|
861
968
|
.lake-container ul[indent="8"] li {
|
|
862
969
|
list-style-type: square;
|
|
863
970
|
}
|
|
971
|
+
|
|
864
972
|
.lake-container ul[type="checklist"] li {
|
|
865
973
|
list-style: none;
|
|
866
974
|
position: relative;
|
|
867
975
|
margin-left: 0;
|
|
868
976
|
padding-left: 24px;
|
|
869
977
|
}
|
|
978
|
+
|
|
870
979
|
.lake-container ul[type="checklist"] li::before {
|
|
871
980
|
box-sizing: content-box;
|
|
872
981
|
content: '';
|
|
@@ -877,14 +986,17 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
877
986
|
height: 16px;
|
|
878
987
|
border-radius: 4px;
|
|
879
988
|
}
|
|
989
|
+
|
|
880
990
|
.lake-container ul[type="checklist"] li[value="true"]::before {
|
|
881
991
|
border: 1px solid #1890ff;
|
|
882
992
|
background-color: #1890ff;
|
|
883
993
|
}
|
|
994
|
+
|
|
884
995
|
.lake-container ul[type="checklist"] li[value="false"]::before {
|
|
885
996
|
border: 1px solid var(--lake-border-color);
|
|
886
997
|
background-color: #fff;
|
|
887
998
|
}
|
|
999
|
+
|
|
888
1000
|
.lake-container ul[type="checklist"] li::after {
|
|
889
1001
|
box-sizing: content-box;
|
|
890
1002
|
content: '';
|
|
@@ -900,9 +1012,11 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
900
1012
|
border-radius: 1px;
|
|
901
1013
|
transform: rotate(45deg) scale(1) translate(-50%,-50%);
|
|
902
1014
|
}
|
|
1015
|
+
|
|
903
1016
|
.lake-container[contenteditable="true"] ul[type="checklist"] li::before {
|
|
904
1017
|
cursor: pointer;
|
|
905
1018
|
}
|
|
1019
|
+
|
|
906
1020
|
.lake-container[contenteditable="true"] ul[type="checklist"] li::after {
|
|
907
1021
|
cursor: pointer;
|
|
908
1022
|
}
|
|
@@ -914,6 +1028,7 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
914
1028
|
color: var(--lake-blockquote-text-color);
|
|
915
1029
|
border-left: var(--lake-blockquote-border);
|
|
916
1030
|
}
|
|
1031
|
+
|
|
917
1032
|
.lake-container blockquote[type] {
|
|
918
1033
|
margin: 16px 0;
|
|
919
1034
|
padding: 16px 20px;
|
|
@@ -921,15 +1036,19 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
921
1036
|
border: 1px solid transparent;
|
|
922
1037
|
border-radius: 8px;
|
|
923
1038
|
}
|
|
1039
|
+
|
|
924
1040
|
.lake-container blockquote[type="info"] {
|
|
925
1041
|
background-color: #8e96aa24;
|
|
926
1042
|
}
|
|
1043
|
+
|
|
927
1044
|
.lake-container blockquote[type="tip"] {
|
|
928
1045
|
background-color: #646cff24;
|
|
929
1046
|
}
|
|
1047
|
+
|
|
930
1048
|
.lake-container blockquote[type="warning"] {
|
|
931
1049
|
background-color: #eab30824;
|
|
932
1050
|
}
|
|
1051
|
+
|
|
933
1052
|
.lake-container blockquote[type="danger"] {
|
|
934
1053
|
background-color: #f43f5e24;
|
|
935
1054
|
}
|
|
@@ -981,6 +1100,7 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
981
1100
|
display: flex;
|
|
982
1101
|
align-items: center;
|
|
983
1102
|
}
|
|
1103
|
+
|
|
984
1104
|
.lake-floating-toolbar .lake-toolbar-divider {
|
|
985
1105
|
width: 1px;
|
|
986
1106
|
height: 20px;
|
|
@@ -1031,27 +1151,33 @@ button.lake-primary-button.lake-button-hovered {
|
|
|
1031
1151
|
box-shadow: var(--lake-popup-shadow);
|
|
1032
1152
|
display: none;
|
|
1033
1153
|
}
|
|
1154
|
+
|
|
1034
1155
|
.lake-link-popup .lake-url-row {
|
|
1035
1156
|
display: flex;
|
|
1036
1157
|
align-items: center;
|
|
1037
1158
|
}
|
|
1159
|
+
|
|
1038
1160
|
.lake-link-popup .lake-button-row {
|
|
1039
1161
|
padding-top: 16px;
|
|
1040
1162
|
display: flex;
|
|
1041
1163
|
align-items: center;
|
|
1042
1164
|
justify-content: space-between;
|
|
1043
1165
|
}
|
|
1166
|
+
|
|
1044
1167
|
.lake-link-popup input[type="text"] {
|
|
1045
1168
|
width: 220px;
|
|
1046
1169
|
margin-right: 4px;
|
|
1047
1170
|
}
|
|
1171
|
+
|
|
1048
1172
|
.lake-link-popup button[name="copy"] svg:first-child {
|
|
1049
1173
|
display: inline;
|
|
1050
1174
|
}
|
|
1175
|
+
|
|
1051
1176
|
.lake-link-popup button[name="copy"] svg:nth-child(2) {
|
|
1052
1177
|
display: none;
|
|
1053
1178
|
fill: var(--lake-success-color);
|
|
1054
1179
|
}
|
|
1180
|
+
|
|
1055
1181
|
.lake-link-popup button[name="copy"] svg:last-child {
|
|
1056
1182
|
display: none;
|
|
1057
1183
|
fill: var(--lake-error-color);
|
|
@@ -1499,12 +1625,14 @@ lake-box[name="file"] .lake-box-focused .lake-file {
|
|
|
1499
1625
|
border: 1px solid transparent;
|
|
1500
1626
|
border-radius: 2px;
|
|
1501
1627
|
}
|
|
1628
|
+
|
|
1502
1629
|
.lake-emoji img {
|
|
1503
1630
|
border: 0;
|
|
1504
1631
|
border-radius: 2px;
|
|
1505
1632
|
width: 32px;
|
|
1506
1633
|
height: 32px;
|
|
1507
1634
|
}
|
|
1635
|
+
|
|
1508
1636
|
lake-box[name="emoji"] .lake-box-focused .lake-emoji {
|
|
1509
1637
|
border-color: var(--lake-selection-background-color);
|
|
1510
1638
|
background-color: var(--lake-selection-background-color);
|
|
@@ -1516,21 +1644,27 @@ lake-box[name="emoji"] .lake-box-focused .lake-emoji {
|
|
|
1516
1644
|
border: 1px solid transparent;
|
|
1517
1645
|
border-radius: 4px;
|
|
1518
1646
|
}
|
|
1647
|
+
|
|
1519
1648
|
.lake-container[contenteditable="true"] .lake-equation {
|
|
1520
1649
|
user-select: none;
|
|
1521
1650
|
}
|
|
1651
|
+
|
|
1522
1652
|
lake-box[name="equation"] .lake-box-strip {
|
|
1523
1653
|
align-self: center;
|
|
1524
1654
|
}
|
|
1655
|
+
|
|
1525
1656
|
lake-box[name="equation"] .lake-box-selected .lake-equation {
|
|
1526
1657
|
background-color: var(--lake-selection-background-color);
|
|
1527
1658
|
}
|
|
1659
|
+
|
|
1528
1660
|
lake-box[name="equation"] .lake-box-focused .lake-equation {
|
|
1529
1661
|
background-color: var(--lake-selection-background-color);
|
|
1530
1662
|
}
|
|
1663
|
+
|
|
1531
1664
|
.lake-equation .lake-equation-view {
|
|
1532
1665
|
padding: 0 6px;
|
|
1533
1666
|
}
|
|
1667
|
+
|
|
1534
1668
|
.lake-equation .lake-equation-form {
|
|
1535
1669
|
position: absolute;
|
|
1536
1670
|
top: 28px;
|
|
@@ -1544,10 +1678,12 @@ lake-box[name="equation"] .lake-box-focused .lake-equation {
|
|
|
1544
1678
|
box-shadow: var(--lake-popup-shadow);
|
|
1545
1679
|
display: none;
|
|
1546
1680
|
}
|
|
1681
|
+
|
|
1547
1682
|
lake-box[name="equation"] .lake-box-focused .lake-equation-form,
|
|
1548
1683
|
lake-box[name="equation"] .lake-box-activated .lake-equation-form {
|
|
1549
1684
|
display: flex;
|
|
1550
1685
|
}
|
|
1686
|
+
|
|
1551
1687
|
.lake-equation .lake-equation-form textarea {
|
|
1552
1688
|
border: 0;
|
|
1553
1689
|
background-color: var(--lake-popup-background-color);
|
|
@@ -1561,15 +1697,18 @@ lake-box[name="equation"] .lake-box-activated .lake-equation-form {
|
|
|
1561
1697
|
resize: none;
|
|
1562
1698
|
scrollbar-width: thin;
|
|
1563
1699
|
}
|
|
1700
|
+
|
|
1564
1701
|
.lake-equation .lake-equation-form textarea:focus-visible {
|
|
1565
1702
|
outline: 0;
|
|
1566
1703
|
}
|
|
1704
|
+
|
|
1567
1705
|
.lake-equation .lake-equation-form .lake-button-row {
|
|
1568
1706
|
display: flex;
|
|
1569
1707
|
flex-direction: column;
|
|
1570
1708
|
justify-content: space-between;
|
|
1571
1709
|
align-items: flex-end;
|
|
1572
1710
|
}
|
|
1711
|
+
|
|
1573
1712
|
/* error status */
|
|
1574
1713
|
.lake-equation-error {
|
|
1575
1714
|
padding: 0 6px;
|
|
@@ -1581,21 +1720,25 @@ lake-box[name="equation"] .lake-box-activated .lake-equation-form {
|
|
|
1581
1720
|
.lake-mention-menu {
|
|
1582
1721
|
max-height: 208px;
|
|
1583
1722
|
}
|
|
1723
|
+
|
|
1584
1724
|
.lake-mention-menu .lake-mention-avatar {
|
|
1585
1725
|
margin-inline-end: 8px;
|
|
1586
1726
|
line-height: 0;
|
|
1587
1727
|
}
|
|
1728
|
+
|
|
1588
1729
|
.lake-mention-menu .lake-mention-avatar img {
|
|
1589
1730
|
border-radius: 100%;
|
|
1590
1731
|
width: 32px;
|
|
1591
1732
|
height: 32px;
|
|
1592
1733
|
}
|
|
1734
|
+
|
|
1593
1735
|
.lake-mention-menu .lake-mention-nickname {
|
|
1594
1736
|
margin-inline-end: 4px;
|
|
1595
1737
|
font-weight: 500;
|
|
1596
1738
|
color: var(--lake-text-color);
|
|
1597
1739
|
white-space: nowrap;
|
|
1598
1740
|
}
|
|
1741
|
+
|
|
1599
1742
|
.lake-mention-menu .lake-mention-name {
|
|
1600
1743
|
color: #8c8c8c;
|
|
1601
1744
|
}
|
|
@@ -1604,10 +1747,12 @@ lake-box[name="equation"] .lake-box-activated .lake-equation-form {
|
|
|
1604
1747
|
border: 1px solid transparent;
|
|
1605
1748
|
border-radius: 2px;
|
|
1606
1749
|
}
|
|
1750
|
+
|
|
1607
1751
|
.lake-container[readonly="false"] .lake-mention a:hover {
|
|
1608
1752
|
color: var(--lake-link-color);
|
|
1609
1753
|
text-decoration: none;
|
|
1610
1754
|
}
|
|
1755
|
+
|
|
1611
1756
|
lake-box[name="mention"] .lake-box-focused .lake-mention {
|
|
1612
1757
|
border-color: var(--lake-selection-background-color);
|
|
1613
1758
|
background-color: var(--lake-selection-background-color);
|