133 lines
2.5 KiB
SCSS
133 lines
2.5 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/.
|
|
*/
|
|
|
|
/* The account as it stands, so the choice below is made against figures rather than from memory. */
|
|
.pcd-summary {
|
|
margin: 4px 0 20px;
|
|
padding: 12px 14px;
|
|
border-radius: 6px;
|
|
background: rgb(0 0 0 / 3%);
|
|
}
|
|
|
|
.pcd-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 3px 0;
|
|
font-size: 0.85rem;
|
|
|
|
span {
|
|
color: rgb(0 0 0 / 60%);
|
|
}
|
|
}
|
|
|
|
.pcd-amount {
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.pcd-question {
|
|
margin: 20px 0 10px;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.pcd-choices {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
/*
|
|
* Each answer is a card rather than a bare radio, because the two are not interchangeable - they take
|
|
* money from different people, and the consequence has to be readable before the choice is made.
|
|
*/
|
|
.pcd-choice {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 4px;
|
|
padding: 10px 12px 12px;
|
|
border: 1px solid rgb(0 0 0 / 12%);
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background: rgb(0 0 0 / 2%);
|
|
}
|
|
}
|
|
|
|
.pcd-choice--on {
|
|
border-color: #b45309;
|
|
background: rgb(180 83 9 / 5%);
|
|
}
|
|
|
|
.pcd-choice-body {
|
|
padding-top: 2px;
|
|
}
|
|
|
|
.pcd-choice-title {
|
|
font-weight: 600;
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.pcd-choice-detail {
|
|
margin-top: 3px;
|
|
font-size: 0.8rem;
|
|
line-height: 1.5;
|
|
color: rgb(0 0 0 / 65%);
|
|
}
|
|
|
|
.pcd-destinations {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.pcd-field {
|
|
width: 100%;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.pcd-note {
|
|
margin: 12px 0 0;
|
|
font-size: 0.8rem;
|
|
line-height: 1.5;
|
|
color: rgb(0 0 0 / 65%);
|
|
}
|
|
|
|
/* The one step here with no way back, so it is said plainly rather than left to the button colour. */
|
|
.pcd-warn {
|
|
margin: 18px 0 0;
|
|
padding: 9px 12px;
|
|
border-radius: 6px;
|
|
border: 1px solid rgb(185 28 28 / 25%);
|
|
background: rgb(185 28 28 / 6%);
|
|
color: #b91c1c;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Inside the lock-in: a request for a manager, not a closure, so it is set apart from the terms above. */
|
|
.pcd-lockin {
|
|
margin-top: 18px;
|
|
padding: 12px 14px 4px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgb(180 83 9 / 30%);
|
|
background: rgb(245 158 11 / 8%);
|
|
}
|
|
|
|
.pcd-lockin-title {
|
|
margin: 0;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
color: #b45309;
|
|
}
|
|
|
|
.po-hint-warn {
|
|
color: #c62828;
|
|
}
|