Sha256: 9a687c07980842766d166dc16eea44b53d64fedbf7d59ddef98edbff5d14ea8c

Contents?: true

Size: 824 Bytes

Versions: 18

Compression:

Stored size: 824 Bytes

Contents

@layer components {
  [data-coco][data-component="modal-dialog"] {
    @apply shadow-2xl rounded-xl w-full;
    @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

18 entries across 18 versions & 1 rubygems

Version Path
coveragebook_components-0.8.8 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.8.7 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.8.6 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.8.5 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.8.4 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.8.3 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.8.2 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.8.1 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.8.0 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.8.0.beta.3 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.8.0.beta.2 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.8.0.beta.1 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.7.10 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.7.9 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.7.8 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.7.7 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.7.6 app/components/coco/base/modal_dialog/modal_dialog.css
coveragebook_components-0.7.5 app/components/coco/base/modal_dialog/modal_dialog.css