feat: redesign all dialogs, file upload, address/nominee/identifier tabs
- File upload: compact dashed zone (54px height), inline icon+filename+change - Dialogs: no scroll, rounded close button (red on hover), 700px width - Identifier dialog: 2-column grid, section divider, outline fields - Nominee: new NomineeDialogComponent popup (replaces page navigation) - Address tab: card panels, status badges, 3-column grid - Nominee tab: accordion with badges, 3-column grid - Shared form dialog: outline fields, fixed close button Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
b7f612c2f6
commit
97f30ac3c1
@@ -6,23 +6,20 @@
|
||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
-->
|
||||
|
||||
<div class="layout-row layout-lt-md-column gap-2percent">
|
||||
<mat-form-field [ngStyle]="{ flex: '0 0 ' + (flex || '83%') }">
|
||||
<input
|
||||
matInput
|
||||
[readonly]="true"
|
||||
[value]="fileName || ''"
|
||||
placeholder="{{ 'labels.text.NoFileSelected' | translate }}"
|
||||
/>
|
||||
</mat-form-field>
|
||||
|
||||
<span class="flex-10 align-center">
|
||||
<button mat-button (click)="uploadFile.click()">
|
||||
<fa-icon icon="folder-open" size="lg"></fa-icon>
|
||||
|
||||
{{ 'labels.buttons.Browse' | translate }}
|
||||
</button>
|
||||
</span>
|
||||
<div class="file-upload-zone" (click)="uploadFile.click()">
|
||||
@if (fileName) {
|
||||
<div class="file-upload-zone__selected">
|
||||
<i class="fa fa-file-o file-upload-zone__file-icon"></i>
|
||||
<span class="file-upload-zone__filename">{{ fileName }}</span>
|
||||
<span class="file-upload-zone__change">Change</span>
|
||||
</div>
|
||||
} @else {
|
||||
<div class="file-upload-zone__empty">
|
||||
<i class="fa fa-cloud-upload file-upload-zone__upload-icon"></i>
|
||||
<span class="file-upload-zone__text">{{ 'labels.buttons.Browse' | translate }}</span>
|
||||
<span class="file-upload-zone__hint">{{ 'labels.text.NoFileSelected' | translate }}</span>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
<input type="file" #uploadFile accept="{{ acceptFilter }}" (change)="onFileSelect($event)" [style.display]="'none'" />
|
||||
|
||||
Reference in New Issue
Block a user