2022-10-23 04:19:53 +00:00
|
|
|
.tippy-box[data-animation="fade"][data-state="hidden"] {
|
|
|
|
@apply opacity-0;
|
|
|
|
}
|
|
|
|
[data-tippy-root] {
|
|
|
|
max-width: calc(100vw - 10px);
|
|
|
|
}
|
|
|
|
.tippy-box {
|
2023-02-10 12:17:45 +00:00
|
|
|
@apply relative rounded-lg bg-highlight shadow-xl
|
2022-10-29 19:26:11 +00:00
|
|
|
transition-[transform,visibility,opacity] shadow-shade;
|
2022-10-23 04:19:53 +00:00
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="top"] > .tippy-arrow {
|
|
|
|
@apply bottom-0;
|
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="top"] > .tippy-arrow:before {
|
|
|
|
bottom: -7px;
|
|
|
|
left: 0;
|
|
|
|
border-width: 8px 8px 0;
|
|
|
|
border-top-color: initial;
|
|
|
|
transform-origin: center top;
|
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="bottom"] > .tippy-arrow {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="bottom"] > .tippy-arrow:before {
|
|
|
|
top: -7px;
|
|
|
|
left: 0;
|
|
|
|
border-width: 0 8px 8px;
|
|
|
|
border-bottom-color: initial;
|
|
|
|
transform-origin: center bottom;
|
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="left"] > .tippy-arrow {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="left"] > .tippy-arrow:before {
|
|
|
|
border-width: 8px 0 8px 8px;
|
|
|
|
border-left-color: initial;
|
|
|
|
right: -7px;
|
|
|
|
transform-origin: center left;
|
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="right"] > .tippy-arrow {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="right"] > .tippy-arrow:before {
|
|
|
|
left: -7px;
|
|
|
|
border-width: 8px 8px 8px 0;
|
|
|
|
border-right-color: initial;
|
|
|
|
transform-origin: center right;
|
|
|
|
}
|
|
|
|
.tippy-box[data-inertia][data-state="visible"] {
|
|
|
|
transition-timing-function: cubic-bezier(0.54, 1.5, 0.38, 1.11);
|
|
|
|
}
|
|
|
|
.tippy-arrow {
|
2023-02-10 12:17:45 +00:00
|
|
|
@apply h-4 w-4 text-highlight;
|
2022-10-23 04:19:53 +00:00
|
|
|
}
|
|
|
|
.tippy-arrow:before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
border-color: transparent;
|
|
|
|
border-style: solid;
|
|
|
|
}
|
|
|
|
.tippy-content {
|
2023-06-03 19:19:13 +00:00
|
|
|
@apply relative px-6 py-4;
|
2022-10-23 04:19:53 +00:00
|
|
|
}
|