56 lines
1.3 KiB
SCSS
56 lines
1.3 KiB
SCSS
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
[data-theme~='square-tail'] {
|
|
.tippy-arrow {
|
|
--size: 18px;
|
|
left: calc(0px - (var(--size) / 2)) !important;
|
|
}
|
|
.tippy-arrow::before {
|
|
background-color: var(--token-color-surface-primary);
|
|
width: calc(1px + var(--size));
|
|
height: calc(1px + var(--size));
|
|
border: var(--decor-border-100);
|
|
border-color: var(--token-color-palette-neutral-300);
|
|
}
|
|
// potential icon
|
|
.tippy-arrow::after {
|
|
position: absolute;
|
|
left: 1px;
|
|
}
|
|
&[data-placement^='top'] {
|
|
& {
|
|
bottom: -10px;
|
|
}
|
|
.informed-action {
|
|
border-bottom-left-radius: 0 !important;
|
|
}
|
|
.tippy-arrow::before {
|
|
border-bottom-left-radius: var(--decor-radius-200);
|
|
border-bottom-right-radius: var(--decor-radius-200);
|
|
border-top: 0 !important;
|
|
}
|
|
.tippy-arrow::after {
|
|
bottom: calc(0px - var(--size));
|
|
}
|
|
}
|
|
&[data-placement^='bottom'] {
|
|
& {
|
|
top: -10px;
|
|
}
|
|
.informed-action {
|
|
border-top-left-radius: 0 !important;
|
|
}
|
|
.tippy-arrow::before {
|
|
border-top-left-radius: var(--decor-radius-200);
|
|
border-top-right-radius: var(--decor-radius-200);
|
|
border-bottom: 0 !important;
|
|
}
|
|
.tippy-arrow::after {
|
|
top: calc(0px - var(--size));
|
|
}
|
|
}
|
|
}
|