discourse/app/assets/stylesheets/common/base/d-popover.scss
Bianca Nenciu 774698491d
UX: Make user tips more visible (#22012)
Inverts the background of the user tip to make it more visible.
2023-06-12 21:08:49 +03:00

26 lines
515 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: shadow("menu-panel");
}
.tippy-box[data-placement^="top"] .tippy-svg-arrow > svg {
top: 12px;
}
.tippy-box[data-placement^="bottom"] .tippy-svg-arrow > svg {
top: -10px;
}
.tippy-svg-arrow > svg {
color: $d-popover-background;
}
[data-tooltip] > *,
[data-popover] > * {
pointer-events: none;
}