coveragebook_components 0.5.5 → 0.5.6
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 +286 -61
- data/app/assets/build/coco/app.js +1 -1
- data/app/assets/build/coco/book.css +347 -62
- data/app/assets/build/coco/img/test/slides/slide-bg.jpg +0 -0
- data/app/assets/build/coco/img/test/slides/slide-foreground-landscape.jpg +0 -0
- data/app/assets/build/coco/img/test/slides/slide-foreground-portrait.jpg +0 -0
- data/app/assets/img/test/slides/slide-bg.jpg +0 -0
- data/app/assets/img/test/slides/slide-foreground-landscape.jpg +0 -0
- data/app/assets/img/test/slides/slide-foreground-portrait.jpg +0 -0
- data/app/components/coco/book/blocks/slides/editable_slide/editable_slide.css +243 -37
- data/app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb +30 -12
- data/app/components/coco/book/blocks/slides/editable_slide/editable_slide.rb +28 -1
- data/lib/coco.rb +1 -1
- metadata +8 -4
- data/app/assets/build/coco/img/slide-bg.jpg +0 -0
- data/app/assets/img/slide-bg.jpg +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0f8a950e6efdf71c86bd953e001515a50f626eee3b399d9e1ab3e8641a414b8
|
4
|
+
data.tar.gz: 5aa2c63fc4dc1b1c8dde15d375e42ea9b075295737c6fa343430329c1e0bfa4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6ea041857553ce066d7b013c4429c458812306c85f1977cc24d18d4f6ac259e2aff72200d4d3070fa33b7fefe5e8da7ec1c9d11668259d3eb62260b1cec1b72
|
7
|
+
data.tar.gz: 5d647e5e78c06a0e484180644dfa62d59bc411c18990c53618ad984ce366677523904c6c4452f6877b456cbb80dc3965b208d3993af6bee81a6055bec4ed3846
|
@@ -3010,35 +3010,39 @@ select{
|
|
3010
3010
|
overflow: auto}
|
3011
3011
|
[data-coco][data-component="book-editable-slide"] {
|
3012
3012
|
/*
|
3013
|
-
*
|
3014
|
-
*
|
3013
|
+
* slide-padding-md at max (1480px): 240px (16.2%)
|
3014
|
+
* slide-padding-md at min (320px): 16.2% x 320px = 52px
|
3015
3015
|
*/
|
3016
|
-
--
|
3016
|
+
--slide-padding-lg: max(38px, clamp(52px, 16.2cqw, 240px));
|
3017
3017
|
|
3018
3018
|
/*
|
3019
|
-
*
|
3020
|
-
*
|
3019
|
+
* slide-padding-md at max (1480px): 120px (8.1%)
|
3020
|
+
* slide-padding-md at min (320px): 8.1% x 320px = 26px
|
3021
3021
|
*/
|
3022
|
-
--
|
3022
|
+
--slide-padding-md: max(24px, clamp(26px, 8.1cqw, 120px));
|
3023
3023
|
|
3024
3024
|
/*
|
3025
|
-
*
|
3026
|
-
*
|
3027
|
-
|
3025
|
+
* slide-padding-sm at max (1480px): 80px (5.4%)
|
3026
|
+
* slide-padding-sm at min (320px): 5.4% x 320px = 17px
|
3027
|
+
*/
|
3028
|
+
--slide-padding-sm: max(24px, clamp(17px, 5.4cqw, 80px));
|
3029
|
+
|
3030
|
+
/*
|
3031
|
+
* Small title font size at max (1480px): 64px (4.3%)
|
3032
|
+
* Small title font size at min (320px): 4.3% x 320px = 13.8px
|
3028
3033
|
*/
|
3029
3034
|
--title-font-size: max(
|
3030
|
-
|
3031
|
-
clamp(
|
3035
|
+
32px,
|
3036
|
+
clamp(13.8px, 4.3cqw, 64px)
|
3032
3037
|
);
|
3033
3038
|
|
3034
3039
|
/*
|
3035
|
-
* Text font size at max (1480px):
|
3036
|
-
* Text font size at min (320px):
|
3037
|
-
* Text font size at reflow (700px): 14px
|
3040
|
+
* Text font size at max (1480px): 24px / 1.62%
|
3041
|
+
* Text font size at min (320px): 1.62% x 320px = 5.2px
|
3038
3042
|
*/
|
3039
3043
|
--text-font-size: max(
|
3040
|
-
|
3041
|
-
clamp(
|
3044
|
+
16px,
|
3045
|
+
clamp(5.2px, 1.62cqw, 24px)
|
3042
3046
|
);
|
3043
3047
|
|
3044
3048
|
/* ------------- */
|
@@ -3047,11 +3051,16 @@ select{
|
|
3047
3051
|
|
3048
3052
|
border-radius: 0.375rem;
|
3049
3053
|
|
3054
|
+
container-type: inline-size;
|
3055
|
+
|
3050
3056
|
--tw-bg-opacity: 1;
|
3051
3057
|
|
3052
3058
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
3053
3059
|
|
3054
|
-
|
3060
|
+
background-size: cover;
|
3061
|
+
|
3062
|
+
background-repeat: no-repeat;
|
3063
|
+
|
3055
3064
|
min-width: 320px;
|
3056
3065
|
}
|
3057
3066
|
[data-coco][data-component="book-editable-slide"] .slide-aspect{
|
@@ -3076,74 +3085,290 @@ select{
|
|
3076
3085
|
[data-coco][data-component="book-editable-slide"] .slide-aspect::after{
|
3077
3086
|
clear: left;
|
3078
3087
|
content: "";
|
3079
|
-
display: block}}
|
3088
|
+
display: block}}}
|
3089
|
+
[data-coco][data-component="book-editable-slide"] .slide-container{
|
3090
|
+
overflow: hidden}
|
3091
|
+
@container (min-width: 700px){
|
3080
3092
|
|
3081
3093
|
[data-coco][data-component="book-editable-slide"] .slide-container{
|
3082
3094
|
position: absolute;
|
3083
3095
|
inset: 0px}}
|
3084
3096
|
[data-coco][data-component="book-editable-slide"] .slide-container{
|
3085
|
-
|
3086
|
-
|
3087
|
-
|
3088
|
-
|
3089
|
-
|
3090
|
-
|
3091
|
-
|
3092
|
-
|
3097
|
+
padding-left: 1.5rem;
|
3098
|
+
padding-right: 1.5rem;
|
3099
|
+
padding-top: 2.5rem;
|
3100
|
+
padding-bottom: 2.5rem}
|
3101
|
+
@container (min-width: 700px){
|
3102
|
+
|
3103
|
+
[data-coco][data-component="book-editable-slide"] .slide-container{
|
3104
|
+
padding: var(--slide-padding-md)}}
|
3093
3105
|
[data-coco][data-component="book-editable-slide"] [data-slide-region],
|
3106
|
+
[data-coco][data-component="book-editable-slide"] .slide-header,
|
3094
3107
|
[data-coco][data-component="book-editable-slide"] .slide-text,
|
3095
|
-
[data-coco][data-component="book-editable-slide"] .slide-
|
3108
|
+
[data-coco][data-component="book-editable-slide"] .slide-image{
|
3096
3109
|
display: none}
|
3097
3110
|
[data-coco][data-component="book-editable-slide"] .slide-group{
|
3098
3111
|
display: contents}
|
3112
|
+
[data-coco][data-component="book-editable-slide"] .slide-title{
|
3113
|
+
font-weight: 700;
|
3114
|
+
color: currentColor;
|
3115
|
+
overflow-wrap: anywhere;
|
3116
|
+
line-height: 1.1;
|
3117
|
+
font-size: var(--title-font-size)}
|
3118
|
+
[data-coco][data-component="book-editable-slide"] .slide-text{
|
3119
|
+
color: currentColor;
|
3120
|
+
line-height: 1.5;
|
3121
|
+
font-size: var(--text-font-size)}
|
3122
|
+
[data-coco][data-component="book-editable-slide"] .slide-media{
|
3123
|
+
width: 100%}
|
3124
|
+
[data-coco][data-component="book-editable-slide"] .slide-media img{
|
3125
|
+
height: 100%;
|
3126
|
+
width: 100%;
|
3127
|
+
-o-object-fit: contain;
|
3128
|
+
object-fit: contain}
|
3099
3129
|
/* layouts */
|
3100
|
-
[data-coco][data-component="book-editable-slide"][data-layout="
|
3101
|
-
|
3102
|
-
|
3103
|
-
|
3104
|
-
|
3105
|
-
|
3106
|
-
|
3107
|
-
|
3108
|
-
|
3109
|
-
|
3110
|
-
|
3111
|
-
|
3112
|
-
|
3113
|
-
|
3130
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] {
|
3131
|
+
/*
|
3132
|
+
* Title font size at max (1480px): 80px (5.4%)
|
3133
|
+
* Title font size at min (320px): 5.4% x 320px = 17px
|
3134
|
+
*/
|
3135
|
+
--title-font-size: max(
|
3136
|
+
35px,
|
3137
|
+
clamp(17px, 5.4cqw, 80px)
|
3138
|
+
);
|
3139
|
+
|
3140
|
+
/*
|
3141
|
+
* Text font size at max (1480px): 32px / 2.16%
|
3142
|
+
* Text font size at min (320px): 2.16% x 320px = 7px
|
3143
|
+
*/
|
3144
|
+
--text-font-size: max(
|
3145
|
+
16px,
|
3146
|
+
clamp(7px, 2.16cqw, 32px)
|
3147
|
+
);
|
3148
|
+
text-align: center;
|
3149
|
+
}
|
3114
3150
|
@container (min-width: 700px){
|
3115
3151
|
|
3116
|
-
[data-coco][data-component="book-editable-slide"][data-layout="
|
3117
|
-
padding-left: var(--
|
3118
|
-
padding-right: var(--
|
3119
|
-
[data-coco][data-component="book-editable-slide"][data-layout="
|
3152
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-container{
|
3153
|
+
padding-left: var(--slide-padding-lg);
|
3154
|
+
padding-right: var(--slide-padding-lg)}}
|
3155
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] [data-slide-region="content-1"]{
|
3156
|
+
display: block}
|
3157
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] [data-slide-region="content-1"] .slide-text{
|
3158
|
+
display: block}
|
3159
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"].with-title [data-slide-region="content-1"] .slide-text {
|
3160
|
+
margin-top: 0.875em;
|
3161
|
+
}
|
3162
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-layout{
|
3163
|
+
display: flex;
|
3164
|
+
height: 100%;
|
3120
3165
|
width: 100%;
|
3121
|
-
|
3122
|
-
|
3123
|
-
|
3124
|
-
|
3166
|
+
flex-direction: column;
|
3167
|
+
align-items: center;
|
3168
|
+
justify-content: center;
|
3169
|
+
text-align: center}
|
3170
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-header{
|
3171
|
+
display: block;
|
3172
|
+
width: 100%}
|
3173
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-content{
|
3125
3174
|
width: 100%;
|
3126
3175
|
flex: none}
|
3127
|
-
[data-coco][data-component="book-editable-slide"][data-layout="
|
3128
|
-
[data-coco][data-component="book-editable-slide"][data-layout="
|
3176
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-header,
|
3177
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-content{
|
3129
3178
|
margin-left: auto;
|
3130
3179
|
margin-right: auto;
|
3131
3180
|
width: 100%;
|
3132
3181
|
max-width: 360px}
|
3133
3182
|
@container (min-width: 700px){
|
3134
3183
|
|
3135
|
-
[data-coco][data-component="book-editable-slide"][data-layout="
|
3136
|
-
[data-coco][data-component="book-editable-slide"][data-layout="
|
3184
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-header,
|
3185
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-content{
|
3137
3186
|
max-width: 100%}}
|
3138
|
-
[data-coco][data-component="book-editable-slide"][data-layout="
|
3139
|
-
font-weight: 700;
|
3140
|
-
color: currentColor;
|
3141
|
-
overflow-wrap: anywhere;
|
3142
|
-
line-height: 1.1}
|
3143
|
-
[data-coco][data-component="book-editable-slide"][data-layout="basic"] .slide-text{
|
3144
|
-
color: currentColor;
|
3187
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-title"] .slide-text {
|
3145
3188
|
line-height: 1.4;
|
3146
|
-
|
3189
|
+
}
|
3190
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] .slide-container{
|
3191
|
+
display: flex;
|
3192
|
+
align-items: center}
|
3193
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] .slide-layout{
|
3194
|
+
width: 100%}
|
3195
|
+
@container (min-width: 700px){
|
3196
|
+
|
3197
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] .slide-layout{
|
3198
|
+
display: grid}}
|
3199
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] .slide-layout {
|
3200
|
+
height: -moz-min-content;
|
3201
|
+
height: min-content;
|
3202
|
+
grid-template-columns: 1fr;
|
3203
|
+
grid-template-rows: auto;
|
3204
|
+
grid-gap: var(--slide-padding-sm);
|
3205
|
+
}
|
3206
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"].with-title .slide-container{
|
3207
|
+
display: block}
|
3208
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"].with-title .slide-layout{
|
3209
|
+
height: 100%;
|
3210
|
+
grid-template-rows: min-content auto}
|
3211
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] .slide-header{
|
3212
|
+
display: block;
|
3213
|
+
width: 100%;
|
3214
|
+
margin-bottom: 1.5rem}
|
3215
|
+
@container (min-width: 700px){
|
3216
|
+
|
3217
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] .slide-header{
|
3218
|
+
margin-bottom: 0px}}
|
3219
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] [data-slide-region="content-1"]{
|
3220
|
+
display: block}
|
3221
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-text"] [data-slide-region="content-1"] .slide-text{
|
3222
|
+
display: block}
|
3223
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-media"] .slide-container{
|
3224
|
+
padding-top: 1.5rem;
|
3225
|
+
padding-bottom: 1.5rem}
|
3226
|
+
@container (min-width: 700px){
|
3227
|
+
|
3228
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-media"] .slide-container{
|
3229
|
+
padding-top: var(--slide-padding-sm);
|
3230
|
+
padding-bottom: var(--slide-padding-sm)}}
|
3231
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-media"] .slide-layout,
|
3232
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-media"] .slide-content{
|
3233
|
+
height: 100%}
|
3234
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-media"] [data-slide-region="content-1"]{
|
3235
|
+
display: block}
|
3236
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-media"] [data-slide-region="content-1"] .slide-media{
|
3237
|
+
display: block;
|
3238
|
+
height: 100%;
|
3239
|
+
width: 100%}
|
3240
|
+
[data-coco][data-component="book-editable-slide"][data-layout="one-col-media"] [data-slide-region="content-1"] .slide-media img{
|
3241
|
+
height: 100%;
|
3242
|
+
width: 100%;
|
3243
|
+
-o-object-fit: contain;
|
3244
|
+
object-fit: contain}
|
3245
|
+
[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{
|
3246
|
+
display: flex;
|
3247
|
+
align-items: center;
|
3248
|
+
padding-top: 1.5rem;
|
3249
|
+
padding-bottom: 1.5rem}
|
3250
|
+
@container (min-width: 700px){
|
3251
|
+
|
3252
|
+
[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{
|
3253
|
+
padding-top: var(--slide-padding-sm);
|
3254
|
+
padding-bottom: var(--slide-padding-sm)}}
|
3255
|
+
[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{
|
3256
|
+
width: 100%}
|
3257
|
+
@container (min-width: 700px){
|
3258
|
+
|
3259
|
+
[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{
|
3260
|
+
display: grid}}
|
3261
|
+
[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 {
|
3262
|
+
height: -moz-min-content;
|
3263
|
+
height: min-content;
|
3264
|
+
grid-template-columns: 1fr 1fr;
|
3265
|
+
grid-template-rows: auto;
|
3266
|
+
grid-gap: var(--slide-padding-sm);
|
3267
|
+
}
|
3268
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"].with-title .slide-container, [data-coco][data-component="book-editable-slide"][data-layout="two-col-media"].with-title .slide-container{
|
3269
|
+
display: block}
|
3270
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"].with-title .slide-layout, [data-coco][data-component="book-editable-slide"][data-layout="two-col-media"].with-title .slide-layout{
|
3271
|
+
height: 100%;
|
3272
|
+
grid-template-rows: min-content auto}
|
3273
|
+
[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{
|
3274
|
+
display: block;
|
3275
|
+
width: 100%;
|
3276
|
+
margin-bottom: 2.5rem}
|
3277
|
+
@container (min-width: 700px){
|
3278
|
+
|
3279
|
+
[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{
|
3280
|
+
margin-bottom: 0px}}
|
3281
|
+
[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 {
|
3282
|
+
grid-column-start: 1;
|
3283
|
+
grid-column-end: -1;
|
3284
|
+
}
|
3285
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-slide-region="content-1"],
|
3286
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-slide-region="content-2"],
|
3287
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-slide-region="content-1"],
|
3288
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-slide-region="content-2"]{
|
3289
|
+
display: block}
|
3290
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-slide-region="content-1"] .slide-text,
|
3291
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-slide-region="content-1"] .slide-media,
|
3292
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-slide-region="content-2"] .slide-text,
|
3293
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-text"] [data-slide-region="content-2"] .slide-media,
|
3294
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-slide-region="content-1"] .slide-text,
|
3295
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-slide-region="content-1"] .slide-media,
|
3296
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-slide-region="content-2"] .slide-text,
|
3297
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] [data-slide-region="content-2"] .slide-media{
|
3298
|
+
display: block}
|
3299
|
+
[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"]{
|
3300
|
+
margin-bottom: var(--slide-padding-sm)}
|
3301
|
+
@container (min-width: 700px){
|
3302
|
+
|
3303
|
+
[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"]{
|
3304
|
+
margin-bottom: 0px}
|
3305
|
+
|
3306
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-layout{
|
3307
|
+
height: 100%}}
|
3308
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-content{
|
3309
|
+
position: relative}
|
3310
|
+
@container (min-width: 700px){
|
3311
|
+
|
3312
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-content{
|
3313
|
+
display: flex;
|
3314
|
+
height: 100%;
|
3315
|
+
align-items: center}
|
3316
|
+
|
3317
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-media"] .slide-media{
|
3318
|
+
position: absolute;
|
3319
|
+
inset: 0px}}
|
3320
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] .slide-layout{
|
3321
|
+
height: 100%;
|
3322
|
+
width: 100%}
|
3323
|
+
@container (min-width: 700px){
|
3324
|
+
|
3325
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] .slide-layout{
|
3326
|
+
display: grid}}
|
3327
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] .slide-layout {
|
3328
|
+
grid-template-columns: 1fr 1fr;
|
3329
|
+
grid-template-rows: auto;
|
3330
|
+
grid-gap: var(--slide-padding-sm);
|
3331
|
+
}
|
3332
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] .slide-group{
|
3333
|
+
display: flex;
|
3334
|
+
flex-direction: column;
|
3335
|
+
justify-content: center;
|
3336
|
+
margin-bottom: var(--slide-padding-sm)}
|
3337
|
+
@container (min-width: 700px){
|
3338
|
+
|
3339
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] .slide-group{
|
3340
|
+
margin-bottom: 0px}}
|
3341
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] .slide-header{
|
3342
|
+
display: block;
|
3343
|
+
width: 100%}
|
3344
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] .slide-title {
|
3345
|
+
margin-bottom: 0.5em;
|
3346
|
+
}
|
3347
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-slide-region="content-1"]{
|
3348
|
+
display: block}
|
3349
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-slide-region="content-1"] .slide-text{
|
3350
|
+
display: block}
|
3351
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-slide-region="content-2"]{
|
3352
|
+
position: relative;
|
3353
|
+
display: block}
|
3354
|
+
@container (min-width: 700px){
|
3355
|
+
|
3356
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-slide-region="content-2"]{
|
3357
|
+
display: flex;
|
3358
|
+
height: 100%;
|
3359
|
+
align-items: center}}
|
3360
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-slide-region="content-2"] .slide-media{
|
3361
|
+
display: block}
|
3362
|
+
@container (min-width: 700px){
|
3363
|
+
|
3364
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-slide-region="content-2"] .slide-media{
|
3365
|
+
position: absolute;
|
3366
|
+
inset: 0px}}
|
3367
|
+
[data-coco][data-component="book-editable-slide"][data-layout="two-col-mixed"] [data-slide-region="content-2"] .slide-media img{
|
3368
|
+
height: 100%;
|
3369
|
+
width: 100%;
|
3370
|
+
-o-object-fit: contain;
|
3371
|
+
object-fit: contain}
|
3147
3372
|
[data-coco][data-component="book-media-slide"] img{
|
3148
3373
|
height: 100%;
|
3149
3374
|
width: 100%;
|
@@ -14604,7 +14604,7 @@
|
|
14604
14604
|
var package_default = {
|
14605
14605
|
name: "coveragebook-components",
|
14606
14606
|
type: "module",
|
14607
|
-
version: "0.5.
|
14607
|
+
version: "0.5.6",
|
14608
14608
|
main: "index.js",
|
14609
14609
|
repository: "git@github.com:coveragebook/coco.git",
|
14610
14610
|
author: "Mark Perkins <mark@coveragebook.com>",
|