1 |
616 |
ahitrov |
@charset "UTF-8"; |
2 |
|
|
/*! |
3 |
|
|
* jQuery contextMenu - Plugin for simple contextMenu handling |
4 |
|
|
* |
5 |
|
|
* Version: v2.3.1-dev |
6 |
|
|
* |
7 |
|
|
* Authors: Björn Brala (SWIS.nl), Rodney Rehm, Addy Osmani (patches for FF) |
8 |
|
|
* Web: http://swisnl.github.io/jQuery-contextMenu/ |
9 |
|
|
* |
10 |
|
|
* Copyright (c) 2011-2016 SWIS BV and contributors |
11 |
|
|
* |
12 |
|
|
* Licensed under |
13 |
|
|
* MIT License http://www.opensource.org/licenses/mit-license |
14 |
|
|
* |
15 |
|
|
* Date: 2016-10-25T19:12:34.206Z |
16 |
|
|
*/ |
17 |
|
|
@-webkit-keyframes cm-spin { |
18 |
|
|
0% { |
19 |
|
|
-webkit-transform: translateY(-50%) rotate(0deg); |
20 |
|
|
transform: translateY(-50%) rotate(0deg); |
21 |
|
|
} |
22 |
|
|
100% { |
23 |
|
|
-webkit-transform: translateY(-50%) rotate(359deg); |
24 |
|
|
transform: translateY(-50%) rotate(359deg); |
25 |
|
|
} |
26 |
|
|
} |
27 |
|
|
@-o-keyframes cm-spin { |
28 |
|
|
0% { |
29 |
|
|
-webkit-transform: translateY(-50%) rotate(0deg); |
30 |
|
|
-o-transform: translateY(-50%) rotate(0deg); |
31 |
|
|
transform: translateY(-50%) rotate(0deg); |
32 |
|
|
} |
33 |
|
|
100% { |
34 |
|
|
-webkit-transform: translateY(-50%) rotate(359deg); |
35 |
|
|
-o-transform: translateY(-50%) rotate(359deg); |
36 |
|
|
transform: translateY(-50%) rotate(359deg); |
37 |
|
|
} |
38 |
|
|
} |
39 |
|
|
@keyframes cm-spin { |
40 |
|
|
0% { |
41 |
|
|
-webkit-transform: translateY(-50%) rotate(0deg); |
42 |
|
|
-o-transform: translateY(-50%) rotate(0deg); |
43 |
|
|
transform: translateY(-50%) rotate(0deg); |
44 |
|
|
} |
45 |
|
|
100% { |
46 |
|
|
-webkit-transform: translateY(-50%) rotate(359deg); |
47 |
|
|
-o-transform: translateY(-50%) rotate(359deg); |
48 |
|
|
transform: translateY(-50%) rotate(359deg); |
49 |
|
|
} |
50 |
|
|
} |
51 |
|
|
|
52 |
|
|
@font-face { |
53 |
|
|
font-family: "context-menu-icons"; |
54 |
|
|
font-style: normal; |
55 |
|
|
font-weight: normal; |
56 |
|
|
|
57 |
|
|
src: url("font/context-menu-icons.eot?23gdc"); |
58 |
|
|
src: url("font/context-menu-icons.eot?23gdc#iefix") format("embedded-opentype"), url("font/context-menu-icons.woff2?23gdc") format("woff2"), url("font/context-menu-icons.woff?23gdc") format("woff"), url("font/context-menu-icons.ttf?23gdc") format("truetype"); |
59 |
|
|
} |
60 |
|
|
|
61 |
|
|
.context-menu-icon-0:before { |
62 |
|
|
content: "\2718"; |
63 |
|
|
} |
64 |
|
|
.context-menu-icon-1:before { |
65 |
|
|
content: "\2776"; |
66 |
|
|
} |
67 |
|
|
.context-menu-icon-2:before { |
68 |
|
|
content: "\2777"; |
69 |
|
|
} |
70 |
|
|
.context-menu-icon-3:before { |
71 |
|
|
content: "\2778"; |
72 |
|
|
} |
73 |
|
|
.context-menu-icon-4:before { |
74 |
|
|
content: "\2779"; |
75 |
|
|
} |
76 |
|
|
.context-menu-icon-5:before { |
77 |
|
|
content: "\277A"; |
78 |
|
|
} |
79 |
|
|
.context-menu-icon-6:before { |
80 |
|
|
content: "\277B"; |
81 |
|
|
} |
82 |
|
|
.context-menu-icon-7:before { |
83 |
|
|
content: "\277C"; |
84 |
|
|
} |
85 |
|
|
.context-menu-icon-8:before { |
86 |
|
|
content: "\277D"; |
87 |
|
|
} |
88 |
|
|
.context-menu-icon-9:before { |
89 |
|
|
content: "\277E"; |
90 |
|
|
} |
91 |
|
|
.context-menu-icon-10:before { |
92 |
|
|
content: "\277F"; |
93 |
|
|
} |
94 |
|
|
|
95 |
|
|
.context-menu-icon-add:before { |
96 |
|
|
content: "\EA01"; |
97 |
|
|
} |
98 |
|
|
|
99 |
|
|
.context-menu-icon-copy:before { |
100 |
|
|
content: "\EA02"; |
101 |
|
|
} |
102 |
|
|
|
103 |
|
|
.context-menu-icon-cut:before { |
104 |
|
|
content: "\EA03"; |
105 |
|
|
} |
106 |
|
|
|
107 |
|
|
.context-menu-icon-delete:before { |
108 |
|
|
content: "\EA04"; |
109 |
|
|
} |
110 |
|
|
|
111 |
|
|
.context-menu-icon-edit:before { |
112 |
|
|
content: "\EA05"; |
113 |
|
|
} |
114 |
|
|
|
115 |
|
|
.context-menu-icon-loading:before { |
116 |
|
|
content: "\EA06"; |
117 |
|
|
} |
118 |
|
|
|
119 |
|
|
.context-menu-icon-paste:before { |
120 |
|
|
content: "\EA07"; |
121 |
|
|
} |
122 |
|
|
|
123 |
|
|
.context-menu-icon-quit:before { |
124 |
|
|
content: "\EA08"; |
125 |
|
|
} |
126 |
|
|
|
127 |
|
|
.context-menu-icon::before { |
128 |
|
|
position: absolute; |
129 |
|
|
top: 50%; |
130 |
|
|
left: 0; |
131 |
|
|
width: 2em; |
132 |
|
|
font-family: "context-menu-icons"; |
133 |
617 |
ahitrov |
font-size: 0.9em; |
134 |
616 |
ahitrov |
font-style: normal; |
135 |
|
|
font-weight: normal; |
136 |
|
|
line-height: 1; |
137 |
|
|
color: #2980b9; |
138 |
|
|
text-align: center; |
139 |
|
|
-webkit-transform: translateY(-50%); |
140 |
|
|
-ms-transform: translateY(-50%); |
141 |
|
|
-o-transform: translateY(-50%); |
142 |
|
|
transform: translateY(-50%); |
143 |
|
|
|
144 |
|
|
-webkit-font-smoothing: antialiased; |
145 |
|
|
-moz-osx-font-smoothing: grayscale; |
146 |
|
|
} |
147 |
|
|
|
148 |
|
|
.context-menu-icon.context-menu-hover:before { |
149 |
|
|
color: #fff; |
150 |
|
|
} |
151 |
|
|
|
152 |
|
|
.context-menu-icon.context-menu-disabled::before { |
153 |
|
|
color: #bbb; |
154 |
|
|
} |
155 |
|
|
|
156 |
|
|
.context-menu-icon.context-menu-icon-loading:before { |
157 |
|
|
-webkit-animation: cm-spin 2s infinite; |
158 |
|
|
-o-animation: cm-spin 2s infinite; |
159 |
|
|
animation: cm-spin 2s infinite; |
160 |
|
|
} |
161 |
|
|
|
162 |
|
|
.context-menu-icon.context-menu-icon--fa { |
163 |
|
|
display: list-item; |
164 |
|
|
font-family: inherit; |
165 |
|
|
} |
166 |
|
|
.context-menu-icon.context-menu-icon--fa::before { |
167 |
|
|
position: absolute; |
168 |
|
|
top: 50%; |
169 |
|
|
left: 0; |
170 |
|
|
width: 2em; |
171 |
|
|
font-family: FontAwesome; |
172 |
617 |
ahitrov |
font-size: 0.9em; |
173 |
616 |
ahitrov |
font-style: normal; |
174 |
|
|
font-weight: normal; |
175 |
|
|
line-height: 1; |
176 |
|
|
color: #2980b9; |
177 |
|
|
text-align: center; |
178 |
|
|
-webkit-transform: translateY(-50%); |
179 |
|
|
-ms-transform: translateY(-50%); |
180 |
|
|
-o-transform: translateY(-50%); |
181 |
|
|
transform: translateY(-50%); |
182 |
|
|
|
183 |
|
|
-webkit-font-smoothing: antialiased; |
184 |
|
|
-moz-osx-font-smoothing: grayscale; |
185 |
|
|
} |
186 |
|
|
.context-menu-icon.context-menu-icon--fa.context-menu-hover:before { |
187 |
|
|
color: #fff; |
188 |
|
|
} |
189 |
|
|
.context-menu-icon.context-menu-icon--fa.context-menu-disabled::before { |
190 |
|
|
color: #bbb; |
191 |
|
|
} |
192 |
|
|
|
193 |
|
|
.context-menu-list { |
194 |
|
|
position: absolute; |
195 |
|
|
display: inline-block; |
196 |
|
|
min-width: 13em; |
197 |
|
|
max-width: 26em; |
198 |
|
|
padding: .25em 0; |
199 |
|
|
margin: .3em; |
200 |
|
|
font-family: inherit; |
201 |
617 |
ahitrov |
font-size: 0.8em; |
202 |
616 |
ahitrov |
list-style-type: none; |
203 |
|
|
background: #fff; |
204 |
|
|
border: 1px solid #bebebe; |
205 |
|
|
border-radius: .2em; |
206 |
|
|
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .5); |
207 |
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, .5); |
208 |
|
|
} |
209 |
|
|
|
210 |
|
|
.context-menu-item { |
211 |
|
|
position: relative; |
212 |
|
|
padding: .2em 2em; |
213 |
|
|
color: #2f2f2f; |
214 |
|
|
-webkit-user-select: none; |
215 |
|
|
-moz-user-select: none; |
216 |
|
|
-ms-user-select: none; |
217 |
|
|
user-select: none; |
218 |
|
|
background-color: #fff; |
219 |
|
|
} |
220 |
|
|
|
221 |
|
|
.context-menu-separator { |
222 |
|
|
padding: 0; |
223 |
|
|
margin: .35em 0; |
224 |
|
|
border-bottom: 1px solid #e6e6e6; |
225 |
|
|
} |
226 |
|
|
|
227 |
|
|
.context-menu-item > label > input, |
228 |
|
|
.context-menu-item > label > textarea { |
229 |
|
|
-webkit-user-select: text; |
230 |
|
|
-moz-user-select: text; |
231 |
|
|
-ms-user-select: text; |
232 |
|
|
user-select: text; |
233 |
|
|
} |
234 |
|
|
|
235 |
|
|
.context-menu-item.context-menu-hover { |
236 |
|
|
color: #fff; |
237 |
|
|
cursor: pointer; |
238 |
|
|
background-color: #2980b9; |
239 |
|
|
} |
240 |
|
|
|
241 |
|
|
.context-menu-item.context-menu-disabled { |
242 |
|
|
color: #bbb; |
243 |
|
|
cursor: default; |
244 |
|
|
background-color: #fff; |
245 |
|
|
} |
246 |
|
|
|
247 |
|
|
.context-menu-input.context-menu-hover { |
248 |
|
|
cursor: default; |
249 |
|
|
} |
250 |
|
|
|
251 |
|
|
.context-menu-submenu:after { |
252 |
|
|
position: absolute; |
253 |
|
|
top: 50%; |
254 |
|
|
right: .5em; |
255 |
|
|
z-index: 1; |
256 |
|
|
width: 0; |
257 |
|
|
height: 0; |
258 |
|
|
content: ''; |
259 |
|
|
border-color: transparent transparent transparent #2f2f2f; |
260 |
|
|
border-style: solid; |
261 |
|
|
border-width: .25em 0 .25em .25em; |
262 |
|
|
-webkit-transform: translateY(-50%); |
263 |
|
|
-ms-transform: translateY(-50%); |
264 |
|
|
-o-transform: translateY(-50%); |
265 |
|
|
transform: translateY(-50%); |
266 |
|
|
} |
267 |
|
|
|
268 |
|
|
/** |
269 |
|
|
* Inputs |
270 |
|
|
*/ |
271 |
|
|
.context-menu-item.context-menu-input { |
272 |
|
|
padding: .3em .6em; |
273 |
|
|
} |
274 |
|
|
|
275 |
|
|
/* vertically align inside labels */ |
276 |
|
|
.context-menu-input > label > * { |
277 |
|
|
vertical-align: top; |
278 |
|
|
} |
279 |
|
|
|
280 |
|
|
/* position checkboxes and radios as icons */ |
281 |
|
|
.context-menu-input > label > input[type="checkbox"], |
282 |
|
|
.context-menu-input > label > input[type="radio"] { |
283 |
|
|
position: relative; |
284 |
|
|
top: .12em; |
285 |
|
|
margin-right: .4em; |
286 |
|
|
} |
287 |
|
|
|
288 |
|
|
.context-menu-input > label { |
289 |
|
|
margin: 0; |
290 |
|
|
} |
291 |
|
|
|
292 |
|
|
.context-menu-input > label, |
293 |
|
|
.context-menu-input > label > input[type="text"], |
294 |
|
|
.context-menu-input > label > textarea, |
295 |
|
|
.context-menu-input > label > select { |
296 |
|
|
display: block; |
297 |
|
|
width: 100%; |
298 |
|
|
-webkit-box-sizing: border-box; |
299 |
|
|
-moz-box-sizing: border-box; |
300 |
|
|
box-sizing: border-box; |
301 |
|
|
} |
302 |
|
|
|
303 |
|
|
.context-menu-input > label > textarea { |
304 |
|
|
height: 7em; |
305 |
|
|
} |
306 |
|
|
|
307 |
|
|
.context-menu-item > .context-menu-list { |
308 |
|
|
top: .3em; |
309 |
|
|
/* re-positioned by js */ |
310 |
|
|
right: -.3em; |
311 |
|
|
display: none; |
312 |
|
|
} |
313 |
|
|
|
314 |
|
|
.context-menu-item.context-menu-visible > .context-menu-list { |
315 |
|
|
display: block; |
316 |
|
|
} |
317 |
|
|
|
318 |
|
|
.context-menu-accesskey { |
319 |
|
|
text-decoration: underline; |
320 |
|
|
} |