coveragebook_components 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/build/coco/app.css +252 -212
- data/app/assets/build/coco/app.js +19 -2
- data/app/assets/build/coco/book.css +466 -218
- data/app/assets/build/coco/icons/custom/eye-off-red.svg +17 -0
- data/app/assets/build/coco/icons/custom/google-sso.svg +9 -0
- data/app/assets/build/coco/icons/custom/layout-overlay.svg +7 -0
- data/app/assets/build/coco/icons/custom/layout-split.svg +8 -0
- data/app/assets/build/coco/icons/custom/layout-stacked.svg +7 -0
- data/app/assets/build/coco/icons/custom/microsoft-sso.svg +11 -0
- data/app/assets/build/coco/icons/custom/montage.svg +10 -0
- data/app/assets/css/base/utils/icons.css +6 -5
- data/app/assets/css/book.css +1 -0
- data/app/assets/custom_icons/other/eye-off-red.svg +17 -0
- data/app/assets/custom_icons/other/google-sso.svg +9 -0
- data/app/assets/custom_icons/other/layout-overlay.svg +7 -0
- data/app/assets/custom_icons/other/layout-split.svg +8 -0
- data/app/assets/custom_icons/other/layout-stacked.svg +7 -0
- data/app/assets/custom_icons/other/microsoft-sso.svg +11 -0
- data/app/assets/custom_icons/other/montage.svg +10 -0
- data/app/components/coco/app/blocks/slide_editor/slide_editor.css +27 -18
- data/app/components/coco/app/blocks/slide_editor/slide_editor.html.erb +5 -3
- data/app/components/coco/app/blocks/slide_editor/slide_editor.js +23 -0
- data/app/components/coco/app/elements/seamless_textarea/seamless_textarea.js +1 -1
- data/app/components/coco/base/icon/icon.css +6 -2
- data/app/components/coco/base/icon/icon.html.erb +1 -1
- data/app/components/coco/base/icon/icon.rb +32 -9
- data/app/components/coco/book/blocks/slides/editable_slide/editable_slide.css +156 -140
- data/app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb +25 -21
- data/lib/coco.rb +1 -1
- metadata +16 -2
@@ -817,21 +817,28 @@ select{
|
|
817
817
|
height: 1.5rem;
|
818
818
|
width: 1.5rem;
|
819
819
|
flex: none;
|
820
|
+
overflow: hidden;
|
820
821
|
color: currentColor}
|
821
822
|
[data-coco][data-component="icon"] svg{
|
822
823
|
height: 100%;
|
823
|
-
width: 100
|
824
|
-
color: currentColor;
|
825
|
-
stroke-linecap: round;
|
826
|
-
stroke-linejoin: round}
|
824
|
+
width: 100%}
|
827
825
|
/* Styles */
|
828
|
-
[data-coco][data-component="icon"][data-icon]:not([data-style="fill"]) svg{
|
826
|
+
[data-coco][data-component="icon"][data-icon]:not([data-style="fill"]):not([data-style="custom"]) svg{
|
829
827
|
fill: none;
|
830
828
|
stroke: currentColor;
|
831
|
-
stroke-width: 2
|
829
|
+
stroke-width: 2;
|
830
|
+
color: currentColor;
|
831
|
+
stroke-linecap: round;
|
832
|
+
stroke-linejoin: round}
|
832
833
|
[data-coco][data-component="icon"][data-icon][data-style="fill"] svg{
|
833
|
-
fill: currentColor
|
834
|
+
fill: currentColor;
|
835
|
+
color: currentColor;
|
836
|
+
stroke-linecap: round;
|
837
|
+
stroke-linejoin: round}
|
834
838
|
/* Sizes */
|
839
|
+
[data-coco][data-component="icon"][data-size="xs"]{
|
840
|
+
height: 0.75rem;
|
841
|
+
width: 0.75rem}
|
835
842
|
[data-coco][data-component="icon"][data-size="sm"]{
|
836
843
|
height: 1rem;
|
837
844
|
width: 1rem}
|
@@ -1226,7 +1233,8 @@ select{
|
|
1226
1233
|
fill: currentColor;
|
1227
1234
|
stroke: #111827;
|
1228
1235
|
stroke-width: 2px}
|
1229
|
-
[data-coco][data-component="app-slide-editor"]
|
1236
|
+
[data-coco][data-component="app-slide-editor"] .slide-title,
|
1237
|
+
[data-coco][data-component="app-slide-editor"] .slide-text{
|
1230
1238
|
outline-style: solid;
|
1231
1239
|
outline-width: 1px;
|
1232
1240
|
outline-offset: 0px;
|
@@ -1234,9 +1242,9 @@ select{
|
|
1234
1242
|
transition-property: outline-color;
|
1235
1243
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
1236
1244
|
transition-duration: 100ms}
|
1237
|
-
[data-coco][data-component="app-slide-editor"] [data-component="app-
|
1245
|
+
[data-coco][data-component="app-slide-editor"] .slide-title textarea::-moz-placeholder, [data-coco][data-component="app-slide-editor"] .slide-text textarea::-moz-placeholder{
|
1238
1246
|
font-style: italic}
|
1239
|
-
[data-coco][data-component="app-slide-editor"] [data-component="app-
|
1247
|
+
[data-coco][data-component="app-slide-editor"] .slide-title textarea::placeholder, [data-coco][data-component="app-slide-editor"] .slide-text textarea::placeholder{
|
1240
1248
|
font-style: italic}
|
1241
1249
|
[data-coco][data-component="app-slide-editor"] .slide-bg-light .editor-foreground-image,
|
1242
1250
|
[data-coco][data-component="app-slide-editor"] .slide-bg-light .editor-image-upload-placeholder {
|
@@ -1245,10 +1253,17 @@ select{
|
|
1245
1253
|
[data-coco][data-component="app-slide-editor"] .slide-bg-light .editor-image-upload-placeholder{
|
1246
1254
|
--tw-text-opacity: 1;
|
1247
1255
|
color: rgb(17 24 39 / var(--tw-text-opacity))}
|
1248
|
-
[data-coco][data-component="app-slide-editor"] .slide-bg-light
|
1249
|
-
|
1250
|
-
|
1251
|
-
|
1256
|
+
[data-coco][data-component="app-slide-editor"] .slide-bg-light .slide-title:hover,
|
1257
|
+
[data-coco][data-component="app-slide-editor"] .slide-bg-light .slide-title:focus,
|
1258
|
+
[data-coco][data-component="app-slide-editor"] .slide-bg-light .slide-text:hover,
|
1259
|
+
[data-coco][data-component="app-slide-editor"] .slide-bg-light .slide-text:focus {
|
1260
|
+
outline-color: rgba(0, 0, 0, 0.3);
|
1261
|
+
}
|
1262
|
+
[data-coco][data-component="app-slide-editor"] .slide-bg-light[data-placeholders~="title"] [data-role="title"],
|
1263
|
+
[data-coco][data-component="app-slide-editor"] .slide-bg-light[data-placeholders~="text1"] [data-role="text-primary"],
|
1264
|
+
[data-coco][data-component="app-slide-editor"] .slide-bg-light[data-placeholders~="text2"] [data-role="text-secondary"] {
|
1265
|
+
outline-color: rgba(0, 0, 0, 0.3) !important;
|
1266
|
+
}
|
1252
1267
|
[data-coco][data-component="app-slide-editor"] .slide-bg-dark .editor-foreground-image,
|
1253
1268
|
[data-coco][data-component="app-slide-editor"] .slide-bg-dark .editor-image-upload-placeholder {
|
1254
1269
|
outline-color: rgba(255, 255, 255, 0.3) !important;
|
@@ -1256,10 +1271,17 @@ select{
|
|
1256
1271
|
[data-coco][data-component="app-slide-editor"] .slide-bg-dark .editor-image-upload-placeholder{
|
1257
1272
|
--tw-text-opacity: 1;
|
1258
1273
|
color: rgb(255 255 255 / var(--tw-text-opacity))}
|
1259
|
-
[data-coco][data-component="app-slide-editor"] .slide-bg-dark
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1274
|
+
[data-coco][data-component="app-slide-editor"] .slide-bg-dark .slide-title:hover,
|
1275
|
+
[data-coco][data-component="app-slide-editor"] .slide-bg-dark .slide-title:focus,
|
1276
|
+
[data-coco][data-component="app-slide-editor"] .slide-bg-dark .slide-text:hover,
|
1277
|
+
[data-coco][data-component="app-slide-editor"] .slide-bg-dark .slide-text:focus {
|
1278
|
+
outline-color: rgba(255, 255, 255, 0.3);
|
1279
|
+
}
|
1280
|
+
[data-coco][data-component="app-slide-editor"] .slide-bg-dark[data-placeholders~="title"] [data-role="title"],
|
1281
|
+
[data-coco][data-component="app-slide-editor"] .slide-bg-dark[data-placeholders~="text1"] [data-role="text-primary"],
|
1282
|
+
[data-coco][data-component="app-slide-editor"] .slide-bg-dark[data-placeholders~="text2"] [data-role="text-secondary"] {
|
1283
|
+
outline-color: rgba(255, 255, 255, 0.3) !important;
|
1284
|
+
}
|
1263
1285
|
[data-coco][data-component="app-alert"]{
|
1264
1286
|
overflow: hidden;
|
1265
1287
|
border-radius: 0.75rem;
|
@@ -3231,16 +3253,16 @@ select{
|
|
3231
3253
|
overflow: auto}
|
3232
3254
|
[data-coco][data-component="book-editable-slide"] {
|
3233
3255
|
/*
|
3234
|
-
* slide-padding-
|
3235
|
-
* slide-padding-
|
3256
|
+
* slide-padding-lg at max (1480px): 240px (16.2%)
|
3257
|
+
* slide-padding-lg at min (320px): 16.2% x 320px = 52px
|
3236
3258
|
*/
|
3237
|
-
--slide-padding-lg:
|
3259
|
+
--slide-padding-lg: clamp(52px, 16.2cqw, 240px);
|
3238
3260
|
|
3239
3261
|
/*
|
3240
3262
|
* slide-padding-md at max (1480px): 120px (8.1%)
|
3241
3263
|
* slide-padding-md at min (320px): 8.1% x 320px = 26px
|
3242
3264
|
*/
|
3243
|
-
--slide-padding-md:
|
3265
|
+
--slide-padding-md: clamp(26px, 8.1cqw, 120px);
|
3244
3266
|
|
3245
3267
|
/*
|
3246
3268
|
* slide-padding-sm at max (1480px): 80px (5.4%)
|
@@ -3248,6 +3270,9 @@ select{
|
|
3248
3270
|
*/
|
3249
3271
|
--slide-padding-sm: max(24px, clamp(17px, 5.4cqw, 80px));
|
3250
3272
|
|
3273
|
+
/* Visually-adjusted small padding size for grid gap and header spacing */
|
3274
|
+
--slide-padding-sm-internal: max(20px, clamp(16px, 4.9cqw, 72px));
|
3275
|
+
|
3251
3276
|
/*
|
3252
3277
|
* Small title font size at max (1480px): 64px (4.3%)
|
3253
3278
|
* Small title font size at min (320px): 4.3% x 320px = 13.8px
|
@@ -3261,10 +3286,7 @@ select{
|
|
3261
3286
|
* Text font size at max (1480px): 24px / 1.62%
|
3262
3287
|
* Text font size at min (320px): 1.62% x 320px = 5.2px
|
3263
3288
|
*/
|
3264
|
-
--text-font-size: max(
|
3265
|
-
16px,
|
3266
|
-
clamp(5.2px, 1.62cqw, 24px)
|
3267
|
-
);
|
3289
|
+
--text-font-size: max(12px, clamp(6.1px, 1.86cqw, 28px));
|
3268
3290
|
|
3269
3291
|
/* ------------- */
|
3270
3292
|
|
@@ -3324,33 +3346,63 @@ select{
|
|
3324
3346
|
@container (min-width: 700px){
|
3325
3347
|
|
3326
3348
|
[data-coco][data-component="book-editable-slide"] .slide-container{
|
3327
|
-
padding: var(--slide-padding-md)
|
3328
|
-
|
3329
|
-
|
3349
|
+
padding-left: var(--slide-padding-md);
|
3350
|
+
padding-right: var(--slide-padding-md);
|
3351
|
+
padding-top: var(--slide-padding-md);
|
3352
|
+
padding-bottom: var(--slide-padding-md)}}
|
3353
|
+
[data-coco][data-component="book-editable-slide"] .slide-layout{
|
3354
|
+
height: 100%;
|
3355
|
+
width: 100%}
|
3356
|
+
@container (min-width: 700px){
|
3357
|
+
|
3358
|
+
[data-coco][data-component="book-editable-slide"] .slide-layout{
|
3359
|
+
display: grid}}
|
3360
|
+
[data-coco][data-component="book-editable-slide"] .slide-header,
|
3330
3361
|
[data-coco][data-component="book-editable-slide"] .slide-text,
|
3331
3362
|
[data-coco][data-component="book-editable-slide"] .slide-media{
|
3332
3363
|
display: none}
|
3333
3364
|
[data-coco][data-component="book-editable-slide"] .slide-group{
|
3334
3365
|
display: contents}
|
3366
|
+
[data-coco][data-component="book-editable-slide"] .slide-header{
|
3367
|
+
width: 100%}
|
3335
3368
|
[data-coco][data-component="book-editable-slide"] .slide-title{
|
3369
|
+
width: 100%;
|
3336
3370
|
font-weight: 700;
|
3337
3371
|
color: currentColor;
|
3338
3372
|
overflow-wrap: anywhere;
|
3339
3373
|
line-height: 1.1;
|
3340
3374
|
font-size: var(--title-font-size)}
|
3341
3375
|
[data-coco][data-component="book-editable-slide"] .slide-text{
|
3376
|
+
width: 100%;
|
3377
|
+
overflow: hidden;
|
3378
|
+
font-size: 1rem;
|
3379
|
+
line-height: 1.5rem;
|
3342
3380
|
color: currentColor;
|
3343
|
-
line-height: 1.5
|
3344
|
-
font-size: var(--text-font-size)}
|
3381
|
+
line-height: 1.5}
|
3345
3382
|
[data-coco][data-component="book-editable-slide"] .slide-media{
|
3383
|
+
position: relative;
|
3346
3384
|
width: 100%;
|
3347
|
-
|
3348
|
-
|
3349
|
-
|
3385
|
+
font-size: 1rem;
|
3386
|
+
line-height: 1.5rem;
|
3387
|
+
color: currentColor}
|
3388
|
+
@container (min-width: 700px) {
|
3389
|
+
[data-coco][data-component="book-editable-slide"] .slide-text,
|
3390
|
+
[data-coco][data-component="book-editable-slide"] .slide-media {
|
3391
|
+
font-size: var(--text-font-size);
|
3392
|
+
}
|
3393
|
+
[data-coco][data-component="book-editable-slide"] .slide-media-wrapper{
|
3394
|
+
position: absolute;
|
3395
|
+
inset: 0px;
|
3396
|
+
height: 100%;
|
3397
|
+
width: 100%}
|
3398
|
+
}
|
3399
|
+
[data-coco][data-component="book-editable-slide"] .slide-media-wrapper img{
|
3350
3400
|
height: 100%;
|
3351
3401
|
width: 100%;
|
3352
3402
|
-o-object-fit: contain;
|
3353
|
-
object-fit: contain
|
3403
|
+
object-fit: contain;
|
3404
|
+
-o-object-position: center;
|
3405
|
+
object-position: center}
|
3354
3406
|
/* layouts */
|
3355
3407
|
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] {
|
3356
3408
|
/*
|
@@ -3358,7 +3410,7 @@ select{
|
|
3358
3410
|
* Title font size at min (320px): 5.4% x 320px = 17px
|
3359
3411
|
*/
|
3360
3412
|
--title-font-size: max(
|
3361
|
-
|
3413
|
+
38px,
|
3362
3414
|
clamp(17px, 5.4cqw, 80px)
|
3363
3415
|
);
|
3364
3416
|
|
@@ -3367,236 +3419,232 @@ select{
|
|
3367
3419
|
* Text font size at min (320px): 2.16% x 320px = 7px
|
3368
3420
|
*/
|
3369
3421
|
--text-font-size: max(
|
3370
|
-
|
3422
|
+
15px,
|
3371
3423
|
clamp(7px, 2.16cqw, 32px)
|
3372
3424
|
);
|
3373
|
-
text-align: center;
|
3374
3425
|
}
|
3426
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-container{
|
3427
|
+
padding-top: 3rem;
|
3428
|
+
padding-bottom: 3rem}
|
3375
3429
|
@container (min-width: 700px){
|
3376
3430
|
|
3377
3431
|
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-container{
|
3378
3432
|
padding-left: var(--slide-padding-lg);
|
3379
|
-
padding-right: var(--slide-padding-lg)
|
3380
|
-
|
3381
|
-
|
3382
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] [data-slide-region="content-1"] .slide-text{
|
3383
|
-
display: block}
|
3384
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"].with-title [data-slide-region="content-1"] .slide-text {
|
3385
|
-
margin-top: 0.875em;
|
3386
|
-
}
|
3433
|
+
padding-right: var(--slide-padding-lg);
|
3434
|
+
padding-top: var(--slide-padding-md);
|
3435
|
+
padding-bottom: var(--slide-padding-md)}}
|
3387
3436
|
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-layout{
|
3388
|
-
display: flex;
|
3389
|
-
height: 100%;
|
3390
|
-
width: 100%;
|
3391
|
-
flex-direction: column;
|
3392
|
-
align-items: center;
|
3393
|
-
justify-content: center;
|
3394
|
-
text-align: center}
|
3395
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-header{
|
3396
|
-
display: block;
|
3397
|
-
width: 100%}
|
3398
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-content{
|
3399
|
-
width: 100%;
|
3400
|
-
flex: none}
|
3401
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-header,
|
3402
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-content{
|
3403
3437
|
margin-left: auto;
|
3404
3438
|
margin-right: auto;
|
3405
|
-
width:
|
3406
|
-
max-width: 360px}
|
3439
|
+
max-width: 475px}
|
3407
3440
|
@container (min-width: 700px){
|
3408
3441
|
|
3409
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-
|
3410
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-content{
|
3442
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-layout{
|
3411
3443
|
max-width: 100%}}
|
3444
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-layout {
|
3445
|
+
grid-template-areas: "content";
|
3446
|
+
}
|
3447
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] [data-role="group-primary-text"]{
|
3448
|
+
display: flex;
|
3449
|
+
height: 100%;
|
3450
|
+
flex-direction: column;
|
3451
|
+
align-items: center;
|
3452
|
+
justify-content: center;
|
3453
|
+
text-align: center;
|
3454
|
+
grid-area: content}
|
3455
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] [data-role="header"],
|
3456
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] [data-role="text-primary"]{
|
3457
|
+
display: block}
|
3412
3458
|
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-text {
|
3413
3459
|
line-height: 1.4;
|
3414
3460
|
}
|
3461
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"].with-title .slide-text {
|
3462
|
+
margin-top: 0.875em;
|
3463
|
+
}
|
3415
3464
|
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] .slide-container{
|
3416
|
-
padding-top:
|
3417
|
-
padding-bottom:
|
3465
|
+
padding-top: 2.5rem;
|
3466
|
+
padding-bottom: 2.5rem}
|
3418
3467
|
@container (min-width: 700px){
|
3419
3468
|
|
3420
3469
|
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] .slide-container{
|
3421
3470
|
padding-top: var(--slide-padding-sm);
|
3422
|
-
padding-bottom: var(--slide-padding-sm)}
|
3423
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] .slide-container{
|
3424
|
-
display: flex;
|
3425
|
-
align-items: center}
|
3426
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] .slide-layout{
|
3427
|
-
width: 100%}
|
3428
|
-
@container (min-width: 700px){
|
3471
|
+
padding-bottom: var(--slide-padding-sm)}
|
3429
3472
|
|
3430
3473
|
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] .slide-layout{
|
3431
|
-
|
3474
|
+
padding-top: 4.8cqw;
|
3475
|
+
padding-bottom: 4.8cqw}}
|
3432
3476
|
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] .slide-layout {
|
3433
|
-
|
3434
|
-
height: min-content;
|
3435
|
-
grid-template-columns: 1fr;
|
3477
|
+
grid-template-areas: "content";
|
3436
3478
|
grid-template-rows: auto;
|
3437
|
-
grid-gap: var(--slide-padding-sm);
|
3438
3479
|
}
|
3439
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"].with-title .slide-container{
|
3440
|
-
display: block}
|
3441
3480
|
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"].with-title .slide-layout{
|
3442
|
-
|
3443
|
-
|
3444
|
-
|
3445
|
-
|
3446
|
-
|
3447
|
-
|
3481
|
+
padding-top: 0px;
|
3482
|
+
padding-bottom: 0px;
|
3483
|
+
grid-template-areas:
|
3484
|
+
"header"
|
3485
|
+
"content";
|
3486
|
+
grid-template-rows: min-content auto;
|
3487
|
+
grid-gap: var(--slide-padding-sm-internal)}
|
3488
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] [data-role="header"],
|
3489
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] [data-role="text-primary"]{
|
3490
|
+
display: block}
|
3491
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] [data-role="header"] {
|
3492
|
+
grid-area: header;
|
3493
|
+
margin-bottom: 1.25rem;
|
3494
|
+
}
|
3448
3495
|
@container (min-width: 700px){
|
3449
3496
|
|
3450
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"]
|
3497
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] [data-role="header"]{
|
3451
3498
|
margin-bottom: 0px}}
|
3452
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] [data-
|
3453
|
-
|
3454
|
-
|
3455
|
-
display: block}
|
3499
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] [data-role="text-primary"] {
|
3500
|
+
grid-area: content;
|
3501
|
+
}
|
3456
3502
|
[data-coco][data-component="book-editable-slide"][data-layout="one-col-media"] .slide-container{
|
3457
3503
|
padding: 1.5rem}
|
3458
3504
|
@container (min-width: 700px){
|
3459
3505
|
|
3460
3506
|
[data-coco][data-component="book-editable-slide"][data-layout="one-col-media"] .slide-container{
|
3461
3507
|
padding: var(--slide-padding-sm)}}
|
3462
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-media"] .slide-layout
|
3463
|
-
|
3464
|
-
|
3465
|
-
|
3466
|
-
|
3467
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-media"] [data-slide-region="content-1"] .slide-media{
|
3508
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-media"] .slide-layout {
|
3509
|
+
grid-template-areas: "content";
|
3510
|
+
grid-template-rows: 100%;
|
3511
|
+
}
|
3512
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-media"] [data-role="media-primary"]{
|
3468
3513
|
display: block;
|
3469
3514
|
height: 100%;
|
3470
|
-
|
3471
|
-
[data-coco][data-component="book-editable-slide"][data-layout="one-col-media"]
|
3472
|
-
height: 100
|
3473
|
-
|
3474
|
-
-
|
3475
|
-
|
3476
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] .slide-container, [data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-container{
|
3477
|
-
display: flex;
|
3478
|
-
align-items: center;
|
3479
|
-
padding-top: 1.5rem;
|
3480
|
-
padding-bottom: 1.5rem}
|
3481
|
-
@container (min-width: 700px){
|
3482
|
-
|
3483
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] .slide-container, [data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-container{
|
3484
|
-
padding-top: var(--slide-padding-sm);
|
3485
|
-
padding-bottom: var(--slide-padding-sm)}}
|
3486
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] .slide-layout, [data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-layout{
|
3487
|
-
width: 100%}
|
3515
|
+
grid-area: content}
|
3516
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-media"] .slide-media-wrapper{
|
3517
|
+
height: 100%}
|
3518
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] .slide-container{
|
3519
|
+
padding-top: 2.5rem;
|
3520
|
+
padding-bottom: 2.5rem}
|
3488
3521
|
@container (min-width: 700px){
|
3489
3522
|
|
3490
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-
|
3491
|
-
|
3492
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-
|
3493
|
-
|
3494
|
-
|
3523
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] .slide-container{
|
3524
|
+
padding: var(--slide-padding-md)}}
|
3525
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] .slide-layout {
|
3526
|
+
grid-template-areas: "text media";
|
3527
|
+
grid-template-rows: 100%;
|
3495
3528
|
grid-template-columns: 1fr 1fr;
|
3496
|
-
grid-
|
3497
|
-
grid-gap: var(--slide-padding-sm);
|
3529
|
+
grid-gap: var(--slide-padding-sm-internal);
|
3498
3530
|
}
|
3499
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-
|
3531
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-role="header"],
|
3532
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-role="text-primary"],
|
3533
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-role="media-primary"],
|
3534
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-role="group-primary-text"]{
|
3500
3535
|
display: block}
|
3501
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-
|
3502
|
-
|
3503
|
-
grid-template-rows: min-content auto}
|
3504
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] .slide-header, [data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-header{
|
3505
|
-
display: block;
|
3506
|
-
width: 100%;
|
3507
|
-
margin-bottom: 2.5rem}
|
3508
|
-
@container (min-width: 700px){
|
3509
|
-
|
3510
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] .slide-header, [data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-header{
|
3511
|
-
margin-bottom: 0px}}
|
3512
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] .slide-header, [data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-header {
|
3513
|
-
grid-column-start: 1;
|
3514
|
-
grid-column-end: -1;
|
3536
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-role="group-primary-text"] {
|
3537
|
+
grid-area: text;
|
3515
3538
|
}
|
3516
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-slide-region="content-1"],
|
3517
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-slide-region="content-2"],
|
3518
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-slide-region="content-1"],
|
3519
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-slide-region="content-2"]{
|
3520
|
-
display: block}
|
3521
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-slide-region="content-1"], [data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-slide-region="content-1"]{
|
3522
|
-
margin-bottom: var(--slide-padding-sm)}
|
3523
|
-
@container (min-width: 700px){
|
3524
|
-
|
3525
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-slide-region="content-1"], [data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-slide-region="content-1"]{
|
3526
|
-
margin-bottom: 0px}}
|
3527
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] .slide-text{
|
3528
|
-
display: block}
|
3529
|
-
@container (min-width: 700px){
|
3530
|
-
|
3531
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-layout{
|
3532
|
-
height: 100%}}
|
3533
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-content{
|
3534
|
-
position: relative}
|
3535
3539
|
@container (min-width: 700px){
|
3536
3540
|
|
3537
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-
|
3541
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-role="group-primary-text"]{
|
3538
3542
|
display: flex;
|
3539
3543
|
height: 100%;
|
3540
|
-
|
3541
|
-
|
3542
|
-
|
3544
|
+
flex-direction: column;
|
3545
|
+
justify-content: center}}
|
3546
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-role="media-primary"]{
|
3547
|
+
margin-top: 1.5rem}
|
3543
3548
|
@container (min-width: 700px){
|
3544
3549
|
|
3545
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-
|
3546
|
-
|
3547
|
-
|
3548
|
-
|
3549
|
-
|
3550
|
-
|
3550
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-role="media-primary"]{
|
3551
|
+
margin-top: 0px}}
|
3552
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-role="media-primary"] {
|
3553
|
+
grid-area: media;
|
3554
|
+
}
|
3555
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"].with-title .slide-text {
|
3556
|
+
margin-top: 0.875em;
|
3557
|
+
}
|
3558
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] .slide-container{
|
3559
|
+
padding-top: 2.5rem;
|
3560
|
+
padding-bottom: 2.5rem}
|
3551
3561
|
@container (min-width: 700px){
|
3552
3562
|
|
3553
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-
|
3554
|
-
|
3555
|
-
|
3556
|
-
|
3563
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] .slide-container{
|
3564
|
+
padding: var(--slide-padding-sm)}
|
3565
|
+
|
3566
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] .slide-layout{
|
3567
|
+
padding-top: 4.8cqw;
|
3568
|
+
padding-bottom: 4.8cqw}}
|
3569
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] .slide-layout {
|
3570
|
+
grid-template-areas: "primary secondary";
|
3557
3571
|
grid-template-rows: auto;
|
3558
|
-
grid-
|
3572
|
+
grid-template-columns: 1fr 1fr;
|
3573
|
+
grid-gap: var(--slide-padding-sm-internal);
|
3559
3574
|
}
|
3560
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-
|
3561
|
-
|
3562
|
-
|
3563
|
-
|
3564
|
-
|
3575
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"].with-title .slide-layout{
|
3576
|
+
padding-top: 0px;
|
3577
|
+
padding-bottom: 0px;
|
3578
|
+
grid-template-areas:
|
3579
|
+
"header header"
|
3580
|
+
"primary secondary";
|
3581
|
+
grid-template-rows: min-content auto}
|
3582
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-role="header"],
|
3583
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-role="text-primary"],
|
3584
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-role="text-secondary"]{
|
3585
|
+
display: block}
|
3586
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-role="header"] {
|
3587
|
+
grid-area: header;
|
3588
|
+
}
|
3589
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-role="text-primary"] {
|
3590
|
+
grid-area: primary;
|
3591
|
+
}
|
3592
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-role="text-secondary"] {
|
3593
|
+
grid-area: secondary;
|
3594
|
+
}
|
3595
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] .slide-header,
|
3596
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-role="text-primary"]{
|
3597
|
+
margin-bottom: 1.5rem}
|
3565
3598
|
@container (min-width: 700px){
|
3566
3599
|
|
3567
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-
|
3600
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] .slide-header,
|
3601
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-role="text-primary"]{
|
3568
3602
|
margin-bottom: 0px}}
|
3569
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-
|
3570
|
-
|
3571
|
-
|
3572
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] .slide-title {
|
3573
|
-
margin-bottom: 0.5em;
|
3574
|
-
}
|
3575
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-slide-region="content-1"]{
|
3576
|
-
display: block}
|
3577
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-slide-region="content-1"] .slide-text{
|
3578
|
-
display: block}
|
3579
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-slide-region="content-2"]{
|
3580
|
-
position: relative;
|
3581
|
-
display: block}
|
3603
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-container{
|
3604
|
+
padding-top: 2.5rem;
|
3605
|
+
padding-bottom: 2.5rem}
|
3582
3606
|
@container (min-width: 700px){
|
3583
3607
|
|
3584
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-
|
3585
|
-
|
3586
|
-
|
3587
|
-
|
3588
|
-
|
3608
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-container{
|
3609
|
+
padding: var(--slide-padding-sm)}
|
3610
|
+
|
3611
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-layout{
|
3612
|
+
padding-top: 4.8cqw;
|
3613
|
+
padding-bottom: 4.8cqw}}
|
3614
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-layout {
|
3615
|
+
grid-template-areas: "primary secondary";
|
3616
|
+
grid-template-rows: auto;
|
3617
|
+
grid-template-columns: 1fr 1fr;
|
3618
|
+
grid-gap: var(--slide-padding-sm-internal);
|
3619
|
+
}
|
3620
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"].with-title .slide-layout{
|
3621
|
+
padding-top: 0px;
|
3622
|
+
padding-bottom: 0px;
|
3623
|
+
grid-template-areas:
|
3624
|
+
"header header"
|
3625
|
+
"primary secondary";
|
3626
|
+
grid-template-rows: min-content auto}
|
3627
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-role="header"],
|
3628
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-role="media-primary"],
|
3629
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-role="media-secondary"]{
|
3589
3630
|
display: block}
|
3631
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-role="header"] {
|
3632
|
+
grid-area: header;
|
3633
|
+
}
|
3634
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-role="media-primary"] {
|
3635
|
+
grid-area: primary;
|
3636
|
+
}
|
3637
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-role="media-secondary"] {
|
3638
|
+
grid-area: secondary;
|
3639
|
+
}
|
3640
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-header,
|
3641
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-role="media-primary"]{
|
3642
|
+
margin-bottom: 1.5rem}
|
3590
3643
|
@container (min-width: 700px){
|
3591
3644
|
|
3592
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-
|
3593
|
-
|
3594
|
-
|
3595
|
-
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-slide-region="content-2"] .slide-media img{
|
3596
|
-
height: 100%;
|
3597
|
-
width: 100%;
|
3598
|
-
-o-object-fit: contain;
|
3599
|
-
object-fit: contain}
|
3645
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-header,
|
3646
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-role="media-primary"]{
|
3647
|
+
margin-bottom: 0px}}
|
3600
3648
|
[data-coco][data-component="book-media-slide"] img{
|
3601
3649
|
height: 100%;
|
3602
3650
|
width: 100%;
|
@@ -3634,17 +3682,9 @@ select{
|
|
3634
3682
|
.filter{
|
3635
3683
|
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)}
|
3636
3684
|
/* Transparent gray blend-mode background utilities */
|
3637
|
-
.\!icon{
|
3638
|
-
color: currentColor}
|
3639
|
-
.icon{
|
3640
|
-
color: currentColor}
|
3641
3685
|
.\!icon {
|
3642
|
-
stroke-linecap: round !important;
|
3643
|
-
stroke-linejoin: round !important;
|
3644
3686
|
}
|
3645
3687
|
.icon {
|
3646
|
-
stroke-linecap: round;
|
3647
|
-
stroke-linejoin: round;
|
3648
3688
|
}
|
3649
3689
|
.tippy-dropdown-box{
|
3650
3690
|
border-radius: 0.5rem;
|