Files
cbsnexora/src/app/accounting/accounting.component.scss
T
AdityaandClaude Opus 4.6 d72e969dc3 feat: Client & CKYC UI improvements — filters, KYC management, image crop+merge
- 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>
2026-04-16 13:51:11 +05:30

135 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/.
*/
$brand-dark: #0d3d78;
$accent: #0ea5e9;
.acc-container {
max-width: 1100px;
margin: 0 auto;
padding: 20px 16px;
}
// Header
.acc-header {
display: flex;
align-items: center;
margin-bottom: 20px;
&__left {
display: flex;
align-items: center;
gap: 10px;
}
&__title {
font-size: 18px;
font-weight: 600;
color: #1a1a1a;
margin: 0;
}
}
.acc-logomark {
width: 20px;
height: 20px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2px;
flex-shrink: 0;
span {
border-radius: 2px;
&:nth-child(1) { background: $brand-dark; }
&:nth-child(2) { background: $accent; }
&:nth-child(3) { background: #10b981; }
&:nth-child(4) { background: #cbd5e1; }
}
}
// Cards Grid
.acc-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
@media (width <= 768px) { grid-template-columns: 1fr; }
}
.acc-card {
display: flex;
align-items: center;
gap: 14px;
padding: 16px 18px;
background: #fff;
border: 1px solid rgb(0 0 0 / 6%);
border-radius: 8px;
text-decoration: none;
cursor: pointer;
transition: box-shadow 0.15s, transform 0.15s;
&:hover {
box-shadow: 0 4px 16px rgb(0 0 0 / 8%);
transform: translateY(-1px);
}
&__icon {
width: 40px;
height: 40px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
flex-shrink: 0;
&.blue { background: #e0f2fe; color: #0284c7; }
&.green { background: #d1fae5; color: #059669; }
&.purple { background: #ede9fe; color: #7c3aed; }
&.amber { background: #fef3c7; color: #d97706; }
&.teal { background: #ccfbf1; color: #0d9488; }
&.red { background: #fee2e2; color: #dc2626; }
}
&__info {
display: flex;
flex-direction: column;
min-width: 0;
}
&__title {
font-size: 13px;
font-weight: 600;
color: #1a1a1a;
}
&__desc {
font-size: 11px;
color: #999;
margin-top: 2px;
line-height: 1.3;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
}
// Dark theme
:host-context(.dark-theme) {
.acc-card {
background: #1e1e2e;
border-color: rgb(255 255 255 / 6%);
}
.acc-card__title { color: #e0e0e0; }
.acc-card__desc { color: #666; }
.acc-header__title { color: #e0e0e0; }
}