coveragebook_components 0.8.5 → 0.8.7
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 +129 -6
- data/app/assets/build/coco/app.js +794 -566
- data/app/assets/build/coco/book.css +63 -0
- data/app/assets/build/coco/book.js +769 -554
- data/app/assets/build/coco/icons/cake.svg +1 -1
- data/app/assets/build/coco/icons/check-circle-2.svg +1 -1
- data/app/assets/build/coco/icons/check-circle.svg +1 -1
- data/app/assets/build/coco/icons/check-square-2.svg +1 -0
- data/app/assets/build/coco/icons/check-square.svg +1 -1
- data/app/assets/build/coco/icons/check.svg +1 -1
- data/app/assets/build/coco/icons/radiation.svg +1 -1
- data/app/assets/build/coco/icons/ribbon.svg +1 -0
- data/app/assets/build/coco/icons/tree-deciduous.svg +1 -1
- data/app/assets/js/libs/alpine/directives/options.js +0 -1
- data/app/components/coco/app/blocks/sidebar_nav/item/item.css +2 -2
- data/app/components/coco/app/blocks/sidebar_nav/menu/menu.css +2 -2
- data/app/components/coco/app/blocks/sidebar_nav/navbar/navbar.css +2 -2
- data/app/components/coco/app/blocks/slide_editor/slide_editor.html.erb +1 -0
- data/app/components/coco/app/elements/alert/alert.html.erb +2 -2
- data/app/components/coco/app/elements/alert/alert.js +1 -1
- data/app/components/coco/app/elements/alert/alert.rb +1 -0
- data/app/components/coco/app/elements/image_picker_button/image_picker_button.js +8 -2
- data/app/components/coco/app/elements/system_banner/system_banner.rb +1 -0
- data/app/components/coco/app/layouts/application/application.css +13 -0
- data/app/components/coco/app/layouts/application/application.rb +0 -2
- data/app/components/coco/app/layouts/page/page.css +23 -0
- data/app/components/coco/app/layouts/page/page.html.erb +27 -0
- data/app/components/coco/app/layouts/page/page.js +5 -0
- data/app/components/coco/app/layouts/page/page.rb +40 -0
- data/app/components/coco/base/pager_link/pager_link.css +26 -0
- data/app/components/coco/base/pager_link/pager_link.html.erb +3 -0
- data/app/components/coco/base/pager_link/pager_link.rb +32 -0
- data/app/components/coco/base/poll_controller/poll_controller.css +5 -0
- data/app/components/coco/base/poll_controller/poll_controller.html.erb +15 -0
- data/app/components/coco/base/poll_controller/poll_controller.js +67 -0
- data/app/components/coco/base/poll_controller/poll_controller.rb +9 -0
- data/app/helpers/coco/app_helper.rb +4 -0
- data/config/icons.json +2 -0
- data/lib/coco.rb +1 -1
- data/lib/tasks/coco_tasks.rake +0 -8
- metadata +15 -2
@@ -1300,6 +1300,66 @@ select {
|
|
1300
1300
|
--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
|
1301
1301
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
1302
1302
|
}
|
1303
|
+
[data-coco][data-component="pager-link"] {
|
1304
|
+
display: block;
|
1305
|
+
--tw-scale-x: .75;
|
1306
|
+
--tw-scale-y: .75;
|
1307
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1308
|
+
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
|
1309
|
+
--tw-bg-opacity: 0.4;
|
1310
|
+
padding-top: 0.625rem;
|
1311
|
+
padding-bottom: 0.625rem;
|
1312
|
+
padding-left: 0.25rem;
|
1313
|
+
padding-right: 0.25rem;
|
1314
|
+
transition-property: all;
|
1315
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
1316
|
+
transition-duration: 150ms;
|
1317
|
+
}
|
1318
|
+
[data-coco][data-component="pager-link"]:hover {
|
1319
|
+
--tw-scale-x: 1;
|
1320
|
+
--tw-scale-y: 1;
|
1321
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1322
|
+
--tw-bg-opacity: 0.6;
|
1323
|
+
}
|
1324
|
+
@media (min-width: 992px) {
|
1325
|
+
|
1326
|
+
[data-coco][data-component="pager-link"] {
|
1327
|
+
--tw-scale-x: 1;
|
1328
|
+
--tw-scale-y: 1;
|
1329
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1330
|
+
}
|
1331
|
+
|
1332
|
+
[data-coco][data-component="pager-link"]:hover {
|
1333
|
+
--tw-scale-x: 1.25;
|
1334
|
+
--tw-scale-y: 1.25;
|
1335
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1336
|
+
}
|
1337
|
+
}
|
1338
|
+
[data-coco][data-component="pager-link"] {
|
1339
|
+
width: -moz-min-content;
|
1340
|
+
width: min-content;
|
1341
|
+
}
|
1342
|
+
[data-coco][data-component="pager-link"] .coco-icon {
|
1343
|
+
position: relative;
|
1344
|
+
--tw-text-opacity: 1;
|
1345
|
+
color: rgb(255 255 255 / var(--tw-text-opacity));
|
1346
|
+
}
|
1347
|
+
[data-coco][data-component="pager-link"][data-direction="previous"] {
|
1348
|
+
transform-origin: left;
|
1349
|
+
border-top-right-radius: 0.375rem;
|
1350
|
+
border-bottom-right-radius: 0.375rem;
|
1351
|
+
}
|
1352
|
+
[data-coco][data-component="pager-link"][data-direction="previous"] .coco-icon {
|
1353
|
+
margin-left: -0.25rem;
|
1354
|
+
}
|
1355
|
+
[data-coco][data-component="pager-link"][data-direction="next"] {
|
1356
|
+
transform-origin: right;
|
1357
|
+
border-top-left-radius: 0.375rem;
|
1358
|
+
border-bottom-left-radius: 0.375rem;
|
1359
|
+
}
|
1360
|
+
[data-coco][data-component="pager-link"][data-direction="next"] .coco-icon {
|
1361
|
+
margin-right: -0.25rem;
|
1362
|
+
}
|
1303
1363
|
[data-coco][data-component="placeholder"] {
|
1304
1364
|
padding: 1rem;
|
1305
1365
|
}
|
@@ -1333,6 +1393,9 @@ select {
|
|
1333
1393
|
[data-coco][data-component="placeholder"][data-size="full"] .placeholder-content {
|
1334
1394
|
margin: auto;
|
1335
1395
|
}
|
1396
|
+
[data-coco][data-component="poll-controller"] {
|
1397
|
+
display: contents;
|
1398
|
+
}
|
1336
1399
|
[data-coco][data-component="book-editable-slide"] {
|
1337
1400
|
/*
|
1338
1401
|
* slide-padding-lg at max (1480px): 240px (16.2%)
|