Sha256: 8f3165a5d1004e8beca3ae0d1535c95e0c99bac077f1e920201c0479197da590

Contents?: true

Size: 939 Bytes

Versions: 4

Compression:

Stored size: 939 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 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 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

4 entries across 4 versions & 1 rubygems

Version Path
coveragebook_components-0.12.2 app/assets/css/shared/tippy.css
coveragebook_components-0.12.1 app/assets/css/shared/tippy.css
coveragebook_components-0.12.0 app/assets/css/shared/tippy.css
coveragebook_components-0.11.0 app/assets/css/shared/tippy.css