box row links use default colors
This commit is contained in:
parent
88c730981a
commit
99b0b57a5e
|
@ -188,7 +188,7 @@
|
||||||
<label for="favorite">{{'favorite' | i18n}}</label>
|
<label for="favorite">{{'favorite' | i18n}}</label>
|
||||||
<input id="favorite" type="checkbox" name="Favorite" [(ngModel)]="cipher.favorite">
|
<input id="favorite" type="checkbox" name="Favorite" [(ngModel)]="cipher.favorite">
|
||||||
</div>
|
</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">
|
(click)="attachments()" *ngIf="editMode">
|
||||||
<div class="row-main">{{'attachments' | i18n}}</div>
|
<div class="row-main">{{'attachments' | i18n}}</div>
|
||||||
<i class="fa fa-chevron-right row-sub-icon"></i>
|
<i class="fa fa-chevron-right row-sub-icon"></i>
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
<div class="password-block">{{password}}</div>
|
<div class="password-block">{{password}}</div>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-content condensed">
|
<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)">
|
(click)="regenerate(true)">
|
||||||
<i class="fa fa-fw fa-refresh"></i> {{'regeneratePassword' | i18n}}
|
<i class="fa fa-fw fa-refresh"></i> {{'regeneratePassword' | i18n}}
|
||||||
</a>
|
</a>
|
||||||
<a class="box-content-row text-primary" href="#" appStopClick appBlurClick
|
<a class="box-content-row" href="#" appStopClick appBlurClick
|
||||||
(click)="copy()">
|
(click)="copy()">
|
||||||
<i class="fa fa-fw fa-clipboard"></i> {{'copyPassword' | i18n}}
|
<i class="fa fa-fw fa-clipboard"></i> {{'copyPassword' | i18n}}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -93,11 +93,19 @@ export class PasswordGeneratorComponent implements OnInit {
|
||||||
}
|
}
|
||||||
if (!this.options.minNumber) {
|
if (!this.options.minNumber) {
|
||||||
this.options.minNumber = 0;
|
this.options.minNumber = 0;
|
||||||
|
} else if (this.options.minNumber > 5) {
|
||||||
|
this.options.minNumber = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.options.minSpecial) {
|
if (!this.options.minSpecial) {
|
||||||
this.options.minSpecial = 0;
|
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;
|
this.options.length = 128;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
color: $text-color;
|
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,10 @@
|
||||||
color: $text-muted !important;
|
color: $text-muted !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-default {
|
||||||
|
color: $text-color !important;
|
||||||
|
}
|
||||||
|
|
||||||
.text-center {
|
.text-center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue