- 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>
470 lines
9.1 KiB
SCSS
470 lines
9.1 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;
|
|
$primary-dark: #0c447c;
|
|
$primary-light: #e8f0fe;
|
|
$gray-50: #f8f9fa;
|
|
$gray-100: #f1f3f4;
|
|
$gray-200: #e8eaed;
|
|
$gray-500: #9aa0a6;
|
|
$gray-700: #5f6368;
|
|
$gray-900: #202124;
|
|
$white: #fff;
|
|
$teal: #0f6e56;
|
|
$teal-light: #e1f5ee;
|
|
$teal-bg: #f0fbf6;
|
|
$amber: #ba7517;
|
|
$amber-light: #faeeda;
|
|
$amber-bg: #fff8eb;
|
|
$purple: #6a4cb3;
|
|
$purple-light: #efeafb;
|
|
$purple-bg: #f8f5ff;
|
|
|
|
.ckyc-dash {
|
|
padding: 24px 28px 40px;
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* ---------- HERO ---------- */
|
|
.ckyc-dash__hero {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 24px 28px;
|
|
background: linear-gradient(135deg, #0c447c 0%, #1a73e8 55%, #4285f4 100%);
|
|
border-radius: 16px;
|
|
color: $white;
|
|
margin-bottom: 22px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
box-shadow: 0 6px 24px rgba(26, 115, 232, 0.2);
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -40%;
|
|
right: -10%;
|
|
width: 320px;
|
|
height: 320px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
&-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
min-width: 0;
|
|
position: relative;
|
|
}
|
|
|
|
&-icon {
|
|
width: 58px;
|
|
height: 58px;
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.18);
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 24px;
|
|
backdrop-filter: blur(10px);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
&-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
border-radius: 30px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
backdrop-filter: blur(10px);
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
|
|
fa-icon { color: #9fe1cb; font-size: 14px; }
|
|
}
|
|
}
|
|
|
|
.ckyc-dash__title {
|
|
margin: 0;
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.3px;
|
|
}
|
|
|
|
.ckyc-dash__sub {
|
|
margin: 4px 0 0;
|
|
font-size: 13px;
|
|
opacity: 0.85;
|
|
max-width: 560px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* ---------- Pipeline banner ---------- */
|
|
.ckyc-pipeline {
|
|
background: $white;
|
|
border: 1px solid $gray-200;
|
|
border-radius: 14px;
|
|
padding: 18px 20px;
|
|
margin-bottom: 22px;
|
|
|
|
&__head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px dashed $gray-200;
|
|
}
|
|
|
|
&__heading {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: $gray-900;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
|
|
fa-icon { color: $primary; }
|
|
}
|
|
|
|
&__hint {
|
|
font-size: 11px;
|
|
color: $gray-500;
|
|
font-weight: 500;
|
|
}
|
|
|
|
&__track {
|
|
display: flex;
|
|
align-items: stretch;
|
|
gap: 4px;
|
|
overflow-x: auto;
|
|
padding: 4px 2px;
|
|
|
|
&::-webkit-scrollbar { height: 4px; }
|
|
&::-webkit-scrollbar-thumb { background: $gray-200; border-radius: 4px; }
|
|
}
|
|
}
|
|
|
|
.ckyc-phase {
|
|
flex: 1;
|
|
min-width: 140px;
|
|
background: $primary-light;
|
|
border: 1px solid rgba($primary, 0.15);
|
|
border-radius: 10px;
|
|
padding: 12px 12px 14px;
|
|
text-align: center;
|
|
position: relative;
|
|
transition: transform 0.15s;
|
|
|
|
&:hover { transform: translateY(-2px); }
|
|
|
|
&__num {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 10px;
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 50%;
|
|
background: $primary;
|
|
color: $white;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
&--dual {
|
|
width: auto;
|
|
min-width: 20px;
|
|
height: 20px;
|
|
padding: 0 8px;
|
|
border-radius: 10px;
|
|
font-size: 10px;
|
|
letter-spacing: 0.5px;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
&__icon {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 10px;
|
|
background: $primary;
|
|
color: $white;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 15px;
|
|
margin: 0 auto 8px;
|
|
box-shadow: 0 3px 10px rgba($primary, 0.25);
|
|
}
|
|
|
|
&__title {
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: $primary-dark;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
&__desc {
|
|
font-size: 10px;
|
|
color: $gray-700;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
&__arrow {
|
|
display: flex;
|
|
align-items: center;
|
|
color: $gray-200;
|
|
font-size: 16px;
|
|
padding: 0 2px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
&--accent {
|
|
background: $amber-light;
|
|
border-color: rgba($amber, 0.25);
|
|
|
|
.ckyc-phase__icon {
|
|
background: $amber;
|
|
box-shadow: 0 3px 10px rgba($amber, 0.3);
|
|
}
|
|
|
|
.ckyc-phase__num {
|
|
background: $amber;
|
|
}
|
|
|
|
.ckyc-phase__title { color: #633806; }
|
|
}
|
|
|
|
&--wide {
|
|
flex: 1.8;
|
|
min-width: 210px;
|
|
}
|
|
}
|
|
|
|
/* ---------- Section title ---------- */
|
|
.ckyc-dash__section-title {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: $gray-900;
|
|
margin: 10px 0 14px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.4px;
|
|
|
|
fa-icon { color: $primary; font-size: 14px; }
|
|
}
|
|
|
|
/* ---------- Menu grid ---------- */
|
|
.ckyc-dash__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 18px;
|
|
}
|
|
|
|
.ckyc-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 22px 22px 18px;
|
|
background: $white;
|
|
border: 1px solid $gray-200;
|
|
border-radius: 16px;
|
|
text-decoration: none;
|
|
color: $gray-900;
|
|
transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
|
|
cursor: pointer;
|
|
position: relative;
|
|
overflow: hidden;
|
|
min-height: 220px;
|
|
|
|
&__glow {
|
|
position: absolute;
|
|
top: -50px;
|
|
right: -50px;
|
|
width: 160px;
|
|
height: 160px;
|
|
border-radius: 50%;
|
|
opacity: 0.12;
|
|
pointer-events: none;
|
|
transition: transform 0.4s, opacity 0.3s;
|
|
}
|
|
|
|
&:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
|
|
|
|
.ckyc-card__glow {
|
|
transform: scale(1.25);
|
|
opacity: 0.2;
|
|
}
|
|
|
|
.ckyc-card__cta {
|
|
background: $primary;
|
|
color: $white;
|
|
|
|
fa-icon { transform: translateX(3px); }
|
|
}
|
|
}
|
|
|
|
&__icon {
|
|
width: 52px;
|
|
height: 52px;
|
|
border-radius: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20px;
|
|
color: $white;
|
|
margin-bottom: 16px;
|
|
position: relative;
|
|
z-index: 1;
|
|
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
&__body {
|
|
flex: 1;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
&__title {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: $gray-900;
|
|
margin-bottom: 6px;
|
|
letter-spacing: -0.2px;
|
|
}
|
|
|
|
&__desc {
|
|
font-size: 12px;
|
|
color: $gray-700;
|
|
line-height: 1.55;
|
|
margin: 0 0 12px;
|
|
}
|
|
|
|
&__tags {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
&__cta {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
align-self: flex-start;
|
|
padding: 8px 14px;
|
|
border-radius: 10px;
|
|
background: $gray-50;
|
|
color: $gray-700;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
margin-top: 14px;
|
|
border: 1px solid $gray-200;
|
|
transition: all 0.2s;
|
|
position: relative;
|
|
z-index: 1;
|
|
|
|
fa-icon {
|
|
font-size: 11px;
|
|
transition: transform 0.2s;
|
|
}
|
|
}
|
|
|
|
/* ------ Colour variants ------ */
|
|
&--blue {
|
|
.ckyc-card__icon {
|
|
background: linear-gradient(135deg, $primary, #4285f4);
|
|
}
|
|
.ckyc-card__glow {
|
|
background: radial-gradient(circle, $primary, transparent 60%);
|
|
}
|
|
&:hover .ckyc-card__cta {
|
|
background: $primary;
|
|
border-color: $primary;
|
|
}
|
|
}
|
|
|
|
&--teal {
|
|
.ckyc-card__icon {
|
|
background: linear-gradient(135deg, $teal, #1d9e75);
|
|
}
|
|
.ckyc-card__glow {
|
|
background: radial-gradient(circle, $teal, transparent 60%);
|
|
}
|
|
&:hover .ckyc-card__cta {
|
|
background: $teal;
|
|
border-color: $teal;
|
|
}
|
|
}
|
|
|
|
&--amber {
|
|
.ckyc-card__icon {
|
|
background: linear-gradient(135deg, $amber, #d4892f);
|
|
}
|
|
.ckyc-card__glow {
|
|
background: radial-gradient(circle, $amber, transparent 60%);
|
|
}
|
|
&:hover .ckyc-card__cta {
|
|
background: $amber;
|
|
border-color: $amber;
|
|
}
|
|
}
|
|
|
|
&--purple {
|
|
.ckyc-card__icon {
|
|
background: linear-gradient(135deg, $purple, #8a6fd4);
|
|
}
|
|
.ckyc-card__glow {
|
|
background: radial-gradient(circle, $purple, transparent 60%);
|
|
}
|
|
&:hover .ckyc-card__cta {
|
|
background: $purple;
|
|
border-color: $purple;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
.ckyc-tag {
|
|
display: inline-block;
|
|
padding: 3px 9px;
|
|
background: $gray-100;
|
|
color: $gray-700;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
border-radius: 10px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
/* ---------- Responsive ---------- */
|
|
@media (width <= 900px) {
|
|
.ckyc-dash { padding: 16px 18px 30px; }
|
|
.ckyc-dash__hero { flex-direction: column; align-items: flex-start; }
|
|
.ckyc-pipeline__track { flex-direction: row; flex-wrap: nowrap; }
|
|
}
|
|
|
|
@media (width <= 600px) {
|
|
.ckyc-dash__grid { grid-template-columns: 1fr; }
|
|
.ckyc-phase { min-width: 120px; }
|
|
}
|