This repository has been archived by the owner on Sep 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
127 lines (127 loc) · 2.23 KB
/
style.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/* Import Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
.sidebar {
position: fixed;
height: 100%;
width: 260px;
background: #11101d;
padding: 15px;
z-index: 99;
}
.logo {
font-size: 25px;
padding: 0 15px;
}
.sidebar a {
color: #fff;
text-decoration: none;
}
.menu-content {
position: relative;
height: 100%;
width: 100%;
margin-top: 40px;
overflow-y: scroll;
}
.menu-content::-webkit-scrollbar {
display: none;
}
.menu-items {
height: 100%;
width: 100%;
list-style: none;
transition: all 0.4s ease;
}
.submenu-active .menu-items {
transform: translateX(-56%);
}
.menu-title {
color: #fff;
font-size: 14px;
padding: 15px 20px;
}
.item a,
.submenu-item {
padding: 16px;
display: inline-block;
width: 100%;
border-radius: 12px;
}
.item i {
font-size: 12px;
}
.item a:hover,
.submenu-item:hover,
.submenu .menu-title:hover {
background: rgba(255, 255, 255, 0.1);
}
.submenu-item {
display: flex;
justify-content: space-between;
align-items: center;
color: #fff;
cursor: pointer;
}
.submenu {
position: absolute;
height: 100%;
width: 100%;
top: 0;
right: calc(-100% - 26px);
height: calc(100% + 100vh);
background: #11101d;
display: none;
}
.show-submenu ~ .submenu {
display: block;
}
.submenu .menu-title {
border-radius: 12px;
cursor: pointer;
}
.submenu .menu-title i {
margin-right: 10px;
}
.navbar,
.main {
left: 260px;
width: calc(100% - 260px);
transition: all 0.5s ease;
z-index: 1000;
}
.sidebar.close ~ .navbar,
.sidebar.close ~ .main {
left: 0;
width: 100%;
}
.navbar {
position: fixed;
color: #fff;
padding: 15px 20px;
font-size: 25px;
background: #4070f4;
cursor: pointer;
}
.navbar #sidebar-close {
cursor: pointer;
}
.main {
position: relative;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
z-index: 100;
background: #e7f2fd;
}
.main h1 {
color: #11101d;
font-size: 40px;
text-align: center;
}