2022-07-18 17:33:34 -05:00
|
|
|
/* styles are based on node_modules/tippy.js/dist/tippy.css */
|
|
|
|
|
2023-03-14 21:20:19 -05:00
|
|
|
/* class to hide tippy target elements on page load */
|
2022-08-10 09:47:28 -05:00
|
|
|
.tippy-target {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2022-07-18 17:33:34 -05:00
|
|
|
[data-tippy-root] {
|
|
|
|
max-width: calc(100vw - 10px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-box {
|
|
|
|
position: relative;
|
|
|
|
background-color: var(--color-body);
|
|
|
|
color: var(--color-secondary-dark-6);
|
|
|
|
border: 1px solid var(--color-secondary);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
font-size: 1rem;
|
2022-08-09 07:37:34 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-box[data-theme="tooltip"] {
|
|
|
|
background-color: var(--color-tooltip-bg);
|
|
|
|
color: var(--color-tooltip-text);
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-box[data-theme="menu"] {
|
2023-02-21 10:23:45 -05:00
|
|
|
background-color: transparent;
|
2022-08-09 07:37:34 -05:00
|
|
|
color: var(--color-tooltip-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-box[data-theme="menu"] .ui.menu {
|
|
|
|
border: none;
|
2022-07-18 17:33:34 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-content {
|
|
|
|
position: relative;
|
|
|
|
padding: 1rem;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2022-08-09 07:37:34 -05:00
|
|
|
.tippy-box[data-theme="tooltip"] .tippy-content {
|
2023-03-14 21:20:19 -05:00
|
|
|
padding: 0.5rem 1rem;
|
2022-08-09 07:37:34 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-box[data-theme="menu"] .tippy-content {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2022-07-18 17:33:34 -05:00
|
|
|
.tippy-box[data-placement^="top"] > .tippy-svg-arrow {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-box[data-placement^="top"] > .tippy-svg-arrow::after,
|
|
|
|
.tippy-box[data-placement^="top"] > .tippy-svg-arrow > svg {
|
|
|
|
top: 16px;
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-box[data-placement^="bottom"] > .tippy-svg-arrow {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-box[data-placement^="bottom"] > .tippy-svg-arrow > svg {
|
|
|
|
bottom: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-box[data-placement^="left"] > .tippy-svg-arrow {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-box[data-placement^="left"] > .tippy-svg-arrow::after,
|
|
|
|
.tippy-box[data-placement^="left"] > .tippy-svg-arrow > svg {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
top: calc(50% - 3px);
|
|
|
|
left: 11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-box[data-placement^="right"] > .tippy-svg-arrow {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-box[data-placement^="right"] > .tippy-svg-arrow::after,
|
|
|
|
.tippy-box[data-placement^="right"] > .tippy-svg-arrow > svg {
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
top: calc(50% - 3px);
|
|
|
|
right: 11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-svg-arrow {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
text-align: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-svg-arrow,
|
|
|
|
.tippy-svg-arrow > svg {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-svg-arrow-outer {
|
|
|
|
fill: var(--color-secondary);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-svg-arrow-inner {
|
|
|
|
fill: var(--color-body);
|
|
|
|
}
|
2022-08-09 07:37:34 -05:00
|
|
|
|
|
|
|
.tippy-box[data-theme="tooltip"] .tippy-svg-arrow-inner,
|
|
|
|
.tippy-box[data-theme="tooltip"] .tippy-svg-arrow-outer {
|
|
|
|
fill: var(--color-tooltip-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tippy-box[data-theme="menu"] .tippy-svg-arrow-inner {
|
|
|
|
fill: var(--color-menu);
|
|
|
|
}
|