/** * 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; .sps-section { border: 1px solid $border; border-radius: 10px; overflow: hidden; background: #fff; & + & { 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; } span { font-size: 14px; font-weight: 600; color: $gray-900; } } } .sps-section__badge { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; background: #eff6ff; font-size: 14px; } .sps-body { background: #fff; padding: 18px 24px 24px; } .sps-field { width: 100%; &--full { grid-column: 1 / -1; } &--compact { width: 100%; } } .sps-layout { display: grid; gap: 16px; } .sps-layout--balance { gap: 22px; } .sps-layout--additional { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; @media (width <= 1100px) { grid-template-columns: 1fr; } } .sps-row { display: grid; gap: 18px; align-items: start; } .sps-row--three { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; .sps-field--compact:first-child { min-width: 0; } .sps-toggle--inline { align-self: center; min-height: 56px; } } .sps-row--two { grid-template-columns: minmax(0, 1fr) auto; align-items: center; .sps-field--compact { min-width: 0; } } .sps-toggle { display: flex; align-items: center; min-height: 56px; mat-checkbox { font-size: 14px; color: $gray-900; } &--full { min-height: auto; margin-bottom: 8px; } &--inline { padding-top: 0; } &--right { justify-content: flex-start; } } .sps-lockin-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid $gray-200; font-size: 14px; color: $gray-900; } .sps-lockin-row mat-checkbox { margin-right: 2px; } .sps-lockin-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; @media (width <= 640px) { grid-template-columns: 1fr; } }