Sha256: dd3969b35c4c4542dd6ca7fd554061aedc3689720e47b26b7a629a01bfaaf974

Contents?: true

Size: 800 Bytes

Versions: 1

Compression:

Stored size: 800 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 justify-center;
      @apply px-8 h-16 border-b border-gray-300 rounded-t-xl bg-white;
    }

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

    .modal-dialog-close {
      @apply flex-none block p-2 absolute top-1/2 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-8 py-6 rounded-xl bg-background-light-3;
    }

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
coveragebook_components-0.7.0 app/components/coco/base/modal_dialog/modal_dialog.css