Sha256: 63dde3c0356b79c473945a509944beb566618091fe0308c307135c202f32025a

Contents?: true

Size: 903 Bytes

Versions: 11

Compression:

Stored size: 903 Bytes

Contents

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

    &[data-collapsible="true"] {
      @apply opacity-0;

      &.button-group-ready {
        @apply opacity-100;
      }
    }

    .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-wrapper:not(:first-child) .coco-button {
        @apply rounded-l-none border-l-0;
      }

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

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
coveragebook_components-0.15.0 app/components/coco/buttons/button_group/button_group.css
coveragebook_components-0.14.0 app/components/coco/buttons/button_group/button_group.css
coveragebook_components-0.13.1 app/components/coco/buttons/button_group/button_group.css
coveragebook_components-0.13.0 app/components/coco/buttons/button_group/button_group.css
coveragebook_components-0.12.2 app/components/coco/shared/button_group/button_group.css
coveragebook_components-0.12.1 app/components/coco/shared/button_group/button_group.css
coveragebook_components-0.12.0 app/components/coco/shared/button_group/button_group.css
coveragebook_components-0.11.0 app/components/coco/shared/button_group/button_group.css
coveragebook_components-0.10.1.beta.2 app/components/coco/shared/button_group/button_group.css
coveragebook_components-0.10.1.beta.1 app/components/coco/shared/button_group/button_group.css
coveragebook_components-0.10.1.beta.0 app/components/coco/shared/button_group/button_group.css