forked from safak/responsive-sidebar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
122 lines (103 loc) · 1.61 KB
/
style.css
File metadata and controls
122 lines (103 loc) · 1.61 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
* {
margin: 0;
font-family: "Roboto", sans-serif;
}
.sidebar {
width: 180px;
height: 100vh;
background-color: #111827;
color: #9ca3af;
display: flex;
flex-direction: column;
align-items: center;
}
.sidebar-top,
.sidebar-center,
.sidebar-bottom {
display: flex;
align-items: center;
width: 80%;
border-bottom: 1px solid #4b4b4b;
padding: 10px 0;
margin-bottom: 10px;
}
.sidebar-center {
padding: 0;
}
.sidebar-bottom {
justify-content: center;
border: none;
}
.logo {
font-size: 24px;
margin-right: 10px;
cursor: pointer;
padding-left: 10px;
}
.brand {
font-weight: bold;
cursor: pointer;
}
.list {
list-style: none;
padding: 0;
width: 100%;
}
.list-item {
margin-bottom: 10px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
padding: 10px;
border-radius: 10px;
}
.list-item-icon {
width: 30px;
font-size: 20px;
}
.list-item.active,
.list-item:hover {
background-color: #374151;
color: white;
}
.color-box {
width: 20px;
height: 20px;
border-radius: 5px;
border: 1px solid #9ca3af;
margin-right: 15px;
cursor: pointer;
}
.dark {
background-color: #111827;
}
.night {
background-color: #312e81;
}
.light {
background-color: #f3f4f6;
}
.sidebar.night {
background-color: #312e81;
color: #b4bbc7;
}
.list-item.night.active {
background-color: #4338ca;
}
.sidebar.light {
background-color: #f3f4f6;
color: #111827;
}
.list-item.light.active {
background-color: #d1d5db;
color: #111827;
}
@media only screen and (max-width: 768px) {
.sidebar {
width: 50px;
}
.brand,
.list-item-text {
display: none;
}
}