Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
255 lines
4.0 KiB
SCSS
255 lines
4.0 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/.
|
|
*/
|
|
|
|
.page-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
|
|
.header-icon {
|
|
font-size: 24px;
|
|
color: #1074b9;
|
|
}
|
|
|
|
h2 {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
}
|
|
|
|
.filters-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
flex-wrap: wrap;
|
|
|
|
.search-field {
|
|
flex: 1;
|
|
min-width: 250px;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.search-icon {
|
|
color: #999;
|
|
margin-right: 4px;
|
|
}
|
|
}
|
|
|
|
.filter-chips {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
|
|
button {
|
|
font-size: 13px;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.chip-icon {
|
|
margin-right: 4px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.active-filter {
|
|
background-color: #1074b9;
|
|
color: #fff;
|
|
border-color: #1074b9;
|
|
}
|
|
|
|
.chip-clear.active-filter {
|
|
background-color: #388e3c;
|
|
border-color: #388e3c;
|
|
}
|
|
|
|
.chip-flagged.active-filter {
|
|
background-color: #d32f2f;
|
|
border-color: #d32f2f;
|
|
}
|
|
|
|
.chip-pending.active-filter {
|
|
background-color: #b45309;
|
|
border-color: #b45309;
|
|
}
|
|
|
|
.chip-approval.active-filter {
|
|
background-color: #7c3aed;
|
|
border-color: #7c3aed;
|
|
}
|
|
|
|
/* Indigo rather than the violet used by "Awaiting Approval", so the two chip groups stay distinguishable. */
|
|
.chip-onboarding.active-filter {
|
|
background-color: #3730a3;
|
|
border-color: #3730a3;
|
|
}
|
|
|
|
.chip-rescreen.active-filter {
|
|
background-color: #0f766e;
|
|
border-color: #0f766e;
|
|
}
|
|
|
|
.chip-count {
|
|
margin-left: 6px;
|
|
padding: 1px 7px;
|
|
border-radius: 10px;
|
|
background-color: rgb(0 0 0 / 8%);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.active-filter .chip-count {
|
|
background-color: rgb(255 255 255 / 25%);
|
|
}
|
|
}
|
|
|
|
/* Which screening run a row came from — a different question from the result/alert chips. */
|
|
.source-filter {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding-left: 14px;
|
|
margin-left: 6px;
|
|
border-left: 1px solid #dfe3ea;
|
|
|
|
&__label {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: #6b7280;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
.source-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 3px 10px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
|
|
&__icon {
|
|
font-size: 11px;
|
|
}
|
|
|
|
&.source-onboarding {
|
|
background-color: rgb(55 48 163 / 10%);
|
|
color: #3730a3;
|
|
}
|
|
|
|
&.source-rescreen {
|
|
background-color: rgb(15 118 110 / 10%);
|
|
color: #0f766e;
|
|
}
|
|
}
|
|
|
|
.rescreen-btn {
|
|
font-size: 13px;
|
|
border-radius: 20px;
|
|
margin-left: auto;
|
|
|
|
.chip-icon {
|
|
margin-right: 4px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
.result-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 3px 10px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.badge-clear {
|
|
background: #e8f5e9;
|
|
color: #2e7d32;
|
|
}
|
|
|
|
.badge-flagged {
|
|
background: #ffebee;
|
|
color: #c62828;
|
|
}
|
|
|
|
/* Reviewed but not yet signed off by the Principal Officer — still blocking. */
|
|
.badge-pending {
|
|
background: #fffbeb;
|
|
color: #b45309;
|
|
}
|
|
|
|
.muted {
|
|
color: #9ca3af;
|
|
}
|
|
|
|
.client-link {
|
|
display: flex;
|
|
flex-direction: column;
|
|
text-decoration: none;
|
|
color: #1074b9;
|
|
font-weight: 600;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.client-acct {
|
|
font-size: 11px;
|
|
font-weight: 400;
|
|
color: #9ca3af;
|
|
}
|
|
}
|
|
|
|
.review-btn {
|
|
font-size: 12px;
|
|
border-radius: 16px;
|
|
|
|
fa-icon {
|
|
margin-right: 4px;
|
|
}
|
|
}
|
|
|
|
.select-row {
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background: #f5f5f5;
|
|
}
|
|
}
|
|
|
|
.no-data {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 40px 0;
|
|
color: #999;
|
|
|
|
.no-data-icon {
|
|
font-size: 40px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
p {
|
|
font-size: 14px;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
mat-progress-bar {
|
|
margin-bottom: 8px;
|
|
}
|