82 lines
1.3 KiB
CSS
82 lines
1.3 KiB
CSS
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
|
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: 100;
|
|
padding: 48px 0 0;
|
|
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
|
|
width: 250px;
|
|
transition: transform .3s ease-in-out;
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.sidebar {
|
|
transform: translateX(-100%);
|
|
}
|
|
.sidebar.show {
|
|
transform: translateX(0);
|
|
}
|
|
.main-content {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.main-content {
|
|
margin-left: 250px;
|
|
}
|
|
}
|
|
|
|
.sidebar-sticky {
|
|
position: relative;
|
|
top: 0;
|
|
height: calc(100vh - 48px);
|
|
padding-top: .5rem;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.nav-link {
|
|
color: #333;
|
|
}
|
|
|
|
.nav-link.active,
|
|
.nav-link:hover {
|
|
color: #0d6efd;
|
|
}
|
|
|
|
.navbar-brand {
|
|
padding-top: .75rem;
|
|
padding-bottom: .75rem;
|
|
font-size: 1rem;
|
|
background-color: rgba(0, 0, 0, .25);
|
|
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
|
|
}
|
|
|
|
.navbar .navbar-toggler {
|
|
top: .25rem;
|
|
right: 1rem;
|
|
}
|
|
|
|
.card {
|
|
border: none;
|
|
box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
|
|
}
|
|
|
|
.main-content-shifted {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.sidebar-collapsed {
|
|
transform: translateX(-100%);
|
|
}
|