1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00

box row links use default colors

This commit is contained in:
Kyle Spearrin 2018-01-31 21:40:02 -05:00
parent 88c730981a
commit 99b0b57a5e
5 changed files with 16 additions and 5 deletions

View File

@ -188,7 +188,7 @@
<label for="favorite">{{'favorite' | i18n}}</label>
<input id="favorite" type="checkbox" name="Favorite" [(ngModel)]="cipher.favorite">
</div>
<a class="box-content-row box-content-row-flex" href="#" appStopClick appBlurClick
<a class="box-content-row box-content-row-flex text-default" href="#" appStopClick appBlurClick
(click)="attachments()" *ngIf="editMode">
<div class="row-main">{{'attachments' | i18n}}</div>
<i class="fa fa-chevron-right row-sub-icon"></i>

View File

@ -5,11 +5,11 @@
<div class="password-block">{{password}}</div>
<div class="box">
<div class="box-content condensed">
<a class="box-content-row text-primary" href="#" appStopClick appBlurClick
<a class="box-content-row" href="#" appStopClick appBlurClick
(click)="regenerate(true)">
<i class="fa fa-fw fa-refresh"></i> {{'regeneratePassword' | i18n}}
</a>
<a class="box-content-row text-primary" href="#" appStopClick appBlurClick
<a class="box-content-row" href="#" appStopClick appBlurClick
(click)="copy()">
<i class="fa fa-fw fa-clipboard"></i> {{'copyPassword' | i18n}}
</a>

View File

@ -93,11 +93,19 @@ export class PasswordGeneratorComponent implements OnInit {
}
if (!this.options.minNumber) {
this.options.minNumber = 0;
} else if (this.options.minNumber > 5) {
this.options.minNumber = 5;
}
if (!this.options.minSpecial) {
this.options.minSpecial = 0;
} else if (this.options.minSpecial > 5) {
this.options.minSpecial = 5;
}
if (this.options.length > 128) {
if (!this.options.length) {
this.options.length = 5;
} else if (this.options.length > 128) {
this.options.length = 128;
}
}

View File

@ -26,7 +26,6 @@
padding: 10px 15px;
position: relative;
z-index: 1;
color: $text-color;
overflow-wrap: break-word;
word-break: break-all;

View File

@ -8,6 +8,10 @@
color: $text-muted !important;
}
.text-default {
color: $text-color !important;
}
.text-center {
text-align: center;
}