Spaces:
Paused
Paused
Download frontend/apps/internal/src/components/Dropdown.module.css from 3SCError404/miracle: direct link, hf CLI and curl.
- Browser
- Download file 2.82 kB
-
https://huggingface.co/spaces/3SCError404/miracle/resolve/main/frontend/apps/internal/src/components/Dropdown.module.css
- Command line
-
hf download hf://spaces/3SCError404/miracle/frontend/apps/internal/src/components/Dropdown.module.css
-
curl -L -o Dropdown.module.css https://huggingface.co/spaces/3SCError404/miracle/resolve/main/frontend/apps/internal/src/components/Dropdown.module.css
2.82 kB
| .container { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| position: relative; | |
| z-index: 50; | |
| } | |
| .label { | |
| font-size: 10px; | |
| font-weight: 800; | |
| color: var(--text-muted); | |
| text-transform: uppercase; | |
| letter-spacing: 0.15em; | |
| padding-left: 2px; | |
| } | |
| .trigger { | |
| background: var(--bg-card); | |
| border: 1px solid var(--border-subtle); | |
| border-radius: 10px; | |
| padding: 10px 16px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| cursor: pointer; | |
| transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); | |
| min-height: 40px; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02); | |
| } | |
| .triggerActive { | |
| border-color: var(--primary); | |
| box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1); | |
| } | |
| .trigger:hover { | |
| border-color: var(--primary-light); | |
| background: var(--bg-card); | |
| } | |
| .currentValue { | |
| font-size: 12px; | |
| font-weight: 700; | |
| color: var(--text-main); | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .arrow { | |
| font-size: 10px; | |
| color: var(--text-muted); | |
| transition: transform 0.2s; | |
| } | |
| .arrowOpen { | |
| transform: rotate(180deg); | |
| color: var(--primary); | |
| } | |
| .menu { | |
| position: absolute; | |
| top: 100%; | |
| left: 0; | |
| right: 0; | |
| z-index: 100; | |
| background: var(--bg-card); | |
| border: 1px solid var(--border-subtle); | |
| border-radius: 12px; | |
| margin-top: 4px; | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); | |
| overflow: hidden; | |
| } | |
| .searchBox { | |
| padding: 8px; | |
| border-bottom: 1px solid var(--border-subtle); | |
| background: rgba(248, 250, 252, 0.5); | |
| } | |
| .searchInput { | |
| width: 100%; | |
| padding: 8px 12px; | |
| font-size: 11px; | |
| font-weight: 600; | |
| background: var(--bg-body); | |
| border: 1px solid var(--border-subtle); | |
| border-radius: 8px; | |
| color: var(--text-main); | |
| outline: none; | |
| transition: border-color 0.2s; | |
| } | |
| .searchInput:focus { | |
| border-color: var(--primary); | |
| } | |
| .menuInner { | |
| padding: 4px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 2px; | |
| max-height: 250px; | |
| overflow-y: auto; | |
| } | |
| .option { | |
| padding: 8px 12px; | |
| font-size: 12px; | |
| font-weight: 600; | |
| color: var(--text-main); | |
| border-radius: 8px; | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| transition: all 0.1s; | |
| } | |
| .option:hover { | |
| background: var(--bg-hover); | |
| color: var(--primary); | |
| } | |
| .optionSelected { | |
| background: rgba(99, 102, 241, 0.08); | |
| color: var(--primary); | |
| } | |
| .optLabel { | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| flex: 1; | |
| } | |
| .noResults { | |
| padding: 16px; | |
| text-align: center; | |
| font-size: 11px; | |
| color: var(--text-muted); | |
| font-weight: 500; | |
| } | |
| .check { | |
| font-size: 10px; | |
| color: var(--primary); | |
| margin-left: 8px; | |
| } | |
| /* Custom scrollbar for menu */ | |
| .menuInner::-webkit-scrollbar { | |
| width: 4px; | |
| } | |
| .menuInner::-webkit-scrollbar-thumb { | |
| background: var(--border-subtle); | |
| border-radius: 10px; | |
| } | |