-
Notifications
You must be signed in to change notification settings - Fork 3
/
sidebar.css
110 lines (97 loc) · 1.87 KB
/
sidebar.css
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
@media (max-width: 1200px) {
div.sidebar {
position: fixed;
left: 0;
bottom: 0;
top: 55px;
background-color: white;
width: 72px;
z-index: 200;
padding-top: 5px;
overflow-y: auto;
}
div.sidebar-link {
height: 74px;
display: flex;
/* Horizontal Centring */
justify-content: center;
/* Vertical Centring */
align-items: center;
/* "Switch" align-items / justify-content properties */
flex-direction: column;
}
div.sidebar-link:hover {
background-color: rgb(235, 235, 235);
cursor: pointer;
}
/* IMPORTANT */
div.sidebar-link img {
margin-bottom: 5px;
height: 24px;
}
div.sidebar-link div {
font-size: 10px;
}
}
@media (min-width: 640px) and (max-width: 1023px) {
div.sidebar-link div {
font-size: 9px;
}
}
@media (min-width: 1700px) {
div.sidebar {
position: fixed;
left: 0;
bottom: 0;
top: 55px;
background-color: white;
width: 200px;
z-index: 200;
padding-top: 5px;
overflow-y: auto;
}
body {
padding-left: 224px;
}
}
@media (min-width: 1200.1px) and (max-width: 1699.9px) {
div.sidebar {
position: fixed;
left: 0;
bottom: 0;
top: 55px;
background-color: white;
width: 150px;
z-index: 200;
padding-top: 5px;
overflow-y: auto;
}
body {
padding-left: 174px;
}
}
@media (min-width: 1200.1px) {
div.sidebar-link {
height: 35px;
display: flex;
/* Vertical Centring */
align-items: center;
/* "Switch" align-items / justify-content properties */
flex-direction: row;
}
div.sidebar-link:hover {
background-color: rgb(235, 235, 235);
cursor: pointer;
}
/* IMPORTANT */
div.sidebar-link img {
width: 24px;
margin-left: 20px;
}
div.sidebar-link div {
font-size: 10px;
width: 1fr;
margin-left: 12px;
white-space: nowrap;
}
}