144 lines
2.8 KiB
CSS
144 lines
2.8 KiB
CSS
/* assets/css/admin.css */
|
|
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
|
|
|
:root {
|
|
--primary-color: #007bff;
|
|
--primary-hover: #0056b3;
|
|
--background-color: #f4f7fc;
|
|
--sidebar-bg: #ffffff;
|
|
--text-color: #333;
|
|
--text-light: #777;
|
|
--border-color: #eef2f7;
|
|
--shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
|
|
--border-radius: 12px;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Poppins', sans-serif;
|
|
background-color: var(--background-color);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
/* Login Page Styles */
|
|
.login-page {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
}
|
|
|
|
.login-card {
|
|
border: none;
|
|
border-radius: var(--border-radius);
|
|
box-shadow: var(--shadow);
|
|
padding: 2rem;
|
|
width: 100%;
|
|
max-width: 420px;
|
|
}
|
|
|
|
.login-card .card-title {
|
|
font-weight: 600;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--primary-color);
|
|
border-color: var(--primary-color);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: var(--primary-hover);
|
|
border-color: var(--primary-hover);
|
|
}
|
|
|
|
.form-control {
|
|
border-radius: 8px;
|
|
border-color: var(--border-color);
|
|
}
|
|
|
|
.form-control:focus {
|
|
box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.15);
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
/* Admin Layout Styles */
|
|
.wrapper {
|
|
display: flex;
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
#sidebar {
|
|
width: 250px;
|
|
background: var(--sidebar-bg);
|
|
box-shadow: 0 0 20px rgba(0,0,0,0.05);
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
#sidebar .sidebar-header {
|
|
padding: 20px;
|
|
background: #fff;
|
|
border-bottom: 1px solid var(--border-color);
|
|
text-align: center;
|
|
font-weight: 600;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
#sidebar ul.components {
|
|
padding: 20px 0;
|
|
}
|
|
|
|
#sidebar ul li a {
|
|
padding: 15px 20px;
|
|
font-size: 1rem;
|
|
display: block;
|
|
color: var(--text-light);
|
|
border-left: 3px solid transparent;
|
|
}
|
|
|
|
#sidebar ul li a:hover {
|
|
color: var(--primary-color);
|
|
background: #f7f7f7;
|
|
border-left-color: var(--primary-color);
|
|
}
|
|
|
|
#sidebar ul li.active > a, a[aria-expanded="true"] {
|
|
color: var(--primary-color);
|
|
background: #f0f0f0;
|
|
border-left-color: var(--primary-color);
|
|
}
|
|
|
|
#content {
|
|
width: calc(100% - 250px);
|
|
padding: 40px;
|
|
min-height: 100vh;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.page-title {
|
|
font-weight: 700;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.table {
|
|
background-color: #fff;
|
|
border-radius: var(--border-radius);
|
|
box-shadow: var(--shadow);
|
|
border: none;
|
|
}
|
|
|
|
.table thead th {
|
|
border-top: none;
|
|
font-weight: 600;
|
|
color: var(--text-light);
|
|
border-bottom-width: 1px;
|
|
}
|
|
|
|
.table td, .table th {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.table-striped > tbody > tr:nth-of-type(odd) > * {
|
|
background-color: rgba(0,0,0,0.02);
|
|
} |