/** * 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/. */ :host { display: block; } .date-range { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; &__label { font-size: 12px; font-weight: 600; color: #475569; display: inline-flex; align-items: center; gap: 6px; } &__presets { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: 999px; background: #f1f5f9; } &__custom { display: inline-flex; flex-wrap: wrap; gap: 8px; label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #475569; } input { height: 32px; padding: 0 8px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: 13px; color: #0f172a; background: #fff; &:focus-visible { outline: 2px solid #2563eb; outline-offset: 1px; } } } } .date-chip { border: 0; background: transparent; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 600; color: #475569; cursor: pointer; &:hover { color: #1d4ed8; } &:focus-visible { outline: 2px solid #2563eb; outline-offset: 1px; } &--active { background: #2563eb; color: #fff; &:hover { color: #fff; } } }