forked from tessalt/dropdowns
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdropdowns-skin-modern.css
98 lines (81 loc) · 1.44 KB
/
dropdowns-skin-modern.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
/* fonts */
.dropdowns {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size:16px;
background-color: #000;
position:fixed;
top:0;
left:0;
right:0;
}
/* colors */
/* ------ */
/* togle menu button for narrow screens */
.toggleMenu {
background: #666;
color: #fff;
}
/* general navigation background colors */
.nav {
background: #000;
float:right;
}
/* general navigation link font color */
.nav a {
background-color: #000;
color:#ccc;
}
/* first level items borders */
.nav > li {
}
.dropdowns-header, .dropdowns-header a {
color: #eee;
background-color: #000;
}
/* navigation hover colors */
.nav a:hover {
background-color: #999;
}
/* second level navigation colors */
.nav li li a {
background: #777;
}
/* third level navigation colors */
.nav li li li a {
background:#777;
}
/* ---------------- */
/* layout */
/* -----------------*/
/* main div */
.dropdowns {
width:auto;
}
/* small screens menu button */
a.toggleMenu {
padding: 10px 0;
width:100%;
text-align: center;
}
/* second and third level menus */
.nav ul {
width:9em;
}
/* general paddings and other stuff */
.nav a, .dropdowns-header {
padding: 15px 15px;
}
/* parents that have submenus */
.nav > li > .parent {
padding-right: 25px;
background-position: 90% 50%;
}
/* small screen adjustments*/
@media screen and (max-width: 768px) {
.nav ul {
width: 100%;
}
.dropdowns-header, .nav {
float: none;
}
}