You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
@import "../../style/themes/default";
|
|
|
|
@import "../../style/mixins/index";
|
|
|
|
|
|
|
|
@backtop-prefix-cls: ~"@{ant-prefix}-back-top";
|
|
|
|
|
|
|
|
.@{backtop-prefix-cls} {
|
|
|
|
.reset-component;
|
|
|
|
z-index: @zindex-back-top;
|
|
|
|
position: fixed;
|
|
|
|
right: 100px;
|
|
|
|
bottom: 50px;
|
|
|
|
height: 40px;
|
|
|
|
width: 40px;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&-content {
|
|
|
|
height: 40px;
|
|
|
|
width: 40px;
|
|
|
|
border-radius: 20px;
|
|
|
|
background-color: @back-top-bg;
|
|
|
|
color: @back-top-color;
|
|
|
|
text-align: center;
|
|
|
|
transition: all .3s @ease-in-out;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @back-top-hover-bg;
|
|
|
|
transition: all .3s @ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-icon {
|
|
|
|
font-size: 20px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|