- Hide Family Members tab/section for non-individual entities in client view, create flow, and preview - Hide Financial & Classification section for non-individual entities in personal data and preview - Fix legal form column in clients list — fetch legalForm from client API for correct display - Add person/business icon before client name in list rows - Remove unsupportedNpd filter — send authorizedSignatory, additionalInfo, dateOfRegistration to API - Add registration number format hint (mat-hint) based on constitution type - Add spacing between verification row and constitution type dropdowns - Reduce table cell padding and prevent action buttons from being clipped - Add missing MPL-2.0 license headers Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
154 lines
2.6 KiB
SCSS
154 lines
2.6 KiB
SCSS
/**
|
|
* Copyright since 2025 Mifos Initiative
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
$primary: #1353a0;
|
|
$accent: #0ea5e9;
|
|
$border: #e2e8f0;
|
|
$gray-50: #f8f9fa;
|
|
$gray-200: #e8eaed;
|
|
$gray-500: #9aa0a6;
|
|
$gray-700: #5f6368;
|
|
$gray-900: #202124;
|
|
|
|
.cu-container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 20px 16px;
|
|
}
|
|
|
|
// Header
|
|
.cu-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
margin-bottom: 20px;
|
|
|
|
&__title {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: $gray-900;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.cu-back {
|
|
border-radius: 8px !important;
|
|
font-size: 12px !important;
|
|
font-weight: 600 !important;
|
|
height: 32px !important;
|
|
border-color: $border !important;
|
|
color: $gray-500 !important;
|
|
|
|
i { margin-right: 6px; }
|
|
|
|
&:hover { color: $primary !important; border-color: $primary !important; }
|
|
}
|
|
|
|
// Card
|
|
.cu-card {
|
|
background: #fff;
|
|
border: 1px solid $border;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
// Section
|
|
.cu-section {
|
|
&__header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 12px 24px;
|
|
background: $gray-50;
|
|
border-bottom: 1px solid $gray-200;
|
|
|
|
i {
|
|
font-size: 14px;
|
|
color: $accent;
|
|
}
|
|
|
|
h3 {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: $gray-900;
|
|
}
|
|
}
|
|
|
|
& + & {
|
|
border-top: 1px solid $gray-200;
|
|
}
|
|
}
|
|
|
|
// Grid
|
|
.cu-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 4px 16px;
|
|
padding: 16px 24px;
|
|
|
|
@media (max-width: 600px) { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
.cu-field {
|
|
width: 100%;
|
|
|
|
&--full {
|
|
grid-column: 1 / -1;
|
|
}
|
|
}
|
|
|
|
.cu-checkbox-row {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
gap: 24px;
|
|
padding: 8px 0;
|
|
flex-wrap: wrap;
|
|
|
|
::ng-deep .mat-mdc-checkbox {
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
|
|
.cu-error {
|
|
grid-column: 1 / -1;
|
|
color: #dc2626;
|
|
font-size: 12px;
|
|
margin: 0;
|
|
padding: 0 0 8px;
|
|
}
|
|
|
|
// Actions
|
|
.cu-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
padding: 14px 24px;
|
|
border-top: 1px solid $gray-200;
|
|
background: $gray-50;
|
|
|
|
&__cancel {
|
|
border-radius: 8px !important;
|
|
font-size: 13px !important;
|
|
font-weight: 600 !important;
|
|
height: 36px !important;
|
|
border-color: $border !important;
|
|
color: $gray-700 !important;
|
|
}
|
|
|
|
&__submit {
|
|
border-radius: 8px !important;
|
|
font-size: 13px !important;
|
|
font-weight: 600 !important;
|
|
height: 36px !important;
|
|
box-shadow: 0 1px 3px rgba($primary, 0.3) !important;
|
|
|
|
i { margin-right: 6px; font-size: 12px; }
|
|
}
|
|
}
|