34421-vm/assets/css/custom.css
2025-09-26 19:23:54 +00:00

108 lines
1.9 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: #F3F4F6;
color: #111827;
display: flex;
margin: 0;
}
.sidebar {
width: 260px;
background-color: #FFFFFF;
padding: 1.5rem;
height: 100vh;
position: fixed;
top: 0;
left: 0;
display: flex;
flex-direction: column;
border-right: 1px solid #E5E7EB;
}
.sidebar .school-logo {
font-size: 1.5rem;
font-weight: 700;
color: #4F46E5;
margin-bottom: 2.5rem;
text-align: center;
}
.sidebar .nav-menu {
list-style: none;
padding: 0;
margin: 0;
flex-grow: 1;
}
.sidebar .nav-menu .nav-item a {
display: block;
padding: 0.8rem 1rem;
border-radius: 0.375rem;
text-decoration: none;
color: #374151;
font-weight: 500;
margin-bottom: 0.5rem;
transition: background-color 0.2s ease, color 0.2s ease;
}
.sidebar .nav-menu .nav-item a:hover {
background-color: #EEF2FF;
color: #4F46E5;
}
.sidebar .nav-menu .nav-item a.active {
background-color: #4F46E5;
color: #FFFFFF;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
.main-content {
margin-left: 260px;
flex-grow: 1;
padding: 2rem;
display: flex;
flex-direction: column;
}
.main-header {
display: flex;
justify-content: flex-end;
align-items: center;
margin-bottom: 2rem;
}
.user-profile {
display: flex;
align-items: center;
gap: 0.75rem;
}
.user-profile img {
width: 40px;
height: 40px;
border-radius: 50%;
}
.user-profile .user-name {
font-weight: 600;
}
.content-body {
flex-grow: 1;
}
.card {
background-color: #FFFFFF;
border-radius: 0.5rem;
padding: 1.5rem;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.02);
}
.card-title {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 1rem;
}