Spaces:
Sleeping
Sleeping
Download Auth.css from Aya07/emotion-ui: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/spaces/Aya07/emotion-ui/resolve/main/Auth.css
- Command line
-
hf download hf://spaces/Aya07/emotion-ui/Auth.css
-
curl -L -o Auth.css https://huggingface.co/spaces/Aya07/emotion-ui/resolve/main/Auth.css
1.26 kB
| /* src/pages/Auth.css - Ajouter ces styles */ | |
| /* Wrapper pour positionner le sélecteur de langue */ | |
| .auth-wrapper { | |
| position: relative; | |
| min-height: 100vh; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| } | |
| /* Sélecteur de langue en haut à droite */ | |
| .auth-lang-switcher { | |
| position: fixed; | |
| top: 20px; | |
| right: 20px; | |
| display: flex; | |
| gap: 8px; | |
| z-index: 100; | |
| background: rgba(255, 255, 255, 0.2); | |
| backdrop-filter: blur(10px); | |
| padding: 6px; | |
| border-radius: 40px; | |
| } | |
| /* Pour RTL (arabe) */ | |
| [dir="rtl"] .auth-lang-switcher { | |
| right: auto; | |
| left: 20px; | |
| } | |
| .auth-lang-btn { | |
| background: transparent; | |
| border: none; | |
| padding: 6px 12px; | |
| border-radius: 30px; | |
| cursor: pointer; | |
| font-size: 12px; | |
| font-weight: 600; | |
| color: white; | |
| transition: all 0.3s ease; | |
| } | |
| .auth-lang-btn:hover { | |
| background: rgba(255, 255, 255, 0.2); | |
| } | |
| .auth-lang-btn.active { | |
| background: white; | |
| color: #667eea; | |
| } | |
| /* Responsive pour mobile */ | |
| @media (max-width: 768px) { | |
| .auth-lang-switcher { | |
| top: 10px; | |
| right: 10px; | |
| padding: 4px; | |
| } | |
| .auth-lang-btn { | |
| padding: 4px 10px; | |
| font-size: 10px; | |
| } | |
| .auth-card { | |
| margin: 20px; | |
| padding: 20px; | |
| } | |
| } |