Merge pull request #2376 from cmgustavo/pin/ux-01

Added feedback when pressing a number
This commit is contained in:
Matias Alejo Garcia 2015-01-30 18:43:58 -03:00
commit a65744bec2
2 changed files with 5 additions and 4 deletions

View File

@ -416,8 +416,8 @@
}
a.pin-button {
margin: 2px;
padding: 4% 10%;
margin: 4px;
padding: 5% 10%;
display: inline-block;
color: #ccc;
font-size: 120%;
@ -425,6 +425,7 @@
a.pin-button:active {
color: #fff;
background-color: #2C3E50;
}
}

View File

@ -16,8 +16,8 @@
</div>
<div class="pin-button-bar">
<a class="pin-button" ng-click="skip()">
<i class="fi-unlock" ng-show="$root.hasPin"></i>
<i class="fi-home" ng-show="!$root.hasPin"></i>
<i class="fi-unlock text-warning" ng-show="$root.hasPin"></i>
<i class="fi-home text-secondary" ng-show="!$root.hasPin"></i>
</a>
<a class="pin-button" ng-click="press(0)">0</a>
<a class="pin-button" ng-click="clear()"><i class="fi-arrow-left"></i></a>