2016-06-23 23:12:18 +08:00
|
|
|
@import "../../style/themes/default";
|
|
|
|
|
2016-09-14 16:18:33 +08:00
|
|
|
@backtop-prefix-cls: ~"@{ant-prefix}-back-top";
|
2016-06-23 23:12:18 +08:00
|
|
|
|
|
|
|
.@{backtop-prefix-cls} {
|
|
|
|
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;
|
2017-05-09 17:15:54 +08:00
|
|
|
background-color: @back-top-bg;
|
|
|
|
color: @back-top-color;
|
2016-06-23 23:12:18 +08:00
|
|
|
text-align: center;
|
|
|
|
transition: all .3s @ease-in-out;
|
|
|
|
|
|
|
|
&:hover {
|
2017-05-09 17:15:54 +08:00
|
|
|
background-color: @back-top-hover-bg;
|
2016-06-23 23:12:18 +08:00
|
|
|
transition: all .3s @ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-icon {
|
|
|
|
font-size: 20px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|