naive-ui/styles/Tooltip.scss

24 lines
616 B
SCSS
Raw Normal View History

2019-06-28 18:14:06 +08:00
@import "./mixins/mixins.scss";
2020-02-11 14:44:29 +08:00
2019-09-28 13:47:54 +08:00
@include themes-mixin {
2019-12-09 15:12:53 +08:00
.#{block(tooltip)} {
@include b(tooltip-content) {
&.#{block(popover-content)} {
2019-12-12 18:36:30 +08:00
@include once {
padding: 8px 14px;
white-space: nowrap;
2020-02-28 22:57:10 +08:00
border-radius: $--n-tooltip-border-radius;
2019-12-12 18:36:30 +08:00
}
2019-12-09 15:12:53 +08:00
box-shadow: $--tooltip-box-shadow;
background-color: $--tooltip-background-color;
2020-02-22 18:08:53 +08:00
color: $--tooltip-text-color;
2020-03-05 22:31:20 +08:00
@include b(popover-arrow-wrapper) {
2019-12-09 15:12:53 +08:00
@include b(popover-arrow) {
2020-03-05 22:31:20 +08:00
background-color: $--tooltip-background-color;
2019-12-09 15:12:53 +08:00
}
2019-09-28 13:47:54 +08:00
}
}
}
2019-07-26 17:40:49 +08:00
}
2019-06-28 18:14:06 +08:00
}