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
This commit is contained in:
parent
f89b5680cb
commit
f736748853
|
@ -6,6 +6,10 @@ $d-popover-border: var(--primary-low);
|
|||
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 {
|
||||
|
@ -16,10 +20,6 @@ $d-popover-border: var(--primary-low);
|
|||
}
|
||||
|
||||
#tippy-rounded-arrow {
|
||||
.svg-content {
|
||||
fill: $d-popover-background;
|
||||
}
|
||||
|
||||
.svg-arrow {
|
||||
fill: $d-popover-border;
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
> .tippy-svg-arrow > svg {
|
||||
> .tippy-svg-arrow {
|
||||
color: var(--tertiary);
|
||||
}
|
||||
}
|
||||
|
@ -52,19 +52,19 @@
|
|||
.tippy-box[data-theme~="user-tips"][data-placement^="left"]
|
||||
> .tippy-svg-arrow
|
||||
> svg {
|
||||
left: 11px;
|
||||
left: 12px;
|
||||
}
|
||||
|
||||
.tippy-box[data-theme~="user-tips"][data-placement^="top"]
|
||||
> .tippy-svg-arrow
|
||||
> svg {
|
||||
top: 11px;
|
||||
top: 12px;
|
||||
}
|
||||
|
||||
.tippy-box[data-theme~="user-tips"][data-placement^="bottom"]
|
||||
> .tippy-svg-arrow
|
||||
> svg {
|
||||
top: -13px;
|
||||
top: -14px;
|
||||
left: -1px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue