Files
2026-08-19 08:24:16 +03:30

247 lines
3.4 KiB
CSS

/* ========================================
Admin Panel
Airline Agency
======================================== */
body {
background-color: #f5f7fb;
}
/* Main admin layout */
.admin-wrapper {
min-height: 100vh;
}
/* Sidebar */
.admin-sidebar {
width: 260px;
min-height: 100vh;
background: #ffffff;
border-left: 1px solid #e9ecef;
}
/* Main content */
.admin-content {
min-height: 100vh;
padding: 24px;
}
/* Cards */
.admin-card {
background: #ffffff;
border: 1px solid #e9ecef;
border-radius: 12px;
}
/* Dashboard stat cards */
.admin-stat-card {
transition: all .2s ease;
}
.admin-stat-card:hover {
transform: translateY(-2px);
}
/* Sidebar links */
.admin-sidebar .nav-link {
color: #495057;
border-radius: 8px;
margin-bottom: 4px;
padding: 10px 12px;
}
.admin-sidebar .nav-link:hover {
background-color: #f1f5f9;
}
.admin-sidebar .nav-link.active {
background-color: #eaf2ff;
color: #0d6efd;
}
/* Airline icon box */
.admin-icon-box {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 12px;
}
/* Tables */
.admin-table th {
white-space: nowrap;
}
.admin-table td {
vertical-align: middle;
}
/* Breadcrumb */
.admin-breadcrumb {
margin-bottom: 20px;
}
/* Responsive */
@media (max-width: 991px) {
.admin-sidebar {
width: 100%;
min-height: auto;
}
.admin-content {
padding: 16px;
}
}
body {
background: #f5f7fa;
}
.admin-wrapper {
min-height: 100vh;
}
.admin-sidebar {
width: 260px;
min-height: 100vh;
background: #fff;
border-left: 1px solid #e5e7eb;
position: fixed;
right: 0;
top: 0;
bottom: 0;
z-index: 1000;
overflow-y: auto;
}
.admin-main {
margin-right: 260px;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.admin-header {
height: 70px;
background: #fff;
border-bottom: 1px solid #e5e7eb;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 25px;
}
.admin-content {
padding: 25px;
flex: 1;
}
.admin-logo {
height: 70px;
display: flex;
align-items: center;
padding: 0 20px;
border-bottom: 1px solid #eee;
}
.admin-logo a {
text-decoration: none;
font-size: 18px;
font-weight: bold;
color: #0d6efd;
}
.admin-menu {
padding: 15px 10px;
}
.admin-menu-title {
font-size: 11px;
color: #9ca3af;
padding: 10px;
margin-top: 10px;
}
.admin-menu a {
display: flex;
align-items: center;
gap: 10px;
padding: 11px 12px;
margin-bottom: 4px;
border-radius: 8px;
color: #4b5563;
text-decoration: none;
transition: .2s;
}
.admin-menu a:hover,
.admin-menu a.active {
background: #eef5ff;
color: #0d6efd;
}
.admin-menu i {
width: 22px;
text-align: center;
font-size: 16px;
}
.admin-user {
display: flex;
align-items: center;
gap: 10px;
}
.admin-user-avatar {
width: 38px;
height: 38px;
border-radius: 50%;
background: #eef5ff;
display: flex;
align-items: center;
justify-content: center;
color: #0d6efd;
}
.admin-card {
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 12px;
}
@media (max-width: 991px) {
.admin-sidebar {
transform: translateX(100%);
}
}