- Clients list: CKYC icon, CKYC Number column, status/legal form/CKYC filters - CKYC: SFTP upload logs, date formatting, modal z-index fix, non-dismissible dialogs - KYC Management: new standalone module with alert dashboard, notification scheduler, audit inventory, account status - Image cropper: ngx-image-cropper integration for front+back document merge into single PNG - Sidebar: KYC Management menu entry after CKYC Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
192 lines
3.6 KiB
SCSS
192 lines
3.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: #1a73e8;
|
|
$gray-50: #f8f9fa;
|
|
$gray-100: #f1f3f4;
|
|
$gray-200: #e8eaed;
|
|
$gray-500: #9aa0a6;
|
|
$gray-700: #5f6368;
|
|
$gray-900: #202124;
|
|
$white: #fff;
|
|
|
|
.fd-dialog {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
}
|
|
|
|
// Header
|
|
.fd-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 24px 12px;
|
|
border-bottom: 1px solid $gray-200;
|
|
}
|
|
|
|
.fd-title {
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
font-size: 17px !important;
|
|
font-weight: 600 !important;
|
|
color: $gray-900;
|
|
letter-spacing: -0.2px;
|
|
}
|
|
|
|
.fd-close {
|
|
width: 36px !important;
|
|
height: 36px !important;
|
|
min-width: 36px !important;
|
|
padding: 0 !important;
|
|
display: flex !important;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: $gray-500;
|
|
border: 1px solid $gray-200;
|
|
border-radius: 8px !important;
|
|
background: $white;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
flex-shrink: 0;
|
|
|
|
&:hover {
|
|
color: $white;
|
|
background: #ea4335;
|
|
border-color: #ea4335;
|
|
}
|
|
|
|
i {
|
|
font-size: 13px;
|
|
line-height: 1;
|
|
}
|
|
}
|
|
|
|
// Content area
|
|
.fd-content {
|
|
padding: 20px 24px !important;
|
|
overflow: visible !important;
|
|
max-height: none !important;
|
|
|
|
&::-webkit-scrollbar {
|
|
width: 4px;
|
|
}
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
background: $gray-200;
|
|
border-radius: 4px;
|
|
}
|
|
}
|
|
|
|
.fd-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.fd-grid.fd-grid--cols-2 {
|
|
display: grid !important;
|
|
grid-template-columns: repeat(2, 1fr) !important;
|
|
gap: 4px 16px;
|
|
|
|
&--cols-3 {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 4px 16px;
|
|
}
|
|
}
|
|
|
|
.fd-field {
|
|
min-width: 0;
|
|
|
|
::ng-deep {
|
|
.mat-mdc-form-field {
|
|
width: 100%;
|
|
}
|
|
|
|
.mat-mdc-text-field-wrapper {
|
|
background: $gray-50;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.mdc-text-field--outlined .mdc-notched-outline__leading,
|
|
.mdc-text-field--outlined .mdc-notched-outline__trailing,
|
|
.mdc-text-field--outlined .mdc-notched-outline__notch {
|
|
border-color: $gray-200;
|
|
}
|
|
|
|
.mdc-text-field--outlined:not(.mdc-text-field--disabled):hover .mdc-notched-outline__leading,
|
|
.mdc-text-field--outlined:not(.mdc-text-field--disabled):hover .mdc-notched-outline__trailing,
|
|
.mdc-text-field--outlined:not(.mdc-text-field--disabled):hover .mdc-notched-outline__notch {
|
|
border-color: $primary;
|
|
}
|
|
|
|
.mat-mdc-floating-label {
|
|
font-size: 13px;
|
|
color: $gray-700;
|
|
}
|
|
|
|
input.mat-mdc-input-element {
|
|
font-size: 14px;
|
|
color: $gray-900;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Actions
|
|
.fd-actions {
|
|
padding: 12px 24px 16px !important;
|
|
border-top: 1px solid $gray-200;
|
|
gap: 10px;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.fd-btn {
|
|
min-width: 100px;
|
|
border-radius: 8px !important;
|
|
font-size: 13px !important;
|
|
font-weight: 600 !important;
|
|
letter-spacing: 0.2px;
|
|
padding: 0 20px !important;
|
|
height: 38px !important;
|
|
|
|
&--cancel {
|
|
color: $gray-700 !important;
|
|
border-color: $gray-200 !important;
|
|
|
|
&:hover {
|
|
background: $gray-50 !important;
|
|
}
|
|
}
|
|
|
|
&--submit {
|
|
box-shadow: 0 1px 3px rgba($primary, 0.3) !important;
|
|
}
|
|
|
|
&__icon {
|
|
margin-right: 6px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
// Responsive
|
|
@media (width <= 600px) {
|
|
.fd-grid--cols-2,
|
|
.fd-grid--cols-3 {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.fd-content {
|
|
padding: 16px !important;
|
|
}
|
|
|
|
.fd-actions {
|
|
padding: 12px 16px !important;
|
|
}
|
|
}
|