Skip to content

Commit 019ca54

Browse files
authored
Update jside-menu.css
1 parent 001ea71 commit 019ca54

File tree

1 file changed

+18
-70
lines changed

1 file changed

+18
-70
lines changed

css/jside-menu.css

Lines changed: 18 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -7,36 +7,15 @@
77
* Copyright (c) 2019 - Asif Mughal
88
*/
99
/* File: jquery.jside-menu.css */
10-
@font-face {
11-
font-family: 'Helvetica Neue';
12-
font-style: normal;
13-
font-weight: 300;
14-
font-smoothing: antialiased;
15-
-webkit-font-smoothing: antialiased;
16-
-moz-osx-font-smoothing: grayscale;
17-
src: local('Helvetica Neue'), local('HelveticaNeue'), url(http://themes.googleusercontent.com/licensed/font?kit=Lx1xfUTR4qFjwg0Z_pb900DGSpWewu0sZH-jqLz8Q00) format('truetype');
18-
}
19-
*{ margin: 0;
20-
padding: 0;
21-
}
22-
body{
23-
font-family: 'Helvetica Neue';
24-
font-weight: 300;
25-
font-smoothing: antialiased;
26-
-webkit-font-smoothing: antialiased;
27-
-moz-osx-font-smoothing: grayscale;
2810

29-
}
30-
html{
31-
-webkit-font-smoothing: antialiased;}
32-
3311
:root{
3412
--skin-hover: rgba(0, 0, 0, 0.1);
3513
--skin-color: rgba(255, 255, 255, 0.7);
3614
}
3715
.default-skin{
38-
font-family: 'Helvetica Neue';
16+
font-family: 'Questrial', sans-serif;
3917
font-weight: 300;
18+
font-size: 14px;
4019
font-smoothing: antialiased;
4120
-webkit-font-smoothing: antialiased;
4221
-moz-osx-font-smoothing: grayscale;
@@ -65,7 +44,7 @@ html{
6544
border: 0;
6645
outline: 0;
6746
background: transparent;
68-
top: 6px;
47+
top: 10px;
6948
padding: 0 5px;
7049
color: var(--skin-color);
7150
cursor: pointer;
@@ -78,14 +57,6 @@ html{
7857
-webkit-opacity: 0.8;
7958
}
8059

81-
.menu-trigger:before{
82-
font-family: 'Material-Design-Iconic-Font';
83-
84-
content: '\f197';
85-
86-
font-size: 22pt;
87-
88-
}
8960

9061
.menu-trigger.left{
9162
left: 20px;
@@ -102,22 +73,23 @@ html{
10273
}
10374

10475
.menu-container{
76+
font-family: 'Questrial', sans-serif;
10577
overflow: auto;
10678
display: block;
10779
top: 120px;
10880

10981
}
11082

11183
.menu-container::-webkit-scrollbar {
112-
width: 10px;
84+
width: 4px;
11385
}
11486

11587
.menu-container::-webkit-scrollbar-track {
116-
background: #f1f1f1;
88+
background: rgba(255, 255, 255, 0.2);
11789
}
11890

11991
.menu-container::-webkit-scrollbar-thumb {
120-
background: #888;
92+
background: rgba(0, 0, 0, 0.11);
12193
}
12294

12395
.menu-container::-webkit-scrollbar-thumb:hover {
@@ -156,7 +128,7 @@ html{
156128
.menu-head{
157129
background: var(--skin);
158130
position: fixed;
159-
z-index: 100;
131+
z-index: 1000;
160132
width: 270px;
161133

162134
}
@@ -183,7 +155,7 @@ html{
183155
.dropdown-heading,
184156
.menu-items li a{
185157
text-decoration: none;
186-
padding: 12px 12px 12px 45px;
158+
padding: 10px;
187159
display: block;
188160
color: var(--skin-color);
189161
border-bottom: 1px dotted rgba(255, 255, 255, 0.050);
@@ -192,6 +164,11 @@ html{
192164
user-select: none;
193165
-webkit-user-select: none;
194166
}
167+
/* Icon Style */
168+
.menu-items li i{
169+
font-size: 16px;
170+
margin-right: 10px;
171+
}
195172
.dropdown-heading{
196173
-webkit-tap-highlight-color: transparent;
197174
}
@@ -224,31 +201,12 @@ html{
224201
}
225202
}
226203

227-
.item-icon{
228-
margin: 0 25px 0 0;
229-
display: inline;
230-
width: 32px;
231-
height: 32px;
232-
line-height: 32px;
233-
position: absolute;
234-
font-size: 15pt;
235-
margin: 5px;
236-
text-align: center;
237-
color: var(--skin-color);
238-
239-
}
240204

241205
/* Dropdowns */
242206
.has-sub ul{
243-
244207
list-style: none;
245-
246208
overflow: hidden;
247-
248-
height: 0px;
249-
250-
transition: .360s;
251-
209+
display: none;
252210
background: #f2f9f9;
253211
}
254212

@@ -287,31 +245,21 @@ html{
287245

288246

289247

290-
.has-sub i.arrow{
291-
248+
.has-sub i.d-arrow{
292249
float: right;
293-
294250
margin-right: 10px;
295-
296251
transition: 0.360s;
297-
298252
font-size: 16px;
299253
}
300254

301255

302256

303-
.has-sub .arrowdown{
304-
257+
.has-sub .d-arrow.d-down{
305258
transform: rotateZ(180deg);
306-
307259
-webkit-transform: rotateZ(180deg);
308-
309260
-moz-transform: rotateZ(180deg);
310-
311261
transition: 0.360s;
312-
313262
-webkit-transition: 0.360s;
314-
315263
-moz-transition: 0.360s;
316264

317265
}
@@ -371,7 +319,7 @@ html{
371319

372320
.dim-overlay:before {
373321
content: "";
374-
background-color: rgba(0, 0, 10, .4);
322+
background-color: rgba(0, 0, 0, .4);
375323
height: 100vh;
376324
left: 0;
377325
position: fixed;

0 commit comments

Comments
 (0)