naive-ui/styles/Tooltip.scss
2020-03-05 22:31:20 +08:00

24 lines
616 B
SCSS

@import "./mixins/mixins.scss";
@include themes-mixin {
.#{block(tooltip)} {
@include b(tooltip-content) {
&.#{block(popover-content)} {
@include once {
padding: 8px 14px;
white-space: nowrap;
border-radius: $--n-tooltip-border-radius;
}
box-shadow: $--tooltip-box-shadow;
background-color: $--tooltip-background-color;
color: $--tooltip-text-color;
@include b(popover-arrow-wrapper) {
@include b(popover-arrow) {
background-color: $--tooltip-background-color;
}
}
}
}
}
}