160 lines
2.7 KiB
CSS
160 lines
2.7 KiB
CSS
body {
|
|
font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
|
|
background-color: #F4F7F6;
|
|
}
|
|
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 250px;
|
|
background-color: #FFFFFF;
|
|
padding-top: 1rem;
|
|
border-right: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.sidebar .nav-link {
|
|
color: #333;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.sidebar .nav-link.active,
|
|
.sidebar .nav-link:hover {
|
|
color: #4A90E2;
|
|
background-color: #e9f2fa;
|
|
}
|
|
|
|
.sidebar .nav-link .feather {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 250px;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.summary-card {
|
|
border: none;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.summary-card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.summary-card .card-img-top {
|
|
border-top-left-radius: 8px;
|
|
border-top-right-radius: 8px;
|
|
}
|
|
|
|
/* New styles for login/register form */
|
|
.container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.form-container {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
padding: 2rem;
|
|
background-color: #FFFFFF;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.form-container h2 {
|
|
text-align: center;
|
|
margin-bottom: 1.5rem;
|
|
color: #333;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
color: #555;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.form-group input {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
button[type="submit"] {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
border: none;
|
|
border-radius: 4px;
|
|
background-color: #4A90E2;
|
|
color: white;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
button[type="submit"]:hover {
|
|
background-color: #357ABD;
|
|
}
|
|
|
|
.errors {
|
|
background-color: #f8d7da;
|
|
color: #721c24;
|
|
padding: 1rem;
|
|
border: 1px solid #f5c6cb;
|
|
border-radius: 4px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.form-container p {
|
|
text-align: center;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.success {
|
|
background-color: #d4edda;
|
|
color: #155724;
|
|
padding: 1rem;
|
|
border: 1px solid #c3e6cb;
|
|
border-radius: 4px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.sidebar {
|
|
width: 100%;
|
|
height: auto;
|
|
position: relative;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.sidebar .nav {
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.sidebar .nav-link {
|
|
padding: 0.5rem 1rem;
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 0;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.form-container {
|
|
padding: 1.5rem;
|
|
}
|
|
} |