@vaadin/vaadin-lumo-styles 25.0.0-alpha16 → 25.0.0-alpha18

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.
@@ -5,152 +5,16 @@
5
5
  */
6
6
  @media lumo_components_popover-overlay {
7
7
  :host {
8
- --vaadin-popover-arrow-size: 0.5rem;
8
+ --_arrow-size: var(--vaadin-popover-arrow-size, 0.75rem);
9
9
  --_default-offset: var(--lumo-space-xs);
10
10
  }
11
11
 
12
12
  [part='overlay'] {
13
- position: relative;
14
13
  overflow: visible;
15
- max-height: 100%;
16
- outline: none;
14
+ border: none;
17
15
  }
18
16
 
19
17
  [part='content'] {
20
- overflow: auto;
21
- box-sizing: border-box;
22
- max-height: 100%;
23
18
  padding: var(--lumo-space-xs) var(--lumo-space-s);
24
19
  }
25
-
26
- /* Increase the area of the popover so the pointer can go from the target directly to it. */
27
- [part='overlay']::before {
28
- position: absolute;
29
- content: '';
30
- inset-block: calc(var(--vaadin-popover-offset-top, var(--_default-offset)) * -1)
31
- calc(var(--vaadin-popover-offset-bottom, var(--_default-offset)) * -1);
32
- inset-inline: calc(var(--vaadin-popover-offset-start, var(--_default-offset)) * -1)
33
- calc(var(--vaadin-popover-offset-end, var(--_default-offset)) * -1);
34
- z-index: -1;
35
- pointer-events: auto;
36
- }
37
-
38
- :host([theme~='no-padding']) [part='content'] {
39
- padding: 0 !important;
40
- }
41
-
42
- [part='arrow'] {
43
- display: none;
44
- position: absolute;
45
- height: 0;
46
- width: 0;
47
- }
48
-
49
- :host([theme~='arrow']) {
50
- --_default-offset: calc(var(--lumo-space-s) + var(--vaadin-popover-arrow-size) / 2);
51
- }
52
-
53
- :host([theme~='arrow']) [part='arrow'] {
54
- display: block;
55
- }
56
-
57
- :host([modeless][with-backdrop]) [part='backdrop'] {
58
- pointer-events: none;
59
- }
60
-
61
- :host([position^='top'][top-aligned]) [part='overlay'],
62
- :host([position^='bottom'][top-aligned]) [part='overlay'] {
63
- margin-top: var(--vaadin-popover-offset-top, var(--_default-offset));
64
- }
65
-
66
- :host([position^='top'][bottom-aligned]) [part='overlay'],
67
- :host([position^='bottom'][bottom-aligned]) [part='overlay'] {
68
- margin-bottom: var(--vaadin-popover-offset-bottom, var(--_default-offset));
69
- }
70
-
71
- :host([position^='start'][start-aligned]) [part='overlay'],
72
- :host([position^='end'][start-aligned]) [part='overlay'] {
73
- margin-inline-start: var(--vaadin-popover-offset-start, var(--_default-offset));
74
- }
75
-
76
- :host([position^='start'][end-aligned]) [part='overlay'],
77
- :host([position^='end'][end-aligned]) [part='overlay'] {
78
- margin-inline-end: var(--vaadin-popover-offset-end, var(--_default-offset));
79
- }
80
-
81
- /* top / bottom position */
82
- :host([theme~='arrow'][position^='top']) [part='arrow'],
83
- :host([theme~='arrow'][position^='bottom']) [part='arrow'] {
84
- border-left: var(--vaadin-popover-arrow-size) solid transparent;
85
- border-right: var(--vaadin-popover-arrow-size) solid transparent;
86
- }
87
-
88
- :host([theme~='arrow'][position^='bottom'][bottom-aligned]) [part='arrow'],
89
- :host([theme~='arrow'][position^='top'][bottom-aligned]) [part='arrow'] {
90
- bottom: calc(var(--vaadin-popover-arrow-size) * -1);
91
- border-top: var(--vaadin-popover-arrow-size) solid var(--lumo-base-color);
92
- filter: drop-shadow(0 2px 1px var(--lumo-shade-10pct));
93
- }
94
-
95
- :host([theme~='arrow'][position^='bottom'][top-aligned]) [part='arrow'],
96
- :host([theme~='arrow'][position^='top'][top-aligned]) [part='arrow'] {
97
- top: calc(var(--vaadin-popover-arrow-size) * -1);
98
- border-bottom: var(--vaadin-popover-arrow-size) solid var(--lumo-base-color);
99
- filter: drop-shadow(0 -2px 1px var(--lumo-shade-10pct));
100
- }
101
-
102
- :host([theme~='arrow'][position^='bottom'][start-aligned]) [part='arrow'],
103
- :host([theme~='arrow'][position^='top'][start-aligned]) [part='arrow'] {
104
- transform: translateX(-50%);
105
- inset-inline-start: 1.5rem;
106
- }
107
-
108
- :host([theme~='arrow'][position^='bottom'][end-aligned]) [part='arrow'],
109
- :host([theme~='arrow'][position^='top'][end-aligned]) [part='arrow'] {
110
- transform: translateX(50%);
111
- inset-inline-end: 1.5rem;
112
- }
113
-
114
- :host([theme~='arrow'][position^='bottom'][arrow-centered]) [part='arrow'],
115
- :host([theme~='arrow'][position^='top'][arrow-centered]) [part='arrow'] {
116
- transform: translateX(-50%);
117
- inset-inline-start: 50%;
118
- }
119
-
120
- /* start / end position */
121
- :host([theme~='arrow'][position^='start']) [part='arrow'],
122
- :host([theme~='arrow'][position^='end']) [part='arrow'] {
123
- border-top: var(--vaadin-popover-arrow-size) solid transparent;
124
- border-bottom: var(--vaadin-popover-arrow-size) solid transparent;
125
- }
126
-
127
- :host([theme~='arrow'][position^='start'][start-aligned]) [part='arrow'],
128
- :host([theme~='arrow'][position^='end'][start-aligned]) [part='arrow'] {
129
- inset-inline-start: calc(var(--vaadin-popover-arrow-size) * -1);
130
- border-right: var(--vaadin-popover-arrow-size) solid var(--lumo-base-color);
131
- filter: drop-shadow(-2px 0 1px var(--lumo-shade-10pct));
132
- }
133
-
134
- :host([theme~='arrow'][position^='start'][end-aligned]) [part='arrow'],
135
- :host([theme~='arrow'][position^='end'][end-aligned]) [part='arrow'] {
136
- inset-inline-end: calc(var(--vaadin-popover-arrow-size) * -1);
137
- border-left: var(--vaadin-popover-arrow-size) solid var(--lumo-base-color);
138
- filter: drop-shadow(2px 0 1px var(--lumo-shade-10pct));
139
- }
140
-
141
- :host([theme~='arrow'][position^='start'][top-aligned]) [part='arrow'],
142
- :host([theme~='arrow'][position^='end'][top-aligned]) [part='arrow'] {
143
- top: 0.5rem;
144
- }
145
-
146
- :host([theme~='arrow'][position='start'][top-aligned]) [part='arrow'],
147
- :host([theme~='arrow'][position='end'][top-aligned]) [part='arrow'] {
148
- top: 50%;
149
- transform: translateY(-50%);
150
- }
151
-
152
- :host([theme~='arrow'][position^='start'][bottom-aligned]) [part='arrow'],
153
- :host([theme~='arrow'][position^='end'][bottom-aligned]) [part='arrow'] {
154
- bottom: 0.5rem;
155
- }
156
20
  }
@@ -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
- .vaadin-rich-text-editor-container {
39
- display: flex;
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
- box-sizing: border-box;
403
- line-height: 1.42;
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
- white-space: pre-wrap;
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
  }