2016-09-09 14:29:19 +08:00
|
|
|
@backtop-prefix-cls: ~"@{css-prefix}back-top";
|
|
|
|
|
|
|
|
.@{backtop-prefix-cls} {
|
|
|
|
z-index: @zindex-back-top;
|
|
|
|
position: fixed;
|
|
|
|
cursor: pointer;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
&.@{backtop-prefix-cls}-show {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-inner {
|
|
|
|
background-color: rgba(0,0,0,.6);
|
|
|
|
border-radius: 2px;
|
2016-11-27 00:25:19 +08:00
|
|
|
box-shadow: 0 1px 3px rgba(0,0,0,.2);
|
|
|
|
transition: all @transition-time @ease-in-out;
|
2016-09-09 14:29:19 +08:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(0,0,0,.7);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
i{
|
|
|
|
color: #fff;
|
|
|
|
font-size: 24px;
|
|
|
|
padding: 8px 12px;
|
|
|
|
}
|
2016-11-27 00:25:19 +08:00
|
|
|
}
|