This repository has been archived by the owner on Jun 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpgwmenu.css
158 lines (133 loc) · 3.22 KB
/
pgwmenu.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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
/**
* PgwMenu - Version 2.0
*
* Copyright 2014, Jonathan M. Piat
* http://pgwjs.com - http://pagawa.com
*
* Released under the GNU GPLv3 license - http://opensource.org/licenses/gpl-3.0
*/
.pgwMenu {
background: #333;
height: 40px;
position: relative;
list-style: none;
}
.pgwMenu.light {
background: #ddd;
}
.pgwMenu ul {
list-style: none;
white-space: nowrap;
margin: 0;
padding: 0;
}
.pgwMenu .pm-links.mobile,
.pgwMenu .pm-viewMore > ul {
background: #333;
box-shadow: 2px 2px 4px #777;
position: absolute;
left: 0;
top: 100%;
z-index: 1000;
}
.pgwMenu.light .pm-links.mobile {
background: #ddd;
}
.pgwMenu .pm-links.mobile li,
.pgwMenu .pm-viewMore > ul > li {
display: block;
clear: both;
width: 175px;
}
.pgwMenu li {
float: left;
font-size: 0.9rem;
}
.pgwMenu a{
display: block;
color: #fff;
line-height: 40px;
padding: 0 12px;
text-decoration: none;
}
.pgwMenu.light a {
color: #000;
}
.pgwMenu a.selected {
background: #777;
}
.pgwMenu.light a.selected {
background: #c5c5c5;
}
.pgwMenu li a:hover{
background: #666;
text-decoration: none;
}
.pgwMenu.light li a:hover{
background: #d0d0d0;
}
.pgwMenu .pm-dropDown,
.pgwMenu .pm-viewMore,
.pgwMenu .pm-viewMore > ul {
display: none;
}
.pgwMenu .pm-dropDown a {
display: inline-block;
background: #777;
}
.pgwMenu .pm-dropDown a.active,
.pgwMenu .pm-viewMore a.active {
background: #666;
}
.pgwMenu.light .pm-dropDown a {
background: #c5c5c5;
}
.pgwMenu.light .pm-dropDown a.active {
background: #bbb;
}
.pgwMenu .pm-dropDown span.icon,
.pgwMenu .pm-dropDown span.white {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwQAADsEBuJFr7QAAABZ0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMDvo9WkAAABKSURBVEhL7ZOxDQAwCMN6O4/T0tmjsxHJDB4yROJ0dz3s1BRHEi2OTREBpQFKA5QGKA3m7IP8RKeIgNIApQFKA5QGc/ZBfkJTdF0oUafLBAFNbAAAAABJRU5ErkJggg==) no-repeat;
display: block;
height: 22px;
width: 22px;
margin: 9px 5px;
}
.pgwMenu.light .pm-dropDown span.icon,
.pgwMenu .pm-dropDown span.black {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOvgAADr4B6kKxwAAAABZ0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMDvo9WkAAABpSURBVEhL7ZPLCcAwDEM9jefI/ks1Hyj2QbiGSLcKHggl8sEktjTc/WGyZxo6YKAbrFzFoav3/hdhmsrlijBN5XJFmKZyuSJMU7lcsfV/kIN0FRJgyACGDGDIAIYMpK8CHt6iG6xZhY0JIJ+6AHGbUFsAAAAASUVORK5CYII=) no-repeat;
display: block;
height: 22px;
width: 22px;
margin: 9px 5px;
}
.pgwMenu .pm-viewMore {
display: none;
position: relative;
}
.pgwMenu .pm-viewMore > a {
display: inline-block;
}
.pgwMenu .pm-viewMore > ul {
left: auto;
right: 0;
}
.pgwMenu .pm-viewMore li {
float: none;
}
.pgwMenu .pm-viewMore span.icon,
.pgwMenu .pm-viewMore span.white {
border-color: #fff transparent;
border-style: solid;
border-width: 8px 6px 0;
margin-left: 3px;
display: inline-block;
}
.pgwMenu.light .pm-viewMore span.icon,
.pgwMenu .pm-viewMore span.black {
border-color: #000 transparent;
border-style: solid;
border-width: 8px 6px 0;
margin-left: 3px;
display: inline-block;
}