Repository navigation
Expand file tree
/
Copy pathlayout.css
More file actions
107 lines (94 loc) · 1.8 KB
/
Copy pathlayout.css
File metadata and controls
107 lines (94 loc) · 1.8 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/* css/layout.css */
/* Dashboard Layout */
.dashboard-layout {
display: flex;
min-height: 100vh;
}
.sidebar {
width: 250px;
background: var(--glass-bg);
backdrop-filter: blur(12px);
border-right: 1px solid var(--glass-border);
display: flex;
flex-direction: column;
position: fixed;
height: 100vh;
z-index: 100;
}
.sidebar-header {
padding: 1.5rem;
border-bottom: 1px solid var(--glass-border);
font-size: 1.25rem;
font-weight: 700;
color: var(--primary-color);
}
.sidebar-nav {
flex: 1;
padding: 1rem 0;
}
.sidebar-nav a {
display: block;
padding: 1rem 1.5rem;
color: var(--text-light);
font-weight: 500;
border-left: 4px solid transparent;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
background: rgba(45, 212, 191, 0.15);
color: var(--primary-color);
border-left-color: var(--primary-color);
}
.logout-container {
padding: 1.5rem;
border-top: 1px solid var(--glass-border);
}
.logout-btn {
width: 100%;
text-align: left;
background: none;
border: none;
color: var(--danger-color);
cursor: pointer;
font-weight: 600;
font-size: 1rem;
padding: 0.5rem 0;
}
.main-content {
flex: 1;
margin-left: 250px;
display: flex;
flex-direction: column;
}
.topbar {
background: transparent;
height: 70px;
border-bottom: 1px solid var(--glass-border);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 2rem;
position: sticky;
top: 0;
z-index: 90;
backdrop-filter: blur(12px);
}
.content-area {
padding: 2rem;
flex: 1;
}
@media (max-width: 768px) {
.dashboard-layout {
flex-direction: column;
}
.sidebar {
width: 100%;
height: auto;
position: relative;
border-right: none;
border-bottom: 1px solid var(--border-color);
}
.main-content {
margin-left: 0;
}
}