lesli_view 1.1.6 → 1.1.7
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.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/lesli_view/view.css +213 -1516
- data/lib/lesli_view/components/header.html.erb +2 -2
- data/lib/lesli_view/components/panel.html.erb +44 -26
- data/lib/lesli_view/components/toolbar.css +12 -8
- data/lib/lesli_view/components/toolbar.html.erb +3 -1
- data/lib/lesli_view/elements/button.html.erb +2 -0
- data/lib/lesli_view/elements/button.rb +4 -0
- data/lib/lesli_view/items/activities.rb +5 -5
- data/lib/lesli_view/items/attachment.html.erb +3 -3
- data/lib/lesli_view/items/attachments.html.erb +5 -5
- data/lib/lesli_view/items/discussion.rb +1 -1
- data/lib/lesli_view/items/discussions.html.erb +2 -2
- data/lib/lesli_view/items/task.rb +2 -2
- data/lib/lesli_view/items/tasks.html.erb +2 -2
- data/lib/lesli_view/layout/navigation_sidebar.css +19 -0
- data/lib/lesli_view/layout/navigation_sidebar.html.erb +52 -0
- data/lib/lesli_view/layout/navigation_sidebar.rb +24 -0
- data/lib/lesli_view/version.rb +2 -2
- data/lib/lesli_view.rb +1 -0
- data/readme.md +2 -0
- metadata +7 -5
- data/lib/lesli_view/components/panel.scss +0 -37
|
@@ -32,6 +32,7 @@ Building a better future, one line of code at a time.
|
|
|
32
32
|
*/
|
|
33
33
|
@layer properties;
|
|
34
34
|
@layer theme, components, utilities;
|
|
35
|
+
@import url("../lexxy.css") layer(components);
|
|
35
36
|
@layer theme {
|
|
36
37
|
:root, :host {
|
|
37
38
|
--font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial,
|
|
@@ -100,10 +101,12 @@ Building a better future, one line of code at a time.
|
|
|
100
101
|
--color-slate-700: oklch(37.2% 0.044 257.287);
|
|
101
102
|
--color-slate-800: oklch(27.9% 0.041 260.031);
|
|
102
103
|
--color-slate-900: oklch(20.8% 0.042 265.755);
|
|
104
|
+
--color-slate-950: oklch(12.9% 0.042 264.695);
|
|
103
105
|
--color-white: #fff;
|
|
104
106
|
--spacing: 0.25rem;
|
|
105
107
|
--container-md: 28rem;
|
|
106
108
|
--container-2xl: 42rem;
|
|
109
|
+
--container-3xl: 48rem;
|
|
107
110
|
--container-7xl: 80rem;
|
|
108
111
|
--text-xs: 0.75rem;
|
|
109
112
|
--text-xs--line-height: calc(1 / 0.75);
|
|
@@ -138,6 +141,8 @@ Building a better future, one line of code at a time.
|
|
|
138
141
|
--radius-lg: 0.5rem;
|
|
139
142
|
--radius-xl: 0.75rem;
|
|
140
143
|
--radius-2xl: 1rem;
|
|
144
|
+
--ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
145
|
+
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
141
146
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
142
147
|
--blur-sm: 8px;
|
|
143
148
|
--default-transition-duration: 150ms;
|
|
@@ -159,15 +164,30 @@ Building a better future, one line of code at a time.
|
|
|
159
164
|
.absolute {
|
|
160
165
|
position: absolute;
|
|
161
166
|
}
|
|
167
|
+
.fixed {
|
|
168
|
+
position: fixed;
|
|
169
|
+
}
|
|
162
170
|
.relative {
|
|
163
171
|
position: relative;
|
|
164
172
|
}
|
|
173
|
+
.sticky {
|
|
174
|
+
position: sticky;
|
|
175
|
+
}
|
|
165
176
|
.inset-0 {
|
|
166
177
|
inset: 0px;
|
|
167
178
|
}
|
|
179
|
+
.inset-y-0 {
|
|
180
|
+
inset-block: 0px;
|
|
181
|
+
}
|
|
182
|
+
.top-0 {
|
|
183
|
+
top: 0px;
|
|
184
|
+
}
|
|
168
185
|
.top-7 {
|
|
169
186
|
top: calc(var(--spacing) * 7);
|
|
170
187
|
}
|
|
188
|
+
.right-0 {
|
|
189
|
+
right: 0px;
|
|
190
|
+
}
|
|
171
191
|
.bottom-0 {
|
|
172
192
|
bottom: 0px;
|
|
173
193
|
}
|
|
@@ -180,6 +200,12 @@ Building a better future, one line of code at a time.
|
|
|
180
200
|
.z-10 {
|
|
181
201
|
z-index: 10;
|
|
182
202
|
}
|
|
203
|
+
.z-40 {
|
|
204
|
+
z-index: 40;
|
|
205
|
+
}
|
|
206
|
+
.z-50 {
|
|
207
|
+
z-index: 50;
|
|
208
|
+
}
|
|
183
209
|
.col-start-1 {
|
|
184
210
|
grid-column-start: 1;
|
|
185
211
|
}
|
|
@@ -243,8 +269,8 @@ Building a better future, one line of code at a time.
|
|
|
243
269
|
.mt-6 {
|
|
244
270
|
margin-top: calc(var(--spacing) * 6);
|
|
245
271
|
}
|
|
246
|
-
.mt-
|
|
247
|
-
margin-top: calc(var(--spacing) *
|
|
272
|
+
.mt-16 {
|
|
273
|
+
margin-top: calc(var(--spacing) * 16);
|
|
248
274
|
}
|
|
249
275
|
.-mr-px {
|
|
250
276
|
margin-right: -1px;
|
|
@@ -264,8 +290,8 @@ Building a better future, one line of code at a time.
|
|
|
264
290
|
.mb-5 {
|
|
265
291
|
margin-bottom: calc(var(--spacing) * 5);
|
|
266
292
|
}
|
|
267
|
-
.mb-
|
|
268
|
-
margin-bottom: calc(var(--spacing) *
|
|
293
|
+
.mb-12 {
|
|
294
|
+
margin-bottom: calc(var(--spacing) * 12);
|
|
269
295
|
}
|
|
270
296
|
.ml-1\.5 {
|
|
271
297
|
margin-left: calc(var(--spacing) * 1.5);
|
|
@@ -285,6 +311,10 @@ Building a better future, one line of code at a time.
|
|
|
285
311
|
.inline-flex {
|
|
286
312
|
display: inline-flex;
|
|
287
313
|
}
|
|
314
|
+
.size-11 {
|
|
315
|
+
width: calc(var(--spacing) * 11);
|
|
316
|
+
height: calc(var(--spacing) * 11);
|
|
317
|
+
}
|
|
288
318
|
.size-\[60px\] {
|
|
289
319
|
width: 60px;
|
|
290
320
|
height: 60px;
|
|
@@ -318,9 +348,18 @@ Building a better future, one line of code at a time.
|
|
|
318
348
|
.h-36 {
|
|
319
349
|
height: calc(var(--spacing) * 36);
|
|
320
350
|
}
|
|
351
|
+
.h-dvh {
|
|
352
|
+
height: 100dvh;
|
|
353
|
+
}
|
|
321
354
|
.h-full {
|
|
322
355
|
height: 100%;
|
|
323
356
|
}
|
|
357
|
+
.max-h-72 {
|
|
358
|
+
max-height: calc(var(--spacing) * 72);
|
|
359
|
+
}
|
|
360
|
+
.max-h-dvh {
|
|
361
|
+
max-height: 100dvh;
|
|
362
|
+
}
|
|
324
363
|
.min-h-0 {
|
|
325
364
|
min-height: 0px;
|
|
326
365
|
}
|
|
@@ -379,21 +418,32 @@ Building a better future, one line of code at a time.
|
|
|
379
418
|
--tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
|
|
380
419
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
381
420
|
}
|
|
421
|
+
.translate-x-0 {
|
|
422
|
+
--tw-translate-x: 0px;
|
|
423
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
424
|
+
}
|
|
425
|
+
.translate-x-8 {
|
|
426
|
+
--tw-translate-x: calc(var(--spacing) * 8);
|
|
427
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
428
|
+
}
|
|
429
|
+
.transform {
|
|
430
|
+
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
431
|
+
}
|
|
382
432
|
.cursor-pointer {
|
|
383
433
|
cursor: pointer;
|
|
384
434
|
}
|
|
385
435
|
.list-none {
|
|
386
436
|
list-style-type: none;
|
|
387
437
|
}
|
|
388
|
-
.grid-cols-1 {
|
|
389
|
-
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
390
|
-
}
|
|
391
438
|
.grid-cols-7 {
|
|
392
439
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
393
440
|
}
|
|
394
441
|
.grid-cols-\[1\.5rem_minmax\(0\,1fr\)\] {
|
|
395
442
|
grid-template-columns: 1.5rem minmax(0,1fr);
|
|
396
443
|
}
|
|
444
|
+
.grid-cols-\[minmax\(0\,1fr\)_auto\] {
|
|
445
|
+
grid-template-columns: minmax(0,1fr) auto;
|
|
446
|
+
}
|
|
397
447
|
.flex-col {
|
|
398
448
|
flex-direction: column;
|
|
399
449
|
}
|
|
@@ -406,6 +456,9 @@ Building a better future, one line of code at a time.
|
|
|
406
456
|
.items-start {
|
|
407
457
|
align-items: flex-start;
|
|
408
458
|
}
|
|
459
|
+
.justify-between {
|
|
460
|
+
justify-content: space-between;
|
|
461
|
+
}
|
|
409
462
|
.justify-center {
|
|
410
463
|
justify-content: center;
|
|
411
464
|
}
|
|
@@ -427,6 +480,11 @@ Building a better future, one line of code at a time.
|
|
|
427
480
|
.gap-6 {
|
|
428
481
|
gap: calc(var(--spacing) * 6);
|
|
429
482
|
}
|
|
483
|
+
:where(.space-y-1 > :not(:last-child)) {
|
|
484
|
+
--tw-space-y-reverse: 0;
|
|
485
|
+
margin-block-start: calc(var(--spacing) * var(--tw-space-y-reverse));
|
|
486
|
+
margin-block-end: calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)));
|
|
487
|
+
}
|
|
430
488
|
:where(.space-y-2 > :not(:last-child)) {
|
|
431
489
|
--tw-space-y-reverse: 0;
|
|
432
490
|
margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
|
|
@@ -445,6 +503,9 @@ Building a better future, one line of code at a time.
|
|
|
445
503
|
.gap-x-4 {
|
|
446
504
|
column-gap: calc(var(--spacing) * 4);
|
|
447
505
|
}
|
|
506
|
+
.justify-self-end {
|
|
507
|
+
justify-self: flex-end;
|
|
508
|
+
}
|
|
448
509
|
.truncate {
|
|
449
510
|
overflow: hidden;
|
|
450
511
|
text-overflow: ellipsis;
|
|
@@ -456,6 +517,12 @@ Building a better future, one line of code at a time.
|
|
|
456
517
|
.overflow-x-auto {
|
|
457
518
|
overflow-x: auto;
|
|
458
519
|
}
|
|
520
|
+
.overflow-y-auto {
|
|
521
|
+
overflow-y: auto;
|
|
522
|
+
}
|
|
523
|
+
.overscroll-contain {
|
|
524
|
+
overscroll-behavior: contain;
|
|
525
|
+
}
|
|
459
526
|
.rounded-2xl {
|
|
460
527
|
border-radius: var(--radius-2xl);
|
|
461
528
|
}
|
|
@@ -554,6 +621,12 @@ Building a better future, one line of code at a time.
|
|
|
554
621
|
.bg-slate-300 {
|
|
555
622
|
background-color: var(--color-slate-300);
|
|
556
623
|
}
|
|
624
|
+
.bg-slate-950\/25 {
|
|
625
|
+
background-color: color-mix(in srgb, oklch(12.9% 0.042 264.695) 25%, transparent);
|
|
626
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
627
|
+
background-color: color-mix(in oklab, var(--color-slate-950) 25%, transparent);
|
|
628
|
+
}
|
|
629
|
+
}
|
|
557
630
|
.bg-white {
|
|
558
631
|
background-color: var(--color-white);
|
|
559
632
|
}
|
|
@@ -599,6 +672,9 @@ Building a better future, one line of code at a time.
|
|
|
599
672
|
.p-0 {
|
|
600
673
|
padding: 0px;
|
|
601
674
|
}
|
|
675
|
+
.p-2 {
|
|
676
|
+
padding: calc(var(--spacing) * 2);
|
|
677
|
+
}
|
|
602
678
|
.p-3 {
|
|
603
679
|
padding: calc(var(--spacing) * 3);
|
|
604
680
|
}
|
|
@@ -641,6 +717,9 @@ Building a better future, one line of code at a time.
|
|
|
641
717
|
.pt-5 {
|
|
642
718
|
padding-top: calc(var(--spacing) * 5);
|
|
643
719
|
}
|
|
720
|
+
.pb-2 {
|
|
721
|
+
padding-bottom: calc(var(--spacing) * 2);
|
|
722
|
+
}
|
|
644
723
|
.pb-3 {
|
|
645
724
|
padding-bottom: calc(var(--spacing) * 3);
|
|
646
725
|
}
|
|
@@ -838,9 +917,19 @@ Building a better future, one line of code at a time.
|
|
|
838
917
|
.underline-offset-4 {
|
|
839
918
|
text-underline-offset: 4px;
|
|
840
919
|
}
|
|
920
|
+
.opacity-0 {
|
|
921
|
+
opacity: 0%;
|
|
922
|
+
}
|
|
841
923
|
.opacity-30 {
|
|
842
924
|
opacity: 30%;
|
|
843
925
|
}
|
|
926
|
+
.opacity-100 {
|
|
927
|
+
opacity: 100%;
|
|
928
|
+
}
|
|
929
|
+
.shadow-2xl {
|
|
930
|
+
--tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));
|
|
931
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
932
|
+
}
|
|
844
933
|
.shadow-lg {
|
|
845
934
|
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
846
935
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -894,16 +983,36 @@ Building a better future, one line of code at a time.
|
|
|
894
983
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
895
984
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
896
985
|
}
|
|
986
|
+
.transition-transform {
|
|
987
|
+
transition-property: transform, translate, scale, rotate;
|
|
988
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
989
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
990
|
+
}
|
|
991
|
+
.duration-100 {
|
|
992
|
+
--tw-duration: 100ms;
|
|
993
|
+
transition-duration: 100ms;
|
|
994
|
+
}
|
|
897
995
|
.duration-150 {
|
|
898
996
|
--tw-duration: 150ms;
|
|
899
997
|
transition-duration: 150ms;
|
|
900
998
|
}
|
|
999
|
+
.ease-in {
|
|
1000
|
+
--tw-ease: var(--ease-in);
|
|
1001
|
+
transition-timing-function: var(--ease-in);
|
|
1002
|
+
}
|
|
1003
|
+
.ease-out {
|
|
1004
|
+
--tw-ease: var(--ease-out);
|
|
1005
|
+
transition-timing-function: var(--ease-out);
|
|
1006
|
+
}
|
|
901
1007
|
.ring-inset {
|
|
902
1008
|
--tw-ring-inset: inset;
|
|
903
1009
|
}
|
|
904
1010
|
.group-last\:hidden:is(:where(.group):last-child *) {
|
|
905
1011
|
display: none;
|
|
906
1012
|
}
|
|
1013
|
+
.group-open\:rotate-180:is(:where(.group):is([open], :popover-open, :open) *) {
|
|
1014
|
+
rotate: 180deg;
|
|
1015
|
+
}
|
|
907
1016
|
.file\:mr-4::file-selector-button {
|
|
908
1017
|
margin-right: calc(var(--spacing) * 4);
|
|
909
1018
|
}
|
|
@@ -997,6 +1106,10 @@ Building a better future, one line of code at a time.
|
|
|
997
1106
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
998
1107
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
999
1108
|
}
|
|
1109
|
+
.focus-visible\:ring-4:focus-visible {
|
|
1110
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1111
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1112
|
+
}
|
|
1000
1113
|
.focus-visible\:ring-\[var\(--lesli-color-primary\)\]:focus-visible {
|
|
1001
1114
|
--tw-ring-color: var(--lesli-color-primary);
|
|
1002
1115
|
}
|
|
@@ -1009,6 +1122,12 @@ Building a better future, one line of code at a time.
|
|
|
1009
1122
|
--tw-ring-color: color-mix(in oklab, var(--color-red-500) 40%, transparent);
|
|
1010
1123
|
}
|
|
1011
1124
|
}
|
|
1125
|
+
.focus-visible\:ring-sky-500\/20:focus-visible {
|
|
1126
|
+
--tw-ring-color: color-mix(in srgb, oklch(68.5% 0.169 237.323) 20%, transparent);
|
|
1127
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1128
|
+
--tw-ring-color: color-mix(in oklab, var(--color-sky-500) 20%, transparent);
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1012
1131
|
.focus-visible\:outline-2:focus-visible {
|
|
1013
1132
|
outline-style: var(--tw-outline-style);
|
|
1014
1133
|
outline-width: 2px;
|
|
@@ -1050,6 +1169,9 @@ Building a better future, one line of code at a time.
|
|
|
1050
1169
|
.sm\:w-40 {
|
|
1051
1170
|
width: calc(var(--spacing) * 40);
|
|
1052
1171
|
}
|
|
1172
|
+
.sm\:max-w-2xl {
|
|
1173
|
+
max-width: var(--container-2xl);
|
|
1174
|
+
}
|
|
1053
1175
|
.sm\:flex-row {
|
|
1054
1176
|
flex-direction: row;
|
|
1055
1177
|
}
|
|
@@ -1065,6 +1187,9 @@ Building a better future, one line of code at a time.
|
|
|
1065
1187
|
.sm\:p-4 {
|
|
1066
1188
|
padding: calc(var(--spacing) * 4);
|
|
1067
1189
|
}
|
|
1190
|
+
.sm\:p-6 {
|
|
1191
|
+
padding: calc(var(--spacing) * 6);
|
|
1192
|
+
}
|
|
1068
1193
|
.sm\:p-8 {
|
|
1069
1194
|
padding: calc(var(--spacing) * 8);
|
|
1070
1195
|
}
|
|
@@ -1110,21 +1235,12 @@ Building a better future, one line of code at a time.
|
|
|
1110
1235
|
.md\:mb-0 {
|
|
1111
1236
|
margin-bottom: 0px;
|
|
1112
1237
|
}
|
|
1113
|
-
.md\:grid-cols-\[minmax\(0\,1fr\)_auto\] {
|
|
1114
|
-
grid-template-columns: minmax(0,1fr) auto;
|
|
1115
|
-
}
|
|
1116
1238
|
.md\:grid-cols-\[minmax\(8rem\,auto\)_1\.5rem_minmax\(0\,1fr\)\] {
|
|
1117
1239
|
grid-template-columns: minmax(8rem,auto) 1.5rem minmax(0,1fr);
|
|
1118
1240
|
}
|
|
1119
|
-
.md\:items-start {
|
|
1120
|
-
align-items: flex-start;
|
|
1121
|
-
}
|
|
1122
1241
|
.md\:gap-x-6 {
|
|
1123
1242
|
column-gap: calc(var(--spacing) * 6);
|
|
1124
1243
|
}
|
|
1125
|
-
.md\:justify-self-end {
|
|
1126
|
-
justify-self: flex-end;
|
|
1127
|
-
}
|
|
1128
1244
|
.md\:pt-1 {
|
|
1129
1245
|
padding-top: var(--spacing);
|
|
1130
1246
|
}
|
|
@@ -1133,6 +1249,21 @@ Building a better future, one line of code at a time.
|
|
|
1133
1249
|
}
|
|
1134
1250
|
}
|
|
1135
1251
|
@media (width >= 64rem) {
|
|
1252
|
+
.lg\:sticky {
|
|
1253
|
+
position: sticky;
|
|
1254
|
+
}
|
|
1255
|
+
.lg\:top-4 {
|
|
1256
|
+
top: calc(var(--spacing) * 4);
|
|
1257
|
+
}
|
|
1258
|
+
.lg\:w-60 {
|
|
1259
|
+
width: calc(var(--spacing) * 60);
|
|
1260
|
+
}
|
|
1261
|
+
.lg\:max-w-3xl {
|
|
1262
|
+
max-width: var(--container-3xl);
|
|
1263
|
+
}
|
|
1264
|
+
.lg\:shrink-0 {
|
|
1265
|
+
flex-shrink: 0;
|
|
1266
|
+
}
|
|
1136
1267
|
.lg\:grid-cols-\[minmax\(0\,1fr\)_minmax\(12rem\,0\.35fr\)_auto\] {
|
|
1137
1268
|
grid-template-columns: minmax(0,1fr) minmax(12rem,0.35fr) auto;
|
|
1138
1269
|
}
|
|
@@ -1143,6 +1274,9 @@ Building a better future, one line of code at a time.
|
|
|
1143
1274
|
padding-inline: calc(var(--spacing) * 8);
|
|
1144
1275
|
}
|
|
1145
1276
|
}
|
|
1277
|
+
.\[\&\:\:-webkit-details-marker\]\:hidden::-webkit-details-marker {
|
|
1278
|
+
display: none;
|
|
1279
|
+
}
|
|
1146
1280
|
}
|
|
1147
1281
|
:root {
|
|
1148
1282
|
--lesli-color-primary-50: #F2F7FF;
|
|
@@ -1468,1518 +1602,30 @@ Building a better future, one line of code at a time.
|
|
|
1468
1602
|
--lesli-font-size: var(--lesli-theme-font-size, 16px);
|
|
1469
1603
|
--lesli-font-color: var(--lesli-theme-font-color, black);
|
|
1470
1604
|
}
|
|
1471
|
-
@layer theme {
|
|
1472
|
-
:root {
|
|
1473
|
-
--lexxy-color-ink: oklch(20% 0 0);
|
|
1474
|
-
--lexxy-color-ink-medium: oklch(40% 0 0);
|
|
1475
|
-
--lexxy-color-ink-light: oklch(60% 0 0);
|
|
1476
|
-
--lexxy-color-ink-lighter: oklch(85% 0 0);
|
|
1477
|
-
--lexxy-color-ink-lightest: oklch(96% 0 0);
|
|
1478
|
-
--lexxy-color-ink-inverted: white;
|
|
1479
|
-
--lexxy-color-accent-dark: oklch(57% 0.19 260);
|
|
1480
|
-
--lexxy-color-accent-medium: oklch(75% 0.196 258);
|
|
1481
|
-
--lexxy-color-accent-light: oklch(88% 0.026 254);
|
|
1482
|
-
--lexxy-color-accent-lightest: oklch(92% 0.026 254);
|
|
1483
|
-
--lexxy-color-red: oklch(60% 0.15 27);
|
|
1484
|
-
--lexxy-color-green: oklch(60% 0.15 145);
|
|
1485
|
-
--lexxy-color-blue: oklch(66% 0.196 258);
|
|
1486
|
-
--lexxy-color-purple: oklch(60% 0.15 305);
|
|
1487
|
-
--lexxy-color-code-token-att: #d73a49;
|
|
1488
|
-
--lexxy-color-code-token-comment: #6a737d;
|
|
1489
|
-
--lexxy-color-code-token-function: #6f42c1;
|
|
1490
|
-
--lexxy-color-code-token-operator: #d73a49;
|
|
1491
|
-
--lexxy-color-code-token-property: #005cc5;
|
|
1492
|
-
--lexxy-color-code-token-punctuation: #24292e;
|
|
1493
|
-
--lexxy-color-code-token-selector: #22863a;
|
|
1494
|
-
--lexxy-color-code-token-variable: #e36209;
|
|
1495
|
-
--lexxy-color-canvas: var(--lexxy-color-ink-inverted);
|
|
1496
|
-
--lexxy-color-text: var(--lexxy-color-ink);
|
|
1497
|
-
--lexxy-color-text-subtle: var(--lexxy-color-ink-medium);
|
|
1498
|
-
--lexxy-color-link: var(--lexxy-color-accent-dark);
|
|
1499
|
-
--lexxy-color-selected: var(--lexxy-color-accent-lightest);
|
|
1500
|
-
--lexxy-color-selected-hover: var(--lexxy-color-accent-light);
|
|
1501
|
-
--lexxy-color-selected-dark: var(--lexxy-color-blue);
|
|
1502
|
-
--lexxy-color-selected-50: var(--lexxy-color-selected-dark);
|
|
1503
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1504
|
-
--lexxy-color-selected-50: color-mix(in oklch, var(--lexxy-color-selected-dark) 50%, transparent);
|
|
1505
|
-
}
|
|
1506
|
-
--lexxy-color-code-bg: var(--lexxy-color-ink-lightest);
|
|
1507
|
-
--lexxy-color-floating-controls-separator: rgba(128, 128, 128, 0.3);
|
|
1508
|
-
--highlight-1: rgb(136, 118, 38);
|
|
1509
|
-
--highlight-2: rgb(185, 94, 6);
|
|
1510
|
-
--highlight-3: rgb(207, 0, 0);
|
|
1511
|
-
--highlight-4: rgb(216, 28, 170);
|
|
1512
|
-
--highlight-5: rgb(144, 19, 254);
|
|
1513
|
-
--highlight-6: rgb(5, 98, 185);
|
|
1514
|
-
--highlight-7: rgb(17, 138, 15);
|
|
1515
|
-
--highlight-8: rgb(148, 82, 22);
|
|
1516
|
-
--highlight-9: rgb(102, 102, 102);
|
|
1517
|
-
--highlight-bg-1: rgba(229, 223, 6, 0.3);
|
|
1518
|
-
--highlight-bg-2: rgba(255, 185, 87, 0.3);
|
|
1519
|
-
--highlight-bg-3: rgba(255, 118, 118, 0.3);
|
|
1520
|
-
--highlight-bg-4: rgba(248, 137, 216, 0.3);
|
|
1521
|
-
--highlight-bg-5: rgba(190, 165, 255, 0.3);
|
|
1522
|
-
--highlight-bg-6: rgba(124, 192, 252, 0.3);
|
|
1523
|
-
--highlight-bg-7: rgba(140, 255, 129, 0.3);
|
|
1524
|
-
--highlight-bg-8: rgba(221, 170, 123, 0.3);
|
|
1525
|
-
--highlight-bg-9: rgba(200, 200, 200, 0.3);
|
|
1526
|
-
--lexxy-color-table-header-bg: var(--lexxy-color-ink-lightest);
|
|
1527
|
-
--lexxy-color-table-cell-border: var(--lexxy-color-ink-lighter);
|
|
1528
|
-
--lexxy-color-table-cell-selected: var(--lexxy-color-selected);
|
|
1529
|
-
--lexxy-color-table-cell-selected-border: var(--lexxy-color-selected-dark);
|
|
1530
|
-
--lexxy-color-table-cell-selected-bg: var(--lexxy-color-accent-lightest);
|
|
1531
|
-
--lexxy-color-table-cell-add: var(--lexxy-color-selected-50);
|
|
1532
|
-
--lexxy-color-table-cell-toggle: var(--lexxy-color-accent-lightest);
|
|
1533
|
-
--lexxy-color-table-cell-remove: oklch(60% 0.15 27 / 0.1);
|
|
1534
|
-
--lexxy-table-cell-add-size: 4px;
|
|
1535
|
-
--lexxy-font-base: system-ui, sans-serif;
|
|
1536
|
-
--lexxy-font-mono: ui-monospace, "Menlo", "Monaco", Consolas, monospace;
|
|
1537
|
-
--lexxy-text-small: 0.875rem;
|
|
1538
|
-
--lexxy-content-margin: 1rem;
|
|
1539
|
-
--lexxy-focus-ring-color: var(--lexxy-color-accent-dark);
|
|
1540
|
-
--lexxy-focus-ring-offset: -2px;
|
|
1541
|
-
--lexxy-focus-ring-size: 2px;
|
|
1542
|
-
--lexxy-toolbar-button-size: 2lh;
|
|
1543
|
-
--lexxy-radius: 0.5ch;
|
|
1544
|
-
--lexxy-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
1545
|
-
--lexxy-z-popup: 1000;
|
|
1546
|
-
}
|
|
1547
|
-
}
|
|
1548
1605
|
@layer components {
|
|
1549
|
-
@import url("lexxy-variables.css");
|
|
1550
|
-
:where(.lexxy-content) {
|
|
1551
|
-
color: var(--lexxy-color-ink);
|
|
1552
|
-
h1, h2, h3, h4, h5, h6 {
|
|
1553
|
-
display: block;
|
|
1554
|
-
font-weight: bold;
|
|
1555
|
-
hyphens: auto;
|
|
1556
|
-
margin-block: 0 var(--lexxy-content-margin);
|
|
1557
|
-
overflow-wrap: break-word;
|
|
1558
|
-
@supports (text-wrap: balance) {
|
|
1559
|
-
text-wrap: balance;
|
|
1560
|
-
}
|
|
1561
|
-
}
|
|
1562
|
-
h1 {
|
|
1563
|
-
font-size: 2rem;
|
|
1564
|
-
}
|
|
1565
|
-
h2 {
|
|
1566
|
-
font-size: 1.5rem;
|
|
1567
|
-
}
|
|
1568
|
-
h3 {
|
|
1569
|
-
font-size: 1.25rem;
|
|
1570
|
-
}
|
|
1571
|
-
h4 {
|
|
1572
|
-
font-size: 1rem;
|
|
1573
|
-
}
|
|
1574
|
-
h5 {
|
|
1575
|
-
font-size: 0.875rem;
|
|
1576
|
-
}
|
|
1577
|
-
h6 {
|
|
1578
|
-
font-size: 0.75rem;
|
|
1579
|
-
}
|
|
1580
|
-
p, ul, ol, dl, blockquote, figure, .attachment, .attachment-gallery {
|
|
1581
|
-
margin-block: 0 var(--lexxy-content-margin);
|
|
1582
|
-
position: relative;
|
|
1583
|
-
&:not(lexxy-editor &) {
|
|
1584
|
-
overflow-wrap: break-word;
|
|
1585
|
-
@supports (text-wrap: pretty) {
|
|
1586
|
-
text-wrap: pretty;
|
|
1587
|
-
}
|
|
1588
|
-
}
|
|
1589
|
-
}
|
|
1590
|
-
.lexxy-content__italic {
|
|
1591
|
-
font-style: italic;
|
|
1592
|
-
}
|
|
1593
|
-
.lexxy-content__bold {
|
|
1594
|
-
font-weight: bold;
|
|
1595
|
-
}
|
|
1596
|
-
.lexxy-content__strikethrough {
|
|
1597
|
-
text-decoration: line-through;
|
|
1598
|
-
}
|
|
1599
|
-
.lexxy-content__underline {
|
|
1600
|
-
text-decoration: underline;
|
|
1601
|
-
}
|
|
1602
|
-
.lexxy-content__strikethrough.lexxy-content__underline {
|
|
1603
|
-
text-decoration: line-through underline;
|
|
1604
|
-
}
|
|
1605
|
-
mark, .lexxy-content__highlight {
|
|
1606
|
-
background-color: transparent;
|
|
1607
|
-
color: inherit;
|
|
1608
|
-
}
|
|
1609
|
-
blockquote {
|
|
1610
|
-
border-inline-start: 0.25em solid var(--lexxy-color-ink-lighter);
|
|
1611
|
-
font-style: italic;
|
|
1612
|
-
margin: var(--lexxy-content-margin) 0;
|
|
1613
|
-
padding: 0.5lh 2ch;
|
|
1614
|
-
p:last-child {
|
|
1615
|
-
margin-block-end: 0;
|
|
1616
|
-
}
|
|
1617
|
-
}
|
|
1618
|
-
p:empty {
|
|
1619
|
-
display: none;
|
|
1620
|
-
}
|
|
1621
|
-
a {
|
|
1622
|
-
color: var(--lexxy-color-link);
|
|
1623
|
-
text-decoration: underline;
|
|
1624
|
-
}
|
|
1625
|
-
img, video, embed, object {
|
|
1626
|
-
inline-size: auto;
|
|
1627
|
-
margin-inline: auto;
|
|
1628
|
-
max-block-size: 32rem;
|
|
1629
|
-
object-fit: contain;
|
|
1630
|
-
a:has(&) {
|
|
1631
|
-
display: inline-block;
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
code, pre {
|
|
1635
|
-
background-color: var(--lexxy-color-ink-lightest);
|
|
1636
|
-
border-radius: var(--lexxy-radius);
|
|
1637
|
-
color: var(--lexxy-color-ink);
|
|
1638
|
-
font-family: var(--lexxy-font-mono);
|
|
1639
|
-
font-size: 0.9em;
|
|
1640
|
-
padding: 0.25ch 0.5ch;
|
|
1641
|
-
&:is(pre), &[data-language] {
|
|
1642
|
-
border-radius: var(--lexxy-radius);
|
|
1643
|
-
display: block;
|
|
1644
|
-
hyphens: none;
|
|
1645
|
-
margin-block: 0 var(--lexxy-content-margin);
|
|
1646
|
-
overflow-x: auto;
|
|
1647
|
-
overflow-wrap: break-word;
|
|
1648
|
-
padding: 1ch;
|
|
1649
|
-
tab-size: 2;
|
|
1650
|
-
white-space: pre;
|
|
1651
|
-
@supports (text-wrap: nowrap) {
|
|
1652
|
-
text-wrap: nowrap;
|
|
1653
|
-
}
|
|
1654
|
-
}
|
|
1655
|
-
}
|
|
1656
|
-
ol, ul:not(.lexxy-prompt-menu) {
|
|
1657
|
-
margin-inline-start: calc(var(--lexxy-content-margin) * 1.5);
|
|
1658
|
-
padding: 0;
|
|
1659
|
-
}
|
|
1660
|
-
ul {
|
|
1661
|
-
list-style-type: disc;
|
|
1662
|
-
}
|
|
1663
|
-
ol {
|
|
1664
|
-
list-style-type: decimal;
|
|
1665
|
-
}
|
|
1666
|
-
li.lexxy-nested-listitem {
|
|
1667
|
-
list-style-type: none;
|
|
1668
|
-
ol, ul {
|
|
1669
|
-
margin-block-end: 0;
|
|
1670
|
-
}
|
|
1671
|
-
}
|
|
1672
|
-
hr {
|
|
1673
|
-
border: 0;
|
|
1674
|
-
border-block-end: 1px solid currentColor;
|
|
1675
|
-
inline-size: 20%;
|
|
1676
|
-
margin: calc(0.5em + var(--lexxy-content-margin)) 0;
|
|
1677
|
-
}
|
|
1678
|
-
.horizontal-divider {
|
|
1679
|
-
margin: 0;
|
|
1680
|
-
padding: calc(0.5em + var(--lexxy-content-margin)) 0;
|
|
1681
|
-
hr {
|
|
1682
|
-
margin: 0;
|
|
1683
|
-
}
|
|
1684
|
-
}
|
|
1685
|
-
*:has(+ .horizontal-divider) {
|
|
1686
|
-
margin-block-end: 0;
|
|
1687
|
-
}
|
|
1688
|
-
> :last-child {
|
|
1689
|
-
margin-block-end: 0;
|
|
1690
|
-
}
|
|
1691
|
-
.code-token__attr, .token.attr-name, .token.atrule, .token.attr, .token.keyword {
|
|
1692
|
-
color: var(--lexxy-color-code-token-att);
|
|
1693
|
-
}
|
|
1694
|
-
.code-token__property, .token.boolean, .token.constant, .token.number, .token.property, .token.symbol, .token.tag {
|
|
1695
|
-
color: var(--lexxy-color-code-token-property);
|
|
1696
|
-
}
|
|
1697
|
-
.code-token__selector, .token.attr-value, .token.builtin, .token.char, .token.inserted, .token.line, .token.selector, .token.string {
|
|
1698
|
-
color: var(--lexxy-color-code-token-selector);
|
|
1699
|
-
}
|
|
1700
|
-
.code-token__comment, .token.cdata, .token.comment, .token.doctype, .token.prolog {
|
|
1701
|
-
color: var(--lexxy-color-code-token-comment);
|
|
1702
|
-
font-style: italic;
|
|
1703
|
-
}
|
|
1704
|
-
.code-token__operator, .token.deleted, .token.entity, .token.operator, .token.url, code[data-language="diff"] .code-token__operator + .code-token__selector {
|
|
1705
|
-
color: var(--lexxy-color-code-token-operator);
|
|
1706
|
-
}
|
|
1707
|
-
.code-token__function, .token.class, .token.class-name, .token.function {
|
|
1708
|
-
color: var(--lexxy-color-code-token-function);
|
|
1709
|
-
}
|
|
1710
|
-
.code-token__variable, .token.important, .token.namespace, .token.regex, .token.variable {
|
|
1711
|
-
color: var(--lexxy-color-code-token-variable);
|
|
1712
|
-
}
|
|
1713
|
-
.code-token__punctuation, .token.punctuation {
|
|
1714
|
-
color: var(--lexxy-color-code-token-punctuation);
|
|
1715
|
-
}
|
|
1716
|
-
:where(.lexxy-content__table-wrapper) {
|
|
1717
|
-
margin: 0;
|
|
1718
|
-
margin-block: 1ch;
|
|
1719
|
-
overflow-x: auto;
|
|
1720
|
-
}
|
|
1721
|
-
table {
|
|
1722
|
-
border-collapse: collapse;
|
|
1723
|
-
border-spacing: 0;
|
|
1724
|
-
inline-size: calc(100% - 0.5ch);
|
|
1725
|
-
margin: 0.25ch;
|
|
1726
|
-
th, td {
|
|
1727
|
-
border: 1px solid var(--lexxy-color-ink-lighter);
|
|
1728
|
-
min-width: 5ch;
|
|
1729
|
-
max-width: 50ch;
|
|
1730
|
-
padding: 1ch;
|
|
1731
|
-
text-align: start;
|
|
1732
|
-
word-break: normal;
|
|
1733
|
-
*:last-child {
|
|
1734
|
-
margin-block-end: 0;
|
|
1735
|
-
}
|
|
1736
|
-
&.lexxy-content__table-cell--header {
|
|
1737
|
-
background-color: var(--lexxy-color-table-header-bg);
|
|
1738
|
-
font-weight: bold;
|
|
1739
|
-
}
|
|
1740
|
-
*:is(code, pre) {
|
|
1741
|
-
hyphens: auto;
|
|
1742
|
-
white-space: pre-wrap;
|
|
1743
|
-
@supports (text-wrap: wrap) {
|
|
1744
|
-
text-wrap: wrap;
|
|
1745
|
-
}
|
|
1746
|
-
}
|
|
1747
|
-
}
|
|
1748
|
-
}
|
|
1749
|
-
p:has(.attachment) {
|
|
1750
|
-
text-align: center;
|
|
1751
|
-
}
|
|
1752
|
-
.attachment {
|
|
1753
|
-
--lexxy-attachment-gap: 0.75ch;
|
|
1754
|
-
block-size: auto;
|
|
1755
|
-
box-sizing: border-box;
|
|
1756
|
-
border-radius: var(--lexxy-radius);
|
|
1757
|
-
display: block;
|
|
1758
|
-
inline-size: fit-content;
|
|
1759
|
-
margin-inline: auto;
|
|
1760
|
-
max-inline-size: 100%;
|
|
1761
|
-
min-inline-size: 10ch;
|
|
1762
|
-
padding: var(--lexxy-attachment-gap);
|
|
1763
|
-
position: relative;
|
|
1764
|
-
text-align: center;
|
|
1765
|
-
}
|
|
1766
|
-
.attachment__caption {
|
|
1767
|
-
color: var(--lexxy-color-text-subtle);
|
|
1768
|
-
display: block;
|
|
1769
|
-
font-size: var(--lexxy-text-small);
|
|
1770
|
-
padding: 1ch;
|
|
1771
|
-
}
|
|
1772
|
-
.attachment__icon {
|
|
1773
|
-
aspect-ratio: 4/5;
|
|
1774
|
-
background-color: transparent;
|
|
1775
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1776
|
-
background-color: color-mix(var(--lexxy-attachment-icon-color), transparent 90%);
|
|
1777
|
-
}
|
|
1778
|
-
block-size: 3lh;
|
|
1779
|
-
border: 1px solid var(--lexxy-attachment-icon-color);
|
|
1780
|
-
border-block-start-width: 1.5ch;
|
|
1781
|
-
border-radius: var(--lexxy-radius);
|
|
1782
|
-
box-sizing: border-box;
|
|
1783
|
-
color: var(--lexxy-attachment-icon-color);
|
|
1784
|
-
display: grid;
|
|
1785
|
-
font-size: var(--lexxy-text-small);
|
|
1786
|
-
font-weight: bold;
|
|
1787
|
-
inline-size: auto;
|
|
1788
|
-
overflow: hidden;
|
|
1789
|
-
place-content: center;
|
|
1790
|
-
text-transform: uppercase;
|
|
1791
|
-
white-space: nowrap;
|
|
1792
|
-
}
|
|
1793
|
-
.attachment--preview {
|
|
1794
|
-
img, video {
|
|
1795
|
-
border-radius: var(--lexxy-radius);
|
|
1796
|
-
block-size: auto;
|
|
1797
|
-
display: block;
|
|
1798
|
-
margin-inline: auto;
|
|
1799
|
-
max-inline-size: 100%;
|
|
1800
|
-
-webkit-user-select: none;
|
|
1801
|
-
@supports (user-select: none) {
|
|
1802
|
-
user-select: none;
|
|
1803
|
-
}
|
|
1804
|
-
}
|
|
1805
|
-
> a {
|
|
1806
|
-
display: block;
|
|
1807
|
-
}
|
|
1808
|
-
.attachment__caption {
|
|
1809
|
-
padding-block-end: 0.5ch;
|
|
1810
|
-
}
|
|
1811
|
-
}
|
|
1812
|
-
.attachment--file {
|
|
1813
|
-
--lexxy-attachment-icon-color: var(--lexxy-color-text-subtle);
|
|
1814
|
-
align-items: center;
|
|
1815
|
-
display: flex;
|
|
1816
|
-
flex-wrap: wrap;
|
|
1817
|
-
inline-size: auto;
|
|
1818
|
-
.attachment__caption {
|
|
1819
|
-
display: grid;
|
|
1820
|
-
flex: 1;
|
|
1821
|
-
text-align: start;
|
|
1822
|
-
}
|
|
1823
|
-
.attachment__name {
|
|
1824
|
-
color: var(--lexxy-color-ink);
|
|
1825
|
-
font-weight: bold;
|
|
1826
|
-
}
|
|
1827
|
-
}
|
|
1828
|
-
.attachment--psd, .attachment--key, .attachment--sketch, .attachment--ai, .attachment--eps, .attachment--indd, .attachment--svg, .attachment--ppt, .attachment--pptx {
|
|
1829
|
-
--lexxy-attachment-icon-color: var(--lexxy-color-red);
|
|
1830
|
-
}
|
|
1831
|
-
.attachment--css, .attachment--php, .attachment--json, .attachment--htm, .attachment--html, .attachment--rb, .attachment--erb, .attachment--ts, .attachment--js {
|
|
1832
|
-
--lexxy-attachment-icon-color: var(--lexxy-color-purple);
|
|
1833
|
-
}
|
|
1834
|
-
.attachment--txt, .attachment--pages, .attachment--rtf, .attachment--md, .attachment--doc, .attachment--docx {
|
|
1835
|
-
--lexxy-attachment-icon-color: var(--lexxy-color-blue);
|
|
1836
|
-
}
|
|
1837
|
-
.attachment--csv, .attachment--numbers, .attachment--xls, .attachment--xlsx {
|
|
1838
|
-
--lexxy-attachment-icon-color: var(--lexxy-color-green);
|
|
1839
|
-
}
|
|
1840
|
-
.attachment--error {
|
|
1841
|
-
padding-block: 2ch;
|
|
1842
|
-
}
|
|
1843
|
-
.attachment-gallery {
|
|
1844
|
-
display: block;
|
|
1845
|
-
text-align: center;
|
|
1846
|
-
.attachment {
|
|
1847
|
-
display: inline-flex;
|
|
1848
|
-
flex-direction: column;
|
|
1849
|
-
gap: 0;
|
|
1850
|
-
inline-size: calc(33.333% - 0.8ch);
|
|
1851
|
-
vertical-align: top;
|
|
1852
|
-
.attachment__caption {
|
|
1853
|
-
padding-block-end: 1ch;
|
|
1854
|
-
}
|
|
1855
|
-
}
|
|
1856
|
-
&.attachment-gallery--2, &.attachment-gallery--4 {
|
|
1857
|
-
.attachment {
|
|
1858
|
-
inline-size: calc(50% - 0.8ch);
|
|
1859
|
-
}
|
|
1860
|
-
}
|
|
1861
|
-
}
|
|
1862
|
-
action-text-attachment[content-type^="application/vnd.actiontext"] {
|
|
1863
|
-
--lexxy-attachment-bg-color: transparent;
|
|
1864
|
-
--lexxy-attachment-image-size: 1em;
|
|
1865
|
-
--lexxy-attachment-text-color: currentColor;
|
|
1866
|
-
align-items: center;
|
|
1867
|
-
background: var(--lexxy-attachment-bg-color);
|
|
1868
|
-
border-radius: var(--lexxy-radius);
|
|
1869
|
-
color: var(--lexxy-attachment-text-color);
|
|
1870
|
-
display: inline-flex;
|
|
1871
|
-
gap: 0.25ch;
|
|
1872
|
-
margin: 0;
|
|
1873
|
-
padding: 0;
|
|
1874
|
-
position: relative;
|
|
1875
|
-
white-space: normal;
|
|
1876
|
-
img {
|
|
1877
|
-
block-size: var(--lexxy-attachment-image-size);
|
|
1878
|
-
border-radius: 50%;
|
|
1879
|
-
inline-size: var(--lexxy-attachment-image-size);
|
|
1880
|
-
}
|
|
1881
|
-
}
|
|
1882
|
-
.horizontal-divider {
|
|
1883
|
-
margin: 0;
|
|
1884
|
-
margin-block-end: .5em;
|
|
1885
|
-
padding: 1.5em 0 .5em;
|
|
1886
|
-
hr {
|
|
1887
|
-
border: 0;
|
|
1888
|
-
border-block-end: 1px solid currentColor;
|
|
1889
|
-
inline-size: 20%;
|
|
1890
|
-
margin: 0;
|
|
1891
|
-
}
|
|
1892
|
-
}
|
|
1893
|
-
}
|
|
1894
|
-
@import url("lexxy-variables.css");
|
|
1895
|
-
:where(lexxy-editor) {
|
|
1896
|
-
--lexxy-editor-padding: 1ch;
|
|
1897
|
-
--lexxy-editor-rows: 8lh;
|
|
1898
|
-
@supports (min-block-size: attr(rows lh)) {
|
|
1899
|
-
--lexxy-editor-rows: attr(rows lh, 8lh);
|
|
1900
|
-
}
|
|
1901
|
-
--lexxy-toolbar-gap: 2px;
|
|
1902
|
-
--lexxy-toolbar-spacing: 0.5ch;
|
|
1903
|
-
--lexxy-toolbar-padding: 2px;
|
|
1904
|
-
--lexxy-toolbar-border-size: 1px;
|
|
1905
|
-
--lexxy-toolbar-height: calc(var(--lexxy-toolbar-button-size) + 2 * var(--lexxy-toolbar-padding) + var(--lexxy-toolbar-border-size));
|
|
1906
|
-
border: 1px solid var(--lexxy-color-ink-lighter);
|
|
1907
|
-
border-radius: calc(var(--lexxy-radius) + var(--lexxy-toolbar-gap));
|
|
1908
|
-
background-color: var(--lexxy-color-canvas);
|
|
1909
|
-
container-type: inline-size;
|
|
1910
|
-
display: block;
|
|
1911
|
-
overflow: visible;
|
|
1912
|
-
position: relative;
|
|
1913
|
-
transition: opacity 150ms;
|
|
1914
|
-
p.provisional-paragraph {
|
|
1915
|
-
display: block;
|
|
1916
|
-
&.hidden {
|
|
1917
|
-
block-size: 0.5ch;
|
|
1918
|
-
margin: 0;
|
|
1919
|
-
}
|
|
1920
|
-
}
|
|
1921
|
-
input, button, summary {
|
|
1922
|
-
&:focus-visible {
|
|
1923
|
-
outline: var(--lexxy-focus-ring-size) solid var(--lexxy-focus-ring-color);
|
|
1924
|
-
outline-offset: var(--lexxy-focus-ring-offset);
|
|
1925
|
-
}
|
|
1926
|
-
}
|
|
1927
|
-
summary {
|
|
1928
|
-
list-style: none;
|
|
1929
|
-
&::-webkit-details-marker {
|
|
1930
|
-
display: none;
|
|
1931
|
-
}
|
|
1932
|
-
}
|
|
1933
|
-
button, summary {
|
|
1934
|
-
-webkit-appearance: none;
|
|
1935
|
-
appearance: none;
|
|
1936
|
-
background: var(--lexxy-color-canvas);
|
|
1937
|
-
border: none;
|
|
1938
|
-
border-radius: var(--lexxy-radius);
|
|
1939
|
-
cursor: pointer;
|
|
1940
|
-
line-height: normal;
|
|
1941
|
-
font-size: inherit;
|
|
1942
|
-
inline-size: auto;
|
|
1943
|
-
padding: 0;
|
|
1944
|
-
@media (any-hover: hover) {
|
|
1945
|
-
&:hover:not([aria-disabled="true"]) {
|
|
1946
|
-
background: var(--lexxy-color-ink-lightest);
|
|
1947
|
-
}
|
|
1948
|
-
}
|
|
1949
|
-
}
|
|
1950
|
-
.node--selected {
|
|
1951
|
-
outline: var(--lexxy-focus-ring-size) solid var(--lexxy-focus-ring-color);
|
|
1952
|
-
outline-offset: var(--lexxy-focus-ring-offset);
|
|
1953
|
-
}
|
|
1954
|
-
&[data-links-openable] a {
|
|
1955
|
-
cursor: pointer;
|
|
1956
|
-
}
|
|
1957
|
-
table {
|
|
1958
|
-
th, td {
|
|
1959
|
-
position: relative;
|
|
1960
|
-
transition: all 0.1s ease-in-out;
|
|
1961
|
-
&:after {
|
|
1962
|
-
box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent inset;
|
|
1963
|
-
content: "";
|
|
1964
|
-
display: block;
|
|
1965
|
-
inset-block-start: -1px;
|
|
1966
|
-
inset-block-end: -1px;
|
|
1967
|
-
inset-inline-start: -1px;
|
|
1968
|
-
inset-inline-end: -1px;
|
|
1969
|
-
pointer-events: none;
|
|
1970
|
-
position: absolute;
|
|
1971
|
-
transition: box-shadow 0.1s ease-in-out;
|
|
1972
|
-
z-index: 2;
|
|
1973
|
-
}
|
|
1974
|
-
&.lexxy-content__table-cell--selected {
|
|
1975
|
-
background-color: var(--lexxy-color-table-cell-selected-bg);
|
|
1976
|
-
}
|
|
1977
|
-
&.lexxy-content__table-cell--focus {
|
|
1978
|
-
&:after {
|
|
1979
|
-
box-shadow: 0 0 0 0 transparent, 0 0 0 2px var(--lexxy-color-table-cell-selected-border) inset;
|
|
1980
|
-
}
|
|
1981
|
-
}
|
|
1982
|
-
&.lexxy-content__table-cell--highlight {
|
|
1983
|
-
&[data-action="insert"] {
|
|
1984
|
-
&[data-child-type="row"] {
|
|
1985
|
-
&[data-direction="after"] {
|
|
1986
|
-
&:after {
|
|
1987
|
-
box-shadow: 0 var(--lexxy-table-cell-add-size) 0 0 var(--lexxy-color-table-cell-add), 0 calc(-1 * var(--lexxy-table-cell-add-size) - 1px) 0 0 var(--lexxy-color-table-cell-add) inset;
|
|
1988
|
-
}
|
|
1989
|
-
}
|
|
1990
|
-
&[data-direction="before"] {
|
|
1991
|
-
&:after {
|
|
1992
|
-
box-shadow: 0 calc(-1 * var(--lexxy-table-cell-add-size) - 1px) 0 0 var(--lexxy-color-table-cell-add), 0 var(--lexxy-table-cell-add-size) 0 0 var(--lexxy-color-table-cell-add) inset;
|
|
1993
|
-
}
|
|
1994
|
-
}
|
|
1995
|
-
}
|
|
1996
|
-
&[data-child-type="column"] {
|
|
1997
|
-
&[data-direction="after"] {
|
|
1998
|
-
&:after {
|
|
1999
|
-
box-shadow: var(--lexxy-table-cell-add-size) 0 0 0 var(--lexxy-color-table-cell-add), calc(-1 * var(--lexxy-table-cell-add-size) - 1px) 0 0 0 var(--lexxy-color-table-cell-add) inset;
|
|
2000
|
-
}
|
|
2001
|
-
}
|
|
2002
|
-
&[data-direction="before"] {
|
|
2003
|
-
&:after {
|
|
2004
|
-
box-shadow: calc(-1 * var(--lexxy-table-cell-add-size) - 1px) 0 0 0 var(--lexxy-color-table-cell-add), var(--lexxy-table-cell-add-size) 0 0 0 var(--lexxy-color-table-cell-add) inset;
|
|
2005
|
-
}
|
|
2006
|
-
}
|
|
2007
|
-
}
|
|
2008
|
-
}
|
|
2009
|
-
&[data-action="delete"] {
|
|
2010
|
-
background-color: var(--lexxy-color-table-cell-remove);
|
|
2011
|
-
color: var(--lexxy-color-red);
|
|
2012
|
-
&:after {
|
|
2013
|
-
box-shadow: 0 0 0 0 transparent;
|
|
2014
|
-
}
|
|
2015
|
-
}
|
|
2016
|
-
&[data-action="toggle"] {
|
|
2017
|
-
background-color: var(--lexxy-color-table-cell-toggle);
|
|
2018
|
-
&:after {
|
|
2019
|
-
box-shadow: 0 0 0 0 transparent;
|
|
2020
|
-
}
|
|
2021
|
-
}
|
|
2022
|
-
}
|
|
2023
|
-
}
|
|
2024
|
-
tr.lexxy-content__table-cell--highlight[data-action="delete"] {
|
|
2025
|
-
th, td {
|
|
2026
|
-
background-color: var(--lexxy-color-table-cell-remove);
|
|
2027
|
-
color: var(--lexxy-color-red);
|
|
2028
|
-
&:after {
|
|
2029
|
-
box-shadow: 0 0 0 0 transparent;
|
|
2030
|
-
}
|
|
2031
|
-
}
|
|
2032
|
-
}
|
|
2033
|
-
&.lexxy-content__table--selection {
|
|
2034
|
-
::selection {
|
|
2035
|
-
background: transparent;
|
|
2036
|
-
}
|
|
2037
|
-
}
|
|
2038
|
-
}
|
|
2039
|
-
&:has(.lexxy-content__table-cell--selected) {
|
|
2040
|
-
lexxy-table-tools {
|
|
2041
|
-
visibility: hidden;
|
|
2042
|
-
}
|
|
2043
|
-
}
|
|
2044
|
-
[data-lexical-linebreak] {
|
|
2045
|
-
block-size: 0;
|
|
2046
|
-
display: contents;
|
|
2047
|
-
inline-size: 0;
|
|
2048
|
-
}
|
|
2049
|
-
action-text-attachment {
|
|
2050
|
-
cursor: pointer;
|
|
2051
|
-
}
|
|
2052
|
-
.attachment {
|
|
2053
|
-
background-color: var(--lexxy-color-canvas);
|
|
2054
|
-
progress {
|
|
2055
|
-
max-inline-size: 10ch;
|
|
2056
|
-
margin: auto;
|
|
2057
|
-
}
|
|
2058
|
-
&.attachment--preview {
|
|
2059
|
-
progress {
|
|
2060
|
-
inset-block-start: 2ch;
|
|
2061
|
-
inset-inline-start: 0;
|
|
2062
|
-
inset-inline-end: 0;
|
|
2063
|
-
position: absolute;
|
|
2064
|
-
}
|
|
2065
|
-
}
|
|
2066
|
-
&.attachment--error {
|
|
2067
|
-
background: transparent;
|
|
2068
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2069
|
-
background: color-mix(var(--lexxy-color-red) 10%, transparent);
|
|
2070
|
-
}
|
|
2071
|
-
padding: 2ch;
|
|
2072
|
-
&:before {
|
|
2073
|
-
align-items: center;
|
|
2074
|
-
aspect-ratio: 1;
|
|
2075
|
-
background: var(--lexxy-color-red);
|
|
2076
|
-
block-size: 1.5lh;
|
|
2077
|
-
border-radius: 50%;
|
|
2078
|
-
color: white;
|
|
2079
|
-
content: "!";
|
|
2080
|
-
display: flex;
|
|
2081
|
-
justify-content: center;
|
|
2082
|
-
margin: auto;
|
|
2083
|
-
}
|
|
2084
|
-
> div {
|
|
2085
|
-
flex: 1;
|
|
2086
|
-
font-size: 0.85em;
|
|
2087
|
-
padding: 1ch;
|
|
2088
|
-
text-align: start;
|
|
2089
|
-
}
|
|
2090
|
-
}
|
|
2091
|
-
}
|
|
2092
|
-
.attachment[draggable] {
|
|
2093
|
-
cursor: grab;
|
|
2094
|
-
}
|
|
2095
|
-
.attachment.lexxy-dragging {
|
|
2096
|
-
opacity: 0.4;
|
|
2097
|
-
}
|
|
2098
|
-
[data-lexxy-decorator][draggable] {
|
|
2099
|
-
cursor: grab;
|
|
2100
|
-
}
|
|
2101
|
-
[data-lexxy-decorator].lexxy-dragging {
|
|
2102
|
-
opacity: 0.4;
|
|
2103
|
-
}
|
|
2104
|
-
.lexxy-drop-caret {
|
|
2105
|
-
background-color: var(--lexxy-focus-ring-color);
|
|
2106
|
-
border-radius: 1px;
|
|
2107
|
-
inline-size: 2px;
|
|
2108
|
-
pointer-events: none;
|
|
2109
|
-
position: fixed;
|
|
2110
|
-
}
|
|
2111
|
-
[class*="lexxy-drop-target--"] {
|
|
2112
|
-
position: relative;
|
|
2113
|
-
}
|
|
2114
|
-
.lexxy-drop-target--block-before::before, .lexxy-drop-target--block-after::after, .lexxy-drop-target--list-before::before, .lexxy-drop-target--list-after::after {
|
|
2115
|
-
background-color: var(--lexxy-focus-ring-color);
|
|
2116
|
-
block-size: 3px;
|
|
2117
|
-
border-radius: 1px;
|
|
2118
|
-
content: "";
|
|
2119
|
-
inset-inline: 0;
|
|
2120
|
-
pointer-events: none;
|
|
2121
|
-
position: absolute;
|
|
2122
|
-
transform: translate(0, 0.5ch);
|
|
2123
|
-
}
|
|
2124
|
-
.lexxy-drop-target--block-before::before, .lexxy-drop-target--list-before::before {
|
|
2125
|
-
transform: translate(0, -0.5ch);
|
|
2126
|
-
}
|
|
2127
|
-
.lexxy-drop-target--block-before::before, .lexxy-drop-target--list-before::before {
|
|
2128
|
-
inset-block-start: -2px;
|
|
2129
|
-
}
|
|
2130
|
-
.lexxy-drop-target--block-after::after, .lexxy-drop-target--list-after::after {
|
|
2131
|
-
inset-block-end: -2px;
|
|
2132
|
-
}
|
|
2133
|
-
.lexxy-drop-target--gallery-before::before, .lexxy-drop-target--gallery-after::after {
|
|
2134
|
-
background-color: var(--lexxy-focus-ring-color);
|
|
2135
|
-
border-radius: 1px;
|
|
2136
|
-
content: "";
|
|
2137
|
-
inset-block: 0;
|
|
2138
|
-
inline-size: 3px;
|
|
2139
|
-
pointer-events: none;
|
|
2140
|
-
position: absolute;
|
|
2141
|
-
}
|
|
2142
|
-
.lexxy-drop-target--gallery-before::before {
|
|
2143
|
-
inset-inline-start: -4px;
|
|
2144
|
-
}
|
|
2145
|
-
.lexxy-drop-target--gallery-after::after {
|
|
2146
|
-
inset-inline-end: -4px;
|
|
2147
|
-
}
|
|
2148
|
-
.attachment:hover:not(.node--selected) {
|
|
2149
|
-
outline: var(--lexxy-focus-ring-size) solid var(--lexxy-focus-ring-color);
|
|
2150
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2151
|
-
outline: var(--lexxy-focus-ring-size) solid color-mix(in oklch, var(--lexxy-focus-ring-color) 30%, transparent);
|
|
2152
|
-
}
|
|
2153
|
-
outline-offset: var(--lexxy-focus-ring-offset);
|
|
2154
|
-
}
|
|
2155
|
-
.attachment-gallery {
|
|
2156
|
-
--lexxy-attachment-gallery-columns: 3;
|
|
2157
|
-
--lexxy-attachment-gallery-gap: 0.4ch;
|
|
2158
|
-
--lexxy-focus-ring-offset: -6px;
|
|
2159
|
-
padding: 0;
|
|
2160
|
-
.attachment {
|
|
2161
|
-
background: transparent;
|
|
2162
|
-
box-sizing: border-box;
|
|
2163
|
-
margin: var(--lexxy-attachment-gallery-gap);
|
|
2164
|
-
padding: 0;
|
|
2165
|
-
padding-block-end: var(--lexxy-attachment-gap);
|
|
2166
|
-
vertical-align: top;
|
|
2167
|
-
img {
|
|
2168
|
-
box-sizing: border-box;
|
|
2169
|
-
padding: 1ch;
|
|
2170
|
-
padding-block-end: 0;
|
|
2171
|
-
}
|
|
2172
|
-
&.attachment--error {
|
|
2173
|
-
background: transparent;
|
|
2174
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2175
|
-
background: color-mix(var(--lexxy-color-red) 10%, transparent);
|
|
2176
|
-
}
|
|
2177
|
-
padding: 2ch;
|
|
2178
|
-
> div {
|
|
2179
|
-
text-align: center;
|
|
2180
|
-
}
|
|
2181
|
-
}
|
|
2182
|
-
}
|
|
2183
|
-
}
|
|
2184
|
-
.attachment__caption--editable {
|
|
2185
|
-
box-sizing: border-box;
|
|
2186
|
-
cursor: text;
|
|
2187
|
-
.attachment__caption-text {
|
|
2188
|
-
display: block;
|
|
2189
|
-
min-block-size: 1lh;
|
|
2190
|
-
overflow-wrap: anywhere;
|
|
2191
|
-
white-space: pre-wrap;
|
|
2192
|
-
text-align: center;
|
|
2193
|
-
}
|
|
2194
|
-
&[data-placeholder] .attachment__caption-text {
|
|
2195
|
-
overflow: hidden;
|
|
2196
|
-
text-overflow: ellipsis;
|
|
2197
|
-
white-space: nowrap;
|
|
2198
|
-
}
|
|
2199
|
-
}
|
|
2200
|
-
.attachment__caption--editing .attachment__caption-text {
|
|
2201
|
-
display: none;
|
|
2202
|
-
}
|
|
2203
|
-
}
|
|
2204
|
-
:where(lexxy-editor:not(:defined)) {
|
|
2205
|
-
min-block-size: calc(var(--lexxy-toolbar-height) + var(--lexxy-editor-rows) + 2 * var(--lexxy-editor-padding));
|
|
2206
|
-
}
|
|
2207
|
-
:where(.lexxy-editor--empty) .lexxy-editor__content:not(:has(h1, h2, h3, h4, h5, h6, table, ul, ol, figure, .attachment-gallery))::before {
|
|
2208
|
-
content: attr(placeholder);
|
|
2209
|
-
color: currentColor;
|
|
2210
|
-
cursor: text;
|
|
2211
|
-
opacity: 0.66;
|
|
2212
|
-
pointer-events: none;
|
|
2213
|
-
position: absolute;
|
|
2214
|
-
white-space: pre-line;
|
|
2215
|
-
}
|
|
2216
|
-
:where(.lexxy-editor__content) {
|
|
2217
|
-
min-block-size: var(--lexxy-editor-rows);
|
|
2218
|
-
outline: 0;
|
|
2219
|
-
padding: var(--lexxy-editor-padding);
|
|
2220
|
-
contain: layout style;
|
|
2221
|
-
}
|
|
2222
|
-
:where(.lexxy-editor--drag-over) {
|
|
2223
|
-
background-color: var(--lexxy-color-selected);
|
|
2224
|
-
border-radius: var(--lexxy-radius);
|
|
2225
|
-
outline: 2px dashed var(--lexxy-color-selected-dark);
|
|
2226
|
-
}
|
|
2227
|
-
:where([data-lexical-cursor]) {
|
|
2228
|
-
animation: blink 1s infinite;
|
|
2229
|
-
block-size: 1lh;
|
|
2230
|
-
border-inline-start: 1.5px solid currentColor;
|
|
2231
|
-
line-height: inherit;
|
|
2232
|
-
margin-block: 0 var(--lexxy-content-margin);
|
|
2233
|
-
}
|
|
2234
|
-
@keyframes blink {
|
|
2235
|
-
0% {
|
|
2236
|
-
opacity: 1;
|
|
2237
|
-
}
|
|
2238
|
-
60% {
|
|
2239
|
-
opacity: 1;
|
|
2240
|
-
}
|
|
2241
|
-
100% {
|
|
2242
|
-
opacity: 0;
|
|
2243
|
-
}
|
|
2244
|
-
}
|
|
2245
|
-
:where(lexxy-toolbar) {
|
|
2246
|
-
--lexxy-toolbar-icon-size: 1.125em;
|
|
2247
|
-
border-block-end: var(--lexxy-toolbar-border-size) solid var(--lexxy-color-ink-lighter);
|
|
2248
|
-
color: currentColor;
|
|
2249
|
-
display: flex;
|
|
2250
|
-
font-size: inherit;
|
|
2251
|
-
gap: var(--lexxy-toolbar-gap);
|
|
2252
|
-
max-inline-size: 100%;
|
|
2253
|
-
padding: var(--lexxy-toolbar-padding);
|
|
2254
|
-
position: relative;
|
|
2255
|
-
@container (width < 300px) {
|
|
2256
|
-
font-size: 0.8em;
|
|
2257
|
-
}
|
|
2258
|
-
&[data-attachments="false"] button[name="image"], &[data-attachments="false"] button[name="file"] {
|
|
2259
|
-
display: none;
|
|
2260
|
-
}
|
|
2261
|
-
&[data-upload="file"] button[name="image"] {
|
|
2262
|
-
display: none;
|
|
2263
|
-
}
|
|
2264
|
-
&[data-upload="image"] button[name="file"] {
|
|
2265
|
-
display: none;
|
|
2266
|
-
}
|
|
2267
|
-
.lexxy-editor__toolbar-button {
|
|
2268
|
-
aspect-ratio: 1;
|
|
2269
|
-
block-size: var(--lexxy-toolbar-button-size);
|
|
2270
|
-
border: 0;
|
|
2271
|
-
border-radius: var(--lexxy-radius);
|
|
2272
|
-
color: currentColor;
|
|
2273
|
-
display: grid;
|
|
2274
|
-
line-height: inherit;
|
|
2275
|
-
place-items: center;
|
|
2276
|
-
&:is(:active):not([aria-disabled="true"]), &[aria-pressed="true"] {
|
|
2277
|
-
background-color: var(--lexxy-color-selected);
|
|
2278
|
-
&:hover {
|
|
2279
|
-
background-color: var(--lexxy-color-selected-hover);
|
|
2280
|
-
}
|
|
2281
|
-
}
|
|
2282
|
-
&[aria-disabled="true"] {
|
|
2283
|
-
cursor: default;
|
|
2284
|
-
opacity: 0.3;
|
|
2285
|
-
}
|
|
2286
|
-
svg {
|
|
2287
|
-
-webkit-touch-callout: none;
|
|
2288
|
-
block-size: var(--lexxy-toolbar-icon-size);
|
|
2289
|
-
fill: currentColor;
|
|
2290
|
-
grid-area: 1/1;
|
|
2291
|
-
inline-size: var(--lexxy-toolbar-icon-size);
|
|
2292
|
-
-webkit-user-select: none;
|
|
2293
|
-
@supports (user-select: none) {
|
|
2294
|
-
user-select: none;
|
|
2295
|
-
}
|
|
2296
|
-
}
|
|
2297
|
-
&.lexxy-editor__toolbar-group-end {
|
|
2298
|
-
position: relative;
|
|
2299
|
-
margin-inline-end: calc(var(--lexxy-toolbar-spacing) + 1px);
|
|
2300
|
-
&:after {
|
|
2301
|
-
background-color: var(--lexxy-color-ink-lighter);
|
|
2302
|
-
block-size: var(--lexxy-toolbar-icon-size);
|
|
2303
|
-
content: "";
|
|
2304
|
-
display: block;
|
|
2305
|
-
inline-size: 1px;
|
|
2306
|
-
inset-inline-end: calc(-1 * var(--lexxy-toolbar-spacing));
|
|
2307
|
-
inset-block: 0;
|
|
2308
|
-
margin: auto;
|
|
2309
|
-
pointer-events: none;
|
|
2310
|
-
position: absolute;
|
|
2311
|
-
}
|
|
2312
|
-
}
|
|
2313
|
-
}
|
|
2314
|
-
.lexxy-editor__toolbar-button--push-right {
|
|
2315
|
-
margin-inline-start: auto;
|
|
2316
|
-
}
|
|
2317
|
-
}
|
|
2318
|
-
:where(.lexxy-editor__toolbar-dropdown) {
|
|
2319
|
-
-webkit-user-select: none;
|
|
2320
|
-
@supports (user-select: none) {
|
|
2321
|
-
user-select: none;
|
|
2322
|
-
}
|
|
2323
|
-
.lexxy-editor__toolbar-button {
|
|
2324
|
-
color: currentColor;
|
|
2325
|
-
&:hover {
|
|
2326
|
-
opacity: 0.8;
|
|
2327
|
-
}
|
|
2328
|
-
&.lexxy-editor__toolbar-button--chevron {
|
|
2329
|
-
aspect-ratio: unset;
|
|
2330
|
-
gap: 0.5ch;
|
|
2331
|
-
grid-template-columns: 2fr 1fr;
|
|
2332
|
-
min-inline-size: calc(var(--lexxy-toolbar-button-size) + 1.2ch);
|
|
2333
|
-
padding-inline: 0.75ch;
|
|
2334
|
-
&:after {
|
|
2335
|
-
block-size: 0.3ch;
|
|
2336
|
-
border-block-end: 2px solid currentColor;
|
|
2337
|
-
border-inline-end: 2px solid currentColor;
|
|
2338
|
-
content: "";
|
|
2339
|
-
display: inline-block;
|
|
2340
|
-
inline-size: 0.3ch;
|
|
2341
|
-
transform: rotate(45deg);
|
|
2342
|
-
}
|
|
2343
|
-
}
|
|
2344
|
-
}
|
|
2345
|
-
> .lexxy-editor__toolbar-button[aria-expanded="true"] {
|
|
2346
|
-
background-color: var(--lexxy-color-selected-hover);
|
|
2347
|
-
border-end-end-radius: 0;
|
|
2348
|
-
border-end-start-radius: 0;
|
|
2349
|
-
&:hover {
|
|
2350
|
-
background-color: var(--lexxy-color-selected-hover);
|
|
2351
|
-
}
|
|
2352
|
-
}
|
|
2353
|
-
[data-dropdown-panel] {
|
|
2354
|
-
background-color: var(--lexxy-color-canvas);
|
|
2355
|
-
border: 2px solid var(--lexxy-color-selected-hover);
|
|
2356
|
-
border-radius: calc(var(--lexxy-radius) + var(--lexxy-toolbar-gap));
|
|
2357
|
-
box-sizing: border-box;
|
|
2358
|
-
box-shadow: var(--lexxy-shadow);
|
|
2359
|
-
color: var(--lexxy-color-text);
|
|
2360
|
-
display: flex;
|
|
2361
|
-
gap: var(--lexxy-toolbar-gap);
|
|
2362
|
-
margin: 0;
|
|
2363
|
-
padding: var(--lexxy-toolbar-spacing);
|
|
2364
|
-
position: absolute;
|
|
2365
|
-
z-index: 3;
|
|
2366
|
-
&[hidden], [overflowing] &[hidden] {
|
|
2367
|
-
display: none;
|
|
2368
|
-
}
|
|
2369
|
-
}
|
|
2370
|
-
.lexxy-editor__toolbar-dropdown-list {
|
|
2371
|
-
border-start-start-radius: 0;
|
|
2372
|
-
flex-direction: column;
|
|
2373
|
-
padding: 0.1ch;
|
|
2374
|
-
button {
|
|
2375
|
-
align-items: center;
|
|
2376
|
-
color: var(--lexxy-color-text);
|
|
2377
|
-
display: flex;
|
|
2378
|
-
flex-direction: row;
|
|
2379
|
-
gap: 1ch;
|
|
2380
|
-
padding: 1ch;
|
|
2381
|
-
position: relative;
|
|
2382
|
-
&[aria-checked="true"] {
|
|
2383
|
-
background-color: var(--lexxy-color-selected);
|
|
2384
|
-
&:hover {
|
|
2385
|
-
background-color: var(--lexxy-color-selected-hover);
|
|
2386
|
-
}
|
|
2387
|
-
}
|
|
2388
|
-
span {
|
|
2389
|
-
font-size: var(--lexxy-text-small);
|
|
2390
|
-
}
|
|
2391
|
-
svg {
|
|
2392
|
-
block-size: 1lh;
|
|
2393
|
-
fill: currentColor;
|
|
2394
|
-
inline-size: 1lh;
|
|
2395
|
-
}
|
|
2396
|
-
}
|
|
2397
|
-
.lexxy-editor__toolbar-separator {
|
|
2398
|
-
background: var(--lexxy-color-ink-lighter);
|
|
2399
|
-
block-size: 1px;
|
|
2400
|
-
inline-size: 100%;
|
|
2401
|
-
}
|
|
2402
|
-
[overflowing] & {
|
|
2403
|
-
display: grid;
|
|
2404
|
-
grid-template-columns: repeat(4, 1fr);
|
|
2405
|
-
button span {
|
|
2406
|
-
display: none;
|
|
2407
|
-
}
|
|
2408
|
-
.lexxy-editor__toolbar-separator {
|
|
2409
|
-
grid-column: 1 / -1;
|
|
2410
|
-
}
|
|
2411
|
-
}
|
|
2412
|
-
}
|
|
2413
|
-
&.lexxy-editor__toolbar-overflow {
|
|
2414
|
-
display: none;
|
|
2415
|
-
justify-self: flex-end;
|
|
2416
|
-
z-index: 1;
|
|
2417
|
-
[data-dropdown-panel] {
|
|
2418
|
-
border-start-end-radius: 0;
|
|
2419
|
-
display: grid;
|
|
2420
|
-
grid-template-columns: repeat(4, 1fr);
|
|
2421
|
-
inset-inline-end: var(--lexxy-toolbar-gap);
|
|
2422
|
-
}
|
|
2423
|
-
}
|
|
2424
|
-
&.lexxy-editor__toolbar-dropdown--link {
|
|
2425
|
-
[data-dropdown-panel] {
|
|
2426
|
-
font-size: var(--lexxy-text-small);
|
|
2427
|
-
gap: var(--lexxy-toolbar-spacing);
|
|
2428
|
-
inset-inline-start: var(--lexxy-toolbar-spacing);
|
|
2429
|
-
inset-inline-end: var(--lexxy-toolbar-spacing);
|
|
2430
|
-
[overflowing] & {
|
|
2431
|
-
flex-wrap: wrap;
|
|
2432
|
-
}
|
|
2433
|
-
.lexxy-editor__toolbar-dropdown-actions {
|
|
2434
|
-
display: flex;
|
|
2435
|
-
flex: 1;
|
|
2436
|
-
gap: var(--lexxy-toolbar-spacing);
|
|
2437
|
-
}
|
|
2438
|
-
input[type="url"] {
|
|
2439
|
-
background-color: var(--lexxy-color-canvas);
|
|
2440
|
-
border: 1px solid var(--lexxy-color-ink-lighter);
|
|
2441
|
-
border-radius: var(--lexxy-radius);
|
|
2442
|
-
color: var(--lexxy-color-text);
|
|
2443
|
-
block-size: var(--lexxy-toolbar-button-size);
|
|
2444
|
-
box-sizing: border-box;
|
|
2445
|
-
font-size: var(--lexxy-text-small);
|
|
2446
|
-
flex: 2;
|
|
2447
|
-
inline-size: 100%;
|
|
2448
|
-
line-height: inherit;
|
|
2449
|
-
padding-block: 0;
|
|
2450
|
-
padding-inline: 1ch;
|
|
2451
|
-
[overflowing] & {
|
|
2452
|
-
min-inline-size: 100%;
|
|
2453
|
-
}
|
|
2454
|
-
}
|
|
2455
|
-
button {
|
|
2456
|
-
background-color: var(--lexxy-color-ink-lightest);
|
|
2457
|
-
inline-size: 100%;
|
|
2458
|
-
padding-inline: 2ch;
|
|
2459
|
-
}
|
|
2460
|
-
button[value="link"] {
|
|
2461
|
-
background-color: var(--lexxy-color-accent-dark);
|
|
2462
|
-
color: var(--lexxy-color-ink-inverted);
|
|
2463
|
-
&:hover {
|
|
2464
|
-
background-color: var(--lexxy-color-accent-medium);
|
|
2465
|
-
}
|
|
2466
|
-
}
|
|
2467
|
-
}
|
|
2468
|
-
}
|
|
2469
|
-
&.lexxy-editor__toolbar-dropdown--highlight {
|
|
2470
|
-
position: relative;
|
|
2471
|
-
[overflowing] & {
|
|
2472
|
-
position: static;
|
|
2473
|
-
}
|
|
2474
|
-
[data-dropdown-panel] {
|
|
2475
|
-
--max-inline-size: calc(var(--max-colors) * (var(--lexxy-toolbar-button-size) + var(--lexxy-toolbar-spacing)));
|
|
2476
|
-
border-start-start-radius: 0;
|
|
2477
|
-
gap: var(--lexxy-toolbar-spacing);
|
|
2478
|
-
flex-direction: column;
|
|
2479
|
-
font-size: var(--lexxy-text-small);
|
|
2480
|
-
inset-inline-start: 0;
|
|
2481
|
-
max-inline-size: var(--max-inline-size);
|
|
2482
|
-
[overflowing] & {
|
|
2483
|
-
border-start-start-radius: calc(var(--lexxy-radius) + var(--lexxy-toolbar-gap));
|
|
2484
|
-
inset-inline-end: var(--lexxy-toolbar-spacing);
|
|
2485
|
-
inset-inline-start: var(--lexxy-toolbar-spacing);
|
|
2486
|
-
}
|
|
2487
|
-
button {
|
|
2488
|
-
position: relative;
|
|
2489
|
-
}
|
|
2490
|
-
.lexxy-highlight-colors {
|
|
2491
|
-
display: grid;
|
|
2492
|
-
gap: var(--lexxy-toolbar-gap);
|
|
2493
|
-
grid-template-columns: repeat(auto-fill, minmax(var(--lexxy-toolbar-button-size), 1fr));
|
|
2494
|
-
max-inline-size: var(--max-inline-size);
|
|
2495
|
-
.lexxy-highlight-colors__group {
|
|
2496
|
-
display: contents;
|
|
2497
|
-
}
|
|
2498
|
-
button {
|
|
2499
|
-
block-size: unset;
|
|
2500
|
-
inline-size: 100%;
|
|
2501
|
-
&:after {
|
|
2502
|
-
align-items: center;
|
|
2503
|
-
content: "Aa";
|
|
2504
|
-
display: flex;
|
|
2505
|
-
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
2506
|
-
inset: 0;
|
|
2507
|
-
justify-content: center;
|
|
2508
|
-
position: absolute;
|
|
2509
|
-
}
|
|
2510
|
-
&[aria-checked="true"] {
|
|
2511
|
-
background-color: transparent;
|
|
2512
|
-
box-shadow: 0 0 0 2px currentColor inset;
|
|
2513
|
-
&:after {
|
|
2514
|
-
content: "✓";
|
|
2515
|
-
}
|
|
2516
|
-
}
|
|
2517
|
-
}
|
|
2518
|
-
}
|
|
2519
|
-
.lexxy-editor__toolbar-dropdown-reset {
|
|
2520
|
-
background-color: var(--lexxy-color-ink-lightest);
|
|
2521
|
-
&:is([disabled]) {
|
|
2522
|
-
display: none;
|
|
2523
|
-
}
|
|
2524
|
-
}
|
|
2525
|
-
}
|
|
2526
|
-
}
|
|
2527
|
-
}
|
|
2528
|
-
:where(.lexxy-floating-controls) {
|
|
2529
|
-
--button-size: 2.3lh;
|
|
2530
|
-
--floating-tools-radius: calc(var(--lexxy-radius) * 1.5);
|
|
2531
|
-
color: var(--lexxy-color-ink-inverted);
|
|
2532
|
-
font-size: var(--lexxy-text-small);
|
|
2533
|
-
line-height: 1;
|
|
2534
|
-
position: absolute;
|
|
2535
|
-
z-index: 2;
|
|
2536
|
-
button {
|
|
2537
|
-
align-items: center;
|
|
2538
|
-
background: transparent;
|
|
2539
|
-
block-size: var(--button-size);
|
|
2540
|
-
color: var(--lexxy-color-ink-inverted);
|
|
2541
|
-
display: flex;
|
|
2542
|
-
justify-content: center;
|
|
2543
|
-
line-height: inherit;
|
|
2544
|
-
min-block-size: var(--button-size);
|
|
2545
|
-
min-inline-size: var(--button-size);
|
|
2546
|
-
-webkit-user-select: none;
|
|
2547
|
-
@supports (user-select: none) {
|
|
2548
|
-
user-select: none;
|
|
2549
|
-
}
|
|
2550
|
-
@media (any-hover: hover) {
|
|
2551
|
-
&:hover:not([aria-disabled="true"]), &.lexxy-table-control__more-menu-trigger[aria-expanded="true"] {
|
|
2552
|
-
background: var(--lexxy-color-ink-medium);
|
|
2553
|
-
svg {
|
|
2554
|
-
opacity: 1;
|
|
2555
|
-
}
|
|
2556
|
-
}
|
|
2557
|
-
&:focus-visible {
|
|
2558
|
-
outline-color: var(--lexxy-focus-ring-color);
|
|
2559
|
-
}
|
|
2560
|
-
}
|
|
2561
|
-
}
|
|
2562
|
-
button {
|
|
2563
|
-
aspect-ratio: 1 / 1;
|
|
2564
|
-
font-weight: bold;
|
|
2565
|
-
svg {
|
|
2566
|
-
block-size: 1.125em;
|
|
2567
|
-
inline-size: 1.125em;
|
|
2568
|
-
fill: currentColor;
|
|
2569
|
-
opacity: 0.8;
|
|
2570
|
-
padding: 1px;
|
|
2571
|
-
}
|
|
2572
|
-
span {
|
|
2573
|
-
display: none;
|
|
2574
|
-
}
|
|
2575
|
-
}
|
|
2576
|
-
.lexxy-table-control__more-menu-trigger {
|
|
2577
|
-
aspect-ratio: auto;
|
|
2578
|
-
box-shadow: 0 0 0 1px inset var(--lexxy-color-floating-controls-separator);
|
|
2579
|
-
font-weight: normal;
|
|
2580
|
-
padding: 0 1.25ch;
|
|
2581
|
-
}
|
|
2582
|
-
.lexxy-floating-controls__group {
|
|
2583
|
-
background-color: var(--lexxy-color-ink);
|
|
2584
|
-
border-radius: var(--floating-tools-radius);
|
|
2585
|
-
padding: 0.25ch;
|
|
2586
|
-
}
|
|
2587
|
-
&:is(lexxy-table-tools) {
|
|
2588
|
-
flex-direction: row;
|
|
2589
|
-
gap: 0.25ch;
|
|
2590
|
-
inset-inline-start: var(--lexxy-editor-padding);
|
|
2591
|
-
transform: translate(-50%, -120%);
|
|
2592
|
-
.lexxy-table-control {
|
|
2593
|
-
align-items: stretch;
|
|
2594
|
-
display: flex;
|
|
2595
|
-
flex-direction: row;
|
|
2596
|
-
gap: 0.25ch;
|
|
2597
|
-
white-space: nowrap;
|
|
2598
|
-
.lexxy-table-control__more-menu {
|
|
2599
|
-
display: flex;
|
|
2600
|
-
gap: 0;
|
|
2601
|
-
position: relative;
|
|
2602
|
-
.lexxy-table-control__more-menu-details {
|
|
2603
|
-
background: var(--lexxy-color-ink);
|
|
2604
|
-
border-radius: var(--floating-tools-radius);
|
|
2605
|
-
display: flex;
|
|
2606
|
-
flex-direction: column;
|
|
2607
|
-
gap: 0.25ch;
|
|
2608
|
-
inset-block-start: 110%;
|
|
2609
|
-
inset-inline-start: 50%;
|
|
2610
|
-
padding: 0.25ch;
|
|
2611
|
-
position: absolute;
|
|
2612
|
-
transform: translateX(-50%);
|
|
2613
|
-
&[hidden] {
|
|
2614
|
-
display: none;
|
|
2615
|
-
}
|
|
2616
|
-
button {
|
|
2617
|
-
aspect-ratio: unset;
|
|
2618
|
-
flex-direction: row;
|
|
2619
|
-
font-weight: normal;
|
|
2620
|
-
gap: 1ch;
|
|
2621
|
-
justify-content: flex-start;
|
|
2622
|
-
padding: 0.75ch;
|
|
2623
|
-
padding-inline-end: 1.5ch;
|
|
2624
|
-
white-space: nowrap;
|
|
2625
|
-
span {
|
|
2626
|
-
display: inline-block;
|
|
2627
|
-
}
|
|
2628
|
-
svg {
|
|
2629
|
-
block-size: 1.3lh;
|
|
2630
|
-
inline-size: 1.3lh;
|
|
2631
|
-
fill: currentColor;
|
|
2632
|
-
}
|
|
2633
|
-
}
|
|
2634
|
-
}
|
|
2635
|
-
}
|
|
2636
|
-
.lexxy-table-control__button--delete-table {
|
|
2637
|
-
align-items: center;
|
|
2638
|
-
block-size: auto;
|
|
2639
|
-
font-weight: normal;
|
|
2640
|
-
justify-content: center;
|
|
2641
|
-
svg {
|
|
2642
|
-
block-size: 1.125em;
|
|
2643
|
-
inline-size: 1.125em;
|
|
2644
|
-
min-block-size: 1.125em;
|
|
2645
|
-
min-inline-size: 1.125em;
|
|
2646
|
-
}
|
|
2647
|
-
span {
|
|
2648
|
-
align-items: center;
|
|
2649
|
-
background: var(--lexxy-color-ink);
|
|
2650
|
-
border-radius: var(--floating-tools-radius);
|
|
2651
|
-
color: var(--lexxy-color-ink-inverted);
|
|
2652
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2653
|
-
color: color-mix(in srgb, var(--lexxy-color-ink-inverted) 80%, transparent);
|
|
2654
|
-
}
|
|
2655
|
-
display: flex;
|
|
2656
|
-
inset-inline-end: calc(var(--button-size) + 1ch);
|
|
2657
|
-
inset-block-start: 0;
|
|
2658
|
-
inset-block-end: 0;
|
|
2659
|
-
inset-inline-start: 0;
|
|
2660
|
-
justify-content: center;
|
|
2661
|
-
padding: 0.5ch 1ch;
|
|
2662
|
-
position: absolute;
|
|
2663
|
-
transition: all 0.2s ease-out;
|
|
2664
|
-
opacity: 0;
|
|
2665
|
-
pointer-events: none;
|
|
2666
|
-
white-space: nowrap;
|
|
2667
|
-
}
|
|
2668
|
-
&:hover {
|
|
2669
|
-
background-color: var(--lexxy-color-red);
|
|
2670
|
-
svg {
|
|
2671
|
-
color: var(--lexxy-color-ink-inverted);
|
|
2672
|
-
}
|
|
2673
|
-
span {
|
|
2674
|
-
opacity: 1;
|
|
2675
|
-
}
|
|
2676
|
-
}
|
|
2677
|
-
}
|
|
2678
|
-
}
|
|
2679
|
-
}
|
|
2680
|
-
&:is(lexxy-attachment-toolbar) {
|
|
2681
|
-
display: flex;
|
|
2682
|
-
left: calc(var(--lexxy-anchor-left) + var(--lexxy-anchor-width));
|
|
2683
|
-
top: var(--lexxy-anchor-top);
|
|
2684
|
-
transform: translate(calc(-100% - 1.5ch), 1.5ch);
|
|
2685
|
-
&[hidden] {
|
|
2686
|
-
display: none;
|
|
2687
|
-
}
|
|
2688
|
-
&[data-node-type="horizontal_divider"] {
|
|
2689
|
-
--button-size: 1.8lh;
|
|
2690
|
-
top: calc(var(--lexxy-anchor-top) + var(--lexxy-anchor-height) / 2);
|
|
2691
|
-
transform: translate(calc(-100% - 0.5ch), -50%);
|
|
2692
|
-
}
|
|
2693
|
-
&[data-presentation="inline"] {
|
|
2694
|
-
--button-size: 1.6lh;
|
|
2695
|
-
top: calc(var(--lexxy-anchor-top) + var(--lexxy-anchor-height) / 2);
|
|
2696
|
-
transform: translate(0.5ch, -50%);
|
|
2697
|
-
&[data-overflow] {
|
|
2698
|
-
transform: translate(-100%, -50%);
|
|
2699
|
-
}
|
|
2700
|
-
}
|
|
2701
|
-
.lexxy-floating-controls__group {
|
|
2702
|
-
display: flex;
|
|
2703
|
-
}
|
|
2704
|
-
button[hidden] {
|
|
2705
|
-
display: none;
|
|
2706
|
-
}
|
|
2707
|
-
.lexxy-attachment-toolbar__alternative-text {
|
|
2708
|
-
aspect-ratio: auto;
|
|
2709
|
-
margin-inline-end: calc(var(--lexxy-toolbar-spacing) + 1px);
|
|
2710
|
-
padding-inline: 1ch;
|
|
2711
|
-
position: relative;
|
|
2712
|
-
span {
|
|
2713
|
-
display: inline-block;
|
|
2714
|
-
font-size: 0.9em;
|
|
2715
|
-
}
|
|
2716
|
-
&:after {
|
|
2717
|
-
background-color: var(--lexxy-color-floating-controls-separator);
|
|
2718
|
-
block-size: 1.125em;
|
|
2719
|
-
content: "";
|
|
2720
|
-
display: block;
|
|
2721
|
-
inline-size: 1px;
|
|
2722
|
-
inset-block: 0;
|
|
2723
|
-
inset-inline-end: calc(-1 * var(--lexxy-toolbar-spacing));
|
|
2724
|
-
margin: auto;
|
|
2725
|
-
pointer-events: none;
|
|
2726
|
-
position: absolute;
|
|
2727
|
-
}
|
|
2728
|
-
}
|
|
2729
|
-
.lexxy-attachment-toolbar__remove:hover, .lexxy-attachment-toolbar__remove:focus-visible {
|
|
2730
|
-
background-color: var(--lexxy-color-red);
|
|
2731
|
-
}
|
|
2732
|
-
}
|
|
2733
|
-
&:is(lexxy-code-language-picker) {
|
|
2734
|
-
inset-inline-end: var(--lexxy-editor-padding);
|
|
2735
|
-
select {
|
|
2736
|
-
-webkit-appearance: none;
|
|
2737
|
-
appearance: none;
|
|
2738
|
-
background-color: var(--lexxy-color-canvas);
|
|
2739
|
-
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 19.5c-.7 0-1.3-.3-1.7-.8l-9.8-11.1c-.7-.8-.6-1.9.2-2.6.8-.6 1.9-.6 2.5.2l8.6 9.8c0 .1.2.1.4 0l8.6-9.8c.7-.8 1.8-.9 2.6-.2s.9 1.8.2 2.6l-9.8 11.1c-.4.5-1.1.8-1.7.8z' fill='%23000'/%3E%3C/svg%3E");
|
|
2740
|
-
background-position: center right 1ch;
|
|
2741
|
-
background-repeat: no-repeat;
|
|
2742
|
-
background-size: 1ch;
|
|
2743
|
-
block-size: 1.5lh;
|
|
2744
|
-
border: 1px solid var(--lexxy-color-ink-lighter);
|
|
2745
|
-
border-radius: var(--lexxy-radius);
|
|
2746
|
-
color: var(--lexxy-color-ink);
|
|
2747
|
-
font-family: var(--lexxy-font-base);
|
|
2748
|
-
font-size: var(--lexxy-text-small);
|
|
2749
|
-
font-weight: normal;
|
|
2750
|
-
margin: 0.5ch 0.5ch 0 -0.5ch;
|
|
2751
|
-
padding: 0 2ch 0 1ch;
|
|
2752
|
-
text-align: start;
|
|
2753
|
-
@media (prefers-color-scheme: dark) {
|
|
2754
|
-
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 19.5c-.7 0-1.3-.3-1.7-.8l-9.8-11.1c-.7-.8-.6-1.9.2-2.6.8-.6 1.9-.6 2.5.2l8.6 9.8c0 .1.2.1.4 0l8.6-9.8c.7-.8 1.8-.9 2.6-.2s.9 1.8.2 2.6l-9.8 11.1c-.4.5-1.1.8-1.7.8z' fill='%23fff'/%3E%3C/svg%3E");
|
|
2755
|
-
}
|
|
2756
|
-
}
|
|
2757
|
-
}
|
|
2758
|
-
}
|
|
2759
|
-
:where(.lexxy-prompt-menu) {
|
|
2760
|
-
--lexxy-prompt-avatar-size: 24px;
|
|
2761
|
-
--lexxy-prompt-padding: 0.5ch;
|
|
2762
|
-
--lexxy-prompt-offset-x: 0;
|
|
2763
|
-
--lexxy-prompt-offset-y: 0;
|
|
2764
|
-
background-color: var(--lexxy-color-canvas);
|
|
2765
|
-
border-radius: calc(var(--lexxy-prompt-padding) * 2);
|
|
2766
|
-
box-shadow: var(--lexxy-shadow);
|
|
2767
|
-
color: var(--lexxy-color-ink);
|
|
2768
|
-
font-family: var(--lexxy-font-base);
|
|
2769
|
-
font-size: var(--lexxy-text-small);
|
|
2770
|
-
list-style: none;
|
|
2771
|
-
inset-block-start: var(--lexxy-prompt-offset-y);
|
|
2772
|
-
inset-inline-start: var(--lexxy-prompt-offset-x);
|
|
2773
|
-
margin: 0;
|
|
2774
|
-
max-block-size: 200px;
|
|
2775
|
-
max-inline-size: min(20ch, calc(100% - var(--lexxy-prompt-offset-x)));
|
|
2776
|
-
min-inline-size: 20ch;
|
|
2777
|
-
overflow: auto;
|
|
2778
|
-
padding: var(--lexxy-prompt-padding);
|
|
2779
|
-
position: absolute;
|
|
2780
|
-
visibility: hidden;
|
|
2781
|
-
z-index: var(--lexxy-z-popup);
|
|
2782
|
-
&[data-clipped-at-right] {
|
|
2783
|
-
inset-inline-start: unset;
|
|
2784
|
-
inset-inline-end: 1ch;
|
|
2785
|
-
max-inline-size: calc(100% - 1ch);
|
|
2786
|
-
}
|
|
2787
|
-
&[data-clipped-at-bottom] {
|
|
2788
|
-
inset-block-start: unset;
|
|
2789
|
-
inset-block-end: var(--lexxy-prompt-offset-y);
|
|
2790
|
-
}
|
|
2791
|
-
}
|
|
2792
|
-
:where(.lexxy-prompt-menu--visible[data-anchored]) {
|
|
2793
|
-
visibility: initial;
|
|
2794
|
-
}
|
|
2795
|
-
:where(.lexxy-prompt-menu__item) {
|
|
2796
|
-
align-items: center;
|
|
2797
|
-
border-radius: var(--lexxy-radius);
|
|
2798
|
-
cursor: pointer;
|
|
2799
|
-
display: flex;
|
|
2800
|
-
gap: var(--lexxy-prompt-padding);
|
|
2801
|
-
padding: var(--lexxy-prompt-padding);
|
|
2802
|
-
&:hover {
|
|
2803
|
-
background-color: var(--lexxy-color-ink-lightest);
|
|
2804
|
-
}
|
|
2805
|
-
&[aria-selected] {
|
|
2806
|
-
background-color: var(--lexxy-color-selected);
|
|
2807
|
-
}
|
|
2808
|
-
img {
|
|
2809
|
-
block-size: var(--lexxy-prompt-avatar-size);
|
|
2810
|
-
border-radius: 50%;
|
|
2811
|
-
flex-shrink: 0;
|
|
2812
|
-
inline-size: var(--lexxy-prompt-avatar-size);
|
|
2813
|
-
margin: 0;
|
|
2814
|
-
}
|
|
2815
|
-
+ & {
|
|
2816
|
-
margin-top: 2px;
|
|
2817
|
-
}
|
|
2818
|
-
}
|
|
2819
|
-
:where(.lexxy-prompt-menu__item--empty) {
|
|
2820
|
-
color: var(--lexxy-color-ink-medium);
|
|
2821
|
-
padding: var(--lexxy-prompt-padding);
|
|
2822
|
-
}
|
|
2823
|
-
action-text-attachment[content-type^="application/vnd.actiontext"].node--selected {
|
|
2824
|
-
--lexxy-attachment-bg-color: var(--lexxy-color-accent-dark);
|
|
2825
|
-
--lexxy-attachment-text-color: var(--lexxy-color-ink-inverted);
|
|
2826
|
-
outline: none;
|
|
2827
|
-
}
|
|
2828
|
-
:where(lexxy-live-region, .lexxy-fake-selection) {
|
|
2829
|
-
block-size: 1px;
|
|
2830
|
-
border: 0;
|
|
2831
|
-
clip-path: inset(50%);
|
|
2832
|
-
inline-size: 1px;
|
|
2833
|
-
margin: -1px;
|
|
2834
|
-
overflow: hidden;
|
|
2835
|
-
padding: 0;
|
|
2836
|
-
position: absolute;
|
|
2837
|
-
white-space: nowrap;
|
|
2838
|
-
}
|
|
2839
|
-
.lexxy-fake-selection {
|
|
2840
|
-
-webkit-user-select: text;
|
|
2841
|
-
@supports (user-select: text) {
|
|
2842
|
-
user-select: text;
|
|
2843
|
-
}
|
|
2844
|
-
}
|
|
2845
|
-
:where(.lexxy-caption-editor) {
|
|
2846
|
-
position: absolute;
|
|
2847
|
-
z-index: 2;
|
|
2848
|
-
box-sizing: border-box;
|
|
2849
|
-
background: var(--lexxy-color-canvas);
|
|
2850
|
-
border: 0;
|
|
2851
|
-
border-radius: var(--lexxy-radius);
|
|
2852
|
-
outline: 0;
|
|
2853
|
-
padding: 0;
|
|
2854
|
-
overflow: hidden;
|
|
2855
|
-
@supports (resize: none) {
|
|
2856
|
-
resize: none;
|
|
2857
|
-
}
|
|
2858
|
-
&[hidden] {
|
|
2859
|
-
display: none;
|
|
2860
|
-
}
|
|
2861
|
-
}
|
|
2862
|
-
.lexxy-alternative-text-dialog {
|
|
2863
|
-
background: var(--lexxy-color-canvas);
|
|
2864
|
-
border: 2px solid var(--lexxy-color-selected-hover);
|
|
2865
|
-
border-radius: calc(var(--lexxy-radius) + var(--lexxy-toolbar-gap));
|
|
2866
|
-
box-shadow: var(--lexxy-shadow);
|
|
2867
|
-
box-sizing: border-box;
|
|
2868
|
-
color: var(--lexxy-color-ink);
|
|
2869
|
-
font: inherit;
|
|
2870
|
-
inline-size: 60%;
|
|
2871
|
-
inset-block: calc(var(--lexxy-anchor-bottom) + var(--lexxy-toolbar-spacing)) auto;
|
|
2872
|
-
inset-inline: 0;
|
|
2873
|
-
margin-block: 0;
|
|
2874
|
-
margin-inline: auto;
|
|
2875
|
-
min-inline-size: min(20rem, 100%);
|
|
2876
|
-
overflow: auto;
|
|
2877
|
-
padding: var(--lexxy-toolbar-spacing);
|
|
2878
|
-
z-index: 3;
|
|
2879
|
-
h2 {
|
|
2880
|
-
font-size: inherit;
|
|
2881
|
-
font-weight: bold;
|
|
2882
|
-
line-height: 1.5;
|
|
2883
|
-
margin: 0;
|
|
2884
|
-
padding-block-start: calc(0.25 * var(--lexxy-text-small));
|
|
2885
|
-
padding-inline: calc(0.5 * var(--lexxy-text-small));
|
|
2886
|
-
text-align: center;
|
|
2887
|
-
}
|
|
2888
|
-
.lexxy-alternative-text-dialog__controls {
|
|
2889
|
-
align-items: stretch;
|
|
2890
|
-
display: flex;
|
|
2891
|
-
flex-direction: column;
|
|
2892
|
-
gap: 0.5em;
|
|
2893
|
-
margin-block-start: 0.5em;
|
|
2894
|
-
}
|
|
2895
|
-
textarea {
|
|
2896
|
-
background: var(--lexxy-color-canvas);
|
|
2897
|
-
border: 1px solid var(--lexxy-color-ink-lighter);
|
|
2898
|
-
border-radius: var(--lexxy-radius);
|
|
2899
|
-
box-sizing: border-box;
|
|
2900
|
-
color: inherit;
|
|
2901
|
-
display: block;
|
|
2902
|
-
font: inherit;
|
|
2903
|
-
font-size: var(--lexxy-text-small);
|
|
2904
|
-
font-weight: normal;
|
|
2905
|
-
min-block-size: calc(2lh + 1em + 2px);
|
|
2906
|
-
min-inline-size: 0;
|
|
2907
|
-
padding: 0.5em;
|
|
2908
|
-
@supports (field-sizing: content) {
|
|
2909
|
-
field-sizing: content;
|
|
2910
|
-
}
|
|
2911
|
-
@supports (resize: none) {
|
|
2912
|
-
resize: none;
|
|
2913
|
-
}
|
|
2914
|
-
}
|
|
2915
|
-
button {
|
|
2916
|
-
background-color: var(--lexxy-color-ink-lightest);
|
|
2917
|
-
block-size: var(--lexxy-toolbar-button-size);
|
|
2918
|
-
border: 0;
|
|
2919
|
-
border-radius: var(--lexxy-radius);
|
|
2920
|
-
color: currentColor;
|
|
2921
|
-
cursor: pointer;
|
|
2922
|
-
display: grid;
|
|
2923
|
-
font-size: var(--lexxy-text-small);
|
|
2924
|
-
inline-size: 100%;
|
|
2925
|
-
line-height: inherit;
|
|
2926
|
-
padding-inline: 2ch;
|
|
2927
|
-
place-items: center;
|
|
2928
|
-
&:hover {
|
|
2929
|
-
opacity: 0.8;
|
|
2930
|
-
}
|
|
2931
|
-
}
|
|
2932
|
-
.lexxy-alternative-text-dialog__save {
|
|
2933
|
-
background-color: var(--lexxy-color-accent-dark);
|
|
2934
|
-
color: var(--lexxy-color-ink-inverted);
|
|
2935
|
-
&:hover {
|
|
2936
|
-
background-color: var(--lexxy-color-accent-medium);
|
|
2937
|
-
}
|
|
2938
|
-
}
|
|
2939
|
-
textarea:focus-visible {
|
|
2940
|
-
outline: var(--lexxy-focus-ring-size) solid var(--lexxy-focus-ring-color);
|
|
2941
|
-
outline-offset: var(--lexxy-focus-ring-offset);
|
|
2942
|
-
}
|
|
2943
|
-
.lexxy-alternative-text-dialog__actions {
|
|
2944
|
-
display: flex;
|
|
2945
|
-
gap: 0.5em;
|
|
2946
|
-
button {
|
|
2947
|
-
flex: 1;
|
|
2948
|
-
}
|
|
2949
|
-
}
|
|
2950
|
-
}
|
|
2951
1606
|
.lesli-toolbar {
|
|
2952
1607
|
margin-bottom: calc(var(--spacing) * 6);
|
|
2953
1608
|
display: flex;
|
|
2954
1609
|
width: 100%;
|
|
2955
|
-
flex-
|
|
1610
|
+
flex-wrap: wrap;
|
|
1611
|
+
align-items: center;
|
|
2956
1612
|
gap: calc(var(--spacing) * 2);
|
|
2957
|
-
@media (width >= 40rem) {
|
|
2958
|
-
flex-direction: row;
|
|
2959
|
-
}
|
|
2960
|
-
@media (width >= 40rem) {
|
|
2961
|
-
align-items: center;
|
|
2962
|
-
}
|
|
2963
1613
|
}
|
|
2964
1614
|
.lesli-toolbar__form {
|
|
2965
1615
|
display: flex;
|
|
2966
1616
|
min-width: 0px;
|
|
2967
|
-
flex: 1;
|
|
2968
|
-
flex-
|
|
1617
|
+
flex: 1 1 24rem;
|
|
1618
|
+
flex-wrap: wrap;
|
|
1619
|
+
align-items: center;
|
|
2969
1620
|
gap: calc(var(--spacing) * 2);
|
|
2970
|
-
@media (width >= 40rem) {
|
|
2971
|
-
flex-direction: row;
|
|
2972
|
-
}
|
|
2973
|
-
@media (width >= 40rem) {
|
|
2974
|
-
align-items: center;
|
|
2975
|
-
}
|
|
2976
1621
|
}
|
|
2977
1622
|
.lesli-toolbar__search {
|
|
2978
1623
|
position: relative;
|
|
2979
1624
|
min-width: 0px;
|
|
2980
|
-
flex: 1;
|
|
1625
|
+
flex: 1 1 14rem;
|
|
2981
1626
|
}
|
|
2982
1627
|
.lesli-toolbar__input {
|
|
1628
|
+
display: block;
|
|
2983
1629
|
height: calc(var(--spacing) * 10);
|
|
2984
1630
|
width: 100%;
|
|
2985
1631
|
border-radius: var(--radius-lg);
|
|
@@ -3023,15 +1669,17 @@ Building a better future, one line of code at a time.
|
|
|
3023
1669
|
.lesli-toolbar__search-icon {
|
|
3024
1670
|
pointer-events: none;
|
|
3025
1671
|
position: absolute;
|
|
3026
|
-
|
|
1672
|
+
inset-block: 0px;
|
|
3027
1673
|
left: calc(var(--spacing) * 3);
|
|
3028
|
-
|
|
3029
|
-
|
|
1674
|
+
display: flex;
|
|
1675
|
+
align-items: center;
|
|
1676
|
+
color: var(--color-slate-400);
|
|
1677
|
+
}
|
|
1678
|
+
.lesli-toolbar__search-icon .material-symbols {
|
|
3030
1679
|
font-size: var(--text-lg);
|
|
3031
1680
|
line-height: var(--tw-leading, var(--text-lg--line-height));
|
|
3032
1681
|
--tw-leading: 1;
|
|
3033
1682
|
line-height: 1;
|
|
3034
|
-
color: var(--color-slate-400);
|
|
3035
1683
|
}
|
|
3036
1684
|
.lesli-toolbar__clear {
|
|
3037
1685
|
position: absolute;
|
|
@@ -3082,12 +1730,15 @@ Building a better future, one line of code at a time.
|
|
|
3082
1730
|
}
|
|
3083
1731
|
.lesli-toolbar__filters {
|
|
3084
1732
|
display: flex;
|
|
1733
|
+
max-width: 100%;
|
|
3085
1734
|
flex-wrap: wrap;
|
|
3086
1735
|
align-items: center;
|
|
3087
1736
|
gap: calc(var(--spacing) * 2);
|
|
3088
1737
|
}
|
|
3089
1738
|
.lesli-toolbar__filters select, .lesli-toolbar__filters input {
|
|
3090
1739
|
height: calc(var(--spacing) * 10);
|
|
1740
|
+
max-width: 100%;
|
|
1741
|
+
min-width: 0px;
|
|
3091
1742
|
border-radius: var(--radius-lg);
|
|
3092
1743
|
border-style: var(--tw-border-style);
|
|
3093
1744
|
border-width: 1px;
|
|
@@ -3175,10 +1826,12 @@ Building a better future, one line of code at a time.
|
|
|
3175
1826
|
line-height: 1;
|
|
3176
1827
|
}
|
|
3177
1828
|
.lesli-toolbar__actions {
|
|
1829
|
+
margin-left: auto;
|
|
3178
1830
|
display: flex;
|
|
3179
|
-
|
|
1831
|
+
max-width: 100%;
|
|
3180
1832
|
flex-wrap: wrap;
|
|
3181
1833
|
align-items: center;
|
|
1834
|
+
justify-content: flex-end;
|
|
3182
1835
|
gap: calc(var(--spacing) * 2);
|
|
3183
1836
|
}
|
|
3184
1837
|
}
|
|
@@ -4150,6 +2803,20 @@ Building a better future, one line of code at a time.
|
|
|
4150
2803
|
}
|
|
4151
2804
|
}
|
|
4152
2805
|
}
|
|
2806
|
+
.lesli-navigation-sidebar-mobile {
|
|
2807
|
+
display: block;
|
|
2808
|
+
}
|
|
2809
|
+
.lesli-navigation-sidebar-desktop {
|
|
2810
|
+
display: none;
|
|
2811
|
+
}
|
|
2812
|
+
@media (min-width: 64rem) {
|
|
2813
|
+
.lesli-navigation-sidebar-mobile {
|
|
2814
|
+
display: none;
|
|
2815
|
+
}
|
|
2816
|
+
.lesli-navigation-sidebar-desktop {
|
|
2817
|
+
display: block;
|
|
2818
|
+
}
|
|
2819
|
+
}
|
|
4153
2820
|
@property --tw-translate-x {
|
|
4154
2821
|
syntax: "*";
|
|
4155
2822
|
inherits: false;
|
|
@@ -4165,6 +2832,26 @@ Building a better future, one line of code at a time.
|
|
|
4165
2832
|
inherits: false;
|
|
4166
2833
|
initial-value: 0;
|
|
4167
2834
|
}
|
|
2835
|
+
@property --tw-rotate-x {
|
|
2836
|
+
syntax: "*";
|
|
2837
|
+
inherits: false;
|
|
2838
|
+
}
|
|
2839
|
+
@property --tw-rotate-y {
|
|
2840
|
+
syntax: "*";
|
|
2841
|
+
inherits: false;
|
|
2842
|
+
}
|
|
2843
|
+
@property --tw-rotate-z {
|
|
2844
|
+
syntax: "*";
|
|
2845
|
+
inherits: false;
|
|
2846
|
+
}
|
|
2847
|
+
@property --tw-skew-x {
|
|
2848
|
+
syntax: "*";
|
|
2849
|
+
inherits: false;
|
|
2850
|
+
}
|
|
2851
|
+
@property --tw-skew-y {
|
|
2852
|
+
syntax: "*";
|
|
2853
|
+
inherits: false;
|
|
2854
|
+
}
|
|
4168
2855
|
@property --tw-space-y-reverse {
|
|
4169
2856
|
syntax: "*";
|
|
4170
2857
|
inherits: false;
|
|
@@ -4371,6 +3058,10 @@ Building a better future, one line of code at a time.
|
|
|
4371
3058
|
syntax: "*";
|
|
4372
3059
|
inherits: false;
|
|
4373
3060
|
}
|
|
3061
|
+
@property --tw-ease {
|
|
3062
|
+
syntax: "*";
|
|
3063
|
+
inherits: false;
|
|
3064
|
+
}
|
|
4374
3065
|
@property --tw-outline-style {
|
|
4375
3066
|
syntax: "*";
|
|
4376
3067
|
inherits: false;
|
|
@@ -4392,6 +3083,11 @@ Building a better future, one line of code at a time.
|
|
|
4392
3083
|
--tw-translate-x: 0;
|
|
4393
3084
|
--tw-translate-y: 0;
|
|
4394
3085
|
--tw-translate-z: 0;
|
|
3086
|
+
--tw-rotate-x: initial;
|
|
3087
|
+
--tw-rotate-y: initial;
|
|
3088
|
+
--tw-rotate-z: initial;
|
|
3089
|
+
--tw-skew-x: initial;
|
|
3090
|
+
--tw-skew-y: initial;
|
|
4395
3091
|
--tw-space-y-reverse: 0;
|
|
4396
3092
|
--tw-border-style: solid;
|
|
4397
3093
|
--tw-gradient-position: initial;
|
|
@@ -4439,6 +3135,7 @@ Building a better future, one line of code at a time.
|
|
|
4439
3135
|
--tw-drop-shadow-alpha: 100%;
|
|
4440
3136
|
--tw-drop-shadow-size: initial;
|
|
4441
3137
|
--tw-duration: initial;
|
|
3138
|
+
--tw-ease: initial;
|
|
4442
3139
|
--tw-outline-style: solid;
|
|
4443
3140
|
--tw-content: "";
|
|
4444
3141
|
}
|