142 lines
2.3 KiB
SCSS
142 lines
2.3 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;
|
|
|
|
.racc-section {
|
|
border: 1px solid $border;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
background: #fff;
|
|
|
|
&__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;
|
|
}
|
|
|
|
span {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: $gray-900;
|
|
}
|
|
}
|
|
}
|
|
|
|
.racc-body {
|
|
background: #fff;
|
|
}
|
|
|
|
.racc-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 4px 16px;
|
|
padding: 16px 24px;
|
|
|
|
@media (width <= 600px) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.racc-field {
|
|
width: 100%;
|
|
}
|
|
|
|
.racc-alert {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
padding: 18px 24px;
|
|
border-top: 1px solid $border;
|
|
background: #f8fafc;
|
|
|
|
@media (width <= 760px) {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
&__content {
|
|
h4 {
|
|
margin: 0 0 6px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: $gray-900;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
color: #64748b;
|
|
max-width: 540px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.racc-yn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 48px;
|
|
padding: 4px 14px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
background: #fee2e2;
|
|
color: #b91c1c;
|
|
border: 1px solid #fecaca;
|
|
|
|
&--yes {
|
|
background: #dcfce7;
|
|
color: #15803d;
|
|
border-color: #bbf7d0;
|
|
}
|
|
}
|
|
|
|
.racc-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 10px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
|
|
&--from {
|
|
background: #eff6ff;
|
|
color: #1d4ed8;
|
|
border: 1px solid #bfdbfe;
|
|
}
|
|
}
|
|
|
|
.racc-alert--editable {
|
|
border-color: #bae6fd;
|
|
background: #f0f9ff;
|
|
|
|
&:hover {
|
|
border-color: #7dd3fc;
|
|
box-shadow: 0 2px 8px rgb(2 132 199 / 10%);
|
|
}
|
|
|
|
h4 {
|
|
color: #0369a1;
|
|
}
|
|
}
|