Fixed footer when not logged
This commit is contained in:
parent
159248ea8a
commit
a0cbf82b75
2 changed files with 20 additions and 4 deletions
12
css/main.css
12
css/main.css
|
|
@ -17,6 +17,10 @@ html, body {height: 100%;}
|
||||||
overflow:auto;
|
overflow:auto;
|
||||||
padding-bottom: 91px;} /* must be same height as the footer */
|
padding-bottom: 91px;} /* must be same height as the footer */
|
||||||
|
|
||||||
|
.main-home {
|
||||||
|
padding-bottom: 28px !important;
|
||||||
|
}
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
margin-top: -96px; /* negative value of footer height */
|
margin-top: -96px; /* negative value of footer height */
|
||||||
|
|
@ -28,6 +32,12 @@ html, body {height: 100%;}
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer-home {
|
||||||
|
position: relative !important;
|
||||||
|
margin-top: -28px !important;
|
||||||
|
height: 28px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.bottom-copay {
|
.bottom-copay {
|
||||||
width: 80px;
|
width: 80px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
@ -196,7 +206,7 @@ span.panel-res {
|
||||||
|
|
||||||
.line-dashed {
|
.line-dashed {
|
||||||
border-top: 2px dashed #ccc;
|
border-top: 2px dashed #ccc;
|
||||||
margin: 3rem 0;
|
margin: 1rem 0;
|
||||||
padding: 1rem 0;
|
padding: 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
12
index.html
12
index.html
|
|
@ -95,14 +95,20 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="main" class="row">
|
<div id="main" class="row" ng-class="{'main-home': !$root.wallet}">
|
||||||
<div class="large-12 columns" ng-view></div>
|
<div class="large-12 columns" ng-view></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer" data-ng-controller="FooterController" ng-show="$root.wallet">
|
<div id="footer" data-ng-controller="FooterController" ng-class="{'footer-home': !$root.wallet}">
|
||||||
<link rel="stylesheet" ng-href="{{theme}}">
|
<link rel="stylesheet" ng-href="{{theme}}">
|
||||||
<div class="row">
|
<div class="row" ng-show="!$root.wallet">
|
||||||
|
<div class="large-12 columns text-right">
|
||||||
|
Copay
|
||||||
|
<small>v. 0.0.5</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" ng-show="$root.wallet">
|
||||||
<div class="large-3 medium-3 small-3 columns m10t">
|
<div class="large-3 medium-3 small-3 columns m10t">
|
||||||
<div>
|
<div>
|
||||||
<strong>{{$root.getWalletDisplay()}}</strong>
|
<strong>{{$root.getWalletDisplay()}}</strong>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue