discourse/app/assets/stylesheets/common/base/d-popover.scss
Ella E f736748853
FIX: Make the arrow and tooltip background the same color (#22171)
* FIX: Make the arrow and tooltip background the same color
* FIX: move position arrow
2023-06-19 12:05:23 -06:00

32 lines
595 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);
> .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;
}