@vaadin/vaadin-lumo-styles 25.0.0-alpha16 → 25.0.0-alpha17
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/package.json +5 -5
- package/src/components/dashboard-layout.css +0 -66
- package/src/components/dashboard-section.css +3 -31
- package/src/components/dashboard-widget.css +1 -86
- package/src/components/dashboard.css +0 -9
- package/src/components/date-picker-overlay-content.css +6 -40
- package/src/components/message.css +7 -32
- package/src/components/popover-overlay.css +2 -138
- package/src/components/rich-text-editor.css +22 -355
- package/src/components/scroller.css +1 -20
- package/src/components/select.css +13 -0
- package/src/components/side-nav-item.css +13 -0
- package/src/components/upload-file.css +22 -57
- package/src/mixins/dashboard-item.css +10 -141
- package/src/mixins/overlay.css +1 -1
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
*/
|
|
6
6
|
@media lumo_components_rich-text-editor {
|
|
7
7
|
:host {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
box-sizing: border-box;
|
|
11
8
|
min-height: calc(var(--lumo-size-m) * 8);
|
|
12
9
|
font-family: var(--lumo-font-family);
|
|
13
10
|
font-size: var(--lumo-font-size-m);
|
|
14
11
|
line-height: var(--lumo-line-height-m);
|
|
12
|
+
background: transparent;
|
|
13
|
+
border: none;
|
|
14
|
+
border-radius: 0;
|
|
15
15
|
-webkit-text-size-adjust: 100%;
|
|
16
16
|
-webkit-font-smoothing: antialiased;
|
|
17
17
|
-moz-osx-font-smoothing: grayscale;
|
|
@@ -19,46 +19,20 @@
|
|
|
19
19
|
--_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
|
|
20
20
|
--_item-indent: var(--lumo-space-m);
|
|
21
21
|
--_marker-indent: var(--lumo-space-xs);
|
|
22
|
-
--_list-indent: calc(var(--_item-indent) + var(--_marker-indent));
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
:host([hidden]) {
|
|
26
|
-
display: none !important;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.announcer {
|
|
30
|
-
position: fixed;
|
|
31
|
-
clip: rect(0, 0, 0, 0);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
input[type='file'] {
|
|
35
|
-
display: none;
|
|
36
22
|
}
|
|
37
23
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
min-height: inherit;
|
|
42
|
-
max-height: inherit;
|
|
43
|
-
flex: auto;
|
|
24
|
+
:host(:focus-within) {
|
|
25
|
+
outline: none;
|
|
44
26
|
}
|
|
45
27
|
|
|
46
28
|
[part='content'] {
|
|
47
|
-
box-sizing: border-box;
|
|
48
|
-
position: relative;
|
|
49
|
-
flex: auto;
|
|
50
|
-
display: flex;
|
|
51
|
-
flex-direction: column;
|
|
52
|
-
overflow: hidden;
|
|
53
29
|
background-color: var(--lumo-base-color);
|
|
54
30
|
}
|
|
55
31
|
|
|
56
32
|
[part='toolbar'] {
|
|
57
|
-
display: flex;
|
|
58
|
-
flex-wrap: wrap;
|
|
59
|
-
flex-shrink: 0;
|
|
60
33
|
background-color: var(--lumo-contrast-5pct);
|
|
61
34
|
padding: calc(var(--lumo-space-s) - 1px) var(--lumo-space-xs);
|
|
35
|
+
gap: 0;
|
|
62
36
|
}
|
|
63
37
|
|
|
64
38
|
[part~='toolbar-button'] {
|
|
@@ -68,7 +42,6 @@
|
|
|
68
42
|
text-transform: none;
|
|
69
43
|
background: transparent;
|
|
70
44
|
border: none;
|
|
71
|
-
position: relative;
|
|
72
45
|
width: var(--lumo-size-m);
|
|
73
46
|
height: var(--lumo-size-m);
|
|
74
47
|
border-radius: var(--lumo-border-radius-m);
|
|
@@ -86,18 +59,6 @@
|
|
|
86
59
|
color: var(--lumo-contrast-80pct);
|
|
87
60
|
}
|
|
88
61
|
|
|
89
|
-
@media (forced-colors: active) {
|
|
90
|
-
[part~='toolbar-button']:focus,
|
|
91
|
-
[part~='toolbar-button']:hover {
|
|
92
|
-
outline: 1px solid !important;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
[part~='toolbar-button-pressed'] {
|
|
96
|
-
outline: 2px solid;
|
|
97
|
-
outline-offset: -1px;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
62
|
[part~='toolbar-button']::before {
|
|
102
63
|
position: absolute;
|
|
103
64
|
top: 50%;
|
|
@@ -105,10 +66,13 @@
|
|
|
105
66
|
transform: translate(-50%, -50%);
|
|
106
67
|
font-family: 'lumo-icons', var(--lumo-font-family);
|
|
107
68
|
font-size: var(--lumo-icon-size-m);
|
|
69
|
+
mask-image: none;
|
|
70
|
+
background: transparent;
|
|
71
|
+
height: auto;
|
|
72
|
+
width: auto;
|
|
108
73
|
}
|
|
109
74
|
|
|
110
75
|
[part~='toolbar-group'] {
|
|
111
|
-
display: flex;
|
|
112
76
|
margin: 0 0.5em;
|
|
113
77
|
margin: 0 calc(var(--lumo-space-l) / 2 - 1px);
|
|
114
78
|
}
|
|
@@ -199,15 +163,20 @@
|
|
|
199
163
|
font-size: 1em;
|
|
200
164
|
}
|
|
201
165
|
|
|
166
|
+
[part~='toolbar-button-color']::after,
|
|
167
|
+
[part~='toolbar-button-background']::after {
|
|
168
|
+
width: auto;
|
|
169
|
+
height: auto;
|
|
170
|
+
mask-image: none;
|
|
171
|
+
transform: none;
|
|
172
|
+
}
|
|
173
|
+
|
|
202
174
|
[part~='toolbar-button-color']::after {
|
|
203
|
-
content: '';
|
|
204
|
-
position: absolute;
|
|
205
175
|
bottom: 4px;
|
|
206
176
|
left: 25%;
|
|
207
177
|
right: 25%;
|
|
208
178
|
width: 50%;
|
|
209
179
|
height: 4px;
|
|
210
|
-
background-color: var(--_color-value, currentColor);
|
|
211
180
|
}
|
|
212
181
|
|
|
213
182
|
[part~='toolbar-button-background']::before {
|
|
@@ -229,17 +198,6 @@
|
|
|
229
198
|
);
|
|
230
199
|
}
|
|
231
200
|
|
|
232
|
-
:host([readonly]) [part='toolbar'] {
|
|
233
|
-
display: none;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
:host([disabled]) {
|
|
237
|
-
pointer-events: none;
|
|
238
|
-
opacity: 0.5;
|
|
239
|
-
-webkit-user-select: none;
|
|
240
|
-
user-select: none;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
201
|
:host([disabled]) [part~='toolbar-button'] {
|
|
244
202
|
background-color: transparent;
|
|
245
203
|
}
|
|
@@ -337,12 +295,6 @@
|
|
|
337
295
|
font-size: var(--lumo-font-size-l);
|
|
338
296
|
}
|
|
339
297
|
|
|
340
|
-
/* TODO unsupported selector */
|
|
341
|
-
[part='content'] > .ql-editor {
|
|
342
|
-
padding: 0 var(--lumo-space-m);
|
|
343
|
-
line-height: inherit;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
298
|
/* Theme variants */
|
|
347
299
|
|
|
348
300
|
/* No border */
|
|
@@ -381,297 +333,21 @@
|
|
|
381
333
|
margin: 0 calc(var(--lumo-space-m) / 2 - 1px);
|
|
382
334
|
}
|
|
383
335
|
|
|
384
|
-
/*
|
|
385
|
-
Quill core styles.
|
|
386
|
-
CSS selectors removed: margin & padding reset, check list, indentation, video, colors, ordered & unordered list, h1-6, anchor
|
|
387
|
-
*/
|
|
388
|
-
.ql-clipboard {
|
|
389
|
-
left: -100000px;
|
|
390
|
-
height: 1px;
|
|
391
|
-
overflow-y: hidden;
|
|
392
|
-
position: absolute;
|
|
393
|
-
top: 50%;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
.ql-clipboard p {
|
|
397
|
-
margin: 0;
|
|
398
|
-
padding: 0;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
336
|
.ql-editor {
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
height: 100%;
|
|
405
|
-
outline: none;
|
|
406
|
-
overflow-y: auto;
|
|
407
|
-
padding: 0.75em 1em;
|
|
408
|
-
tab-size: calc(var(--_item-indent) * 2);
|
|
409
|
-
text-align: left;
|
|
410
|
-
white-space: pre-wrap;
|
|
411
|
-
word-wrap: break-word;
|
|
412
|
-
flex: 1;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
.ql-editor > * {
|
|
416
|
-
cursor: text;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.ql-align-left {
|
|
420
|
-
text-align: left;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
.ql-direction-rtl {
|
|
424
|
-
direction: rtl;
|
|
425
|
-
text-align: inherit;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
.ql-align-center {
|
|
429
|
-
text-align: center;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
.ql-align-justify {
|
|
433
|
-
text-align: justify;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
.ql-align-right {
|
|
437
|
-
text-align: right;
|
|
337
|
+
color: inherit;
|
|
338
|
+
padding: 0 var(--lumo-space-m);
|
|
438
339
|
}
|
|
439
340
|
|
|
440
341
|
.ql-code-block-container {
|
|
441
|
-
font-family: monospace;
|
|
442
342
|
background-color: var(--lumo-contrast-10pct);
|
|
443
343
|
border-radius: var(--lumo-border-radius-m);
|
|
444
|
-
|
|
445
|
-
margin-bottom: 0.3125em;
|
|
446
|
-
margin-top: 0.3125em;
|
|
344
|
+
margin-block: 0.3125em;
|
|
447
345
|
padding: 0.3125em 0.625em;
|
|
448
346
|
}
|
|
449
347
|
|
|
450
|
-
/* lists */
|
|
451
|
-
.ql-editor ol {
|
|
452
|
-
padding-inline-start: var(--_list-indent);
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
.ql-editor li {
|
|
456
|
-
list-style-type: none;
|
|
457
|
-
position: relative;
|
|
458
|
-
padding-inline-start: var(--_item-indent);
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
.ql-editor li > .ql-ui::before {
|
|
462
|
-
display: inline-block;
|
|
463
|
-
width: var(--vaadin-padding-l);
|
|
464
|
-
margin-inline: calc(var(--_item-indent) * -1) var(--_marker-indent);
|
|
465
|
-
text-align: end;
|
|
466
|
-
white-space: nowrap;
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
.ql-editor li[data-list='bullet'] > .ql-ui::before {
|
|
470
|
-
content: '\2022';
|
|
471
|
-
font-size: 1.5rem;
|
|
472
|
-
line-height: 1rem;
|
|
473
|
-
align-self: baseline;
|
|
474
|
-
vertical-align: text-top;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
.ql-editor p,
|
|
478
|
-
.ql-editor h1,
|
|
479
|
-
.ql-editor h2,
|
|
480
|
-
.ql-editor h3,
|
|
481
|
-
.ql-editor h4,
|
|
482
|
-
.ql-editor h5,
|
|
483
|
-
.ql-editor h6 {
|
|
484
|
-
counter-set: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
/* 0 */
|
|
488
|
-
.ql-editor li[data-list='ordered'] {
|
|
489
|
-
counter-increment: list-0;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
.ql-editor li[data-list='ordered'] > .ql-ui::before {
|
|
493
|
-
content: counter(list-0, decimal) '. ';
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
/* 1 */
|
|
497
|
-
.ql-editor li[data-list='ordered'].ql-indent-1 {
|
|
498
|
-
counter-increment: list-1;
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
.ql-editor li[data-list='ordered'].ql-indent-1 > .ql-ui::before {
|
|
502
|
-
content: counter(list-1, lower-alpha) '. ';
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
.ql-editor li[data-list].ql-indent-1 {
|
|
506
|
-
counter-set: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
/* 2 */
|
|
510
|
-
.ql-editor li[data-list='ordered'].ql-indent-2 {
|
|
511
|
-
counter-increment: list-2;
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
.ql-editor li[data-list='ordered'].ql-indent-2 > .ql-ui::before {
|
|
515
|
-
content: counter(list-2, lower-roman) '. ';
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
.ql-editor li[data-list].ql-indent-2 {
|
|
519
|
-
counter-set: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
/* 3 */
|
|
523
|
-
.ql-editor li[data-list='ordered'].ql-indent-3 {
|
|
524
|
-
counter-increment: list-3;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
.ql-editor li[data-list='ordered'].ql-indent-3 > .ql-ui::before {
|
|
528
|
-
content: counter(list-3, decimal) '. ';
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
.ql-editor li[data-list].ql-indent-3 {
|
|
532
|
-
counter-set: list-4 list-5 list-6 list-7 list-8 list-9;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
/* 4 */
|
|
536
|
-
.ql-editor li[data-list='ordered'].ql-indent-4 {
|
|
537
|
-
counter-increment: list-4;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
.ql-editor li[data-list='ordered'].ql-indent-4 > .ql-ui::before {
|
|
541
|
-
content: counter(list-4, lower-alpha) '. ';
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
.ql-editor li[data-list].ql-indent-4 {
|
|
545
|
-
counter-set: list-5 list-6 list-7 list-8 list-9;
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
/* 5 */
|
|
549
|
-
.ql-editor li[data-list='ordered'].ql-indent-5 {
|
|
550
|
-
counter-increment: list-5;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
.ql-editor li[data-list='ordered'].ql-indent-5 > .ql-ui::before {
|
|
554
|
-
content: counter(list-5, lower-roman) '. ';
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
.ql-editor li[data-list].ql-indent-5 {
|
|
558
|
-
counter-set: list-6 list-7 list-8 list-9;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
/* 6 */
|
|
562
|
-
.ql-editor li[data-list='ordered'].ql-indent-6 {
|
|
563
|
-
counter-increment: list-6;
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
.ql-editor li[data-list='ordered'].ql-indent-6 > .ql-ui::before {
|
|
567
|
-
content: counter(list-6, decimal) '. ';
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
.ql-editor li[data-list].ql-indent-6 {
|
|
571
|
-
counter-set: list-7 list-8 list-9;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
/* 7 */
|
|
575
|
-
.ql-editor li[data-list='ordered'].ql-indent-7 {
|
|
576
|
-
counter-increment: list-7;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
.ql-editor li[data-list='ordered'].ql-indent-7 > .ql-ui::before {
|
|
580
|
-
content: counter(list-7, lower-alpha) '. ';
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
.ql-editor li[data-list].ql-indent-7 {
|
|
584
|
-
counter-set: list-8 list-9;
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
/* 8 */
|
|
588
|
-
.ql-editor li[data-list='ordered'].ql-indent-8 {
|
|
589
|
-
counter-increment: list-8;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
.ql-editor li[data-list='ordered'].ql-indent-8 > .ql-ui::before {
|
|
593
|
-
content: counter(list-8, lower-roman) '. ';
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
.ql-editor li[data-list].ql-indent-8 {
|
|
597
|
-
counter-set: list-9;
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
/* indent 1 */
|
|
601
|
-
.ql-editor .ql-indent-1 {
|
|
602
|
-
padding-inline-start: calc(var(--_item-indent) * 2);
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
.ql-editor li.ql-indent-1 {
|
|
606
|
-
padding-inline-start: calc(var(--_list-indent) + var(--_item-indent) * 2);
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
/* indent 2 */
|
|
610
|
-
.ql-editor .ql-indent-2 {
|
|
611
|
-
padding-inline-start: calc(var(--_item-indent) * 4);
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
.ql-editor li.ql-indent-2 {
|
|
615
|
-
padding-inline-start: calc(var(--_list-indent) * 2 + var(--_item-indent) * 3);
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
/* indent 3 */
|
|
619
|
-
.ql-editor .ql-indent-3 {
|
|
620
|
-
padding-inline-start: calc(var(--_item-indent) * 6);
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
.ql-editor li.ql-indent-3 {
|
|
624
|
-
padding-inline-start: calc(var(--_list-indent) * 3 + var(--_item-indent) * 4);
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
/* indent 4 */
|
|
628
|
-
.ql-editor .ql-indent-4 {
|
|
629
|
-
padding-inline-start: calc(var(--_item-indent) * 8);
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
.ql-editor li.ql-indent-4 {
|
|
633
|
-
padding-inline-start: calc(var(--_list-indent) * 4 + var(--_item-indent) * 5);
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
/* indent 5 */
|
|
637
|
-
.ql-editor .ql-indent-5 {
|
|
638
|
-
padding-inline-start: calc(var(--_item-indent) * 10);
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
.ql-editor li.ql-indent-5 {
|
|
642
|
-
padding-inline-start: calc(var(--_list-indent) * 5 + var(--_item-indent) * 6);
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
/* indent 6 */
|
|
646
|
-
.ql-editor .ql-indent-6 {
|
|
647
|
-
padding-inline-start: calc(var(--_item-indent) * 12);
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
.ql-editor li.ql-indent-6 {
|
|
651
|
-
padding-inline-start: calc(var(--_list-indent) * 6 + var(--_item-indent) * 7);
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
/* indent 7 */
|
|
655
|
-
.ql-editor .ql-indent-7 {
|
|
656
|
-
padding-inline-start: calc(var(--_item-indent) * 14);
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
.ql-editor li.ql-indent-7 {
|
|
660
|
-
padding-inline-start: calc(var(--_list-indent) * 7 + var(--_item-indent) * 8);
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
/* indent 8 */
|
|
664
|
-
.ql-editor .ql-indent-8 {
|
|
665
|
-
padding-inline-start: calc(var(--_item-indent) * 16);
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
.ql-editor li.ql-indent-8 {
|
|
669
|
-
padding-inline-start: calc(var(--_list-indent) * 8 + var(--_item-indent) * 9);
|
|
670
|
-
}
|
|
671
|
-
/* quill core end */
|
|
672
|
-
|
|
673
348
|
blockquote {
|
|
674
349
|
padding-left: 1em;
|
|
350
|
+
margin-inline: 40px;
|
|
675
351
|
}
|
|
676
352
|
|
|
677
353
|
code {
|
|
@@ -680,10 +356,6 @@
|
|
|
680
356
|
padding: 0.125em 0.25em;
|
|
681
357
|
}
|
|
682
358
|
|
|
683
|
-
img {
|
|
684
|
-
max-width: 100%;
|
|
685
|
-
}
|
|
686
|
-
|
|
687
359
|
:where(h1, h2, h3, h4, h5, h6) {
|
|
688
360
|
margin-top: 1.25em;
|
|
689
361
|
}
|
|
@@ -701,11 +373,6 @@
|
|
|
701
373
|
}
|
|
702
374
|
|
|
703
375
|
/* RTL specific styles */
|
|
704
|
-
:host([dir='rtl']) .ql-editor {
|
|
705
|
-
direction: rtl;
|
|
706
|
-
text-align: right;
|
|
707
|
-
}
|
|
708
|
-
|
|
709
376
|
:host([dir='rtl']) [part~='toolbar-button-redo']::before {
|
|
710
377
|
content: var(--lumo-icons-undo);
|
|
711
378
|
}
|
|
@@ -5,36 +5,17 @@
|
|
|
5
5
|
*/
|
|
6
6
|
@media lumo_components_scroller {
|
|
7
7
|
:host {
|
|
8
|
-
outline: none;
|
|
9
8
|
--_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
|
|
10
9
|
--_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
:host([focus-ring]) {
|
|
13
|
+
outline: none;
|
|
14
14
|
box-shadow: 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
/* Show dividers when content overflows */
|
|
18
|
-
|
|
19
17
|
:host([theme~='overflow-indicators'])::before,
|
|
20
18
|
:host([theme~='overflow-indicators'])::after {
|
|
21
|
-
content: '';
|
|
22
|
-
display: none;
|
|
23
|
-
position: sticky;
|
|
24
|
-
inset: 0;
|
|
25
|
-
z-index: 9999;
|
|
26
|
-
height: 1px;
|
|
27
|
-
margin-bottom: -1px;
|
|
28
19
|
background: var(--lumo-contrast-10pct);
|
|
29
20
|
}
|
|
30
|
-
|
|
31
|
-
:host([theme~='overflow-indicators'])::after {
|
|
32
|
-
margin-bottom: 0;
|
|
33
|
-
margin-top: -1px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
:host([theme~='overflow-indicators'][overflow~='top'])::before,
|
|
37
|
-
:host([theme~='overflow-indicators'][overflow~='bottom'])::after {
|
|
38
|
-
display: block;
|
|
39
|
-
}
|
|
40
21
|
}
|
|
@@ -57,4 +57,17 @@
|
|
|
57
57
|
--_lumo-selected-item-height: var(--lumo-size-s);
|
|
58
58
|
--_lumo-selected-item-padding: 0;
|
|
59
59
|
}
|
|
60
|
+
|
|
61
|
+
.sr-only {
|
|
62
|
+
border: 0 !important;
|
|
63
|
+
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
64
|
+
clip-path: inset(50%) !important;
|
|
65
|
+
height: 1px !important;
|
|
66
|
+
margin: -1px !important;
|
|
67
|
+
overflow: hidden !important;
|
|
68
|
+
padding: 0 !important;
|
|
69
|
+
position: absolute !important;
|
|
70
|
+
width: 1px !important;
|
|
71
|
+
white-space: nowrap !important;
|
|
72
|
+
}
|
|
60
73
|
}
|
|
@@ -167,4 +167,17 @@
|
|
|
167
167
|
color: var(--vaadin-selection-color-text, var(--lumo-primary-text-color));
|
|
168
168
|
border-radius: var(--lumo-border-radius-m);
|
|
169
169
|
}
|
|
170
|
+
|
|
171
|
+
.sr-only {
|
|
172
|
+
border: 0 !important;
|
|
173
|
+
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
174
|
+
clip-path: inset(50%) !important;
|
|
175
|
+
height: 1px !important;
|
|
176
|
+
margin: -1px !important;
|
|
177
|
+
overflow: hidden !important;
|
|
178
|
+
padding: 0 !important;
|
|
179
|
+
position: absolute !important;
|
|
180
|
+
width: 1px !important;
|
|
181
|
+
white-space: nowrap !important;
|
|
182
|
+
}
|
|
170
183
|
}
|
|
@@ -5,37 +5,14 @@
|
|
|
5
5
|
*/
|
|
6
6
|
@media lumo_components_upload-file {
|
|
7
7
|
:host {
|
|
8
|
-
display: block;
|
|
9
8
|
padding: var(--lumo-space-s) 0;
|
|
10
|
-
|
|
9
|
+
gap: 0 var(--lumo-space-xs);
|
|
11
10
|
--_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
|
|
12
11
|
--_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
|
|
13
12
|
}
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
[part='row'] {
|
|
20
|
-
list-style-type: none;
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: baseline;
|
|
23
|
-
justify-content: space-between;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
button {
|
|
27
|
-
background: transparent;
|
|
28
|
-
padding: 0;
|
|
29
|
-
border: none;
|
|
30
|
-
box-shadow: none;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:host([complete]) ::slotted([slot='progress']),
|
|
34
|
-
:host([error]) ::slotted([slot='progress']) {
|
|
35
|
-
display: none !important;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
:host([focus-ring]) [part='row'] {
|
|
14
|
+
:host(:focus-visible) {
|
|
15
|
+
outline: none;
|
|
39
16
|
border-radius: var(--lumo-border-radius-s);
|
|
40
17
|
box-shadow: 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
|
|
41
18
|
}
|
|
@@ -46,57 +23,47 @@
|
|
|
46
23
|
font-size: var(--lumo-font-size-s);
|
|
47
24
|
}
|
|
48
25
|
|
|
49
|
-
[part='info'] {
|
|
50
|
-
display: flex;
|
|
51
|
-
align-items: baseline;
|
|
52
|
-
flex: auto;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
[part='meta'] {
|
|
56
|
-
width: 0.001px;
|
|
57
|
-
flex: 1 1 auto;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
26
|
[part='name'] {
|
|
27
|
+
color: var(--lumo-body-text-color);
|
|
61
28
|
white-space: nowrap;
|
|
62
|
-
overflow: hidden;
|
|
63
|
-
text-overflow: ellipsis;
|
|
64
29
|
}
|
|
65
30
|
|
|
66
31
|
[part='commands'] {
|
|
67
|
-
|
|
68
|
-
align-items: baseline;
|
|
69
|
-
flex: none;
|
|
32
|
+
align-self: start;
|
|
70
33
|
}
|
|
71
34
|
|
|
72
35
|
[part$='icon'] {
|
|
73
|
-
margin-right: var(--lumo-space-xs);
|
|
74
36
|
font-size: var(--lumo-icon-size-m);
|
|
75
37
|
font-family: 'lumo-icons';
|
|
76
38
|
line-height: 1;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
/* When both icons are hidden, let us keep space for one */
|
|
80
|
-
[part='done-icon'][hidden] + [part='warning-icon'][hidden] {
|
|
81
|
-
display: block !important;
|
|
82
|
-
visibility: hidden;
|
|
39
|
+
align-self: start;
|
|
83
40
|
}
|
|
84
41
|
|
|
85
42
|
[part$='button'] {
|
|
86
|
-
|
|
87
|
-
|
|
43
|
+
border: none;
|
|
44
|
+
box-shadow: none;
|
|
45
|
+
outline: none;
|
|
46
|
+
padding: 0;
|
|
47
|
+
border-radius: var(--lumo-border-radius-s);
|
|
88
48
|
cursor: var(--lumo-clickable-cursor);
|
|
89
49
|
}
|
|
90
50
|
|
|
91
51
|
[part$='button']:focus {
|
|
92
|
-
outline: none;
|
|
93
|
-
border-radius: var(--lumo-border-radius-s);
|
|
94
52
|
box-shadow: 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
|
|
95
53
|
}
|
|
96
54
|
|
|
55
|
+
/* Vertically align icons / buttons with the first line of text */
|
|
56
|
+
[part$='icon'],
|
|
57
|
+
[part$='button'] {
|
|
58
|
+
margin-top: calc((1em * var(--lumo-line-height-m) - var(--lumo-icon-size-m)) / 2);
|
|
59
|
+
}
|
|
60
|
+
|
|
97
61
|
[part$='icon']::before,
|
|
98
62
|
[part$='button']::before {
|
|
99
|
-
|
|
63
|
+
background: transparent;
|
|
64
|
+
mask-image: none;
|
|
65
|
+
width: auto;
|
|
66
|
+
height: auto;
|
|
100
67
|
}
|
|
101
68
|
|
|
102
69
|
[part='done-icon']::before {
|
|
@@ -126,8 +93,6 @@
|
|
|
126
93
|
}
|
|
127
94
|
|
|
128
95
|
::slotted([slot='progress']) {
|
|
129
|
-
|
|
130
|
-
margin-left: calc(var(--lumo-icon-size-m) + var(--lumo-space-xs));
|
|
131
|
-
margin-right: calc(var(--lumo-icon-size-m) + var(--lumo-space-xs));
|
|
96
|
+
margin-inline-end: calc(var(--lumo-icon-size-m) + var(--lumo-space-xs));
|
|
132
97
|
}
|
|
133
98
|
}
|