123 lines
2.7 KiB
SCSS
123 lines
2.7 KiB
SCSS
![]() |
/*-------------------------
|
||
|
Back To Top
|
||
|
---------------------------*/
|
||
|
@-webkit-keyframes border-transform {
|
||
|
0%,
|
||
|
100% {
|
||
|
border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
|
||
|
}
|
||
|
|
||
|
14% {
|
||
|
border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%;
|
||
|
}
|
||
|
|
||
|
28% {
|
||
|
border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%;
|
||
|
}
|
||
|
|
||
|
42% {
|
||
|
border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%;
|
||
|
}
|
||
|
|
||
|
56% {
|
||
|
border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%;
|
||
|
}
|
||
|
|
||
|
70% {
|
||
|
border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%;
|
||
|
}
|
||
|
|
||
|
84% {
|
||
|
border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.paginacontainer {
|
||
|
height: 3000px;
|
||
|
}
|
||
|
|
||
|
.rbt-progress-parent {
|
||
|
position: fixed;
|
||
|
right: 30px;
|
||
|
bottom: 30px;
|
||
|
height: 46px;
|
||
|
width: 46px;
|
||
|
cursor: pointer;
|
||
|
display: block;
|
||
|
border-radius: 50px;
|
||
|
box-shadow: inset 0 0 0 2px var(--black-opacity);
|
||
|
z-index: 10000;
|
||
|
opacity: 0;
|
||
|
visibility: hidden;
|
||
|
transform: translateY(15px);
|
||
|
-webkit-transition: all 200ms linear;
|
||
|
transition: all 200ms linear;
|
||
|
|
||
|
&.rbt-backto-top-active {
|
||
|
opacity: 1;
|
||
|
visibility: visible;
|
||
|
transform: translateY(0);
|
||
|
}
|
||
|
|
||
|
&::after {
|
||
|
position: absolute;
|
||
|
font-family: 'feather' !important;
|
||
|
content: "\e914";
|
||
|
text-align: center;
|
||
|
line-height: 46px;
|
||
|
font-size: 20px;
|
||
|
color: var(--color-primary);
|
||
|
left: 0;
|
||
|
top: 0;
|
||
|
height: 46px;
|
||
|
width: 46px;
|
||
|
cursor: pointer;
|
||
|
display: block;
|
||
|
z-index: 2;
|
||
|
-webkit-transition: all 200ms linear;
|
||
|
transition: all 200ms linear;
|
||
|
}
|
||
|
|
||
|
&:hover {
|
||
|
&::after {
|
||
|
color: var(--color-primary);
|
||
|
}
|
||
|
}
|
||
|
&::before {
|
||
|
position: absolute;
|
||
|
font-family: 'feather' !important;
|
||
|
content: "\e914";
|
||
|
text-align: center;
|
||
|
line-height: 46px;
|
||
|
font-size: 24px;
|
||
|
opacity: 0;
|
||
|
background: #0d0d12;
|
||
|
-webkit-background-clip: text;
|
||
|
-webkit-text-fill-color: transparent;
|
||
|
left: 0;
|
||
|
top: 0;
|
||
|
height: 46px;
|
||
|
width: 46px;
|
||
|
cursor: pointer;
|
||
|
display: block;
|
||
|
z-index: 2;
|
||
|
-webkit-transition: all 200ms linear;
|
||
|
transition: all 200ms linear;
|
||
|
color: var(--color-primary);
|
||
|
}
|
||
|
svg {
|
||
|
path {
|
||
|
fill: none;
|
||
|
}
|
||
|
&.rbt-back-circle {
|
||
|
path {
|
||
|
stroke: var(--color-primary);
|
||
|
stroke-width: 4;
|
||
|
box-sizing: border-box;
|
||
|
-webkit-transition: all 200ms linear;
|
||
|
transition: all 200ms linear;
|
||
|
opacity: 0.6;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|