Sha256: 19039b4c679f9f4f7f8a7de3b2624f9b14caea88feb0a5b9fec050d77a7fdadc

Contents?: true

Size: 462 Bytes

Versions: 28

Compression:

Stored size: 462 Bytes

Contents

@layer components {
  [data-coco][data-component="avatar"] {
    @apply block rounded-full overflow-hidden flex-none aspect-square;

    img {
      @apply w-full rounded-full;
    }

    &[data-size="sm"] {
      @apply w-5 h-5;
    }

    &[data-size="md"] {
      @apply w-6 h-6;
    }

    &[data-size="lg"] {
      @apply w-7 h-7;
    }

    &[data-size="xl"] {
      @apply w-8 h-8;
    }

    &[data-size="full"] {
      @apply w-full h-full;
    }
  }
}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
coveragebook_components-0.19.8 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.19.7 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.19.6 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.19.5 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.19.4 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.19.3 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.19.2 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.19.1 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.19.0 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.18.8 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.18.7 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.18.0 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.17.7 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.17.6 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.17.5 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.17.4 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.17.3 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.17.2 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.17.1 app/components/coco/images/avatar/avatar.css
coveragebook_components-0.17.0 app/components/coco/images/avatar/avatar.css