app/assets/build/coco/coco.css in coveragebook_components-0.17.2 vs app/assets/build/coco/coco.css in coveragebook_components-0.17.3
- old
+ new
@@ -4547,108 +4547,144 @@
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}
[data-coco][data-component="modal-dialog"]{
width: 100%;
- border-radius: 0.75rem
+ border-radius: 2rem;
+ --tw-bg-opacity: 1;
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity))
}
.modal-frame [data-coco][data-component="modal-dialog"]{
- --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
- --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
- max-width: 42rem /* temp until sizes added */
+ --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
+ --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}
+.modal-frame [data-coco][data-component="modal-dialog"][data-size="sm"] {
+ max-width: 480px;
+ }
+
+.modal-frame [data-coco][data-component="modal-dialog"][data-size="md"] {
+ max-width: 520px;
+ }
+
+.modal-frame [data-coco][data-component="modal-dialog"][data-size="lg"] {
+ max-width: 640px;
+ }
+
[data-coco][data-component="modal-dialog"] .modal-dialog-header{
- position: relative;
- display: flex;
- align-items: center;
- height: 3.5rem;
- border-top-left-radius: 0.75rem;
- border-top-right-radius: 0.75rem;
- border-bottom-width: 1px;
- --tw-border-opacity: 1;
- border-color: rgb(209 213 219 / var(--tw-border-opacity));
+ border-top-left-radius: 2rem;
+ border-top-right-radius: 2rem;
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
padding-left: 1rem;
- padding-right: 1rem
+ padding-right: 1rem;
+ padding-top: 1rem;
+ padding-bottom: 1rem
}
@media (min-width: 576px){
[data-coco][data-component="modal-dialog"] .modal-dialog-header{
- height: 4rem;
- padding-left: 2rem;
- padding-right: 2rem
+ padding-left: 2.5rem;
+ padding-right: 2.5rem;
+ padding-top: 1.5rem;
+ padding-bottom: 1.5rem
}
}
+[data-coco][data-component="modal-dialog"] .modal-dialog-header-container{
+ position: relative;
+ display: flex;
+ height: 2.75rem;
+ align-items: center
+}
+
[data-coco][data-component="modal-dialog"] .modal-dialog-title{
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-right: 1.5rem;
- font-size: 1.125rem;
- line-height: 1.75rem;
+ font-size: 20px;
+ line-height: 24px;
font-weight: 700
}
[data-coco][data-component="modal-dialog"] .modal-dialog-close{
position: absolute;
top: 50%;
- right: 0.25rem;
+ right: -0.25rem;
display: block;
flex: none;
--tw-translate-y: -50%;
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));
padding: 0.5rem
}
@media (min-width: 576px){
[data-coco][data-component="modal-dialog"] .modal-dialog-close{
- right: 0.75rem
+ right: -0.5rem
}
}
[data-coco][data-component="modal-dialog"] .modal-dialog-close{
+ border-radius: 9999px;
--tw-text-opacity: 1;
- color: rgb(156 163 175 / var(--tw-text-opacity))
+ color: rgb(17 24 39 / var(--tw-text-opacity));
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
+ transition-duration: 150ms
}
[data-coco][data-component="modal-dialog"] .modal-dialog-close:hover{
+ --tw-bg-opacity: 1;
+ background-color: rgb(243 244 246 / var(--tw-bg-opacity));
--tw-text-opacity: 1;
- color: rgb(31 41 55 / var(--tw-text-opacity))
+ color: rgb(17 24 39 / var(--tw-text-opacity))
}
[data-coco][data-component="modal-dialog"] .modal-dialog-close:focus{
outline: 2px solid transparent;
outline-offset: 2px;
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)
}
+[data-coco][data-component="modal-dialog"] .modal-dialog-notice [data-component="notice"]{
+ margin-bottom: 1rem;
+ padding-left: 1rem;
+ padding-right: 1rem
+}
+
+@media (min-width: 576px){
+
+ [data-coco][data-component="modal-dialog"] .modal-dialog-notice [data-component="notice"]{
+ margin-bottom: 1.5rem;
+ padding-left: 2.5rem;
+ padding-right: 2.5rem
+ }
+}
+
[data-coco][data-component="modal-dialog"] .modal-dialog-content{
- border-radius: 0.75rem;
+ border-bottom-right-radius: 2rem;
+ border-bottom-left-radius: 2rem;
--tw-bg-opacity: 1;
- background-color: rgb(243 244 246 / var(--tw-bg-opacity));
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
padding-left: 1rem;
padding-right: 1rem;
- padding-top: 1rem;
- padding-bottom: 1rem
+ padding-bottom: 1.5rem
}
@media (min-width: 576px){
[data-coco][data-component="modal-dialog"] .modal-dialog-content{
- padding-left: 2rem;
- padding-right: 2rem;
- padding-top: 1.5rem;
- padding-bottom: 1.5rem
+ padding-left: 2.5rem;
+ padding-right: 2.5rem;
+ padding-bottom: 2rem
}
}
[data-coco][data-component="modal-dialog"] .modal-dialog-header + .modal-dialog-content{
border-top-left-radius: 0px;