Spaces:
Build error
Build error
| /* CustomDropdown.css */ | |
| .custom-dropdown { | |
| position: relative; | |
| display: inline-block; | |
| } | |
| .dropdown-toggle { | |
| background: #e88f36; | |
| border: none; | |
| border-radius: 5px; | |
| color: white; | |
| font-size: 1rem; | |
| font-weight: 500; | |
| text-align: center; | |
| padding: 10px; | |
| cursor: pointer; | |
| display: flex; | |
| justify-content: space-around; | |
| align-items: center; | |
| width: 200px; | |
| box-shadow: 0 10px 12px rgba(0, 0, 0, 0.69); | |
| } | |
| .dropdown-arrow { | |
| font-size: 1rem; | |
| transition: transform 0.3s ease; | |
| } | |
| .dropdown-arrow.open { | |
| transform: rotate(180deg); | |
| } | |
| .dropdown-menu { | |
| position: absolute; | |
| display: contents; | |
| top: 100%; | |
| left: 0; | |
| width: 100%; | |
| background: #fff; | |
| border: 1px solid #ccc; | |
| z-index: 1000; | |
| max-height: 200px; | |
| overflow-y: auto; | |
| } | |
| .li-container { | |
| position: absolute; | |
| display: flex; | |
| flex-direction: column; | |
| background-color: #1a1a1d; | |
| box-shadow: 0 2px 10px rgba(0, 0, 0, 0.707); | |
| width: 100%; | |
| } | |
| .dropdown-item { | |
| padding-top: 10px; | |
| padding-bottom: 10px; | |
| border-radius: 5px; | |
| position: relative; | |
| display: block; | |
| cursor: pointer; | |
| color: #e88f36; | |
| font-weight: 900; | |
| font-size: 1rem; | |
| width: 100%; | |
| } | |
| .dropdown-item:hover { | |
| background: #4f4f4f; | |
| } | |
| .dropdown-item.selected { | |
| background: #000000; | |
| } | |