Fix angular issue if hide the top-bar using "ng-if" instead "ng-show". Same dark blue background when typing the PIN

This commit is contained in:
Gustavo Maximiliano Cortez 2014-12-05 00:21:45 -03:00
parent fa26e32d29
commit 4c1fa3d7b4
2 changed files with 6 additions and 2 deletions

View File

@ -354,6 +354,10 @@ a:hover {
background-color: #F8F8FB;
}
.pin-main {
background-color: #2C3E50;
}
.logo-setup {
text-align: center;
padding: 5rem 0 4rem;

View File

@ -56,7 +56,7 @@
</span>
</span>
<div ng-controller="SidebarController" ng-init="init()" ng-if="$root.iden && !$root.hideNavigation">
<div ng-controller="SidebarController" ng-init="init()" ng-show="$root.iden && !$root.hideNavigation">
<nav class="tab-bar" >
<section class="left-small">
<a class="left-off-canvas-toggle menu-icon" ><span></span></a>
@ -99,7 +99,7 @@
ng-class="{'dni':$root.hideNavigation}"
></div>
<section ng-class="{'main':$root.iden && !$root.starting}" ng-view></section>
<section ng-class="{'main':$root.iden && !$root.starting, 'pin-main':$root.hideNavigation}" ng-view></section>
<a class="exit-off-canvas"></a>