Spaces:
Sleeping

emotion-ui / Auth.css
Aya07's picture
Upload 3 files
d03eaab verified
Raw History Blame Contribute Delete
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;
}
}