189 lines
3.5 KiB
CSS
189 lines
3.5 KiB
CSS
/* General Body Styles */
|
|
body {
|
|
font-family: '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'sans-serif';
|
|
background-color: #F8F9FA;
|
|
color: #212529;
|
|
display: flex;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: 'Georgia', serif;
|
|
}
|
|
|
|
/* Main Wrapper */
|
|
.wrapper {
|
|
display: flex;
|
|
width: 100%;
|
|
align-items: stretch;
|
|
}
|
|
|
|
/* Sidebar Styles */
|
|
#sidebar {
|
|
min-width: 250px;
|
|
max-width: 250px;
|
|
background: #FFFFFF;
|
|
color: #212529;
|
|
transition: all 0.3s;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#sidebar.active {
|
|
margin-left: -250px;
|
|
}
|
|
|
|
#sidebar .sidebar-header {
|
|
padding: 20px;
|
|
background: linear-gradient(45deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0));
|
|
border-bottom: 1px solid #e9ecef;
|
|
text-align: center;
|
|
}
|
|
|
|
#sidebar .sidebar-header h3 {
|
|
color: #0056b3;
|
|
font-size: 1.5rem;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#sidebar ul.components {
|
|
padding: 20px 0;
|
|
border-bottom: 1px solid #e9ecef;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
#sidebar ul p {
|
|
color: #212529;
|
|
padding: 10px;
|
|
}
|
|
|
|
#sidebar ul li a {
|
|
padding: 15px 20px;
|
|
font-size: 1.1em;
|
|
display: block;
|
|
color: #343a40;
|
|
border-left: 3px solid transparent;
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
#sidebar ul li a:hover {
|
|
color: #007BFF;
|
|
background: #F8F9FA;
|
|
border-left-color: #007BFF;
|
|
}
|
|
|
|
#sidebar ul li.active > a, a[aria-expanded="true"] {
|
|
color: #0056b3;
|
|
background: #F8F9FA;
|
|
border-left-color: #007BFF;
|
|
}
|
|
|
|
#sidebar .logout-link a {
|
|
border-top: 1px solid #e9ecef;
|
|
}
|
|
|
|
/* Content Styles */
|
|
#content {
|
|
width: 100%;
|
|
padding: 20px;
|
|
min-height: 100vh;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.navbar {
|
|
padding: 15px 10px;
|
|
background: #fff;
|
|
border: none;
|
|
border-radius: 0.5rem;
|
|
margin-bottom: 40px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.navbar-brand {
|
|
font-family: 'Georgia', serif;
|
|
color: #0056b3;
|
|
}
|
|
|
|
#sidebarCollapse {
|
|
border: none;
|
|
background: transparent;
|
|
color: #007BFF;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
#sidebarCollapse:hover {
|
|
color: #0056b3;
|
|
}
|
|
|
|
/* Dashboard Widgets */
|
|
.card {
|
|
border-radius: 0.5rem;
|
|
border: none;
|
|
box-shadow: 0 4px 15px rgba(0,0,0,0.07);
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.card-header {
|
|
background: linear-gradient(45deg, rgba(0, 123, 255, 0.05), rgba(0, 123, 255, 0));
|
|
font-family: 'Georgia', serif;
|
|
font-weight: bold;
|
|
border-bottom: 1px solid #e9ecef;
|
|
}
|
|
|
|
/* Login Page Styles */
|
|
.login-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.login-wrapper {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
padding: 40px;
|
|
background: #FFFFFF;
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 4px 25px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.login-wrapper h2 {
|
|
text-align: center;
|
|
margin-bottom: 1.5rem;
|
|
color: #0056b3;
|
|
}
|
|
|
|
.form-control {
|
|
border-radius: 0.25rem;
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #007BFF;
|
|
border-color: #007BFF;
|
|
border-radius: 0.25rem;
|
|
padding: 0.75rem;
|
|
font-weight: bold;
|
|
transition: background-color 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #0056b3;
|
|
border-color: #0056b3;
|
|
box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
|
|
}
|
|
|
|
/* Feather Icons */
|
|
i.feather {
|
|
width: 18px;
|
|
height: 18px;
|
|
stroke-width: 2;
|
|
vertical-align: text-bottom;
|
|
margin-right: 10px;
|
|
}
|