You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
2.5 KiB
58 lines
2.5 KiB
6 years ago
|
/**
|
||
|
* @file
|
||
|
* Visual styles for Magazine+'s scroll to top button.
|
||
|
*/
|
||
|
.footer.footer-to-top-enabled .footer__container {
|
||
|
padding-top: 30px;
|
||
|
}
|
||
|
.footer.footer-bottom-to-top-enabled .footer__container,
|
||
|
.footer.subfooter-to-top-enabled .footer__container {
|
||
|
padding-bottom: 30px;
|
||
|
}
|
||
|
.footer-bottom.footer-bottom-to-top-enabled:not(.region--separator-incline-diagonal):not(.region--separator-decline-diagonal) {
|
||
|
position: relative;
|
||
|
padding-top: 60px;
|
||
|
}
|
||
|
.subfooter.subfooter-to-top-enabled:not(.region--separator-incline-diagonal):not(.region--separator-decline-diagonal) {
|
||
|
position: relative;
|
||
|
padding-top: 15px;
|
||
|
}
|
||
|
.to-top {
|
||
|
width: 60px;
|
||
|
height: 60px;
|
||
|
position: absolute;
|
||
|
top: -30px;
|
||
|
left: 50%;
|
||
|
margin-left: -30px;
|
||
|
color: #ffffff;
|
||
|
line-height: 60px;
|
||
|
font-size: 24px;
|
||
|
text-align: center;
|
||
|
cursor: pointer;
|
||
|
text-align: center;
|
||
|
z-index: 10;
|
||
|
-webkit-transition: all 0.2s ease-in-out;
|
||
|
-moz-transition: all 0.2s ease-in-out;
|
||
|
-ms-transition: all 0.2s ease-in-out;
|
||
|
-o-transition: all 0.2s ease-in-out;
|
||
|
transition: all 0.2s ease-in-out;
|
||
|
}
|
||
|
.region--separator-incline-diagonal .to-top,
|
||
|
.region--separator-decline-diagonal .to-top {
|
||
|
top: 40px;
|
||
|
}
|
||
|
@media (max-width: 767px) {
|
||
|
.region--separator-incline-diagonal .to-top,
|
||
|
.region--separator-decline-diagonal .to-top {
|
||
|
top: 10px;
|
||
|
}
|
||
|
}
|
||
|
.to-top:hover {
|
||
|
cursor: pointer;
|
||
|
-webkit-box-shadow: rgba(28, 56, 72, 0.1) 0px 2px 2px, rgba(28, 56, 72, 0.1) 0px 4px 4px, rgba(28, 56, 72, 0.1) 0px 8px 8px, rgba(28, 56, 72, 0.1) 0px 16px 16px, rgba(28, 56, 72, 0.1) 0px 32px 32px, rgba(28, 56, 72, 0.1) 0px 64px 64px;
|
||
|
-moz-box-shadow: rgba(28, 56, 72, 0.1) 0px 2px 2px, rgba(28, 56, 72, 0.1) 0px 4px 4px, rgba(28, 56, 72, 0.1) 0px 8px 8px, rgba(28, 56, 72, 0.1) 0px 16px 16px, rgba(28, 56, 72, 0.1) 0px 32px 32px, rgba(28, 56, 72, 0.1) 0px 64px 64px;
|
||
|
-ms-box-shadow: rgba(28, 56, 72, 0.1) 0px 2px 2px, rgba(28, 56, 72, 0.1) 0px 4px 4px, rgba(28, 56, 72, 0.1) 0px 8px 8px, rgba(28, 56, 72, 0.1) 0px 16px 16px, rgba(28, 56, 72, 0.1) 0px 32px 32px, rgba(28, 56, 72, 0.1) 0px 64px 64px;
|
||
|
-o-box-shadow: rgba(28, 56, 72, 0.1) 0px 2px 2px, rgba(28, 56, 72, 0.1) 0px 4px 4px, rgba(28, 56, 72, 0.1) 0px 8px 8px, rgba(28, 56, 72, 0.1) 0px 16px 16px, rgba(28, 56, 72, 0.1) 0px 32px 32px, rgba(28, 56, 72, 0.1) 0px 64px 64px;
|
||
|
box-shadow: rgba(28, 56, 72, 0.1) 0px 2px 2px, rgba(28, 56, 72, 0.1) 0px 4px 4px, rgba(28, 56, 72, 0.1) 0px 8px 8px, rgba(28, 56, 72, 0.1) 0px 16px 16px, rgba(28, 56, 72, 0.1) 0px 32px 32px, rgba(28, 56, 72, 0.1) 0px 64px 64px;
|
||
|
}
|