Sha256: 54359e711c0e717c39948308494774d6164118d9450c4ddb86de37d9ffab1691

Contents?: true

Size: 907 Bytes

Versions: 2

Compression:

Stored size: 907 Bytes

Contents

@layer components {
  [data-coco][data-component="app-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

2 entries across 2 versions & 1 rubygems

Version Path
coveragebook_components-0.10.0 app/components/coco/app/elements/button_group/button_group.css
coveragebook_components-0.9.1 app/components/coco/app/elements/button_group/button_group.css