mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
26 lines
644 B
SCSS
26 lines
644 B
SCSS
@import "./mixins/mixins.scss";
|
|
|
|
@include themes-mixin {
|
|
.#{block(tooltip)} {
|
|
@include b(tooltip-content) {
|
|
@include once {
|
|
white-space: nowrap;
|
|
}
|
|
&.#{block(popover-content)} {
|
|
@include once {
|
|
padding: 8px 14px;
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|