coveragebook_components 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/build/coco/app.css +7 -5
  3. data/app/assets/build/coco/app.js +95 -48
  4. data/app/assets/build/coco/book.css +3 -0
  5. data/app/assets/build/coco/book.js +2 -2
  6. data/app/assets/js/helpers/path.js +9 -1
  7. data/app/components/coco/app/blocks/slide_editor/slide_editor.css +4 -0
  8. data/app/components/coco/app/blocks/slide_editor/slide_editor.html.erb +145 -190
  9. data/app/components/coco/app/blocks/slide_editor/slide_editor.js +70 -17
  10. data/app/components/coco/app/blocks/slide_editor/slide_editor.rb +37 -86
  11. data/app/components/coco/app/elements/alert/alert.css +1 -1
  12. data/app/components/coco/app/elements/color_picker_button/color_picker_button.html.erb +17 -16
  13. data/app/components/coco/app/elements/color_picker_button/color_picker_button.js +0 -8
  14. data/app/components/coco/app/elements/color_picker_button/color_picker_button.rb +2 -15
  15. data/app/components/coco/app/elements/image_picker/image_picker.html.erb +4 -4
  16. data/app/components/coco/app/elements/image_picker/image_picker.js +18 -6
  17. data/app/components/coco/app/elements/image_picker/image_picker.rb +2 -11
  18. data/app/components/coco/app/elements/image_picker_button/image_picker_button.html.erb +9 -8
  19. data/app/components/coco/app/elements/image_picker_button/image_picker_button.js +10 -23
  20. data/app/components/coco/app/elements/image_picker_button/image_picker_button.rb +19 -35
  21. data/app/components/coco/app/elements/seamless_textarea/seamless_textarea.html.erb +7 -4
  22. data/app/components/coco/app/elements/seamless_textarea/seamless_textarea.js +9 -3
  23. data/app/components/coco/app/elements/seamless_textarea/seamless_textarea.rb +5 -20
  24. data/app/components/coco/base/image_uploader/image_uploader.html.erb +3 -2
  25. data/app/components/coco/base/image_uploader/image_uploader.rb +2 -12
  26. data/app/components/coco/book/blocks/slides/media_slide/media_slide.css +1 -1
  27. data/lib/coco.rb +1 -1
  28. metadata +2 -6
  29. data/app/assets/build/coco/app.dev.css +0 -3427
  30. data/app/assets/build/coco/app.dev.js +0 -24891
  31. data/app/assets/build/coco/book.dev.css +0 -992
  32. data/app/assets/build/coco/book.dev.js +0 -19840
@@ -1,992 +0,0 @@
1
- /*
2
- ! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com
3
- *//*
4
- 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
5
- 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
6
- */
7
-
8
- *,
9
- ::before,
10
- ::after {
11
- box-sizing: border-box; /* 1 */
12
- border-width: 0; /* 2 */
13
- border-style: solid; /* 2 */
14
- border-color: #E5E7EB; /* 2 */
15
- }
16
-
17
- ::before,
18
- ::after {
19
- --tw-content: '';
20
- }
21
-
22
- /*
23
- 1. Use a consistent sensible line-height in all browsers.
24
- 2. Prevent adjustments of font size after orientation changes in iOS.
25
- 3. Use a more readable tab size.
26
- 4. Use the user's configured `sans` font-family by default.
27
- 5. Use the user's configured `sans` font-feature-settings by default.
28
- 6. Use the user's configured `sans` font-variation-settings by default.
29
- */
30
-
31
- html {
32
- line-height: 1.5; /* 1 */
33
- -webkit-text-size-adjust: 100%; /* 2 */
34
- -moz-tab-size: 4; /* 3 */
35
- -o-tab-size: 4;
36
- tab-size: 4; /* 3 */
37
- font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
38
- font-feature-settings: normal; /* 5 */
39
- font-variation-settings: normal; /* 6 */
40
- }
41
-
42
- /*
43
- 1. Remove the margin in all browsers.
44
- 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
45
- */
46
-
47
- body {
48
- margin: 0; /* 1 */
49
- line-height: inherit; /* 2 */
50
- }
51
-
52
- /*
53
- 1. Add the correct height in Firefox.
54
- 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
55
- 3. Ensure horizontal rules are visible by default.
56
- */
57
-
58
- hr {
59
- height: 0; /* 1 */
60
- color: inherit; /* 2 */
61
- border-top-width: 1px; /* 3 */
62
- }
63
-
64
- /*
65
- Add the correct text decoration in Chrome, Edge, and Safari.
66
- */
67
-
68
- abbr:where([title]) {
69
- -webkit-text-decoration: underline dotted;
70
- text-decoration: underline dotted;
71
- }
72
-
73
- /*
74
- Remove the default font size and weight for headings.
75
- */
76
-
77
- h1,
78
- h2,
79
- h3,
80
- h4,
81
- h5,
82
- h6 {
83
- font-size: inherit;
84
- font-weight: inherit;
85
- }
86
-
87
- /*
88
- Reset links to optimize for opt-in styling instead of opt-out.
89
- */
90
-
91
- a {
92
- color: inherit;
93
- text-decoration: inherit;
94
- }
95
-
96
- /*
97
- Add the correct font weight in Edge and Safari.
98
- */
99
-
100
- b,
101
- strong {
102
- font-weight: bolder;
103
- }
104
-
105
- /*
106
- 1. Use the user's configured `mono` font family by default.
107
- 2. Correct the odd `em` font sizing in all browsers.
108
- */
109
-
110
- code,
111
- kbd,
112
- samp,
113
- pre {
114
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
115
- font-size: 1em; /* 2 */
116
- }
117
-
118
- /*
119
- Add the correct font size in all browsers.
120
- */
121
-
122
- small {
123
- font-size: 80%;
124
- }
125
-
126
- /*
127
- Prevent `sub` and `sup` elements from affecting the line height in all browsers.
128
- */
129
-
130
- sub,
131
- sup {
132
- font-size: 75%;
133
- line-height: 0;
134
- position: relative;
135
- vertical-align: baseline;
136
- }
137
-
138
- sub {
139
- bottom: -0.25em;
140
- }
141
-
142
- sup {
143
- top: -0.5em;
144
- }
145
-
146
- /*
147
- 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
148
- 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
149
- 3. Remove gaps between table borders by default.
150
- */
151
-
152
- table {
153
- text-indent: 0; /* 1 */
154
- border-color: inherit; /* 2 */
155
- border-collapse: collapse; /* 3 */
156
- }
157
-
158
- /*
159
- 1. Change the font styles in all browsers.
160
- 2. Remove the margin in Firefox and Safari.
161
- 3. Remove default padding in all browsers.
162
- */
163
-
164
- button,
165
- input,
166
- optgroup,
167
- select,
168
- textarea {
169
- font-family: inherit; /* 1 */
170
- font-size: 100%; /* 1 */
171
- font-weight: inherit; /* 1 */
172
- line-height: inherit; /* 1 */
173
- color: inherit; /* 1 */
174
- margin: 0; /* 2 */
175
- padding: 0; /* 3 */
176
- }
177
-
178
- /*
179
- Remove the inheritance of text transform in Edge and Firefox.
180
- */
181
-
182
- button,
183
- select {
184
- text-transform: none;
185
- }
186
-
187
- /*
188
- 1. Correct the inability to style clickable types in iOS and Safari.
189
- 2. Remove default button styles.
190
- */
191
-
192
- button,
193
- [type='button'],
194
- [type='reset'],
195
- [type='submit'] {
196
- -webkit-appearance: button; /* 1 */
197
- background-color: transparent; /* 2 */
198
- background-image: none; /* 2 */
199
- }
200
-
201
- /*
202
- Use the modern Firefox focus style for all focusable elements.
203
- */
204
-
205
- :-moz-focusring {
206
- outline: auto;
207
- }
208
-
209
- /*
210
- Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
211
- */
212
-
213
- :-moz-ui-invalid {
214
- box-shadow: none;
215
- }
216
-
217
- /*
218
- Add the correct vertical alignment in Chrome and Firefox.
219
- */
220
-
221
- progress {
222
- vertical-align: baseline;
223
- }
224
-
225
- /*
226
- Correct the cursor style of increment and decrement buttons in Safari.
227
- */
228
-
229
- ::-webkit-inner-spin-button,
230
- ::-webkit-outer-spin-button {
231
- height: auto;
232
- }
233
-
234
- /*
235
- 1. Correct the odd appearance in Chrome and Safari.
236
- 2. Correct the outline style in Safari.
237
- */
238
-
239
- [type='search'] {
240
- -webkit-appearance: textfield; /* 1 */
241
- outline-offset: -2px; /* 2 */
242
- }
243
-
244
- /*
245
- Remove the inner padding in Chrome and Safari on macOS.
246
- */
247
-
248
- ::-webkit-search-decoration {
249
- -webkit-appearance: none;
250
- }
251
-
252
- /*
253
- 1. Correct the inability to style clickable types in iOS and Safari.
254
- 2. Change font properties to `inherit` in Safari.
255
- */
256
-
257
- ::-webkit-file-upload-button {
258
- -webkit-appearance: button; /* 1 */
259
- font: inherit; /* 2 */
260
- }
261
-
262
- /*
263
- Add the correct display in Chrome and Safari.
264
- */
265
-
266
- summary {
267
- display: list-item;
268
- }
269
-
270
- /*
271
- Removes the default spacing and border for appropriate elements.
272
- */
273
-
274
- blockquote,
275
- dl,
276
- dd,
277
- h1,
278
- h2,
279
- h3,
280
- h4,
281
- h5,
282
- h6,
283
- hr,
284
- figure,
285
- p,
286
- pre {
287
- margin: 0;
288
- }
289
-
290
- fieldset {
291
- margin: 0;
292
- padding: 0;
293
- }
294
-
295
- legend {
296
- padding: 0;
297
- }
298
-
299
- ol,
300
- ul,
301
- menu {
302
- list-style: none;
303
- margin: 0;
304
- padding: 0;
305
- }
306
-
307
- /*
308
- Prevent resizing textareas horizontally by default.
309
- */
310
-
311
- textarea {
312
- resize: vertical;
313
- }
314
-
315
- /*
316
- 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
317
- 2. Set the default placeholder color to the user's configured gray 400 color.
318
- */
319
-
320
- input::-moz-placeholder, textarea::-moz-placeholder {
321
- opacity: 1; /* 1 */
322
- color: #9CA3AF; /* 2 */
323
- }
324
-
325
- input::placeholder,
326
- textarea::placeholder {
327
- opacity: 1; /* 1 */
328
- color: #9CA3AF; /* 2 */
329
- }
330
-
331
- /*
332
- Set the default cursor for buttons.
333
- */
334
-
335
- button,
336
- [role="button"] {
337
- cursor: pointer;
338
- }
339
-
340
- /*
341
- Make sure disabled buttons don't get the pointer cursor.
342
- */
343
- :disabled {
344
- cursor: default;
345
- }
346
-
347
- /*
348
- 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
349
- 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
350
- This can trigger a poorly considered lint error in some tools but is included by design.
351
- */
352
-
353
- img,
354
- svg,
355
- video,
356
- canvas,
357
- audio,
358
- iframe,
359
- embed,
360
- object {
361
- display: block; /* 1 */
362
- vertical-align: middle; /* 2 */
363
- }
364
-
365
- /*
366
- Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
367
- */
368
-
369
- img,
370
- video {
371
- max-width: 100%;
372
- height: auto;
373
- }
374
-
375
- /* Make elements with the HTML hidden attribute stay hidden by default */
376
- [hidden] {
377
- display: none;
378
- }
379
-
380
- [type='text'],[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select {
381
- -webkit-appearance: none;
382
- -moz-appearance: none;
383
- appearance: none;
384
- background-color: #fff;
385
- border-color: #6B7280;
386
- border-width: 1px;
387
- border-radius: 0px;
388
- padding-top: 0.5rem;
389
- padding-right: 0.75rem;
390
- padding-bottom: 0.5rem;
391
- padding-left: 0.75rem;
392
- font-size: 1rem;
393
- line-height: 1.5rem;
394
- --tw-shadow: 0 0 #0000;
395
- }
396
-
397
- [type='text']:focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus {
398
- outline: 2px solid transparent;
399
- outline-offset: 2px;
400
- --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
401
- --tw-ring-offset-width: 0px;
402
- --tw-ring-offset-color: #fff;
403
- --tw-ring-color: #0284C7;
404
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
405
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
406
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
407
- border-color: #0284C7;
408
- }
409
-
410
- input::-moz-placeholder, textarea::-moz-placeholder {
411
- color: #6B7280;
412
- opacity: 1;
413
- }
414
-
415
- input::placeholder,textarea::placeholder {
416
- color: #6B7280;
417
- opacity: 1;
418
- }
419
-
420
- ::-webkit-datetime-edit-fields-wrapper {
421
- padding: 0;
422
- }
423
-
424
- ::-webkit-date-and-time-value {
425
- min-height: 1.5em;
426
- }
427
-
428
- ::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field {
429
- padding-top: 0;
430
- padding-bottom: 0;
431
- }
432
-
433
- select {
434
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
435
- background-position: right 0.5rem center;
436
- background-repeat: no-repeat;
437
- background-size: 1.5em 1.5em;
438
- padding-right: 2.5rem;
439
- -webkit-print-color-adjust: exact;
440
- print-color-adjust: exact;
441
- }
442
-
443
- [multiple] {
444
- background-image: initial;
445
- background-position: initial;
446
- background-repeat: unset;
447
- background-size: initial;
448
- padding-right: 0.75rem;
449
- -webkit-print-color-adjust: unset;
450
- print-color-adjust: unset;
451
- }
452
-
453
- [type='checkbox'],[type='radio'] {
454
- -webkit-appearance: none;
455
- -moz-appearance: none;
456
- appearance: none;
457
- padding: 0;
458
- -webkit-print-color-adjust: exact;
459
- print-color-adjust: exact;
460
- display: inline-block;
461
- vertical-align: middle;
462
- background-origin: border-box;
463
- -webkit-user-select: none;
464
- -moz-user-select: none;
465
- user-select: none;
466
- flex-shrink: 0;
467
- height: 1rem;
468
- width: 1rem;
469
- color: #0284C7;
470
- background-color: #fff;
471
- border-color: #6B7280;
472
- border-width: 1px;
473
- --tw-shadow: 0 0 #0000;
474
- }
475
-
476
- [type='checkbox'] {
477
- border-radius: 0px;
478
- }
479
-
480
- [type='radio'] {
481
- border-radius: 100%;
482
- }
483
-
484
- [type='checkbox']:focus,[type='radio']:focus {
485
- outline: 2px solid transparent;
486
- outline-offset: 2px;
487
- --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
488
- --tw-ring-offset-width: 2px;
489
- --tw-ring-offset-color: #fff;
490
- --tw-ring-color: #0284C7;
491
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
492
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
493
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
494
- }
495
-
496
- [type='checkbox']:checked,[type='radio']:checked {
497
- border-color: transparent;
498
- background-color: currentColor;
499
- background-size: 100% 100%;
500
- background-position: center;
501
- background-repeat: no-repeat;
502
- }
503
-
504
- [type='checkbox']:checked {
505
- background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
506
- }
507
-
508
- [type='radio']:checked {
509
- background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
510
- }
511
-
512
- [type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus {
513
- border-color: transparent;
514
- background-color: currentColor;
515
- }
516
-
517
- [type='checkbox']:indeterminate {
518
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
519
- border-color: transparent;
520
- background-color: currentColor;
521
- background-size: 100% 100%;
522
- background-position: center;
523
- background-repeat: no-repeat;
524
- }
525
-
526
- [type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus {
527
- border-color: transparent;
528
- background-color: currentColor;
529
- }
530
-
531
- [type='file'] {
532
- background: unset;
533
- border-color: inherit;
534
- border-width: 0;
535
- border-radius: 0;
536
- padding: 0;
537
- font-size: unset;
538
- line-height: inherit;
539
- }
540
-
541
- [type='file']:focus {
542
- outline: 1px solid ButtonText;
543
- outline: 1px auto -webkit-focus-ring-color;
544
- }
545
- html {
546
- scroll-behavior: smooth;
547
- font-family: proxima-nova, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
548
- --tw-text-opacity: 1;
549
- color: rgb(17 24 39 / var(--tw-text-opacity));
550
- }
551
- @media (prefers-reduced-motion: no-preference) {
552
-
553
- html {
554
- scroll-behavior: auto;
555
- }
556
- }
557
-
558
- a {
559
- color: currentColor;
560
- text-decoration-line: underline;
561
- text-underline-offset: 2px;
562
- }
563
-
564
- [x-cloak] {
565
- display: none !important;
566
- }
567
-
568
- *, ::before, ::after {
569
- --tw-border-spacing-x: 0;
570
- --tw-border-spacing-y: 0;
571
- --tw-translate-x: 0;
572
- --tw-translate-y: 0;
573
- --tw-rotate: 0;
574
- --tw-skew-x: 0;
575
- --tw-skew-y: 0;
576
- --tw-scale-x: 1;
577
- --tw-scale-y: 1;
578
- --tw-pan-x: ;
579
- --tw-pan-y: ;
580
- --tw-pinch-zoom: ;
581
- --tw-scroll-snap-strictness: proximity;
582
- --tw-gradient-from-position: ;
583
- --tw-gradient-via-position: ;
584
- --tw-gradient-to-position: ;
585
- --tw-ordinal: ;
586
- --tw-slashed-zero: ;
587
- --tw-numeric-figure: ;
588
- --tw-numeric-spacing: ;
589
- --tw-numeric-fraction: ;
590
- --tw-ring-inset: ;
591
- --tw-ring-offset-width: 0px;
592
- --tw-ring-offset-color: #fff;
593
- --tw-ring-color: rgb(14 165 233 / 0.5);
594
- --tw-ring-offset-shadow: 0 0 #0000;
595
- --tw-ring-shadow: 0 0 #0000;
596
- --tw-shadow: 0 0 #0000;
597
- --tw-shadow-colored: 0 0 #0000;
598
- --tw-blur: ;
599
- --tw-brightness: ;
600
- --tw-contrast: ;
601
- --tw-grayscale: ;
602
- --tw-hue-rotate: ;
603
- --tw-invert: ;
604
- --tw-saturate: ;
605
- --tw-sepia: ;
606
- --tw-drop-shadow: ;
607
- --tw-backdrop-blur: ;
608
- --tw-backdrop-brightness: ;
609
- --tw-backdrop-contrast: ;
610
- --tw-backdrop-grayscale: ;
611
- --tw-backdrop-hue-rotate: ;
612
- --tw-backdrop-invert: ;
613
- --tw-backdrop-opacity: ;
614
- --tw-backdrop-saturate: ;
615
- --tw-backdrop-sepia: ;
616
- }
617
-
618
- ::backdrop {
619
- --tw-border-spacing-x: 0;
620
- --tw-border-spacing-y: 0;
621
- --tw-translate-x: 0;
622
- --tw-translate-y: 0;
623
- --tw-rotate: 0;
624
- --tw-skew-x: 0;
625
- --tw-skew-y: 0;
626
- --tw-scale-x: 1;
627
- --tw-scale-y: 1;
628
- --tw-pan-x: ;
629
- --tw-pan-y: ;
630
- --tw-pinch-zoom: ;
631
- --tw-scroll-snap-strictness: proximity;
632
- --tw-gradient-from-position: ;
633
- --tw-gradient-via-position: ;
634
- --tw-gradient-to-position: ;
635
- --tw-ordinal: ;
636
- --tw-slashed-zero: ;
637
- --tw-numeric-figure: ;
638
- --tw-numeric-spacing: ;
639
- --tw-numeric-fraction: ;
640
- --tw-ring-inset: ;
641
- --tw-ring-offset-width: 0px;
642
- --tw-ring-offset-color: #fff;
643
- --tw-ring-color: rgb(14 165 233 / 0.5);
644
- --tw-ring-offset-shadow: 0 0 #0000;
645
- --tw-ring-shadow: 0 0 #0000;
646
- --tw-shadow: 0 0 #0000;
647
- --tw-shadow-colored: 0 0 #0000;
648
- --tw-blur: ;
649
- --tw-brightness: ;
650
- --tw-contrast: ;
651
- --tw-grayscale: ;
652
- --tw-hue-rotate: ;
653
- --tw-invert: ;
654
- --tw-saturate: ;
655
- --tw-sepia: ;
656
- --tw-drop-shadow: ;
657
- --tw-backdrop-blur: ;
658
- --tw-backdrop-brightness: ;
659
- --tw-backdrop-contrast: ;
660
- --tw-backdrop-grayscale: ;
661
- --tw-backdrop-hue-rotate: ;
662
- --tw-backdrop-invert: ;
663
- --tw-backdrop-opacity: ;
664
- --tw-backdrop-saturate: ;
665
- --tw-backdrop-sepia: ;
666
- }
667
- [data-coco] .tippy-box {
668
- white-space: normal;
669
- background-color: transparent;
670
- font-size: 16px;
671
- line-height: 20px;
672
- --tw-text-opacity: 1;
673
- color: rgb(17 24 39 / var(--tw-text-opacity));
674
- }
675
- [data-coco] .tippy-content {
676
- padding: 0px;
677
- }
678
- /* arrow border */
679
- [data-coco] .tippy-svg-arrow > svg:first-child {
680
- fill: transparent;
681
- }
682
- /* arrow background */
683
- [data-coco] .tippy-svg-arrow > svg:last-child {
684
- fill: transparent;
685
- }
686
- /* Tooltip theme */
687
- .tippy-box[data-theme~="coco-tooltip"] {
688
- border-radius: 0.5rem;
689
- --tw-bg-opacity: 1;
690
- background-color: rgb(31 41 55 / var(--tw-bg-opacity));
691
- font-size: 14px;
692
- line-height: 16px;
693
- --tw-text-opacity: 1;
694
- color: rgb(255 255 255 / var(--tw-text-opacity));
695
- --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
696
- --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
697
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
698
- }
699
- .tippy-box[data-theme~="coco-tooltip"] .tippy-content {
700
- max-width: 240px;
701
- overflow: hidden;
702
- text-overflow: ellipsis;
703
- white-space: nowrap;
704
- padding-left: 0.75rem;
705
- padding-right: 0.75rem;
706
- padding-top: 0.5rem;
707
- padding-bottom: 0.5rem;
708
- }
709
- /* arrow background */
710
- .tippy-box[data-theme~="coco-tooltip"] .tippy-svg-arrow > svg:first-child {
711
- display: none;
712
- }
713
- .tippy-box[data-theme~="coco-tooltip"] .tippy-svg-arrow > svg:last-child {
714
- fill: #111827;
715
- }
716
- [x-dropdown] [x-dropdown\:content] {
717
- display: none;
718
- }
719
- [data-coco] {
720
- font-family: proxima-nova, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
721
- --tw-text-opacity: 1;
722
- color: rgb(17 24 39 / var(--tw-text-opacity));
723
-
724
- -webkit-font-smoothing: antialiased;
725
- -moz-osx-font-smoothing: grayscale;
726
- }
727
- [data-coco] h1,
728
- [data-coco] h2,
729
- [data-coco] h3,
730
- [data-coco] h4,
731
- [data-coco] h5,
732
- [data-coco] h6 {
733
- font-family: proxima-nova, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
734
- }
735
- [data-coco][data-component="book-editable-slide"] {
736
- /*
737
- * x-padding at max (1480px): 240px / 16.2%
738
- * x-padding at min (320px): 16.2% x 320px = 52px
739
- */
740
- --x-padding: max(38px, clamp(52px, 16.2cqw, 240px));
741
-
742
- /*
743
- * y-padding at max (1480px): 80px / 5.4%
744
- * y-padding at min (320px): 5.4% x 320px = 17px
745
- */
746
- --y-padding: max(38px, clamp(17px, 5.4cqw, 80px));
747
-
748
- /*
749
- * Title font size at max (1480px): 80px / 5.4%
750
- * Title font size at min (320px): 5.4% x 320px = 17px
751
- * Text font size at reflow (700px): 35px
752
- */
753
- --title-font-size: max(
754
- 35px,
755
- clamp(17px, 5.4cqw, 80px)
756
- );
757
-
758
- /*
759
- * Text font size at max (1480px): 32px / 2.16%
760
- * Text font size at min (320px): 2.16% x 320px = 7px
761
- * Text font size at reflow (700px): 14px
762
- */
763
- --text-font-size: max(
764
- 15px,
765
- clamp(7px, 2.16cqw, 32px)
766
- );
767
-
768
- /* ------------- */
769
-
770
- position: relative;
771
-
772
- border-radius: 0.375rem;
773
-
774
- --tw-bg-opacity: 1;
775
-
776
- background-color: rgb(255 255 255 / var(--tw-bg-opacity));
777
-
778
- container-type: inline-size;
779
- min-width: 320px;
780
- }
781
- [data-coco][data-component="book-editable-slide"] .slide-aspect {
782
- display: grid;
783
- min-height: 62.5cqw;
784
- grid-template-columns: repeat(1, minmax(0, 1fr));
785
- grid-template-rows: repeat(1, minmax(0, 1fr));
786
- }
787
- @container (min-width: 700px) {
788
-
789
- @supports (aspect-ratio: 1 / 1) {
790
-
791
- [data-coco][data-component="book-editable-slide"] .slide-aspect {
792
- aspect-ratio: 16 / 10;
793
- }
794
- }
795
-
796
- @supports not (aspect-ratio: 1 / 1) {
797
-
798
- [data-coco][data-component="book-editable-slide"] .slide-aspect::before {
799
- content: "";
800
- float: left;
801
- padding-top: calc(100% / (16 / 10));
802
- }
803
-
804
- [data-coco][data-component="book-editable-slide"] .slide-aspect::after {
805
- clear: left;
806
- content: "";
807
- display: block;
808
- }
809
- }
810
-
811
- [data-coco][data-component="book-editable-slide"] .slide-container {
812
- position: absolute;
813
- inset: 0px;
814
- }
815
- }
816
- [data-coco][data-component="book-editable-slide"] .slide-container {
817
- display: flex;
818
- flex-direction: column;
819
- align-items: center;
820
- justify-content: center;
821
- overflow: hidden;
822
- background-size: cover;
823
- background-position: center;
824
- text-align: center;
825
- }
826
- [data-coco][data-component="book-editable-slide"] [data-slide-region],
827
- [data-coco][data-component="book-editable-slide"] .slide-text,
828
- [data-coco][data-component="book-editable-slide"] .slide-media {
829
- display: none;
830
- }
831
- [data-coco][data-component="book-editable-slide"] .slide-group {
832
- display: contents;
833
- }
834
- /* layouts */
835
- [data-coco][data-component="book-editable-slide"][data-layout="basic"] {
836
- background-size: cover;
837
- background-repeat: no-repeat;
838
- text-align: center;
839
- }
840
- [data-coco][data-component="book-editable-slide"][data-layout="basic"] [data-slide-region="content-1"] {
841
- display: block;
842
- }
843
- [data-coco][data-component="book-editable-slide"][data-layout="basic"] [data-slide-region="content-1"] .slide-text {
844
- display: block;
845
- }
846
- [data-coco][data-component="book-editable-slide"][data-layout="basic"] .slide-container {
847
- overflow: hidden;
848
- padding-left: 2rem;
849
- padding-right: 2rem;
850
- padding-top: var(--y-padding);
851
- padding-bottom: var(--y-padding);
852
- }
853
- @container (min-width: 700px) {
854
-
855
- [data-coco][data-component="book-editable-slide"][data-layout="basic"] .slide-container {
856
- padding-left: var(--x-padding);
857
- padding-right: var(--x-padding);
858
- }
859
- }
860
- [data-coco][data-component="book-editable-slide"][data-layout="basic"] .slide-header {
861
- width: 100%;
862
- margin-bottom: 0.3em;
863
- line-height: 1.1;
864
- font-size: var(--title-font-size);
865
- }
866
- [data-coco][data-component="book-editable-slide"][data-layout="basic"] .slide-content {
867
- width: 100%;
868
- flex: none;
869
- }
870
- [data-coco][data-component="book-editable-slide"][data-layout="basic"] .slide-header,
871
- [data-coco][data-component="book-editable-slide"][data-layout="basic"] .slide-content {
872
- margin-left: auto;
873
- margin-right: auto;
874
- width: 100%;
875
- max-width: 360px;
876
- }
877
- @container (min-width: 700px) {
878
-
879
- [data-coco][data-component="book-editable-slide"][data-layout="basic"] .slide-header,
880
- [data-coco][data-component="book-editable-slide"][data-layout="basic"] .slide-content {
881
- max-width: 100%;
882
- }
883
- }
884
- [data-coco][data-component="book-editable-slide"][data-layout="basic"] .slide-title {
885
- font-weight: 700;
886
- color: currentColor;
887
- overflow-wrap: anywhere;
888
- line-height: 1.1;
889
- }
890
- [data-coco][data-component="book-editable-slide"][data-layout="basic"] .slide-text {
891
- color: currentColor;
892
- line-height: 1.4;
893
- font-size: var(--text-font-size);
894
- }
895
- [data-coco][data-component="book-media-slide"] img {
896
- width: 100%;
897
- border-radius: 0.375rem;
898
- }
899
- .static {
900
- position: static;
901
- }
902
- .fixed {
903
- position: fixed;
904
- }
905
- .block {
906
- display: block;
907
- }
908
- .flex {
909
- display: flex;
910
- }
911
- .contents {
912
- display: contents;
913
- }
914
- .hidden {
915
- display: none;
916
- }
917
- .resize {
918
- resize: both;
919
- }
920
- .italic {
921
- font-style: italic;
922
- }
923
- .\!text-red-500 {
924
- --tw-text-opacity: 1 !important;
925
- color: rgb(239 68 68 / var(--tw-text-opacity)) !important;
926
- }
927
- .text-amber-500 {
928
- --tw-text-opacity: 1;
929
- color: rgb(245 158 11 / var(--tw-text-opacity));
930
- }
931
- .text-red-500 {
932
- --tw-text-opacity: 1;
933
- color: rgb(239 68 68 / var(--tw-text-opacity));
934
- }
935
- .text-teal-500 {
936
- --tw-text-opacity: 1;
937
- color: rgb(20 184 166 / var(--tw-text-opacity));
938
- }
939
- .filter {
940
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
941
- }
942
- /* Transparent gray blend-mode background utilities */
943
- .\!icon {
944
- color: currentColor;
945
- }
946
- .icon {
947
- color: currentColor;
948
- }
949
- .\!icon {
950
- stroke-linecap: round !important;
951
- stroke-linejoin: round !important;
952
- }
953
- .icon {
954
- stroke-linecap: round;
955
- stroke-linejoin: round;
956
- }
957
- .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}
958
- [data-tippy-root]{max-width:calc(100vw - 10px)}
959
- .tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}
960
- .tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}
961
- .tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}
962
- .tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}
963
- .tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}
964
- .tippy-box[data-placement^=left]>.tippy-arrow{right:0}
965
- .tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}
966
- .tippy-box[data-placement^=right]>.tippy-arrow{left:0}
967
- .tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}
968
- .tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}
969
- .tippy-arrow{width:16px;height:16px;color:#333}
970
- .tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}
971
- .tippy-content{position:relative;padding:5px 9px;z-index:1}
972
- .tippy-box[data-placement^=top]>.tippy-svg-arrow{bottom:0}
973
- .tippy-box[data-placement^=top]>.tippy-svg-arrow:after,.tippy-box[data-placement^=top]>.tippy-svg-arrow>svg{top:16px;transform:rotate(180deg)}
974
- .tippy-box[data-placement^=bottom]>.tippy-svg-arrow{top:0}
975
- .tippy-box[data-placement^=bottom]>.tippy-svg-arrow>svg{bottom:16px}
976
- .tippy-box[data-placement^=left]>.tippy-svg-arrow{right:0}
977
- .tippy-box[data-placement^=left]>.tippy-svg-arrow:after,.tippy-box[data-placement^=left]>.tippy-svg-arrow>svg{transform:rotate(90deg);top:calc(50% - 3px);left:11px}
978
- .tippy-box[data-placement^=right]>.tippy-svg-arrow{left:0}
979
- .tippy-box[data-placement^=right]>.tippy-svg-arrow:after,.tippy-box[data-placement^=right]>.tippy-svg-arrow>svg{transform:rotate(-90deg);top:calc(50% - 3px);right:11px}
980
- .tippy-svg-arrow{width:16px;height:16px;fill:#333;text-align:initial}
981
- .tippy-svg-arrow,.tippy-svg-arrow>svg{position:absolute}
982
- .tippy-box{border:1px transparent}
983
- .tippy-box[data-placement^=top]>.tippy-arrow:after{border-top-color:inherit;border-width:8px 8px 0;bottom:-8px;left:0}
984
- .tippy-box[data-placement^=bottom]>.tippy-arrow:after{border-bottom-color:inherit;border-width:0 8px 8px;top:-8px;left:0}
985
- .tippy-box[data-placement^=left]>.tippy-arrow:after{border-left-color:inherit;border-width:8px 0 8px 8px;right:-8px;top:0}
986
- .tippy-box[data-placement^=right]>.tippy-arrow:after{border-width:8px 8px 8px 0;left:-8px;top:0;border-right-color:inherit}
987
- .tippy-box[data-placement^=top]>.tippy-svg-arrow>svg:first-child:not(:last-child){top:17px}
988
- .tippy-box[data-placement^=bottom]>.tippy-svg-arrow>svg:first-child:not(:last-child){bottom:17px}
989
- .tippy-box[data-placement^=left]>.tippy-svg-arrow>svg:first-child:not(:last-child){left:12px}
990
- .tippy-box[data-placement^=right]>.tippy-svg-arrow>svg:first-child:not(:last-child){right:12px}
991
- .tippy-arrow{border-color:inherit}
992
- .tippy-arrow:after{content:"";z-index:-1;position:absolute;border-color:transparent;border-style:solid}