Sha256: e830f94dfdb290d10a9239cd192ab3e1e374d5ceb278165e95615767bbbcd073

Contents?: true

Size: 735 Bytes

Versions: 31

Compression:

Stored size: 735 Bytes

Contents

@layer components {
  [data-coco][data-component="app-button-group"] {
    width: fit-content;
    border-radius: 44px;

    .button-group-buttons {
      @apply flex items-center gap-x-2;
      width: fit-content;
    }

    .divider {
      @apply w-0 border-l border-gray-300 self-stretch;
    }

    &[data-align="end"] {
      .button-group-buttons {
        @apply ml-auto;
      }
    }

    &[data-segmented="true"] {
      .button-group-buttons {
        @apply gap-x-0;
      }

      .coco-button:not(:first-child) {
        @apply rounded-l-none border-l-0;
      }

      .coco-button:not(:last-child) {
        @apply rounded-r-none;
      }

      &[data-floating="true"] {
        @apply shadow-lg;
      }
    }
  }
}

Version data entries

31 entries across 31 versions & 1 rubygems

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