mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 17:13:45 +08:00
45f93ae75d
* UX: Adjust size of svg arrow * UX: Refactor & style edits
32 lines
614 B
SCSS
32 lines
614 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-rounded-arrow {
|
|
fill: $d-popover-background;
|
|
.svg-arrow {
|
|
fill: $d-popover-border;
|
|
}
|
|
.svg-content {
|
|
fill: $d-popover-background;
|
|
}
|
|
}
|
|
|
|
[data-tooltip] > *,
|
|
[data-popover] > * {
|
|
pointer-events: none;
|
|
}
|