polestar-ui-kit
Version:
## Install
32 lines (25 loc) • 669 B
text/less
@import '~antd/lib/tooltip/style/index';
@import '../../index';
@import '../../../../mixins/index';
@tooltip-prefix-cls: ~"@{ant-prefix}-tooltip";
.@{tooltip-prefix-cls} {
z-index: 1150;
&-inner {
background-color: @primary-1;
color: @primary-color;
padding: 2px 8px;
box-shadow: 0 0 0 transparent;
min-height: 10px;
border: @border-width-base @border-style-base @primary-3;
//border-bottom-color: transparent;
font-size: @font-size-sm;
}
&-placement-top &-arrow,
&-placement-topLeft &-arrow,
&-placement-topRight &-arrow {
border-top-color: @primary-3;
}
&-placement-top &-arrow {
margin-left: -5px;
}
}