fullstack-form-app-sinclqir
Version:
Application de gestion des utilisateurs avec authentification JWT - Frontend React + Backend Python FastAPI
67 lines (58 loc) • 1.2 kB
CSS
.login-form {
width: 100%;
}
.login-content {
display: flex;
flex-direction: column;
gap: 1rem;
}
.form-group {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.form-label {
font-size: 0.875rem;
font-weight: 500;
color: #374151;
}
.form-input {
padding: 0.75rem;
border: 2px solid #e5e7eb;
border-radius: 0.5rem;
font-size: 1rem;
transition: all 0.2s ease;
background: white;
color: #1f2937;
}
.form-input:focus {
outline: none;
border-color: #16a34a;
box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}
.form-input::placeholder {
color: #9ca3af;
}
.submit-btn {
width: 100%;
padding: 0.75rem;
background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
color: white;
border: none;
border-radius: 0.5rem;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 4px 6px rgba(22, 163, 74, 0.25);
margin-top: 0.5rem;
}
.submit-btn:hover:not(:disabled) {
transform: translateY(-1px);
box-shadow: 0 6px 12px rgba(22, 163, 74, 0.3);
}
.submit-btn:disabled {
opacity: 0.7;
cursor: not-allowed;
transform: none;
}