Spaces:
Sleeping
Sleeping
Download frontend/src/components/common/Modal.css from NitinBot001/SocialShare: direct link, hf CLI and curl.
- Browser
- Download file 1.2 kB
-
https://huggingface.co/spaces/NitinBot001/SocialShare/resolve/main/frontend/src/components/common/Modal.css
- Command line
-
hf download hf://spaces/NitinBot001/SocialShare/frontend/src/components/common/Modal.css
-
curl -L -o Modal.css https://huggingface.co/spaces/NitinBot001/SocialShare/resolve/main/frontend/src/components/common/Modal.css
1.2 kB
| /* Modal Styles */ | |
| .modal-overlay { | |
| position: fixed; | |
| inset: 0; | |
| background: rgba(0, 0, 0, 0.5); | |
| backdrop-filter: blur(4px); | |
| z-index: 1100; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 1.5rem; | |
| } | |
| .modal { | |
| background: white; | |
| border-radius: var(--radius-xl); | |
| box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2); | |
| width: 100%; | |
| max-height: 90vh; | |
| overflow-y: auto; | |
| } | |
| .modal--sm { max-width: 400px; } | |
| .modal--md { max-width: 560px; } | |
| .modal--lg { max-width: 760px; } | |
| .modal--xl { max-width: 960px; } | |
| .modal--full { max-width: 100%; height: 90vh; } | |
| .modal__header { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 1.25rem 1.5rem; | |
| border-bottom: 1px solid var(--color-neutral-100); | |
| } | |
| .modal__title { | |
| font-size: 1.15rem; | |
| font-weight: 700; | |
| color: var(--color-neutral-900); | |
| } | |
| .modal__close { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 32px; | |
| height: 32px; | |
| border-radius: 50%; | |
| color: var(--color-neutral-500); | |
| transition: all 0.2s ease; | |
| } | |
| .modal__close:hover { | |
| background: var(--color-neutral-100); | |
| color: var(--color-neutral-800); | |
| } | |
| .modal__body { | |
| padding: 1.5rem; | |
| } | |