fix: fixed issues
This commit is contained in:
33
assets/scss/_l-go-top.scss
Normal file
33
assets/scss/_l-go-top.scss
Normal file
@@ -0,0 +1,33 @@
|
||||
.go-top {
|
||||
&__button {
|
||||
position: fixed;
|
||||
left: auto;
|
||||
right: 15px;
|
||||
bottom: 40px;
|
||||
z-index: 0;
|
||||
display: block;
|
||||
height: 60px;
|
||||
width: 60px;
|
||||
border-radius: 60px;
|
||||
background: url(../img/icons/prev.svg) center no-repeat;
|
||||
background-color: $blue;
|
||||
box-shadow: 0 0 10px rgba($color: $black, $alpha: 0.2);
|
||||
transform: rotate(90deg);
|
||||
opacity: 0;
|
||||
transition: opacity ease-in-out 0.15s, background-color ease-in-out 0.1s;
|
||||
cursor: pointer;
|
||||
|
||||
@include laptop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: $darkblue;
|
||||
}
|
||||
|
||||
&.active {
|
||||
z-index: 100;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -156,6 +156,10 @@
|
||||
line-height: 141%;
|
||||
text-align: center;
|
||||
color: $darkgrey;
|
||||
|
||||
& a {
|
||||
color: $darkgrey;
|
||||
}
|
||||
}
|
||||
|
||||
&-text {
|
||||
|
||||
@@ -33,3 +33,4 @@
|
||||
@import './l-faq';
|
||||
@import './l-callback';
|
||||
@import './l-modal';
|
||||
@import './l-go-top';
|
||||
|
||||
Reference in New Issue
Block a user