Spaces:
Paused
Paused
Download frontend/packages/shared/src/components/Button.module.css from 3SCError404/nexus: direct link, hf CLI and curl.
- Browser
- Download file 1.22 kB
-
https://huggingface.co/spaces/3SCError404/nexus/resolve/main/frontend/packages/shared/src/components/Button.module.css
- Command line
-
hf download hf://spaces/3SCError404/nexus/frontend/packages/shared/src/components/Button.module.css
-
curl -L -o Button.module.css https://huggingface.co/spaces/3SCError404/nexus/resolve/main/frontend/packages/shared/src/components/Button.module.css
1.22 kB
| .button { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| border-radius: var(--radius-md); | |
| font-weight: 600; | |
| transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); | |
| gap: 12px; | |
| border: 1px solid transparent; | |
| } | |
| .button:disabled { | |
| opacity: 0.5; | |
| cursor: not-allowed; | |
| } | |
| /* Variants */ | |
| .primary { | |
| background-color: var(--primary); | |
| color: #ffffff; | |
| box-shadow: 0 4px 12px 0 var(--primary-glow); | |
| } | |
| .primary:hover:not(:disabled) { | |
| transform: translateY(-1px); | |
| filter: brightness(1.05); | |
| box-shadow: 0 6px 16px 0 var(--primary-glow); | |
| } | |
| .outline { | |
| background: #ffffff; | |
| border-color: var(--border-subtle); | |
| color: var(--text-main); | |
| } | |
| .outline:hover:not(:disabled) { | |
| border-color: var(--primary); | |
| color: var(--primary); | |
| background: var(--bg-hover); | |
| } | |
| /* Sizes */ | |
| .sm { | |
| padding: 8px 16px; | |
| font-size: 13px; | |
| } | |
| .md { | |
| padding: 12px 24px; | |
| font-size: 14px; | |
| } | |
| .lg { | |
| padding: 16px 32px; | |
| font-size: 16px; | |
| } | |
| /* Loader */ | |
| .loader { | |
| width: 18px; | |
| height: 18px; | |
| border: 2px solid rgba(255, 255, 255, 0.2); | |
| border-radius: 50%; | |
| border-top-color: currentColor; | |
| animation: spin 0.8s linear infinite; | |
| } | |
| @keyframes spin { | |
| to { transform: rotate(360deg); } | |
| } | |