Muted text
This commit is contained in:
parent
2968539744
commit
d815449b40
@ -1,14 +1,19 @@
|
|||||||
@use 'common-mixins' as mixins;
|
@use 'common-mixins' as mixins;
|
||||||
|
|
||||||
|
.text-muted {
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
.all-caps-label {
|
.all-caps-label {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
opacity: 0.7;
|
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
letter-spacing: 0;
|
letter-spacing: 0;
|
||||||
line-height: 14px;
|
line-height: 14px;
|
||||||
transition: opacity 0.2s;
|
transition: opacity 0.2s;
|
||||||
|
|
||||||
|
@extend .text-muted;
|
||||||
|
|
||||||
&.cancel {
|
&.cancel {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
@ -71,7 +76,7 @@ pre {
|
|||||||
.info {
|
.info {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
opacity: 0.7;
|
@extend .text-muted;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-title {
|
.page-title {
|
||||||
@ -83,10 +88,10 @@ pre {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.small-label {
|
.small-label {
|
||||||
opacity: 0.7;
|
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
line-height: 14px;
|
line-height: 14px;
|
||||||
font-weight: initial;
|
font-weight: initial;
|
||||||
|
@extend .text-muted;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-action {
|
.link-action {
|
||||||
|
|||||||
@ -25,7 +25,7 @@ export interface SaveOptions {
|
|||||||
export abstract class BaseDialogComponent extends AutoUnsubscribe implements OnInit {
|
export abstract class BaseDialogComponent extends AutoUnsubscribe implements OnInit {
|
||||||
form!: FormGroup;
|
form!: FormGroup;
|
||||||
initialFormValue;
|
initialFormValue;
|
||||||
private readonly _dialogService: ConfirmationDialogService = this._injector.get(ConfirmationDialogService);
|
private readonly _confirmationDialogService: ConfirmationDialogService = this._injector.get(ConfirmationDialogService);
|
||||||
private readonly _dialog: MatDialog = this._injector.get(MatDialog);
|
private readonly _dialog: MatDialog = this._injector.get(MatDialog);
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
@ -89,7 +89,7 @@ export abstract class BaseDialogComponent extends AutoUnsubscribe implements OnI
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected _openConfirmDialog() {
|
protected _openConfirmDialog() {
|
||||||
const dialogRef = this._dialogService.openDialog({ disableConfirm: !this.valid });
|
const dialogRef = this._confirmationDialogService.openDialog({ disableConfirm: !this.valid });
|
||||||
return firstValueFrom(dialogRef.afterClosed());
|
return firstValueFrom(dialogRef.afterClosed());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user