root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / _overlays.scss @ 770ad9fa
History | View | Annotate | Download (19.2 kB)
1 |
/* |
---|---|
2 |
|
3 |
Overlays (Todo: clean up) |
4 |
|
5 |
*/ |
6 |
// body.with-overlay { |
7 |
// background:$secondary-color; |
8 |
// } |
9 |
|
10 |
.reveal-modal { |
11 |
h3 { |
12 |
font-size:1em; |
13 |
} |
14 |
a { |
15 |
color: $secondary-color; |
16 |
&:hover { |
17 |
text-decoration: underline; |
18 |
} |
19 |
&.close-reveal-modal:hover { |
20 |
text-decoration: none; |
21 |
color:$secondary-color; |
22 |
} |
23 |
} |
24 |
} |
25 |
|
26 |
|
27 |
// custom modal with opaque overlay |
28 |
.reveal-custom { |
29 |
position: absolute; |
30 |
top:100px; |
31 |
left:25%; |
32 |
z-index:99; |
33 |
background:yellow; |
34 |
width:50%; |
35 |
display:none; |
36 |
} |
37 |
|
38 |
|
39 |
.overlay-wrapper { |
40 |
position: relative; |
41 |
.overlay-area { |
42 |
display:none; |
43 |
position:absolute; |
44 |
left:0; |
45 |
right:0; |
46 |
top:-$bar-height; |
47 |
width:100%; |
48 |
height:100%; |
49 |
background:$overlay-color; |
50 |
z-index:20; |
51 |
} |
52 |
.close { |
53 |
position: absolute; |
54 |
right:$header-padding-horizontal; |
55 |
top:50px; |
56 |
font-size:30px; |
57 |
color:$primary-color; |
58 |
&:hover, &:focus { |
59 |
color:white; |
60 |
} |
61 |
} |
62 |
.row { |
63 |
.close { |
64 |
position:static; |
65 |
float:right; |
66 |
} |
67 |
} |
68 |
.overlay-div { |
69 |
display: none; |
70 |
z-index:100; |
71 |
position: relative; |
72 |
background:#fff; |
73 |
top:20%; |
74 |
left:25%; |
75 |
width:50%; |
76 |
padding:25px; |
77 |
.buttons { |
78 |
a { |
79 |
margin-right:20px; |
80 |
} |
81 |
} |
82 |
&.upload-widget { |
83 |
background:transparent; |
84 |
padding:45px 0; |
85 |
width:80%; |
86 |
left:10%; |
87 |
border:1px solid white; |
88 |
} |
89 |
&.wizard { |
90 |
background:$overlay-color; |
91 |
padding:0 ; |
92 |
width:100%; |
93 |
top:0; |
94 |
left:0; |
95 |
} |
96 |
} |
97 |
} |
98 |
|
99 |
|
100 |
.overlay { |
101 |
background:$secondary-color; |
102 |
position: relative; |
103 |
// z-index:10; |
104 |
.lt-sidebar { |
105 |
border-right:1px solid #fff; |
106 |
color:#fff; |
107 |
ul { |
108 |
li { |
109 |
list-style:none outside none; |
110 |
|
111 |
a { |
112 |
display: block; |
113 |
color:#fff; |
114 |
span { float:right; display:none;} |
115 |
&:hover, |
116 |
&.current { |
117 |
text-decoration: none; |
118 |
span { |
119 |
display:inline; |
120 |
} |
121 |
} |
122 |
} |
123 |
|
124 |
} |
125 |
} |
126 |
|
127 |
} |
128 |
.lt-sidebar, |
129 |
.main { |
130 |
padding:100px $header-padding-horizontal; |
131 |
position:relative; |
132 |
} |
133 |
.navigation { |
134 |
.rt { |
135 |
float:right; |
136 |
} |
137 |
} |
138 |
.close { |
139 |
position: absolute; |
140 |
right:$header-padding-horizontal; |
141 |
top:50px; |
142 |
@include sprite('../images/info-close.png', 31px, 30px); |
143 |
} |
144 |
.close_char { |
145 |
background: none; |
146 |
text-indent: 0; |
147 |
font-size: 1.8em; /* for the the character e (for d we can put 2em) */ |
148 |
color: white; |
149 |
} |
150 |
} |
151 |
|
152 |
.wizard { |
153 |
position: relative; |
154 |
top:0; |
155 |
color:white; |
156 |
.top { |
157 |
background:$overlay-color-top; |
158 |
height:$bar-height+$bar-submenu-height; |
159 |
position:fixed; |
160 |
left:0; |
161 |
top:$header-height; |
162 |
width:100%; |
163 |
z-index:40; |
164 |
.row { |
165 |
} |
166 |
.numbers { |
167 |
.row { |
168 |
max-width: 100%; |
169 |
padding:0 $header-padding-horizontal |
170 |
|
171 |
} |
172 |
height:$bar-height; |
173 |
line-height:$bar-height; |
174 |
background:$overlay-darker-color; |
175 |
} |
176 |
.sub-menu { |
177 |
display: none; |
178 |
&[data-step="1"] { |
179 |
display: block; |
180 |
} |
181 |
ul { |
182 |
margin:0; |
183 |
padding:0; |
184 |
list-style: none outside none; |
185 |
font-size:emCalc(12px); |
186 |
li { |
187 |
display: inline; |
188 |
margin-right:10px; |
189 |
line-height: $bar-submenu-height; |
190 |
list-style: none outside none; |
191 |
a { |
192 |
color:$black; |
193 |
&:hover, &:focus, &.current { |
194 |
color:white; |
195 |
} |
196 |
&.current { |
197 |
text-decoration: underline; |
198 |
} |
199 |
} |
200 |
} |
201 |
} |
202 |
} |
203 |
.nums { |
204 |
text-align: right; |
205 |
list-style:none outside none; |
206 |
margin:0; |
207 |
height: $bar-height; |
208 |
line-height: $bar-height; |
209 |
font-size:emCalc(9px); |
210 |
padding-right:120px; |
211 |
color:$secondary-color; |
212 |
li { |
213 |
list-style:none outside none; |
214 |
display: inline; |
215 |
p { |
216 |
display: none; |
217 |
position: relative; |
218 |
top: 1px; |
219 |
font-size:12px; |
220 |
margin-left:12px; |
221 |
strong { |
222 |
margin-right:5px; |
223 |
} |
224 |
} |
225 |
em { |
226 |
display: inline-block; |
227 |
border-radius:50%; |
228 |
border:1px solid $secondary-color; |
229 |
width:20px; |
230 |
height:20px; |
231 |
line-height: 18px; |
232 |
margin:0 3px; |
233 |
text-align: center; |
234 |
font-style: normal; |
235 |
} |
236 |
a { |
237 |
color:$secondary-color; |
238 |
display: block; |
239 |
&:hover { |
240 |
cursor: default; |
241 |
} |
242 |
} |
243 |
&.current{ |
244 |
float: left; |
245 |
p { |
246 |
display: inline-block; |
247 |
} |
248 |
em { |
249 |
font-size:12px; |
250 |
width:30px; |
251 |
height:30px; |
252 |
line-height: 27px; |
253 |
border-color:$secondary-color; |
254 |
* { |
255 |
color:$secondary-color; |
256 |
} |
257 |
} |
258 |
} |
259 |
} |
260 |
} |
261 |
} |
262 |
.middle { |
263 |
padding-top:$bar-height+$bar-submenu-height; |
264 |
.step { |
265 |
.dummy-link { |
266 |
position: absolute; |
267 |
top:-250px; |
268 |
left:0; |
269 |
} |
270 |
padding:50px 0 50px; |
271 |
position:relative; |
272 |
width:$row-width; |
273 |
&.step-2 { |
274 |
padding-top:30px; |
275 |
.dropdown { |
276 |
margin-bottom:40px; |
277 |
} |
278 |
} |
279 |
&.step-3 { |
280 |
padding-top: 45px; |
281 |
} |
282 |
.os { |
283 |
li { |
284 |
list-style: none outside none; |
285 |
font-size:emCalc(12px); |
286 |
@extend .clearfix; |
287 |
padding:15px 0; |
288 |
&:hover, |
289 |
&.hover { |
290 |
background:$overlay-darker-color; |
291 |
} |
292 |
&.current { |
293 |
background:white; |
294 |
color:$overlay-color; |
295 |
.name-col { |
296 |
color:$overlay-color; |
297 |
} |
298 |
.btn-col { |
299 |
a { |
300 |
border-color:$overlay-color; |
301 |
color:$overlay-color; |
302 |
&.current { |
303 |
color:white; |
304 |
background:$overlay-color; |
305 |
} |
306 |
} |
307 |
} |
308 |
} |
309 |
.img-col { |
310 |
float:left; |
311 |
width:50px; |
312 |
line-height: $btn-height; |
313 |
} |
314 |
.name-col { |
315 |
float: left; |
316 |
color: $wizard-base-font-color; |
317 |
width:71%; |
318 |
padding-right:10px; |
319 |
line-height: $btn-height; |
320 |
} |
321 |
.size-col { |
322 |
float:left; |
323 |
width:10%; |
324 |
line-height: $btn-height; |
325 |
} |
326 |
.btn-col { |
327 |
float:right; |
328 |
width:10%; |
329 |
margin-left:10px; |
330 |
a { |
331 |
@extend .btn5; |
332 |
|
333 |
font-size:1em; |
334 |
&.current { |
335 |
color:$overlay-color; |
336 |
} |
337 |
} |
338 |
} |
339 |
.details { |
340 |
display: none; |
341 |
background:darken(white,10%); |
342 |
padding:22px 0; |
343 |
margin:20px 6px -9px; |
344 |
color: $body-font-color; |
345 |
h3 { |
346 |
font-size: 1em; |
347 |
font-weight: normal; |
348 |
margin-bottom:1em; |
349 |
padding-left:50px; |
350 |
} |
351 |
dl { |
352 |
margin:0; |
353 |
padding-left:50px; |
354 |
@extend .clearfix; |
355 |
dt { |
356 |
width: 20%; |
357 |
float:left; |
358 |
color:$black; |
359 |
font-weight:normal; |
360 |
} |
361 |
dd { |
362 |
color:#485057; |
363 |
margin:0 0 5px; |
364 |
} |
365 |
} |
366 |
} |
367 |
} |
368 |
} |
369 |
.flavor { |
370 |
list-style: none outside none; |
371 |
li { |
372 |
list-style:none outside none; |
373 |
margin-bottom:2.5em; |
374 |
.title { |
375 |
@extend .clearfix; |
376 |
margin-bottom:emCalc(5px); |
377 |
color:white; |
378 |
vertical-align: top; |
379 |
.icon { |
380 |
display: block; |
381 |
width:60px; |
382 |
font-size:emCalc(40px); |
383 |
float: left; |
384 |
} |
385 |
h2 { |
386 |
font-size:emCalc(14px); |
387 |
span { |
388 |
font-weight:normal; |
389 |
} |
390 |
float:left; |
391 |
width: 140px; |
392 |
color:white; |
393 |
margin-right:60px; |
394 |
padding-left:emCalc(10px); |
395 |
&:hover { |
396 |
em { |
397 |
opacity:1; |
398 |
} |
399 |
} |
400 |
em { |
401 |
display: block; |
402 |
margin-top:4px; |
403 |
font-size:11px; |
404 |
color:$black; |
405 |
font-style:normal; |
406 |
font-weight:normal; |
407 |
opacity:0.6; |
408 |
} |
409 |
} |
410 |
p { |
411 |
visibility: hidden; |
412 |
overflow:hidden; |
413 |
min-height:40px; |
414 |
color:$black; |
415 |
font-size:11px; |
416 |
} |
417 |
} |
418 |
.options-bar { |
419 |
@extend .clearfix; |
420 |
.bar { |
421 |
width:200px; |
422 |
float:left; |
423 |
margin-right:60px; |
424 |
height: 20px; |
425 |
position: relative; |
426 |
top:10px; |
427 |
.wrap { |
428 |
border:1px solid white; |
429 |
padding:1px; |
430 |
height: 100%; |
431 |
&.disabled-progress-bar { |
432 |
border-color: #3a4046; |
433 |
.container{ |
434 |
.total { |
435 |
background-color: #3a4046; |
436 |
} |
437 |
} |
438 |
} |
439 |
.container { |
440 |
height: 100%; |
441 |
.total { |
442 |
background:$primary-color; |
443 |
height: 100%; |
444 |
float:left; |
445 |
position: relative; |
446 |
.current { |
447 |
background:white; |
448 |
height: 100%; |
449 |
float:left; |
450 |
} |
451 |
span { |
452 |
position:absolute; |
453 |
right:10px; |
454 |
color:$black; |
455 |
font-size: emCalc(9px); |
456 |
top:2px; |
457 |
} |
458 |
&.low { |
459 |
span { |
460 |
right:-30px; |
461 |
color:white; |
462 |
} |
463 |
} |
464 |
} |
465 |
} |
466 |
|
467 |
} |
468 |
} |
469 |
.options { |
470 |
overflow:hidden; |
471 |
list-style: none outside none; |
472 |
li { |
473 |
list-style: none outside none; |
474 |
display: inline-block; |
475 |
margin-right: 10px; |
476 |
margin-bottom:0; |
477 |
a { |
478 |
@extend .btn5; |
479 |
min-width: 60px; |
480 |
&.current { |
481 |
color:$overlay-color; |
482 |
} |
483 |
} |
484 |
} |
485 |
} |
486 |
} |
487 |
} |
488 |
} |
489 |
.summary { |
490 |
.row { |
491 |
.wrap { |
492 |
max-width: $row-small; |
493 |
border-top:1px solid white; |
494 |
padding-top:2em; |
495 |
margin-top:1em; |
496 |
} |
497 |
&:first-child { |
498 |
.wrap { |
499 |
border-top:0 none; |
500 |
margin-top:0; |
501 |
} |
502 |
dl { |
503 |
dt { |
504 |
font-weight: bold; |
505 |
} |
506 |
} |
507 |
} |
508 |
} |
509 |
h2 { |
510 |
font-size:1em; |
511 |
color:white; |
512 |
} |
513 |
dl { |
514 |
margin-bottom:0; |
515 |
span { |
516 |
width:40px; |
517 |
display: inline-block; |
518 |
font-size:20px; |
519 |
} |
520 |
dt { |
521 |
display: inline-block; |
522 |
width: 42%; |
523 |
vertical-align: top; |
524 |
font-weight:600; |
525 |
} |
526 |
dd { |
527 |
display: inline-block; |
528 |
width:45%; |
529 |
margin-bottom:1em; |
530 |
} |
531 |
} |
532 |
} |
533 |
.advanced-conf-step { |
534 |
color: $wizard-base-font-color; |
535 |
h2 { |
536 |
color: $wizard-base-font-color; |
537 |
font-size: 1em; |
538 |
margin-bottom: 10px; |
539 |
} |
540 |
p { |
541 |
font-size: $wizard-paragraph-font-size; |
542 |
} |
543 |
.snf-checkbox-checked, .snf-checkbox-unchecked { |
544 |
color: $wizard-base-font-color; |
545 |
} |
546 |
.expand-btn { |
547 |
margin: 50px 0 $step-adv-padding; |
548 |
a { |
549 |
color:$wizard-base-font-color; |
550 |
span { |
551 |
padding-left:24px; |
552 |
} |
553 |
} |
554 |
|
555 |
|
556 |
} |
557 |
.adv-main { |
558 |
// padding: 10px 0 30px; |
559 |
// width:$row-small; |
560 |
.vm-name { |
561 |
h2 { |
562 |
color:white; |
563 |
font-size:1em; |
564 |
margin-bottom:0.5em; |
565 |
} |
566 |
|
567 |
} |
568 |
} |
569 |
.btn5 { |
570 |
&:hover { |
571 |
color:white; |
572 |
} |
573 |
&.current, &.current:hover { |
574 |
color:$overlay-color; |
575 |
} |
576 |
} |
577 |
.advanced-conf-options { |
578 |
display: none; |
579 |
.check { |
580 |
font-size: 20px; |
581 |
} |
582 |
.area { |
583 |
padding:$step-adv-padding 0; |
584 |
.row { |
585 |
p{ |
586 |
max-width:340px; |
587 |
margin-bottom: 20px; |
588 |
} |
589 |
} |
590 |
ul { |
591 |
li { |
592 |
position: relative; |
593 |
list-style:none outside none; |
594 |
margin-bottom:7px; |
595 |
&.checkbox { |
596 |
&:hover { |
597 |
cursor: pointer; |
598 |
} |
599 |
} |
600 |
h3 { |
601 |
width: $conf-area-h-width; |
602 |
color:white; |
603 |
font-size:1em; |
604 |
font-weight: normal; |
605 |
margin:0 28px 0 0; |
606 |
display: inline-block; |
607 |
//&.net-name { width: 9.063em } |
608 |
} |
609 |
} |
610 |
} |
611 |
} |
612 |
.ssh-keys-area { |
613 |
background-color: $ssh-opt-area-color; |
614 |
.btn5 { |
615 |
margin-top: 3px; |
616 |
} |
617 |
|
618 |
} |
619 |
.networks-area { |
620 |
background-color: $net-opt-area-color; |
621 |
ul { |
622 |
position: relative; |
623 |
margin-bottom:0; |
624 |
} |
625 |
li { |
626 |
.net-icons { |
627 |
padding-right:30px; |
628 |
display: inline-block; |
629 |
width:145px; |
630 |
text-align: right; |
631 |
font-size:30px; |
632 |
margin-bottom: 0; |
633 |
position: relative; |
634 |
span { |
635 |
position: relative; |
636 |
&.snf-modem { |
637 |
top:-1px; |
638 |
} |
639 |
&.snf-www { |
640 |
top:6px; |
641 |
} |
642 |
&.snf-network_full { |
643 |
top:5px; |
644 |
} |
645 |
&.temp-line { |
646 |
position: absolute; |
647 |
height:1px; |
648 |
width:13px; |
649 |
background:white; |
650 |
bottom:15px; |
651 |
&.line1 { right:56px; } |
652 |
&.line2 { |
653 |
right:97px; |
654 |
width:10px; |
655 |
} |
656 |
} |
657 |
} |
658 |
} |
659 |
&.more { |
660 |
background:$net-more-opt-area-color; |
661 |
margin-bottom:0; |
662 |
padding:$step-adv-padding 0; |
663 |
color:$net-opt-area-color; |
664 |
h3 { |
665 |
color:$net-opt-area-color; |
666 |
padding-left: 145px; |
667 |
&:hover { |
668 |
cursor: pointer; |
669 |
} |
670 |
} |
671 |
.btn5 { |
672 |
margin-top:20px; |
673 |
border-color:$net-opt-area-color; |
674 |
color:$net-opt-area-color; |
675 |
margin-left:145px; |
676 |
} |
677 |
.checkbox { |
678 |
a { |
679 |
span { |
680 |
color: $net-opt-area-color; |
681 |
} |
682 |
} |
683 |
} |
684 |
} |
685 |
} |
686 |
|
687 |
} |
688 |
.tags-area { |
689 |
background-color: $tag-opt-area-color; |
690 |
.snf-color-picker { |
691 |
display: none; |
692 |
} |
693 |
#picker { |
694 |
position: relative; |
695 |
width: 207px; |
696 |
margin: 30px 5px; |
697 |
display: inline-block; |
698 |
} |
699 |
.btns { |
700 |
margin-top: 77px; |
701 |
margin-bottom: 30px; |
702 |
} |
703 |
.btn5 { |
704 |
margin-right:20px; |
705 |
} |
706 |
.tag-demo { |
707 |
left:10px; |
708 |
} |
709 |
h3 { |
710 |
width: $conf-area-h-width; |
711 |
color:white; |
712 |
font-size:1em; |
713 |
font-weight: normal; |
714 |
margin:0 28px 0 0; |
715 |
display: inline-block; |
716 |
//&.net-name { width: 9.063em } |
717 |
} |
718 |
.list-header { |
719 |
position: relative; |
720 |
left: -14px; |
721 |
h3 { |
722 |
margin-right: 35px; |
723 |
} |
724 |
} |
725 |
|
726 |
|
727 |
} |
728 |
} |
729 |
} |
730 |
} |
731 |
} |
732 |
.bottom { |
733 |
position: fixed; |
734 |
left:0; |
735 |
right:0; |
736 |
bottom:0; |
737 |
border-top:1px solid $overlay-color-top; |
738 |
background:$overlay-color; |
739 |
.row { |
740 |
height: $bar-height; |
741 |
line-height: $bar-height; |
742 |
} |
743 |
.nav { |
744 |
height: $bar-height; |
745 |
line-height: $bar-height; |
746 |
color:white; |
747 |
display: inline-block; |
748 |
position: relative; |
749 |
font-size: emCalc(12px); |
750 |
top:($bar-height - 30px)/2; |
751 |
width: 100px; |
752 |
&:hover, |
753 |
&:focus { |
754 |
@include transition(background, 0ms, ease-out); |
755 |
} |
756 |
span { |
757 |
display: inline-block; |
758 |
height: 30px; |
759 |
line-height:30px; |
760 |
float: left; |
761 |
&:hover, |
762 |
&:focus { |
763 |
@include transition(background, 0ms, linear); |
764 |
} |
765 |
} |
766 |
} |
767 |
.prev { |
768 |
float:left; |
769 |
height:30px; |
770 |
padding-left:18px; |
771 |
background:url('../images/nav-edge-lt.png') no-repeat left top; |
772 |
span { |
773 |
padding-right:10px; |
774 |
background:url('../images/nav-lt.png') no-repeat right top; |
775 |
} |
776 |
&:hover, |
777 |
&.active, |
778 |
&:focus { |
779 |
background-position:left bottom; |
780 |
span { |
781 |
background-position:right bottom; |
782 |
} |
783 |
} |
784 |
} |
785 |
.next { |
786 |
float:right; |
787 |
height:30px; |
788 |
padding-right:18px; |
789 |
background:url('../images/nav-edge-rt.png') no-repeat right top; |
790 |
span { |
791 |
padding-left:10px; |
792 |
background:url('../images/nav-rt.png') no-repeat left top; |
793 |
float: right; |
794 |
} |
795 |
&:hover, |
796 |
&.active, |
797 |
&:focus { |
798 |
background-position:right bottom; |
799 |
span { |
800 |
background-position:left bottom; |
801 |
float:right; |
802 |
} |
803 |
} |
804 |
} |
805 |
} |
806 |
} |
807 |
|
808 |
|
809 |
.wizard-content { |
810 |
overflow: hidden; |
811 |
width:100%; |
812 |
.vm-wizard-carousel { |
813 |
position:relative; |
814 |
left:0; |
815 |
.step { |
816 |
float:left; |
817 |
} |
818 |
} |
819 |
} |
820 |
|
821 |
/* Responive ------------------------------------------------ */ |
822 |
@media only screen and (max-width: $small-mobile) { |
823 |
} |
824 |
|
825 |
@media only screen and (max-width: $small-screen) { |
826 |
.wizard { |
827 |
.top { |
828 |
position: static; |
829 |
} |
830 |
.middle { |
831 |
padding-top:0; |
832 |
} |
833 |
} |
834 |
.overlay-wrapper { |
835 |
.overlay-area { |
836 |
top:0; |
837 |
} |
838 |
} |
839 |
} |