- Access Control module: SMS/Email/TOTP/Hardware-token MFA factor management - OTP Audit Logs module under Admin menu (list + detail) with 401/403 handling - Two-factor authentication login flow updates - Client KYC, India address, family-members, ckyc, nominee enhancements - New shared KYC helpers (kyc-proof-types, kyc-upload-helper.service) - User create/edit/view enhancements - Shell navigation: OTP Audit Logs entry under real Admin menu
300 lines
4.7 KiB
SCSS
300 lines
4.7 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/.
|
|
*/
|
|
|
|
.oal-container {
|
|
padding: 18px 22px 26px;
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.oal-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 18px 22px;
|
|
border-radius: 14px;
|
|
background: linear-gradient(135deg, #eff6ff 0%, #fff 60%);
|
|
border: 1px solid #dbeafe;
|
|
margin-bottom: 18px;
|
|
|
|
&__icon {
|
|
width: 46px;
|
|
height: 46px;
|
|
border-radius: 12px;
|
|
background: #1e40af;
|
|
color: #fff;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 18px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
&__text {
|
|
flex: 1;
|
|
min-width: 0;
|
|
|
|
h2 {
|
|
margin: 0 0 4px;
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
font-size: 12.5px;
|
|
color: #64748b;
|
|
line-height: 1.5;
|
|
}
|
|
}
|
|
|
|
&__buttons {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
&__btn mat-icon {
|
|
font-size: 18px;
|
|
width: 18px;
|
|
height: 18px;
|
|
margin-right: 6px;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
|
|
.oal-filters {
|
|
display: grid;
|
|
grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto;
|
|
align-items: start;
|
|
gap: 12px;
|
|
padding: 14px 16px;
|
|
background: #f8fafc;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 12px;
|
|
margin-bottom: 16px;
|
|
|
|
@media (width <= 1100px) {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
&__actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
|
|
button mat-icon {
|
|
font-size: 16px;
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-right: 4px;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
}
|
|
|
|
.oal-ff {
|
|
width: 100%;
|
|
margin: 0;
|
|
|
|
&--grow {
|
|
@media (width >= 1101px) {
|
|
grid-column: span 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
.oal-card {
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 14px;
|
|
background: #fff;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.oal-table-wrap {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.oal-table {
|
|
width: 100%;
|
|
min-width: 900px;
|
|
|
|
th {
|
|
background: #f8fafc;
|
|
color: #475569;
|
|
font-size: 11.5px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.4px;
|
|
}
|
|
|
|
td {
|
|
font-size: 13px;
|
|
color: #334155;
|
|
}
|
|
|
|
.oal-mono {
|
|
font-family: 'SF Mono', 'Cascadia Code', Consolas, monospace;
|
|
font-weight: 600;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.oal-actions {
|
|
width: 56px;
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
.oal-row {
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
|
|
&:hover {
|
|
background: #eff6ff;
|
|
}
|
|
}
|
|
|
|
.oal-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 3px 10px;
|
|
border-radius: 999px;
|
|
background: #eef2ff;
|
|
color: #3730a3;
|
|
border: 1px solid #c7d2fe;
|
|
font-size: 11.5px;
|
|
font-weight: 700;
|
|
|
|
mat-icon {
|
|
font-size: 14px;
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
&[data-channel='EMAIL'] {
|
|
background: #cffafe;
|
|
color: #155e75;
|
|
border-color: #a5f3fc;
|
|
}
|
|
|
|
&[data-channel='TOTP'] {
|
|
background: #ede9fe;
|
|
color: #5b21b6;
|
|
border-color: #ddd6fe;
|
|
}
|
|
}
|
|
|
|
.oal-status {
|
|
display: inline-block;
|
|
padding: 3px 10px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.4px;
|
|
text-transform: uppercase;
|
|
background: #f1f5f9;
|
|
color: #475569;
|
|
border: 1px solid #e2e8f0;
|
|
|
|
&.is-ok {
|
|
background: #dcfce7;
|
|
color: #166534;
|
|
border-color: #bbf7d0;
|
|
}
|
|
|
|
&.is-warn {
|
|
background: #fef3c7;
|
|
color: #92400e;
|
|
border-color: #fde68a;
|
|
}
|
|
|
|
&.is-bad {
|
|
background: #fee2e2;
|
|
color: #b91c1c;
|
|
border-color: #fecaca;
|
|
}
|
|
}
|
|
|
|
.oal-dim {
|
|
color: #94a3b8;
|
|
font-weight: 400;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.oal-error {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
margin: 16px;
|
|
padding: 14px 16px;
|
|
border: 1px solid #fecaca;
|
|
background: #fef2f2;
|
|
border-radius: 12px;
|
|
color: #b91c1c;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
|
|
> mat-icon {
|
|
font-size: 22px;
|
|
width: 22px;
|
|
height: 22px;
|
|
color: #dc2626;
|
|
flex-shrink: 0;
|
|
margin-top: 1px;
|
|
}
|
|
|
|
> div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
}
|
|
|
|
strong {
|
|
color: #991b1b;
|
|
font-weight: 700;
|
|
}
|
|
|
|
&__hint {
|
|
color: #475569;
|
|
font-size: 12.5px;
|
|
|
|
code {
|
|
font-family: 'SF Mono', 'Cascadia Code', Consolas, monospace;
|
|
background: #fff;
|
|
padding: 1px 6px;
|
|
border-radius: 4px;
|
|
border: 1px solid #fecaca;
|
|
color: #991b1b;
|
|
font-weight: 700;
|
|
}
|
|
|
|
em {
|
|
font-style: italic;
|
|
color: #1e40af;
|
|
}
|
|
}
|
|
}
|
|
|
|
.oal-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 40px 20px;
|
|
color: #94a3b8;
|
|
font-size: 13px;
|
|
|
|
mat-icon {
|
|
font-size: 36px;
|
|
width: 36px;
|
|
height: 36px;
|
|
}
|
|
}
|