Sha256: 251733c4dbdfc1cc8374eee8fae9001c57b0a5a14f53b48431bb844c893e32d7

Contents?: true

Size: 868 Bytes

Versions: 15

Compression:

Stored size: 868 Bytes

Contents

@layer components {
  [data-coco][data-component="modal-dialog"] {
    @apply rounded-xl w-full;

    .modal-frame & {
      @apply shadow-2xl;
      @apply max-w-2xl; /* temp until sizes added */
    }

    .modal-dialog-header {
      @apply relative flex items-center;
      @apply px-4 sm:px-8 h-14 sm:h-16 border-b border-gray-300 rounded-t-xl bg-white;
    }

    .modal-dialog-title {
      @apply text-lg pr-6 w-full font-bold truncate;
    }

    .modal-dialog-close {
      @apply flex-none block p-2 absolute top-1/2 right-1 sm:right-3 -translate-y-1/2;
      @apply focus:ring-0 focus:outline-none text-content-dark-muted hover:text-content-dark-2;
    }

    .modal-dialog-content {
      @apply px-4 sm:px-8 py-4 sm:py-6 rounded-xl bg-background-light-3;
    }

    .modal-dialog-header + .modal-dialog-content {
      @apply rounded-t-none;
    }
  }
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
coveragebook_components-0.15.0 app/components/coco/modals/modal_dialog/modal_dialog.css
coveragebook_components-0.14.0 app/components/coco/modals/modal_dialog/modal_dialog.css
coveragebook_components-0.13.1 app/components/coco/modals/modal_dialog/modal_dialog.css
coveragebook_components-0.13.0 app/components/coco/modals/modal_dialog/modal_dialog.css
coveragebook_components-0.12.2 app/components/coco/shared/modal_dialog/modal_dialog.css
coveragebook_components-0.12.1 app/components/coco/shared/modal_dialog/modal_dialog.css
coveragebook_components-0.12.0 app/components/coco/shared/modal_dialog/modal_dialog.css
coveragebook_components-0.11.0 app/components/coco/shared/modal_dialog/modal_dialog.css
coveragebook_components-0.10.1.beta.2 app/components/coco/shared/modal_dialog/modal_dialog.css
coveragebook_components-0.10.1.beta.1 app/components/coco/shared/modal_dialog/modal_dialog.css
coveragebook_components-0.10.1.beta.0 app/components/coco/shared/modal_dialog/modal_dialog.css
coveragebook_components-0.10.0 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.9.1 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.9.0 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.8.9 app/components/coco/base/modal_dialog/modal_dialog.css