File size: 3,453 Bytes
8f320fb
377139d
 
 
 
 
 
 
 
 
 
8f320fb
377139d
 
 
8f320fb
 
377139d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8f320fb
377139d
 
 
 
 
8f320fb
377139d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8f320fb
377139d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/* static/css/admin_restyle.css */
:root {
    --brand-green: #2E572B;
    --brand-dark-green: #213f1f;
    --brand-yellow: #F3C13E;
    --brand-cream: #FEFDEE;
    --content-bg: #f4f7f6;
    --text-dark: #343a40;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
}

body {
    font-family: 'Poppins', sans-serif !important;
    background-color: var(--content-bg) !important;
    color: var(--text-dark);
}

.admin-layout { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
    width: 250px; flex-shrink: 0;
    background-color: var(--brand-dark-green);
    color: #fff;
    position: fixed; top: 0; left: 0; height: 100%; z-index: 1030;
}
.sidebar-brand {
    display: flex; align-items: center; padding: 1.25rem; color: #fff;
    text-decoration: none; font-size: 1.2rem; font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-brand:hover { color: #fff; text-decoration: none; }
.sidebar-brand img { height: 32px; width: 32px; border-radius: 6px; margin-right: 12px; }
.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.6); padding: 0.8rem 1.25rem; display: flex;
    align-items: center; transition: all 0.2s ease; font-weight: 500;
}
.sidebar .nav-link .menu-icon { margin-right: 1rem; font-size: 1rem; width: 20px; text-align: center; }
.sidebar .nav-link:hover, .sidebar .nav-item.active .nav-link { background-color: var(--brand-green); color: #fff; }
.nav-category {
    padding: 1.5rem 1.25rem 0.5rem; font-size: 0.75rem; font-weight: 600;
    color: rgba(255, 255, 255, 0.4); text-transform: uppercase; letter-spacing: 0.5px;
}

/* Konten Utama */
.content-wrapper { margin-left: 250px; width: calc(100% - 250px); padding: 2rem; }
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.page-title { font-weight: 700; color: var(--text-dark); margin: 0; }

/* Kartu Statistik */
.stat-card {
    background-color: #fff; border: none; border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04); margin-bottom: 2rem;
    transition: transform 0.2s ease;
}
.stat-card:hover { transform: translateY(-5px); }
.stat-card .card-body { padding: 1.5rem; display: flex; align-items: center; }
.stat-card .stat-icon {
    font-size: 1.5rem; height: 60px; width: 60px; display: inline-flex;
    align-items: center; justify-content: center; border-radius: 12px; margin-right: 1.5rem; color: #fff;
}
.stat-card .stat-value { font-size: 2rem; font-weight: 700; color: var(--text-dark); }
.stat-card .stat-label { font-size: 0.9rem; color: var(--text-muted); }

/* Komponen Lain */
.card { background-color: #fff; border: none; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.04); }
.card-header { background-color: #fff; border-bottom: 1px solid #eee; }
.btn-primary { background-color: var(--brand-green) !important; border-color: var(--brand-green) !important; font-weight: 600; }
.btn-primary:hover { background-color: var(--brand-dark-green) !important; border-color: var(--brand-dark-green) !important; }
.table thead th { background-color: var(--content-bg); border-bottom: 2px solid var(--border-color); font-weight: 600; }
.form-group label { font-weight: 600; color: var(--text-dark); }
.form-control, .select2-container--default .select2-selection--single {
    border-radius: 8px; border: 1px solid var(--border-color);
}
.form-control:focus { border-color: var(--brand-green); box-shadow: 0 0 0 0.2rem rgba(46, 87, 43, 0.25); }