Sha256: b249535f5777f4dcfd5426e40fd48c25b25a5c3aadbb1be70bf197e7758297fe

Contents?: true

Size: 1.21 KB

Versions: 16

Compression:

Stored size: 1.21 KB

Contents

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

@layer utilities {
  .tippy-dropdown-box {
    @apply bg-background-light-2 text-coco-gray-900 label-sm border border-solid border-gray-blend-100 shadow-xl rounded-lg;
  }
}

[data-tippy-root] {
  @apply !z-[10010];
}

.tippy-box[data-theme^="coco-"] {
  @apply bg-transparent text-coco-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 max-w-[240px];
  }

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

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

/*
  * Tippy dropdown theme
  */
.tippy-box[data-theme~="coco-app-dropdown"],
.tippy-box[data-theme~="coco-menu"] {
  @apply tippy-dropdown-box;
}

.tippy-box[data-theme~="coco-naked-dropdown"] {
  width: min-content;
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
coveragebook_components-0.19.8 app/assets/css/base/tippy.css
coveragebook_components-0.19.7 app/assets/css/base/tippy.css
coveragebook_components-0.19.6 app/assets/css/base/tippy.css
coveragebook_components-0.19.5 app/assets/css/base/tippy.css
coveragebook_components-0.19.4 app/assets/css/base/tippy.css
coveragebook_components-0.19.3 app/assets/css/base/tippy.css
coveragebook_components-0.19.2 app/assets/css/base/tippy.css
coveragebook_components-0.19.1 app/assets/css/base/tippy.css
coveragebook_components-0.19.0 app/assets/css/base/tippy.css
coveragebook_components-0.18.8 app/assets/css/base/tippy.css
coveragebook_components-0.18.7 app/assets/css/base/tippy.css
coveragebook_components-0.18.0 app/assets/css/base/tippy.css
coveragebook_components-0.17.7 app/assets/css/base/tippy.css
coveragebook_components-0.17.6 app/assets/css/base/tippy.css
coveragebook_components-0.17.5 app/assets/css/base/tippy.css
coveragebook_components-0.17.4 app/assets/css/base/tippy.css