taibai_shopping/app/static/css/admin_login.css
2025-07-04 19:07:35 +08:00

83 lines
1.4 KiB
CSS

body {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.login-card {
background: white;
border-radius: 15px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
padding: 40px;
min-width: 400px;
}
.login-header {
text-align: center;
margin-bottom: 30px;
}
.login-header h2 {
color: #333;
font-weight: 600;
margin-bottom: 10px;
}
.login-header p {
color: #666;
margin-bottom: 0;
}
.form-control {
padding: 12px 15px;
border-radius: 8px;
border: 1px solid #ddd;
font-size: 16px;
}
.form-control:focus {
border-color: #667eea;
box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}
.btn-login {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border: none;
padding: 12px;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
transition: all 0.3s ease;
}
.btn-login:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}
.input-group-text {
background-color: #f8f9fa;
border: 1px solid #ddd;
border-radius: 8px 0 0 8px;
}
.form-control {
border-radius: 0 8px 8px 0;
}
.form-control:first-child {
border-radius: 8px 0 0 8px;
}
.back-link {
text-decoration: none;
color: #667eea;
font-size: 14px;
}
.back-link:hover {
color: #764ba2;
}