root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / _overlays.scss @ bb8cc1dc
History | View | Annotate | Download (19.2 kB)
1 |
/* |
---|---|
2 |
|
3 |
Overlays (Todo: clean up) |
4 |
|
5 |
*/ |
6 |
body.with-overlay { |
7 |
background:$overlay-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 |
.steps { |
265 |
position:relative; |
266 |
width:100%; |
267 |
} |
268 |
.step { |
269 |
position: absolute; |
270 |
top:0; |
271 |
width:100%; |
272 |
display:none; |
273 |
&.current { |
274 |
display: block; |
275 |
} |
276 |
padding:50px 0 50px; |
277 |
&.step-2 { |
278 |
padding-top:30px; |
279 |
.dropdown { |
280 |
margin-bottom:40px; |
281 |
} |
282 |
} |
283 |
&.step-3 { |
284 |
padding-top: 45px; |
285 |
} |
286 |
.os { |
287 |
li { |
288 |
list-style: none outside none; |
289 |
font-size:emCalc(12px); |
290 |
@extend .clearfix; |
291 |
padding:15px 0; |
292 |
&:hover, |
293 |
&.hover { |
294 |
background:$overlay-darker-color; |
295 |
} |
296 |
&.current { |
297 |
background:white; |
298 |
color:$overlay-color; |
299 |
.name-col { |
300 |
color:$overlay-color; |
301 |
} |
302 |
.btn-col { |
303 |
a { |
304 |
border-color:$overlay-color; |
305 |
color:$overlay-color; |
306 |
&.current { |
307 |
color:white; |
308 |
background:$overlay-color; |
309 |
} |
310 |
} |
311 |
} |
312 |
} |
313 |
.img-col { |
314 |
float:left; |
315 |
width:50px; |
316 |
line-height: $btn-height; |
317 |
} |
318 |
.name-col { |
319 |
float: left; |
320 |
color: $wizard-base-font-color; |
321 |
width:71%; |
322 |
padding-right:10px; |
323 |
line-height: $btn-height; |
324 |
} |
325 |
.size-col { |
326 |
float:left; |
327 |
width:10%; |
328 |
line-height: $btn-height; |
329 |
} |
330 |
.btn-col { |
331 |
float:right; |
332 |
width:10%; |
333 |
margin-left:10px; |
334 |
a { |
335 |
@extend .btn5; |
336 |
|
337 |
font-size:1em; |
338 |
&.current { |
339 |
color:$overlay-color; |
340 |
} |
341 |
} |
342 |
} |
343 |
.details { |
344 |
display: none; |
345 |
background:darken(white,10%); |
346 |
padding:22px 0; |
347 |
margin:20px 6px -9px; |
348 |
color: $body-font-color; |
349 |
h3 { |
350 |
font-size: 1em; |
351 |
font-weight: normal; |
352 |
margin-bottom:1em; |
353 |
padding-left:50px; |
354 |
} |
355 |
dl { |
356 |
margin:0; |
357 |
padding-left:50px; |
358 |
@extend .clearfix; |
359 |
dt { |
360 |
width: 20%; |
361 |
float:left; |
362 |
color:$black; |
363 |
font-weight:normal; |
364 |
} |
365 |
dd { |
366 |
color:#485057; |
367 |
margin:0 0 5px; |
368 |
} |
369 |
} |
370 |
} |
371 |
} |
372 |
} |
373 |
.flavor { |
374 |
list-style: none outside none; |
375 |
li { |
376 |
list-style:none outside none; |
377 |
margin-bottom:30px; |
378 |
.title { |
379 |
@extend .clearfix; |
380 |
height:40px; |
381 |
overflow:hidden; |
382 |
margin-bottom:emCalc(8px); |
383 |
color:white; |
384 |
vertical-align: top; |
385 |
.icon { |
386 |
display: block; |
387 |
width:60px; |
388 |
font-size:emCalc(40px); |
389 |
float: left; |
390 |
} |
391 |
h2 { |
392 |
font-size:emCalc(14px); |
393 |
span { |
394 |
font-weight:normal; |
395 |
} |
396 |
float:left; |
397 |
width: 140px; |
398 |
color:white; |
399 |
margin-right:60px; |
400 |
padding-left:emCalc(10px); |
401 |
&:hover { |
402 |
em { |
403 |
opacity:1; |
404 |
} |
405 |
} |
406 |
em { |
407 |
display: block; |
408 |
margin-top:4px; |
409 |
font-size:11px; |
410 |
color:$black; |
411 |
font-style:normal; |
412 |
font-weight:normal; |
413 |
opacity:0.6; |
414 |
white-space: nowrap; |
415 |
} |
416 |
} |
417 |
p { |
418 |
visibility: hidden; |
419 |
overflow:hidden; |
420 |
min-height:40px; |
421 |
color:$black; |
422 |
font-size:11px; |
423 |
} |
424 |
} |
425 |
.options-bar { |
426 |
@extend .clearfix; |
427 |
.bar { |
428 |
width:200px; |
429 |
float:left; |
430 |
margin-right:60px; |
431 |
height: 20px; |
432 |
position: relative; |
433 |
top:10px; |
434 |
.wrap { |
435 |
border:1px solid white; |
436 |
padding:1px; |
437 |
height: 100%; |
438 |
&.disabled-progress-bar { |
439 |
border-color: #3a4046; |
440 |
.container{ |
441 |
.total { |
442 |
background-color: #3a4046; |
443 |
} |
444 |
} |
445 |
} |
446 |
.container { |
447 |
height: 100%; |
448 |
.total { |
449 |
background:$primary-color; |
450 |
height: 100%; |
451 |
float:left; |
452 |
position: relative; |
453 |
.current { |
454 |
background:white; |
455 |
height: 100%; |
456 |
float:left; |
457 |
} |
458 |
span { |
459 |
position:absolute; |
460 |
right:10px; |
461 |
color:$black; |
462 |
font-size: emCalc(9px); |
463 |
top:2px; |
464 |
} |
465 |
&.low { |
466 |
span { |
467 |
right:-30px; |
468 |
color:white; |
469 |
} |
470 |
} |
471 |
} |
472 |
} |
473 |
|
474 |
} |
475 |
} |
476 |
.options { |
477 |
overflow:hidden; |
478 |
list-style: none outside none; |
479 |
li { |
480 |
list-style: none outside none; |
481 |
display: inline-block; |
482 |
margin-right: 10px; |
483 |
margin-bottom:0; |
484 |
a { |
485 |
@extend .btn5; |
486 |
min-width: 60px; |
487 |
&.current { |
488 |
color:$overlay-color; |
489 |
} |
490 |
} |
491 |
} |
492 |
} |
493 |
} |
494 |
} |
495 |
} |
496 |
.summary { |
497 |
padding-bottom:40px; |
498 |
.row { |
499 |
.wrap { |
500 |
max-width: $row-small; |
501 |
border-top:1px solid white; |
502 |
padding-top:2em; |
503 |
margin-top:1em; |
504 |
} |
505 |
&:first-child { |
506 |
.wrap { |
507 |
border-top:0 none; |
508 |
margin-top:0; |
509 |
} |
510 |
dl { |
511 |
dt { |
512 |
font-weight: bold; |
513 |
} |
514 |
} |
515 |
} |
516 |
} |
517 |
h2 { |
518 |
font-size:1em; |
519 |
color:white; |
520 |
} |
521 |
dl { |
522 |
margin-bottom:0; |
523 |
span { |
524 |
width:40px; |
525 |
display: inline-block; |
526 |
font-size:20px; |
527 |
} |
528 |
dt { |
529 |
display: inline-block; |
530 |
width: 42%; |
531 |
vertical-align: top; |
532 |
font-weight:600; |
533 |
} |
534 |
dd { |
535 |
display: inline-block; |
536 |
width:45%; |
537 |
margin-bottom:1em; |
538 |
} |
539 |
} |
540 |
} |
541 |
.advanced-conf-step { |
542 |
color: $wizard-base-font-color; |
543 |
h2 { |
544 |
color: $wizard-base-font-color; |
545 |
font-size: 1em; |
546 |
margin-bottom: 10px; |
547 |
} |
548 |
p { |
549 |
font-size: $wizard-paragraph-font-size; |
550 |
} |
551 |
.snf-checkbox-checked, .snf-checkbox-unchecked { |
552 |
color: $wizard-base-font-color; |
553 |
} |
554 |
.expand-btn { |
555 |
margin: 50px 0 $step-adv-padding; |
556 |
a { |
557 |
color:$wizard-base-font-color; |
558 |
span { |
559 |
padding-left:24px; |
560 |
} |
561 |
} |
562 |
|
563 |
|
564 |
} |
565 |
.adv-main { |
566 |
// padding: 10px 0 30px; |
567 |
// width:$row-small; |
568 |
.vm-name { |
569 |
h2 { |
570 |
color:white; |
571 |
font-size:1em; |
572 |
margin-bottom:0.5em; |
573 |
} |
574 |
|
575 |
} |
576 |
} |
577 |
.btn5 { |
578 |
&:hover { |
579 |
color:white; |
580 |
} |
581 |
&.current, &.current:hover { |
582 |
color:$overlay-color; |
583 |
} |
584 |
} |
585 |
.advanced-conf-options { |
586 |
display: none; |
587 |
.check { |
588 |
font-size: 20px; |
589 |
} |
590 |
.area { |
591 |
padding:$step-adv-padding 0; |
592 |
.row { |
593 |
p{ |
594 |
max-width:340px; |
595 |
margin-bottom: 20px; |
596 |
} |
597 |
} |
598 |
ul { |
599 |
li { |
600 |
position: relative; |
601 |
list-style:none outside none; |
602 |
margin-bottom:7px; |
603 |
&.checkbox { |
604 |
&:hover { |
605 |
cursor: pointer; |
606 |
} |
607 |
} |
608 |
h3 { |
609 |
width: $conf-area-h-width; |
610 |
color:white; |
611 |
font-size:1em; |
612 |
font-weight: normal; |
613 |
margin:0 28px 0 0; |
614 |
display: inline-block; |
615 |
//&.net-name { width: 9.063em } |
616 |
} |
617 |
} |
618 |
} |
619 |
} |
620 |
.ssh-keys-area { |
621 |
background-color: $ssh-opt-area-color; |
622 |
.btn5 { |
623 |
margin-top: 3px; |
624 |
} |
625 |
|
626 |
} |
627 |
.networks-area { |
628 |
background-color: $net-opt-area-color; |
629 |
ul { |
630 |
position: relative; |
631 |
margin-bottom:0; |
632 |
} |
633 |
li { |
634 |
.net-icons { |
635 |
padding-right:30px; |
636 |
display: inline-block; |
637 |
width:145px; |
638 |
text-align: right; |
639 |
font-size:30px; |
640 |
margin-bottom: 0; |
641 |
position: relative; |
642 |
span { |
643 |
position: relative; |
644 |
&.snf-modem { |
645 |
top:-1px; |
646 |
} |
647 |
&.snf-www { |
648 |
top:6px; |
649 |
} |
650 |
&.snf-network_full { |
651 |
top:5px; |
652 |
} |
653 |
&.temp-line { |
654 |
position: absolute; |
655 |
height:1px; |
656 |
width:13px; |
657 |
background:white; |
658 |
bottom:15px; |
659 |
&.line1 { right:56px; } |
660 |
&.line2 { |
661 |
right:97px; |
662 |
width:10px; |
663 |
} |
664 |
} |
665 |
} |
666 |
} |
667 |
&.more { |
668 |
background:$net-more-opt-area-color; |
669 |
margin:$step-adv-padding 0; |
670 |
padding:$step-adv-padding 0; |
671 |
color:$net-opt-area-color; |
672 |
h3 { |
673 |
color:$net-opt-area-color; |
674 |
padding-left: 145px; |
675 |
&:hover { |
676 |
cursor: pointer; |
677 |
} |
678 |
} |
679 |
.btn5 { |
680 |
margin-top:20px; |
681 |
border-color:$net-opt-area-color; |
682 |
color:$net-opt-area-color; |
683 |
margin-left:145px; |
684 |
} |
685 |
.checkbox { |
686 |
a { |
687 |
span { |
688 |
color: $net-opt-area-color; |
689 |
} |
690 |
} |
691 |
} |
692 |
} |
693 |
} |
694 |
|
695 |
} |
696 |
.tags-area { |
697 |
background-color: $tag-opt-area-color; |
698 |
.snf-color-picker { |
699 |
display: none; |
700 |
} |
701 |
#picker { |
702 |
position: relative; |
703 |
width: 207px; |
704 |
margin: 30px 5px; |
705 |
display: inline-block; |
706 |
} |
707 |
.btns { |
708 |
margin-top: 77px; |
709 |
margin-bottom: 30px; |
710 |
} |
711 |
.btn5 { |
712 |
margin-right:20px; |
713 |
} |
714 |
.tag-demo { |
715 |
left:10px; |
716 |
} |
717 |
h3 { |
718 |
width: $conf-area-h-width; |
719 |
color:white; |
720 |
font-size:1em; |
721 |
font-weight: normal; |
722 |
margin:0 28px 0 0; |
723 |
display: inline-block; |
724 |
//&.net-name { width: 9.063em } |
725 |
} |
726 |
.list-header { |
727 |
position: relative; |
728 |
left: -14px; |
729 |
h3 { |
730 |
margin-right: 35px; |
731 |
} |
732 |
} |
733 |
|
734 |
|
735 |
} |
736 |
} |
737 |
} |
738 |
} |
739 |
} |
740 |
.bottom { |
741 |
position: fixed; |
742 |
left:0; |
743 |
right:0; |
744 |
bottom:0; |
745 |
border-top:1px solid $overlay-color-top; |
746 |
background:$overlay-color; |
747 |
.row { |
748 |
height: $bar-height; |
749 |
line-height: $bar-height; |
750 |
} |
751 |
.nav { |
752 |
height: $bar-height; |
753 |
line-height: $bar-height; |
754 |
color:white; |
755 |
display: inline-block; |
756 |
position: relative; |
757 |
font-size: emCalc(12px); |
758 |
top:($bar-height - 30px)/2; |
759 |
width: 100px; |
760 |
&:hover, |
761 |
&:focus { |
762 |
@include transition(background, 0ms, ease-out); |
763 |
} |
764 |
span { |
765 |
display: inline-block; |
766 |
height: 30px; |
767 |
line-height:30px; |
768 |
float: left; |
769 |
&:hover, |
770 |
&:focus { |
771 |
@include transition(background, 0ms, linear); |
772 |
} |
773 |
} |
774 |
} |
775 |
.prev { |
776 |
float:left; |
777 |
height:30px; |
778 |
padding-left:18px; |
779 |
background:url('../images/nav-edge-lt.png') no-repeat left top; |
780 |
span { |
781 |
padding-right:10px; |
782 |
background:url('../images/nav-lt.png') no-repeat right top; |
783 |
} |
784 |
&:hover, |
785 |
&.active, |
786 |
&:focus { |
787 |
background-position:left bottom; |
788 |
span { |
789 |
background-position:right bottom; |
790 |
} |
791 |
} |
792 |
} |
793 |
.next { |
794 |
float:right; |
795 |
height:30px; |
796 |
padding-right:18px; |
797 |
background:url('../images/nav-edge-rt.png') no-repeat right top; |
798 |
span { |
799 |
padding-left:10px; |
800 |
background:url('../images/nav-rt.png') no-repeat left top; |
801 |
float: right; |
802 |
} |
803 |
&:hover, |
804 |
&.active, |
805 |
&:focus { |
806 |
background-position:right bottom; |
807 |
span { |
808 |
background-position:left bottom; |
809 |
float:right; |
810 |
} |
811 |
} |
812 |
} |
813 |
} |
814 |
} |
815 |
|
816 |
/* Responive ------------------------------------------------ */ |
817 |
@media only screen and (max-width: $small-mobile) { |
818 |
} |
819 |
|
820 |
@media only screen and (max-width: $small-screen) { |
821 |
.wizard { |
822 |
.top { |
823 |
position: static; |
824 |
} |
825 |
.middle { |
826 |
padding-top:0; |
827 |
} |
828 |
} |
829 |
.overlay-wrapper { |
830 |
.overlay-area { |
831 |
top:0; |
832 |
} |
833 |
} |
834 |
} |