- <footer class="ui basic center aligned segment{% if login.getCompactMenu() %} extended{% endif %}">
+ <footer class="page-footer{% if login.getCompactMenu() %} extended"{% endif %}">
+ <div class="ui center aligned basic padded segment footer-wrapper">
<div class="row">
<div class="ui horizontal bulleted link list">
<a href="https://galette.eu" class="item">
</div>
</div>
{% endif %}
- </footer>
+ </div>
+ </footer>
display: flex;
justify-content: center;
}
- main ~ footer.ui.segment {
- margin-top: -120px;
+ footer.page-footer {
+ position: relative;
z-index: 2;
+ margin-top: -120px;
}
}
footer .ui.horizontal.list > .item{
font-size: .95rem;
}
+footer.page-footer {
+ position: relative;
+ background-color: @pageBackground;
+}
+main.pusher ~ footer.page-footer {
+ transition: transform .5s ease;
+ &:after {
+ position: absolute;
+ top: 0;
+ right: 0;
+ content: "";
+ background: @lightTextColor;
+ overflow: hidden;
+ opacity: 0;
+ transition: all .5s;
+ will-change: opacity;
+ }
+}
+main.pusher.dimmed {
+ & ~ footer.page-footer {
+ transform: translate3d(260px, 0, 0);
+ &:after {
+ width: 100% !important;
+ height: 100% !important;
+ opacity: 1 !important;
+ }
+ }
+ &.closing ~ footer.page-footer {
+ transform: translate3d(0, 0, 0);
+ z-index: 1;
+ &:after {
+ opacity: 0 !important;
+ }
+ }
+}
+body:not(.loggedin) main.pusher.dimmed.closing ~ footer.page-footer {
+ z-index: 2;
+}
@media only screen and (max-width: @largestMobileScreen) {
html.public_page .ui.ui.ui.container:not(.fluid) {
display: block;
}
- html:not(.public_page) body:not(.front-page) main ~ footer.ui.segment,
+ html:not(.public_page) body:not(.front-page) footer.page-footer .footer-wrapper,
body:not(.front-page) section.content {
margin-left: 260px;
flex: 1 1 auto;
width: 350px;
}
- html:not(.public_page) body:not(.front-page) main ~ footer.ui.segment,
+ html:not(.public_page) body:not(.front-page) footer.page-footer .footer-wrapper,
body:not(.front-page) section.content {
margin-left: 350px;
}
.infoline .right.aligned.segment,
.actions_row,
.ui.pagination.menu,
- main ~ footer.ui.segment,
+ footer.page-footer,
#back2top {
display: none !important;
}