Skip to content

Commit 151431b

Browse files
authored
Update jside-menu.css
1 parent 670dcb3 commit 151431b

File tree

1 file changed

+74
-35
lines changed

1 file changed

+74
-35
lines changed

css/jside-menu.css

Lines changed: 74 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,10 @@ body{
7676
}
7777

7878
.menu-trigger:before{
79-
font-family: 'Material-Design-Iconic-Font';
80-
content: '\f197';
79+
font-family: 'Material-Design-Iconic-Font';
80+
81+
content: '\f197';
82+
8183
font-size: 22pt;
8284

8385
}
@@ -168,7 +170,12 @@ body{
168170
margin: 0;
169171
cursor: pointer;
170172
user-select: none;
173+
-webkit-user-select: none;
174+
}
175+
.dropdown-heading{
176+
-webkit-tap-highlight-color: transparent;
171177
}
178+
172179
.dropdown-heading:hover,
173180
.menu-items li a:hover{
174181
background: var(--skin-hover);
@@ -212,51 +219,83 @@ body{
212219
}
213220

214221
/* Dropdowns */
215-
.has-sub ul{
216-
list-style: none;
217-
overflow: hidden;
218-
height: 0px;
219-
transition: .360s;
222+
.has-sub ul{
223+
224+
list-style: none;
225+
226+
overflow: hidden;
227+
228+
height: 0px;
229+
230+
transition: .360s;
231+
220232
background: #f2f9f9;
221-
}
222-
223-
.has-sub ul li a{
224-
display: block;
225-
padding: 12px 33px;
226-
border-bottom: 0;
233+
}
234+
235+
236+
237+
.has-sub ul li a{
238+
239+
display: block;
240+
241+
padding: 12px 33px;
242+
243+
border-bottom: 0;
244+
227245
font-size: 13px;
228246
color: #444;
229247
transition: .1s;
230248
-webkit-transition: .1s;
231249
border-bottom: 1px dotted #e1e1e1;
232-
}
250+
}
251+
233252
.has-sub ul li a:hover{
234253
background: #dedede;
235254
transition: .1s;
236255
-webkit-transition: .1s;
237256
}
238257

239-
.has-sub span{
240-
display: block;
241-
box-sizing: border-box;
242-
243-
}
244-
245-
.has-sub i.arrow{
246-
float: right;
247-
margin-right: 10px;
248-
transition: 0.360s;
258+
.has-sub span{
259+
260+
display: block;
261+
262+
box-sizing: border-box;
263+
264+
265+
266+
}
267+
268+
269+
270+
.has-sub i.arrow{
271+
272+
float: right;
273+
274+
margin-right: 10px;
275+
276+
transition: 0.360s;
277+
249278
font-size: 16px;
250-
}
251-
252-
.has-sub .arrowdown{
253-
transform: rotateZ(180deg);
254-
-webkit-transform: rotateZ(180deg);
255-
-moz-transform: rotateZ(180deg);
256-
transition: 0.360s;
257-
-webkit-transition: 0.360s;
258-
-moz-transition: 0.360s;
259-
}
279+
}
280+
281+
282+
283+
.has-sub .arrowdown{
284+
285+
transform: rotateZ(180deg);
286+
287+
-webkit-transform: rotateZ(180deg);
288+
289+
-moz-transform: rotateZ(180deg);
290+
291+
transition: 0.360s;
292+
293+
-webkit-transition: 0.360s;
294+
295+
-moz-transition: 0.360s;
296+
297+
}
298+
260299
.col{
261300
display: table;
262301

@@ -340,4 +379,4 @@ body{
340379
}
341380
.logo a:hover{
342381
color: var(--skin-hover);
343-
}
382+
}

0 commit comments

Comments
 (0)