| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- @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);
- }
|