discourse/app/assets/stylesheets/common/base/d-popover.scss
Joffrey JAFFEUX 85fddf58bc
Revert "DEV: FloatKit (#23541)" (#23549)
This reverts commits

0623ac684a
408e71e437
a32fa3b947

User tips were running into some issues.
2023-09-12 13:55:12 -04:00

33 lines
636 B
SCSS

$d-popover-background: var(--secondary);
$d-popover-border: var(--primary-low);
.tippy-box {
color: var(--primary);
background: $d-popover-background;
border: 1px solid var(--primary-low);
box-shadow: var(--shadow-menu-panel);
border-radius: var(--d-border-radius);
> .tippy-svg-arrow {
color: $d-popover-background;
}
}
.tippy-box[data-placement^="top"] .tippy-svg-arrow > svg {
top: 12px;
}
.tippy-box[data-placement^="bottom"] .tippy-svg-arrow > svg {
top: -10px;
}
#tippy-rounded-arrow {
.svg-arrow {
fill: $d-popover-border;
}
}
[data-tooltip] > *,
[data-popover] > * {
pointer-events: none;
}