PluginProbe
Bubble Menu – Floating Button Menu with Sticky Navigation / 1.3
Bubble Menu – Floating Button Menu with Sticky Navigation v1.3
trunk 1.3 2.0 2.2 2.2.1 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 4.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.1 4.1.1
bubble-menu / public / css / style.css

style.css in Bubble Menu – Floating Button Menu with Sticky Navigation 1.3, at public/css/style.css

473 lines 8.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**/
2 /* reset */
3 /**/
4 .wow-bmp, .wow-bmp * {
5 list-style: none;
6 margin: 0;
7 padding: 0;
8 border: 0;
9 outline: none;
10 text-decoration: none;
11 }
12
13
14 /**/
15 /* basic styles */
16 /**/
17 .wow-bmp {
18 position: fixed;
19 z-index: 1000;
20 width: 48px;
21 height: 48px;
22 font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
23 }
24 .wow-bmp input {
25 position: absolute;
26 z-index: 3;
27 top: 0;
28 left: 0;
29 display: block;
30 width: 100%;
31 height: 100%;
32 cursor: pointer;
33 opacity: 0;
34 }
35 .wow-bmp a {
36 position: relative;
37 z-index: 2;
38 display: block;
39 width: 100%;
40 height: 100%;
41 border-radius: 50%;
42 background: #fff;
43 box-shadow: 0 0 8px rgba(0,0,0,0.5);
44 transition: background 0.5s;
45 -o-transition: background 0.5s;
46 -ms-transition: background 0.5s;
47 -moz-transition: background 0.5s;
48 -webkit-transition: background 0.5s;
49 }
50 .wow-bmp i {
51 display: block;
52 width: 100%;
53 height: 100%;
54 overflow: hidden;
55 font-size: 30px;
56 line-height: 48px;
57 text-align: center;
58 transition: color 0.5s;
59 -o-transition: color 0.5s;
60 -ms-transition: color 0.5s;
61 -moz-transition: color 0.5s;
62 -webkit-transition: color 0.5s, -webkit-transform 0.5s;
63 }
64 .wow-bmp .icon-plus {
65 line-height: 50px;
66 }
67 .wow-bmp li {
68 position: absolute;
69 top: 50%;
70 left: 50%;
71 display: block;
72 width: 38px;
73 height: 38px;
74 margin: -19px 0 0 -19px;
75 transition: all 0.5s;
76 -o-transition: all 0.5s;
77 -ms-transition: all 0.5s;
78 -moz-transition: all 0.5s;
79 -webkit-transition: all 0.5s;
80 }
81 .wow-bmp li a {
82 position: static;
83 box-shadow: 0 0 6px rgba(0,0,0,0.5);
84 }
85 .wow-bmp li i {
86 font-size: 20px;
87 line-height: 38px;
88 }
89 .wow-bmp input:checked + a i {
90 transform: rotate(360deg);
91 -o-transform: rotate(360deg);
92 -ms-transform: rotate(360deg);
93 -moz-transform: rotate(360deg);
94 -webkit-transform: rotate(360deg);
95 }
96 .wow-bmp input:checked + a .icon-plus {
97 transform: rotate(315deg);
98 -o-transform: rotate(315deg);
99 -ms-transform: rotate(315deg);
100 -moz-transform: rotate(315deg);
101 -webkit-transform: rotate(315deg);
102 }
103
104
105 /**/
106 /* animations */
107 /**/
108 .wow-bmp li:nth-child(2) {
109 -webkit-transition-delay: 0.1s;
110 }
111 .wow-bmp li:nth-child(3) {
112 -webkit-transition-delay: 0.2s;
113 }
114 .wow-bmp li:nth-child(4) {
115 -webkit-transition-delay: 0.3s;
116 }
117 .wow-bmp li:nth-child(5) {
118 -webkit-transition-delay: 0.4s;
119 }
120
121
122 /**/
123 /* postions */
124 /**/
125 .wow-bmp-pos-tl {
126 top: 20px;
127 left: 20px;
128 }
129 .wow-bmp-pos-tl input:checked ~ ul li:nth-child(1) {
130 left: 350%;
131 }
132 .wow-bmp-pos-tl input:checked ~ ul li:nth-child(2) {
133 top: 165.625%;
134 left: 328.125%;
135 }
136 .wow-bmp-pos-tl input:checked ~ ul li:nth-child(3) {
137 top: 262.5%;
138 left: 262.5%;
139 }
140 .wow-bmp-pos-tl input:checked ~ ul li:nth-child(4) {
141 top: 328.125%;
142 left: 165.625%;
143 }
144 .wow-bmp-pos-tl input:checked ~ ul li:nth-child(5) {
145 top: 350%;
146 left: 50%;
147 }
148
149
150 .wow-bmp-pos-tr {
151 top: 20px;
152 right: 20px;
153 }
154 .wow-bmp-pos-tr input:checked ~ ul li:nth-child(1) {
155 top: 350%;
156 left: 50%;
157 }
158 .wow-bmp-pos-tr input:checked ~ ul li:nth-child(2) {
159 top: 328.125%;
160 left: -65.625%;
161 }
162 .wow-bmp-pos-tr input:checked ~ ul li:nth-child(3) {
163 top: 262.5%;
164 left: -162.5%;
165 }
166 .wow-bmp-pos-tr input:checked ~ ul li:nth-child(4) {
167 top: 165.625%;
168 left: -228.125%;
169 }
170 .wow-bmp-pos-tr input:checked ~ ul li:nth-child(5) {
171 left: -250%;
172 }
173
174
175
176 .wow-bmp-pos-br {
177 right: 20px;
178 bottom: 20px;
179 }
180 .wow-bmp-pos-br input:checked ~ ul li:nth-child(1) {
181 left: -250%;
182 }
183 .wow-bmp-pos-br input:checked ~ ul li:nth-child(2) {
184 top: -65.625%;
185 left: -228.125%;
186 }
187 .wow-bmp-pos-br input:checked ~ ul li:nth-child(3) {
188 top: -162.5%;
189 left: -162.5%;
190 }
191 .wow-bmp-pos-br input:checked ~ ul li:nth-child(4) {
192 top: -228.125%;
193 left: -65.625%;
194 }
195 .wow-bmp-pos-br input:checked ~ ul li:nth-child(5) {
196 top: -250%;
197 left: 50%;
198 }
199
200
201
202 .wow-bmp-pos-bl {
203 bottom: 20px;
204 left: 20px;
205 }
206 .wow-bmp-pos-bl input:checked ~ ul li:nth-child(1) {
207 top: -250%;
208 left: 50%;
209 }
210 .wow-bmp-pos-bl input:checked ~ ul li:nth-child(2) {
211 top: -228.125%;
212 left: 165.625%;
213 }
214 .wow-bmp-pos-bl input:checked ~ ul li:nth-child(3) {
215 top: -162.5%;
216 left: 262.5%;
217 }
218 .wow-bmp-pos-bl input:checked ~ ul li:nth-child(4) {
219 top: -65.625%;
220 left: 328.125%;
221 }
222 .wow-bmp-pos-bl input:checked ~ ul li:nth-child(5) {
223 left: 350%;
224 }
225
226
227
228
229
230 /**/
231 /* tooltips */
232 /**/
233 .wow-bmp em {
234 position: absolute;
235 top: -9999px;
236 left: -9999px;
237 padding: 4px 8px;
238 border-radius: 3px;
239 background: rgba(0,0,0,0.8);
240 font-style: normal;
241 font-size: 11px;
242 line-height: 13px;
243 white-space: nowrap;
244 color: #fff;
245 opacity: 0;
246 transition: opacity 0.5s;
247 -o-transition: opacity 0.5s;
248 -ms-transition: opacity 0.5s;
249 -moz-transition: opacity 0.5s;
250 -webkit-transition: opacity 0.5s;
251 }
252 .wow-bmp li:hover em {
253 opacity: 1;
254 }
255
256 .wow-bmp li:hover .tl {
257 top: auto;
258 right: 100%;
259 bottom: 100%;
260 left: auto;
261 }
262 .wow-bmp li:hover .tr {
263 top: auto;
264 bottom: 100%;
265 left: 100%;
266 }
267 .wow-bmp li:hover .r {
268 top: 50%;
269 left: 100%;
270 margin-top: -11px;
271 margin-left: 7px;
272 }
273 .wow-bmp li:hover .br {
274 top: 100%;
275 left: 100%;
276 }
277 .wow-bmp li:hover .bl {
278 top: 100%;
279 right: 100%;
280 left: auto;
281 }
282 .wow-bmp li:hover .l {
283 top: 50%;
284 right: 100%;
285 left: auto;
286 margin-top: -11px;
287 margin-right: 7px;
288 }
289
290
291
292 /*----------------------------------------------------------------------------*/
293 /* COLORS */
294 /*----------------------------------------------------------------------------*/
295
296 /**/
297 /* white */
298 /**/
299 .wow-bmp i.color-white,
300 .wow-bmp i.hcolor-white:hover,
301 .wow-bmp input:hover + a i.hcolor-white {
302 color: #ffffff;
303 }
304 .wow-bmp a.color-white,
305 .wow-bmp a.hcolor-white:hover,
306 .wow-bmp input:hover + a.hcolor-white {
307 background: #ffffff;
308 }
309
310
311 /**/
312 /* grey */
313 /**/
314 .wow-bmp i.color-grey,
315 .wow-bmp i.hcolor-grey:hover,
316 .wow-bmp input:hover + a i.hcolor-grey {
317 color: #808080;
318 }
319 .wow-bmp a.color-grey,
320 .wow-bmp a.hcolor-grey:hover,
321 .wow-bmp input:hover + a.hcolor-grey {
322 background: #808080;
323 }
324
325
326 /**/
327 /* black */
328 /**/
329 .wow-bmp i.color-black,
330 .wow-bmp i.hcolor-black:hover,
331 .wow-bmp input:hover + a i.hcolor-black {
332 color: #000000;
333 }
334 .wow-bmp a.color-black,
335 .wow-bmp a.hcolor-black:hover,
336 .wow-bmp input:hover + a.hcolor-black {
337 background: #000000;
338 }
339
340
341 /**/
342 /* red */
343 /**/
344 .wow-bmp i.color-red,
345 .wow-bmp i.hcolor-red:hover,
346 .wow-bmp input:hover + a i.hcolor-red {
347 color: #e3001b;
348 }
349 .wow-bmp a.color-red,
350 .wow-bmp a.hcolor-red:hover,
351 .wow-bmp input:hover + a.hcolor-red {
352 background: #e3001b;
353 }
354
355
356 /**/
357 /* orange */
358 /**/
359 .wow-bmp i.color-orange,
360 .wow-bmp i.hcolor-orange:hover,
361 .wow-bmp input:hover + a i.hcolor-orange {
362 color: #f60;
363 }
364 .wow-bmp a.color-orange,
365 .wow-bmp a.hcolor-orange:hover,
366 .wow-bmp input:hover + a.hcolor-orange {
367 background: #f60;
368 }
369
370
371 /**/
372 /* yellow */
373 /**/
374 .wow-bmp i.color-yellow,
375 .wow-bmp i.hcolor-yellow:hover,
376 .wow-bmp input:hover + a i.hcolor-yellow {
377 color: #ffcc01;
378 }
379 .wow-bmp a.color-yellow,
380 .wow-bmp a.hcolor-yellow:hover,
381 .wow-bmp input:hover + a.hcolor-yellow {
382 background: #ffcc01;
383 }
384
385
386 /**/
387 /* lime */
388 /**/
389 .wow-bmp i.color-lime,
390 .wow-bmp i.hcolor-lime:hover,
391 .wow-bmp input:hover + a i.hcolor-lime {
392 color: #b1c903;
393 }
394 .wow-bmp a.color-lime,
395 .wow-bmp a.hcolor-lime:hover,
396 .wow-bmp input:hover + a.hcolor-lime {
397 background: #b1c903;
398 }
399
400
401 /**/
402 /* green */
403 /**/
404 .wow-bmp i.color-green,
405 .wow-bmp i.hcolor-green:hover,
406 .wow-bmp input:hover + a i.hcolor-green {
407 color: #27a22d;
408 }
409 .wow-bmp a.color-green,
410 .wow-bmp a.hcolor-green:hover,
411 .wow-bmp input:hover + a.hcolor-green {
412 background: #27a22d;
413 }
414
415
416 /**/
417 /* cyan */
418 /**/
419 .wow-bmp i.color-cyan,
420 .wow-bmp i.hcolor-cyan:hover,
421 .wow-bmp input:hover + a i.hcolor-cyan {
422 color: #00b1e5;
423 }
424 .wow-bmp a.color-cyan,
425 .wow-bmp a.hcolor-cyan:hover,
426 .wow-bmp input:hover + a.hcolor-cyan {
427 background: #00b1e5;
428 }
429
430
431 /**/
432 /* blue */
433 /**/
434 .wow-bmp i.color-blue,
435 .wow-bmp i.hcolor-blue:hover,
436 .wow-bmp input:hover + a i.hcolor-blue {
437 color: #006bb3;
438 }
439 .wow-bmp a.color-blue,
440 .wow-bmp a.hcolor-blue:hover,
441 .wow-bmp input:hover + a.hcolor-blue {
442 background: #006bb3;
443 }
444
445
446 /**/
447 /* purple */
448 /**/
449 .wow-bmp i.color-purple,
450 .wow-bmp i.hcolor-purple:hover,
451 .wow-bmp input:hover + a i.hcolor-purple {
452 color: #ad007c;
453 }
454 .wow-bmp a.color-purple,
455 .wow-bmp a.hcolor-purple:hover,
456 .wow-bmp input:hover + a.hcolor-purple {
457 background: #ad007c;
458 }
459
460
461 /**/
462 /* pink */
463 /**/
464 .wow-bmp i.color-pink,
465 .wow-bmp i.hcolor-pink:hover,
466 .wow-bmp input:hover + a i.hcolor-pink {
467 color: #ea4c89;
468 }
469 .wow-bmp a.color-pink,
470 .wow-bmp a.hcolor-pink:hover,
471 .wow-bmp input:hover + a.hcolor-pink {
472 background: #ea4c89;
473 }