-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdashboard.css
87 lines (63 loc) · 1.31 KB
/
dashboard.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
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");
body,
button {
font-family: "Inter", sans-serif;
}
:root {
--offcanvas-width: 270px;
--topNavbarHeight: 0px;
}
.sidebar-nav {
width: var(--offcanvas-width);
}
.sidebar-link {
display: flex;
align-items: center;
}
.sidebar-link .right-icon {
display: inline-flex;
}
.sidebar-link[aria-expanded="true"] .right-icon {
transform: rotate(180deg);
}
@media (min-width: 774px) {
body {
overflow: auto !important;
}
main {
margin-left: var(--offcanvas-width);
}
/* this is to remove the backdrop */
.offcanvas-backdrop::before {
display: none;
}
.sidebar-nav {
-webkit-transform: none;
transform: none;
visibility: visible !important;
height: calc(100% - var(--topNavbarHeight));
top: var(--topNavbarHeight);
}
}
/* navbar */
.navbar {
padding-top: .5rem;
padding-bottom: .5rem;
margin: 0;
width: 100%;
}
.nav-link {
padding: 11px;
color: black !important;
}
.nav-link:hover {
border-left: 5px solid #0a58ca;
color:#0a58ca !important;
}
.active {
border-left: 5px solid #0a58ca;
color:#0a58ca !important;
}
.Adminname {
display: none;
}