Sha256: 0fc04369e9c83ab7e8bbe2aec8e5ddd097c9f1a62b37c2b65e68f44ba8f25d6e

Contents?: true

Size: 949 Bytes

Versions: 3

Compression:

Stored size: 949 Bytes

Contents

@import "tippy.js/dist/tippy";
@import "tippy.js/dist/svg-arrow";
@import "tippy.js/dist/border.css";

/* Tippy  */
@layer components {
  [data-tippy-root] {
    @apply !z-[10010];
  }

  .tippy-box[data-theme^="coco-"] {
    @apply bg-transparent text-gray-900 coco-label-md whitespace-normal;

    .tippy-content {
      @apply p-0;
    }

    /* arrow border */
    .tippy-svg-arrow > svg:first-child {
      @apply fill-transparent;
    }

    /* arrow background */
    .tippy-svg-arrow > svg:last-child {
      @apply fill-transparent;
    }
  }

  /* Tooltip theme */
  .tippy-box[data-theme~="coco-tooltip"] {
    @apply bg-background-dark-2 text-white coco-label-sm rounded-lg shadow-xl;

    .tippy-content {
      @apply px-3 py-2 truncate max-w-[240px];
    }

    /* arrow background */
    .tippy-svg-arrow > svg:first-child {
      @apply hidden;
    }

    .tippy-svg-arrow > svg:last-child {
      @apply fill-gray-900;
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
coveragebook_components-0.10.1.beta.2 app/assets/css/shared/tippy.css
coveragebook_components-0.10.1.beta.1 app/assets/css/shared/tippy.css
coveragebook_components-0.10.1.beta.0 app/assets/css/shared/tippy.css