Replace static footer with an always down non static footer

Hide footer on login screen

Signed-off-by: Julen Landa Alustiza <julen@zokormazo.info>
This commit is contained in:
Julen Landa Alustiza
2017-09-13 09:31:38 +02:00
parent e7ce2fcc8d
commit 7dc7f7815a
3 changed files with 15 additions and 17 deletions

View File

@@ -142,31 +142,25 @@
overflow-x: hidden;
}
&-content {
flex: 1px;
}
&-footer {
height: 40px;
background-color: @at-color-footer-background;
color: @at-color-footer;
z-index: 1040;
position: absolute;
right: @at-padding-footer-right;
left: 0;
bottom: 0;
position: relative;
padding-right: @at-padding-footer-right;
padding-bottom: @at-padding-footer-bottom;
margin-top: @at-margin-footer-top;
flex: 0;
display: flex;
align-items: center;
justify-content: flex-end;
margin-left: (@at-width-collapsed-side-nav + 5);
a {
cursor: pointer;
margin-right: @at-margin-after-footer-link;
}
}
&-side--expanded {
+ .at-Layout-main {
.at-Layout-footer {
margin-left: @at-width-expanded-side-nav;
}
}
}
}

View File

@@ -76,8 +76,10 @@
</at-side-nav-item>
</at-side-nav>
<div class="at-Layout-main">
<ng-transclude></ng-transclude>
<div class="at-Layout-footer">
<div class="at-Layout-content">
<ng-transclude></ng-transclude>
</div>
<div class="at-Layout-footer" ng-show="vm.isLoggedIn">
<a ui-sref="about">{{ vm.getString('FOOTER_ABOUT') }} {{ vm.getString('BRAND_NAME') }}</a>|
{{ vm.getString('FOOTER_COPYRIGHT') }}
</div>