123 lines
2.3 KiB
CSS
123 lines
2.3 KiB
CSS
/* General Body Styles */
|
|
body {
|
|
font-family: 'Roboto', sans-serif;
|
|
background-color: #F5F5F5;
|
|
color: #212121;
|
|
}
|
|
|
|
/* --- Login Page (index.php) --- */
|
|
.login-container {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, #D32F2F, #B71C1C);
|
|
}
|
|
|
|
.login-card {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
padding: 2rem;
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.login-card .form-control:focus {
|
|
border-color: #D32F2F;
|
|
box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.25);
|
|
}
|
|
|
|
/* --- Dashboard Page (dashboard.php) --- */
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 250px;
|
|
padding: 1rem;
|
|
background-color: #212121;
|
|
color: #fff;
|
|
}
|
|
|
|
.sidebar .nav-link {
|
|
color: #eee;
|
|
padding: 0.75rem 1rem;
|
|
margin-bottom: 0.5rem;
|
|
border-radius: 0.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.sidebar .nav-link .material-icons {
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
.sidebar .nav-link:hover, .sidebar .nav-link.active {
|
|
background-color: #D32F2F;
|
|
color: #fff;
|
|
}
|
|
|
|
.sidebar h4 {
|
|
color: #FF5252;
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 250px;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.metric-card {
|
|
border: none;
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
|
|
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
}
|
|
|
|
.metric-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 8px 20px rgba(0,0,0,0.12);
|
|
}
|
|
|
|
.metric-card .card-body {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.metric-card .icon-circle {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #fff;
|
|
}
|
|
|
|
.bg-primary-light {
|
|
background-color: rgba(211, 47, 47, 0.2);
|
|
color: #D32F2F;
|
|
}
|
|
.bg-secondary-light {
|
|
background-color: rgba(25, 118, 210, 0.2);
|
|
color: #1976D2;
|
|
}
|
|
.bg-success-light {
|
|
background-color: rgba(46, 125, 50, 0.2);
|
|
color: #2E7D32;
|
|
}
|
|
.bg-warning-light {
|
|
background-color: rgba(245, 124, 0, 0.2);
|
|
color: #F57C00;
|
|
}
|
|
|
|
.metric-card .icon-circle .material-icons {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.table-wrapper {
|
|
background: #fff;
|
|
padding: 1.5rem;
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
|
|
} |