css cleanup
This commit is contained in:
parent
a26ec64b3b
commit
5d6fcb3bb3
1 changed files with 18 additions and 24 deletions
|
@ -868,32 +868,26 @@ a.unmute {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&[x-placement^="bottom"] .popper__arrow {
|
.popper__arrow::before {
|
||||||
&:before {
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: '';
|
content: '';
|
||||||
top: -2px;
|
|
||||||
left: -7px;
|
left: -7px;
|
||||||
border-width: 0 7px 7px 7px;
|
border: solid 7px transparent;
|
||||||
border-color: transparent transparent $fallback--border transparent;
|
|
||||||
border-color: transparent transparent var(--border, $fallback--border) transparent;
|
|
||||||
border-style: solid;
|
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
&[x-placement^="top"] .popper__arrow {
|
&[x-placement^="bottom"] .popper__arrow::before {
|
||||||
&:before {
|
top: -2px;
|
||||||
position: absolute;
|
border-top-width: 0;
|
||||||
content: '';
|
border-bottom-color: $fallback--border;
|
||||||
bottom: -2px;
|
border-bottom-color: var(--border, $fallback--border);
|
||||||
left: -7px;
|
|
||||||
border-width: 7px 7px 0 7px;
|
|
||||||
border-color: $fallback--border transparent transparent transparent;
|
|
||||||
border-color: var(--border, $fallback--border) transparent transparent transparent;
|
|
||||||
border-style: solid;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&[x-placement^="top"] .popper__arrow::before {
|
||||||
|
bottom: -2px;
|
||||||
|
border-bottom-width: 0;
|
||||||
|
border-top-color: $fallback--border;
|
||||||
|
border-top-color: var(--border, $fallback--border);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue