1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-02 08:30:14 +01:00

ui tweaks

This commit is contained in:
Kyle Spearrin 2017-07-11 23:25:08 -04:00
parent 63be97d1b9
commit eeddd18ca3
4 changed files with 17 additions and 11 deletions

View File

@ -36,14 +36,14 @@
{{i18n.generatePassword}} {{i18n.generatePassword}}
<i class="fa fa-chevron-right"></i> <i class="fa fa-chevron-right"></i>
</a> </a>
<div class="list-section-item">
<label for="totp" class="item-label">{{i18n.authenticatorKeyTotp}}</label>
<input id="totp" type="text" name="Totp" ng-model="login.totp">
</div>
</div> </div>
</div> </div>
<div class="list-section"> <div class="list-section">
<div class="list-section-items"> <div class="list-section-items">
<div class="list-section-item">
<label for="totp" class="item-label">{{i18n.authenticatorKeyTotp}}</label>
<input id="totp" type="text" name="Totp" ng-model="login.totp">
</div>
<div class="list-section-item"> <div class="list-section-item">
<label for="folder" class="item-label">{{i18n.folder}}</label> <label for="folder" class="item-label">{{i18n.folder}}</label>
<select id="folder" name="FolderId" ng-model="login.folderId"> <select id="folder" name="FolderId" ng-model="login.folderId">

View File

@ -37,14 +37,14 @@
{{i18n.generatePassword}} {{i18n.generatePassword}}
<i class="fa fa-chevron-right"></i> <i class="fa fa-chevron-right"></i>
</a> </a>
<div class="list-section-item">
<label for="totp" class="item-label">{{i18n.authenticatorKeyTotp}}</label>
<input id="totp" type="text" name="Totp" ng-model="login.totp">
</div>
</div> </div>
</div> </div>
<div class="list-section"> <div class="list-section">
<div class="list-section-items"> <div class="list-section-items">
<div class="list-section-item">
<label for="totp" class="item-label">{{i18n.authenticatorKeyTotp}}</label>
<input id="totp" type="text" name="Totp" ng-model="login.totp">
</div>
<div class="list-section-item"> <div class="list-section-item">
<label for="folder" class="item-label">{{i18n.folder}}</label> <label for="folder" class="item-label">{{i18n.folder}}</label>
<select id="folder" name="FolderId" ng-model="login.folderId"> <select id="folder" name="FolderId" ng-model="login.folderId">

View File

@ -85,8 +85,8 @@
ng-repeat="attachment in login.attachments" ng-repeat="attachment in login.attachments"
ng-click="download(attachment)"> ng-click="download(attachment)">
{{attachment.fileName}} {{attachment.fileName}}
<i class="fa fa-spin fa-spinner text-muted" ng-if="attachment.downloading"></i> <i class="fa fa-download right-icon fa-fw no-animation" ng-if="!attachment.downloading"></i>
<i class="fa fa-chevron-right"></i> <i class="fa fa-spin fa-spinner right-icon fa-fw no-animation" ng-if="attachment.downloading"></i>
<small class="item-sub-label">{{attachment.sizeName}}</small> <small class="item-sub-label">{{attachment.sizeName}}</small>
</a> </a>
</div> </div>

View File

@ -342,7 +342,7 @@
} }
} }
.fa-chevron-right { .fa-chevron-right, .right-icon {
float: right; float: right;
margin-top: 4px; margin-top: 4px;
color: @list-icon-color; color: @list-icon-color;
@ -461,6 +461,12 @@
} }
} }
.no-animation {
&.ng-hide.ng-hide-animate, &.ng-leave {
display: none !important;
}
}
.btn { .btn {
border-radius: 0; border-radius: 0;
-webkit-border-radius: 0; -webkit-border-radius: 0;