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:
Aditya
2026-03-21 00:09:59 +05:30
co-authored by Claude Opus 4.6
parent b7f612c2f6
commit 97f30ac3c1
17 changed files with 1589 additions and 281 deletions
@@ -6,30 +6,236 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
.tab-container {
padding: 1%;
margin: 1%;
$primary: #1a73e8;
$primary-light: #e8f0fe;
$gray-50: #f8f9fa;
$gray-100: #f1f3f4;
$gray-200: #e8eaed;
$gray-500: #9aa0a6;
$gray-700: #5f6368;
$gray-900: #202124;
$white: #fff;
$green: #34a853;
$green-light: #e6f4ea;
$red: #ea4335;
$red-light: #fce8e6;
.action-button {
margin-left: auto;
.addr-container {
padding: 20px 24px;
}
// Header
.addr-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
&__left {
display: flex;
align-items: center;
gap: 10px;
}
.address {
.address-actions {
margin-top: 1%;
&__icon {
font-size: 18px;
color: $primary;
}
button {
margin-right: 1%;
}
&__title {
margin: 0;
font-size: 16px;
font-weight: 600;
color: $gray-900;
}
&__badge {
background: $primary-light;
color: $primary;
font-size: 11px;
font-weight: 700;
padding: 2px 8px;
border-radius: 10px;
}
&__btn {
border-radius: 8px !important;
font-size: 13px !important;
font-weight: 600 !important;
height: 36px !important;
}
}
// Empty state
.addr-empty {
text-align: center;
padding: 48px 20px;
background: $gray-50;
border-radius: 10px;
border: 1px dashed $gray-200;
&__icon {
font-size: 36px;
color: $gray-500;
margin-bottom: 10px;
}
&__text {
color: $gray-500;
font-size: 14px;
margin: 0;
}
}
// Expansion panels
.addr-panel {
margin-bottom: 12px !important;
border-radius: 10px !important;
border: 1px solid $gray-200 !important;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
&::ng-deep .mat-expansion-panel-body {
padding: 0 20px 20px !important;
}
&__header {
height: auto !important;
min-height: 56px !important;
padding: 8px 20px !important;
}
&__title {
display: flex !important;
align-items: center;
gap: 10px;
flex: 1;
}
&__type-icon {
font-size: 16px;
color: $primary;
width: 28px;
height: 28px;
display: flex;
align-items: center;
justify-content: center;
background: $primary-light;
border-radius: 6px;
}
&__type {
font-size: 14px;
font-weight: 600;
color: $gray-900;
text-transform: uppercase;
letter-spacing: 0.3px;
}
&__status {
font-size: 11px;
font-weight: 600;
padding: 2px 10px;
border-radius: 10px;
&--active {
background: $green-light;
color: $green;
}
h3 {
margin: 1% auto;
&--inactive {
background: $red-light;
color: $red;
}
}
p {
line-height: 30px;
margin-left: 2%;
&__desc {
font-size: 12px;
color: $gray-500 !important;
flex: 0 !important;
white-space: nowrap;
}
}
// Actions bar inside panel
.addr-actions {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 0;
margin-bottom: 12px;
border-bottom: 1px solid $gray-100;
&__edit {
border-radius: 6px !important;
font-size: 12px !important;
font-weight: 600 !important;
height: 32px !important;
}
&__toggle {
display: flex;
align-items: center;
gap: 8px;
}
&__toggle-label {
font-size: 12px;
color: $gray-500;
font-weight: 500;
}
}
// Address details grid
.addr-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0;
border: 1px solid $gray-100;
border-radius: 8px;
overflow: hidden;
@media (max-width: 768px) {
grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 480px) {
grid-template-columns: 1fr;
}
}
.addr-field {
padding: 10px 14px;
border-bottom: 1px solid $gray-100;
border-right: 1px solid $gray-100;
transition: background 0.15s ease;
&:hover {
background: $gray-50;
}
&:nth-child(3n) {
border-right: none;
}
&__label {
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
color: $gray-500;
margin-bottom: 3px;
}
&__value {
font-size: 13.5px;
font-weight: 500;
color: $gray-900;
word-break: break-word;
&--mono {
font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
font-size: 13px;
letter-spacing: 0.5px;
}
}
}