tdesign-react
Version:
TDesign Component for React
33 lines (24 loc) • 679 B
text/less
// 组件允许单个组件打包,因此默认引入公共基础样式
@import "../../base.less";
@import "./_var.less";
@import "./_mixin.less";
.@{prefix}-sticky-tool {
position: fixed;
opacity: 1;
box-sizing: border-box;
background-color: @sticky-tool-background;
border: .5px solid @sticky-tool-border;
box-shadow: @sticky-tool-shadow;
&-popup-content {
box-shadow: @sticky-tool-popup-shadow;
font-size: @sticky-tool-popup-font-size;
color: @sticky-tool-popup-color;
}
.sticky-item-basic();
&--square {
border-radius: @sticky-tool-border-radius-square;
}
&--round {
border-radius: @sticky-tool-border-radius-round;
}
}