baBackTop component

This commit is contained in:
nixa 2016-05-13 17:49:28 +03:00
parent e8225b74f6
commit fb435d91fb
5 changed files with 60 additions and 2 deletions

View file

@ -0,0 +1,24 @@
@import '../../../theme/sass/conf/conf';
$height: 52px;
.ba-back-top {
position: fixed;
width: $height;
height: $height;
cursor: pointer;
z-index: 9999;
display: none;
text-decoration: none;
right: (180px - $height) / 2;
bottom: 40px !important;
font-size: 45px;
text-align: center;
opacity: 0.4;
color: $primary;
background-color: rgba(0, 0, 0, 0.75);
border-radius: 50%;
line-height: 46px;
&:hover {
opacity: 0.8;
}
}