2020-08-04 10:57:10 +08:00
|
|
|
$d-popover-background: var(--secondary);
|
2022-06-28 19:25:40 +08:00
|
|
|
$d-popover-border: var(--primary-low);
|
2019-03-26 22:43:27 +08:00
|
|
|
|
2022-05-02 23:10:26 +08:00
|
|
|
.tippy-box {
|
|
|
|
color: var(--primary);
|
|
|
|
background: $d-popover-background;
|
2022-05-31 15:51:50 +08:00
|
|
|
border: 1px solid var(--primary-low);
|
2023-06-14 04:38:31 +08:00
|
|
|
box-shadow: var(--shadow-menu-panel);
|
2023-08-18 10:53:28 +08:00
|
|
|
border-radius: var(--d-border-radius);
|
2023-06-20 02:05:23 +08:00
|
|
|
|
|
|
|
> .tippy-svg-arrow {
|
|
|
|
color: $d-popover-background;
|
|
|
|
}
|
2019-03-26 22:43:27 +08:00
|
|
|
}
|
|
|
|
|
2022-05-02 23:10:26 +08:00
|
|
|
.tippy-box[data-placement^="top"] .tippy-svg-arrow > svg {
|
|
|
|
top: 12px;
|
2019-03-26 22:43:27 +08:00
|
|
|
}
|
2022-05-02 23:10:26 +08:00
|
|
|
.tippy-box[data-placement^="bottom"] .tippy-svg-arrow > svg {
|
|
|
|
top: -10px;
|
|
|
|
}
|
2022-10-13 21:39:52 +08:00
|
|
|
|
2023-06-16 17:36:43 +08:00
|
|
|
#tippy-rounded-arrow {
|
|
|
|
.svg-arrow {
|
|
|
|
fill: $d-popover-border;
|
|
|
|
}
|
2022-05-02 23:10:26 +08:00
|
|
|
}
|
2019-03-26 22:43:27 +08:00
|
|
|
|
2022-05-02 23:10:26 +08:00
|
|
|
[data-tooltip] > *,
|
|
|
|
[data-popover] > * {
|
|
|
|
pointer-events: none;
|
2019-03-26 22:43:27 +08:00
|
|
|
}
|