/* * SPDX-FileCopyrightText: 2023 Andreas Palm * * SPDX-License-Identifier: AGPL-3.0-only */ .p-autocomplete .p-autocomplete-loader { right: 0.75rem; } .p-autocomplete.p-autocomplete-dd .p-autocomplete-loader { right: 3.107rem; } .p-autocomplete:not(.p-disabled):hover .p-autocomplete-multiple-container { border-color: #ced4da; } .p-autocomplete:not(.p-disabled).p-focus .p-autocomplete-multiple-container { outline: 0 none; outline-offset: 0; box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5); border-color: #007bff; } .p-autocomplete .p-autocomplete-multiple-container { padding: 0.25rem 0.75rem; gap: 0.5rem; } .p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-input-token { padding: 0.25rem 0; } .p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-input-token input { font-family: inherit; font-feature-settings: inherit; font-size: inherit; color: #212529; padding: 0; margin: 0; } .p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-token { padding: 0.25rem 0.75rem; background: #dee2e6; color: #212529; border-radius: 16px; } .p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-token .p-autocomplete-token-icon { margin-left: 0.5rem; } .p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-token.p-focus { background: #ced4da; color: #212529; } .p-autocomplete.p-invalid.p-component > .p-inputtext { border-color: #dc3545; } .p-autocomplete-panel { background: #ffffff; color: var(--grey); border: 1px solid var(--fieldset-dark); border-radius: 4px; box-shadow: none; } .p-autocomplete-panel .p-autocomplete-items { padding: 0.5rem 0; } .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item { margin: 0; padding: 3px; border: 0 none; color: #212529; background: transparent; transition: box-shadow 0.15s; border-radius: 0; } .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item.p-highlight { color: #ffffff; background: #007bff; } .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item.p-highlight.p-focus { background: #0067d6; } .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item:not(.p-highlight):not(.p-disabled).p-focus { color: #212529; background: #dee2e6; } .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item:not(.p-highlight):not(.p-disabled):hover { color: #212529; background: #e9ecef; } .p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { margin: 0; padding: 0.75rem 1rem; color: #212529; background: #ffffff; font-weight: 600; } input[type=text].p-autocomplete-dd-input { border-bottom-right-radius: 0; border-top-right-radius: 0; } .p-autocomplete-dd .p-autocomplete-dropdown { border-top-left-radius: 0; border-bottom-left-radius: 0px; margin: 0; padding: 3px; } .p-autocomplete-dd .p-autocomplete-dropdown svg { width: 14px; height: 14px; }