mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-14 08:09:13 +08:00
a25ec29fb8
* refactor: extract prefix cls as less variable * refactor: apply ant icon prefix cls in less files * refactor: all components support prefixCls props
34 lines
615 B
Plaintext
34 lines
615 B
Plaintext
@import "../../style/themes/default";
|
|
|
|
@backtop-prefix-cls: ~"@{ant-prefix}-back-top";
|
|
|
|
.@{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;
|
|
background-color: rgba(64, 64, 64, 0.4);
|
|
color: #fff;
|
|
text-align: center;
|
|
transition: all .3s @ease-in-out;
|
|
|
|
&:hover {
|
|
background-color: rgba(64, 64, 64, 0.6);
|
|
transition: all .3s @ease-in-out;
|
|
}
|
|
}
|
|
|
|
&-icon {
|
|
font-size: 20px;
|
|
margin-top: 10px;
|
|
}
|
|
}
|