discourse/app/assets/stylesheets/common/base/d-popover.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
588 B
SCSS
Raw Normal View History

$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-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-content {
fill: $d-popover-background;
}
.svg-arrow {
fill: $d-popover-border;
}
}
[data-tooltip] > *,
[data-popover] > * {
pointer-events: none;
}