Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
210 lines
3.6 KiB
SCSS
210 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: #1353a0;
|
|
$accent: #0ea5e9;
|
|
$border: #e2e8f0;
|
|
$gray-50: #f8f9fa;
|
|
$gray-200: #e8eaed;
|
|
$gray-500: #9aa0a6;
|
|
$gray-700: #5f6368;
|
|
$gray-900: #202124;
|
|
|
|
.bl-container {
|
|
max-width: 860px;
|
|
margin: 0 auto;
|
|
padding: 28px 24px;
|
|
}
|
|
|
|
.bl-header {
|
|
margin-bottom: 24px;
|
|
|
|
&__title {
|
|
font-size: 22px;
|
|
font-weight: 600;
|
|
color: $gray-900;
|
|
margin: 16px 0 0;
|
|
}
|
|
}
|
|
|
|
.bl-back {
|
|
border: 1px solid $border !important;
|
|
color: $gray-700 !important;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
border-radius: 8px !important;
|
|
padding: 4px 14px !important;
|
|
transition: all 0.2s ease;
|
|
|
|
i {
|
|
margin-right: 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
&:hover {
|
|
background: $gray-50 !important;
|
|
border-color: $gray-500 !important;
|
|
}
|
|
}
|
|
|
|
.bl-card {
|
|
background: #fff;
|
|
border: 1px solid $border;
|
|
border-radius: 12px;
|
|
padding: 0;
|
|
box-shadow:
|
|
0 1px 3px rgb(16 24 40 / 6%),
|
|
0 1px 2px rgb(16 24 40 / 4%);
|
|
}
|
|
|
|
.bl-section {
|
|
padding: 24px 28px;
|
|
border-bottom: 1px solid $border;
|
|
|
|
&__header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
|
|
i {
|
|
font-size: 16px;
|
|
color: $primary;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: $gray-900;
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.bl-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 4px 20px;
|
|
|
|
@media (width <= 600px) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.bl-field {
|
|
width: 100%;
|
|
}
|
|
|
|
// Loan selection tables
|
|
.bl-tables {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
|
|
@media (width <= 600px) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.bl-loan-table {
|
|
border: 1px solid $border;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
|
|
&__header {
|
|
background: $gray-50;
|
|
padding: 12px 16px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: $gray-700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.4px;
|
|
border-bottom: 1px solid $border;
|
|
}
|
|
|
|
&__body {
|
|
padding: 8px 0;
|
|
max-height: 360px;
|
|
overflow-y: auto;
|
|
}
|
|
}
|
|
|
|
.bl-loan-group {
|
|
padding: 0 16px;
|
|
|
|
&__name {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: $gray-900;
|
|
padding: 10px 0 4px;
|
|
border-bottom: 1px solid $gray-200;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
&__item {
|
|
padding: 4px 0 4px 8px;
|
|
font-size: 13px;
|
|
color: $gray-700;
|
|
|
|
mat-checkbox {
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.bl-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 18px 28px;
|
|
|
|
&__cancel {
|
|
border: 1px solid $border !important;
|
|
color: $gray-700 !important;
|
|
border-radius: 8px !important;
|
|
font-weight: 500;
|
|
font-size: 13px;
|
|
padding: 4px 20px !important;
|
|
transition: all 0.2s ease;
|
|
|
|
&:hover {
|
|
background: $gray-50 !important;
|
|
border-color: $gray-500 !important;
|
|
}
|
|
}
|
|
|
|
&__submit {
|
|
background: $primary !important;
|
|
color: #fff !important;
|
|
border-radius: 8px !important;
|
|
font-weight: 500;
|
|
font-size: 13px;
|
|
padding: 4px 20px !important;
|
|
box-shadow: 0 1px 2px rgb(19 83 160 / 15%);
|
|
transition: all 0.2s ease;
|
|
|
|
i {
|
|
margin-right: 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
&:hover {
|
|
background: #0f4688 !important;
|
|
box-shadow: 0 2px 6px rgb(19 83 160 / 25%);
|
|
}
|
|
|
|
&:disabled {
|
|
background: $gray-200 !important;
|
|
color: $gray-500 !important;
|
|
box-shadow: none;
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
}
|