feat: complete UI redesign — client creation tabs, footer, home page, CIF & occupation fields
- Client creation: replaced vertical stepper with 3-tab layout (General, KYC & Nominee, Preview) - All form fields redesigned with appearance="outline" and section grouping - Preview tab with profile card, info tables, KYC details, family members - Footer redesigned: security bar, LincShield certifications, regulatory & legal, quick navigation, support & contact, LincPay branding - Home page redesigned: welcome banner, quick action cards, info row - Client view header redesigned: ID chips row (Account No, CIF Number, External Id), 4-column details grid - Added CIF Number column to clients list table - Added CIF Number display to client view sidebar and personal data tab - Added occupationCategoryId and occupationId dropdowns to client creation form - Added occupation fields to client view sidebar, personal data tab, and preview - Added 51+ missing translation keys to en-US.json - Toolbar: added Last login chip - Registered faUserPlus icon 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
b3a4cce0cf
commit
7b1f2e8ad7
+112
-163
@@ -7,191 +7,80 @@
|
||||
*/
|
||||
|
||||
form {
|
||||
padding: 16px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.layout-row-wrap {
|
||||
gap: 8px !important;
|
||||
.section-block {
|
||||
margin-bottom: 24px;
|
||||
padding-bottom: 16px;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
mat-form-field {
|
||||
margin-bottom: 8px;
|
||||
.section-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin: 0 0 16px 0;
|
||||
|
||||
.section-icon {
|
||||
color: var(--md-sys-color-primary, #1074b9);
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
mat-divider {
|
||||
margin: 16px 0;
|
||||
.form-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 4px 16px;
|
||||
}
|
||||
|
||||
.margin-v {
|
||||
margin: 2em 0 0;
|
||||
.form-field {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.margin-t {
|
||||
margin-top: 2em;
|
||||
.full-width {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.checkbox-field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.name-fields-row {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
margin-bottom: 8px;
|
||||
grid-column: 1 / -1;
|
||||
|
||||
.name-field {
|
||||
flex: 1;
|
||||
min-width: 200px;
|
||||
min-width: 180px;
|
||||
|
||||
&.first-name,
|
||||
&.last-name {
|
||||
flex: 1.2;
|
||||
}
|
||||
|
||||
&.middle-name {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (width <= 768px) {
|
||||
.name-fields-row {
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
|
||||
.name-field {
|
||||
width: 100%;
|
||||
min-width: unset;
|
||||
flex: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.name-fields-row + mat-form-field,
|
||||
.name-fields-row + mat-divider,
|
||||
.name-fields-row + div {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.layout-row.align-center {
|
||||
padding-top: 16px;
|
||||
margin-top: 12px;
|
||||
|
||||
button {
|
||||
margin: 0 6px;
|
||||
}
|
||||
}
|
||||
|
||||
.flex-100 {
|
||||
margin: 16px 0;
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
mat-checkbox {
|
||||
margin: 8px 0;
|
||||
|
||||
&.margin-v {
|
||||
margin-top: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (width <= 768px) {
|
||||
form {
|
||||
padding: 12px 0;
|
||||
|
||||
.layout-row-wrap {
|
||||
gap: 6px !important;
|
||||
}
|
||||
}
|
||||
|
||||
mat-form-field {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
mat-divider {
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
.layout-row.align-center {
|
||||
padding-top: 12px;
|
||||
margin-top: 8px;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
button {
|
||||
width: 100%;
|
||||
margin: 2px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dip-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-bottom: 4px;
|
||||
|
||||
.dip-info-icon {
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
color: #1976d2;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dip-info-text {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: #555;
|
||||
}
|
||||
}
|
||||
|
||||
.mobile-verify-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
|
||||
.mobile-field {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.verify-btn {
|
||||
height: 40px;
|
||||
white-space: nowrap;
|
||||
font-size: 13px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.verified-label {
|
||||
white-space: nowrap;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.text-success {
|
||||
color: #388e3c;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
/* Verification Section */
|
||||
.sanctions-verify-section {
|
||||
margin: 12px 0;
|
||||
margin-bottom: 16px;
|
||||
|
||||
.verify-client-btn {
|
||||
height: 40px;
|
||||
font-size: 13px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.sanctions-progress {
|
||||
mat-progress-bar {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.sanctions-msg {
|
||||
font-size: 13px;
|
||||
color: #555;
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.sanctions-result {
|
||||
@@ -216,7 +105,6 @@ mat-checkbox {
|
||||
border-left: 4px solid #d32f2f;
|
||||
border-radius: 4px;
|
||||
padding: 10px 16px;
|
||||
margin: 12px 0;
|
||||
|
||||
.text-danger {
|
||||
color: #d32f2f;
|
||||
@@ -230,14 +118,60 @@ mat-checkbox {
|
||||
}
|
||||
}
|
||||
|
||||
.dip-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-bottom: 12px;
|
||||
|
||||
.dip-info-icon {
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
color: #1976d2;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dip-info-text {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: #555;
|
||||
}
|
||||
}
|
||||
|
||||
.mobile-verify-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
|
||||
.mobile-field {
|
||||
flex: 1;
|
||||
max-width: 320px;
|
||||
}
|
||||
|
||||
.verify-btn {
|
||||
height: 40px;
|
||||
white-space: nowrap;
|
||||
font-size: 13px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.verified-label {
|
||||
white-space: nowrap;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.text-success {
|
||||
color: #388e3c;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
.external-id-status {
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
|
||||
&.loading {
|
||||
color: #1976d2;
|
||||
}
|
||||
|
||||
&.success {
|
||||
color: #388e3c;
|
||||
}
|
||||
@@ -247,12 +181,27 @@ mat-checkbox {
|
||||
}
|
||||
}
|
||||
|
||||
@media (width <= 480px) {
|
||||
form {
|
||||
padding: 8px 0;
|
||||
@media (max-width: 768px) {
|
||||
.form-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.layout-row-wrap {
|
||||
gap: 4px !important;
|
||||
.name-fields-row {
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
|
||||
.name-field {
|
||||
min-width: unset;
|
||||
flex: none;
|
||||
}
|
||||
}
|
||||
|
||||
.mobile-verify-row {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
|
||||
.mobile-field {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user