You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.3 KiB
SCSS
66 lines
1.3 KiB
SCSS
@import "./../common/abstracts/_mixin.scss";
|
|
@import "./../common/abstracts/variable.scss";
|
|
|
|
.wot-theme-dark {
|
|
|
|
@include b(tooltip) {
|
|
|
|
@include e(pos) {
|
|
background: $-dark-background4;
|
|
color: $-tooltip-color;
|
|
}
|
|
|
|
@include triangleArrow($-tooltip-arrow-size, $-dark-background4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include b(tooltip) {
|
|
position: relative;
|
|
display: inline-block;
|
|
|
|
@include edeep(pos) {
|
|
position: absolute;
|
|
min-width: 138px;
|
|
min-height: 36px;
|
|
font-size: $-tooltip-fs;
|
|
backdrop-filter: blur($-tooltip-blur);
|
|
background-clip: padding-box;
|
|
border-radius: $-tooltip-radius;
|
|
background: $-tooltip-bg;
|
|
color: $-tooltip-color;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
z-index: $-tooltip-z-index;
|
|
}
|
|
|
|
|
|
@include e(hidden) {
|
|
left: -100vw;
|
|
bottom: -100vh;
|
|
visibility: hidden;
|
|
}
|
|
|
|
@include e(container) {
|
|
line-height: $-tooltip-line-height;
|
|
font-size: $-tooltip-fs;
|
|
}
|
|
|
|
@include e(inner) {
|
|
padding: $-tooltip-padding;
|
|
white-space: nowrap;
|
|
line-height: $-tooltip-line-height;
|
|
}
|
|
|
|
@include edeep(close-icon) {
|
|
font-size: 12px;
|
|
position: absolute;
|
|
right: -8px;
|
|
top: -10px;
|
|
transform: scale(0.5);
|
|
padding: 10px;
|
|
}
|
|
|
|
@include triangleArrow($-tooltip-arrow-size, $-tooltip-bg);
|
|
} |