106 lines
1.7 KiB
SCSS
106 lines
1.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/.
|
|
*/
|
|
|
|
$accent: #0ea5e9;
|
|
$border: #e2e8f0;
|
|
$gray-50: #f8f9fa;
|
|
$gray-200: #e8eaed;
|
|
$gray-900: #202124;
|
|
|
|
.sad-section {
|
|
border: 1px solid $border;
|
|
border-radius: 10px;
|
|
overflow: visible;
|
|
background: #fff;
|
|
|
|
&--mt {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
&__header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 12px 24px;
|
|
background: $gray-50;
|
|
border-bottom: 1px solid $gray-200;
|
|
|
|
i {
|
|
font-size: 14px;
|
|
color: $accent;
|
|
}
|
|
|
|
h3 {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: $gray-900;
|
|
flex: 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
.sad-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 4px 16px;
|
|
padding: 16px 24px;
|
|
|
|
@media (width <= 600px) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.sad-grid--classification {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
@media (width <= 900px) {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
@media (width <= 600px) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.sad-field {
|
|
width: 100%;
|
|
}
|
|
|
|
.sad-info-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-height: 56px;
|
|
}
|
|
|
|
.sad-info-label {
|
|
font-size: 14px;
|
|
color: $gray-900;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.sad-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 3px 12px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
background: #dbeafe;
|
|
color: #1d4ed8;
|
|
border: 1px solid #bfdbfe;
|
|
|
|
&--yes {
|
|
background: #dcfce7;
|
|
color: #15803d;
|
|
border-color: #bbf7d0;
|
|
}
|
|
}
|