style sweet alerts. toggle password icon on view site

This commit is contained in:
Kyle Spearrin 2016-09-22 15:21:54 -04:00
parent 42c28ac0d1
commit 6da2f5d18b
2 changed files with 6 additions and 1 deletions

View File

@ -40,7 +40,7 @@
<i class="fa fa-lg fa-clipboard"></i>
</a>
<a class="btn-list" href="" title="Toggle Password" ng-click="togglePassword()">
<i class="fa fa-lg fa-eye"></i>
<i class="fa fa-lg" ng-class="[{'fa-eye': !showPassword}, {'fa-eye-slash': showPassword}]"></i>
</a>
<span class="item-label">Password</span>
<span ng-show="!showPassword">{{site.maskedPassword}}</span>

View File

@ -91,11 +91,15 @@
p {
color: @text-color;
font-weight: normal;
font-size: @font-size-base;
color: @text-color;
}
h2 {
line-height: 30px;
font-size: 25px;
margin: 0 0 20px 0;
color: @text-color;
}
.sa-icon.sa-error {
@ -134,6 +138,7 @@
border-radius: 0;
-webkit-border-radius: 0;
-moz-border-radius: 0;
font-weight: normal;
&.confirm, &.confirm:hover {
background-color: @brand-primary !important;