File: //var/www/innodrive/src/scss/elements/back-to-top.scss
.b2top-button {
opacity: 0;
position: fixed;
bottom: 60px;
right: 60px;
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
//background: radial-gradient(circle at 50%, #fff 50%, #fff 60%, transparent 60%, transparent 100%);
background-color: $color-primary-blue;
cursor: pointer;
transition: opacity 0.3s linear;
pointer-events: none;
z-index: 10;
svg.icon {
width: 40%;
height: 40%;
fill: #fff;
transform: rotate(180deg);
}
&.js-visible {
opacity: 1;
pointer-events: all;
}
}
@include media("tablet-l") {
.b2top-button {
width: 40px;
height: 40px;
right: 20px;
bottom: 40px;
}
}
@include media("tablet-s") {
.b2top-button {
width: 28px;
height: 28px;
right: 10px;
bottom: 28px;
}
}