Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / _overlays.scss @ 6f4b6de9

History | View | Annotate | Download (19.3 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:30px;
374
					.title {
375
						@extend .clearfix;
376
						height:40px;
377
						overflow:hidden;
378
						margin-bottom:emCalc(8px);
379
						color:white;
380
						vertical-align: top;
381
						.icon {
382
							display: block;
383
							width:60px;
384
							font-size:emCalc(40px);
385
							float: left;
386
						}
387
						h2 {
388
							font-size:emCalc(14px);
389
							span {
390
								font-weight:normal;
391
							}
392
							float:left;
393
							width: 140px;
394
							color:white;
395
							margin-right:60px;
396
							padding-left:emCalc(10px);
397
							&:hover {
398
								em {
399
									opacity:1;
400
								}
401
							}
402
							em {
403
								display: block;
404
								margin-top:4px;
405
								font-size:11px;
406
								color:$black;
407
								font-style:normal;
408
								font-weight:normal;
409
								opacity:0.6;
410
								white-space: nowrap;
411
							}
412
						}
413
						p {
414
							visibility: hidden;
415
							overflow:hidden;
416
							min-height:40px;
417
							color:$black;
418
							font-size:11px;
419
						}
420
					}
421
					.options-bar {
422
						@extend .clearfix;
423
						.bar {
424
							width:200px;
425
							float:left;
426
							margin-right:60px;
427
							height: 20px;
428
							position: relative;
429
							top:10px;
430
							.wrap {
431
								border:1px solid white;
432
								padding:1px;
433
								height: 100%;
434
								&.disabled-progress-bar {
435
									border-color: #3a4046;
436
									.container{
437
										.total {
438
											background-color: #3a4046;
439
										}
440
									}
441
								}
442
								.container {
443
									height: 100%;
444
									.total {
445
										background:$primary-color;
446
										height: 100%;
447
										float:left;
448
										position: relative;
449
										.current {
450
											background:white;
451
											height: 100%;
452
											float:left;
453
										}
454
										span {
455
											position:absolute;
456
											right:10px;
457
											color:$black;
458
											font-size: emCalc(9px);
459
											top:2px;
460
										}
461
										&.low {
462
											span {
463
												right:-30px;
464
												color:white;
465
											}
466
										}
467
									}
468
								}
469

    
470
							}
471
						}
472
						.options {
473
							overflow:hidden;
474
							list-style: none outside none;
475
							li {
476
								list-style: none outside none;
477
								display: inline-block;
478
								margin-right: 10px;
479
								margin-bottom:0;
480
								a {
481
									@extend .btn5;
482
									min-width: 60px;
483
									&.current {
484
										color:$overlay-color;
485
									}
486
								}
487
							}
488
						}
489
					}
490
				}
491
			}
492
			.summary {
493
				padding-bottom:40px;
494
				.row {
495
					.wrap {
496
						max-width: $row-small;
497
						border-top:1px solid white;
498
						padding-top:2em;
499
						margin-top:1em;
500
					}
501
					&:first-child {
502
						.wrap {
503
							border-top:0 none;
504
							margin-top:0;
505
						}
506
						dl {
507
							dt {
508
								font-weight: bold;
509
							}
510
						}
511
					}
512
				}
513
				h2 {
514
					font-size:1em;
515
					color:white;
516
				}
517
				dl {
518
					margin-bottom:0;
519
					span {
520
						width:40px;
521
						display: inline-block;
522
						font-size:20px;
523
					}
524
					dt {
525
						display: inline-block;
526
						width: 42%;
527
						vertical-align: top;
528
						font-weight:600;
529
					}
530
					dd {
531
						display: inline-block;
532
						width:45%;
533
						margin-bottom:1em;
534
					}
535
				}
536
			}
537
			.advanced-conf-step {
538
				color: $wizard-base-font-color;
539
				h2 {
540
					color: $wizard-base-font-color;
541
					font-size: 1em;
542
					margin-bottom: 10px;
543
				}
544
				p {
545
					font-size: $wizard-paragraph-font-size;
546
				}
547
                .snf-checkbox-checked, .snf-checkbox-unchecked {
548
                    color: $wizard-base-font-color;
549
                }   
550
                .expand-btn {
551
                    margin: 50px 0 $step-adv-padding;
552
                    a {
553
                        color:$wizard-base-font-color;
554
                        span {
555
                        	padding-left:24px;
556
                        }
557
                      }
558

    
559
                   
560
                }
561
                .adv-main {
562
                    // padding: 10px 0 30px;
563
                    // width:$row-small;
564
                    .vm-name {
565
                        h2 {
566
                            color:white;
567
                            font-size:1em;
568
                            margin-bottom:0.5em;
569
                        }
570

    
571
                    }
572
                }
573
                .btn5 {
574
                    &:hover {
575
                        color:white;
576
                }
577
                    &.current, &.current:hover {
578
                        color:$overlay-color;
579
                    }
580
                }
581
                .advanced-conf-options {
582
                    display: none;
583
                    .check {
584
                    	font-size: 20px;
585
                    }
586
                    .area {
587
                        padding:$step-adv-padding 0;
588
                        .row {
589
	                        p{
590
								max-width:340px;
591
	                        	margin-bottom: 20px;
592
	                        }
593
                        }
594
                        ul {
595
                            li {
596
                                position: relative;
597
                                list-style:none outside none;
598
                                margin-bottom:7px;
599
                                &.checkbox {
600
                                    &:hover {
601
                                        cursor: pointer;
602
                                    }
603
                                }
604
                                h3 {
605
                                    width: $conf-area-h-width;
606
                                    color:white;
607
                                    font-size:1em;
608
                                    font-weight: normal;
609
                                    margin:0 28px 0 0;
610
                                    display: inline-block;
611
                                    //&.net-name { width: 9.063em }
612
                                }
613
                            }
614
                        }
615
                    }
616
                    .ssh-keys-area {
617
                        background-color: $ssh-opt-area-color;
618
                        .btn5 {
619
                        	margin-top: 3px;
620
                        }
621

    
622
                    }
623
                    .networks-area {
624
                        background-color: $net-opt-area-color;
625
                        ul {
626
                        	position: relative;
627
							margin-bottom:0;
628
                        }
629
                        li {
630
                            .net-icons {
631
                                padding-right:30px;
632
                                display: inline-block;
633
                                width:145px;
634
                                text-align: right;
635
                                font-size:30px;
636
                                margin-bottom: 0;
637
                                position: relative;
638
                                span {
639
 									position: relative;
640
                                    &.snf-modem {
641
                                        top:-1px;
642
                                    }
643
                                    &.snf-www {
644
                                        top:6px;
645
                                    }
646
                                    &.snf-network_full {
647
                                        top:5px;
648
                                    }
649
                                    &.temp-line {
650
										position: absolute;
651
										height:1px;
652
										width:13px;
653
										background:white;
654
										bottom:15px;
655
										&.line1 { right:56px; }
656
										&.line2 {
657
 											right:97px;
658
											width:10px;
659
 										}
660
 									}
661
 								}
662
                            }
663
                            &.more {
664
                                background:$net-more-opt-area-color;
665
                                margin:$step-adv-padding 0;
666
                                padding:$step-adv-padding 0;
667
                                color:$net-opt-area-color;
668
                                h3 {
669
                                    color:$net-opt-area-color;
670
                                    padding-left: 145px;
671
                                    &:hover {
672
 										cursor: pointer;
673
                                    }
674
                                }
675
                                .btn5 {
676
                                    margin-top:20px;
677
                                    border-color:$net-opt-area-color;
678
                                    color:$net-opt-area-color;
679
                                    margin-left:145px;
680
                                }
681
                                .checkbox {
682
                                    a {
683
                                        span {
684
                                            color: $net-opt-area-color;
685
                                        }
686
                                    }
687
                                }
688
                            }
689
                        }
690

    
691
                    }
692
                    .tags-area {
693
                        background-color: $tag-opt-area-color;
694
                        .snf-color-picker {
695
                            display: none;
696
                        }
697
                        #picker {
698
                            position: relative;
699
                            width: 207px;
700
                            margin: 30px 5px;
701
                            display: inline-block;
702
                        }
703
                        .btns {
704
                            margin-top: 77px;
705
                            margin-bottom: 30px;
706
                        }
707
                        .btn5 {
708
                            margin-right:20px;
709
                        }
710
                        .tag-demo {
711
							left:10px;
712
                        }
713
                      	h3 {
714
                            width: $conf-area-h-width;
715
                            color:white;
716
                            font-size:1em;
717
                            font-weight: normal;
718
                            margin:0 28px 0 0;
719
                            display: inline-block;
720
                            //&.net-name { width: 9.063em }
721
                           }
722
                        .list-header {
723
                        	position: relative;
724
                        	left: -14px;
725
                        	h3 {
726
                        		margin-right: 35px;
727
                        	}
728
                        }
729

    
730

    
731
                    }
732
                }
733
            }
734
        }
735
    }
736
    .bottom {
737
        position: fixed;
738
        left:0;
739
        right:0;
740
        bottom:0;
741
        border-top:1px solid $overlay-color-top;
742
        background:$overlay-color;
743
        .row {
744
            height: $bar-height;
745
            line-height: $bar-height;
746
        }
747
        .nav {
748
            height: $bar-height;
749
            line-height: $bar-height;
750
            color:white;
751
            display: inline-block;
752
            position: relative;
753
            font-size: emCalc(12px);
754
            top:($bar-height - 30px)/2;
755
            width: 100px;
756
            &:hover,
757
            &:focus {
758
                @include transition(background, 0ms, ease-out);
759
            }
760
            span {
761
                display: inline-block;
762
                height: 30px;
763
                line-height:30px;
764
                float: left;
765
                &:hover,
766
                &:focus {
767
                    @include transition(background, 0ms, linear);
768
                }
769
            }
770
        }
771
        .prev {
772
            float:left;
773
            height:30px;
774
            padding-left:18px;
775
            background:url('../images/nav-edge-lt.png') no-repeat left top;
776
            span {
777
                padding-right:10px;
778
                background:url('../images/nav-lt.png') no-repeat right top;
779
            }
780
            &:hover,
781
            &.active,
782
            &:focus {
783
                background-position:left bottom;
784
                span {
785
                    background-position:right bottom;
786
                }
787
            }
788
        }
789
        .next {
790
            float:right;
791
            height:30px;
792
            padding-right:18px;
793
            background:url('../images/nav-edge-rt.png') no-repeat right top;
794
            span {
795
                padding-left:10px;
796
                background:url('../images/nav-rt.png') no-repeat left top;
797
                float: right;
798
            }
799
            &:hover,
800
            &.active,
801
            &:focus {
802
                background-position:right bottom;
803
                span {
804
                    background-position:left bottom;
805
                    float:right;
806
                }
807
            }
808
        }
809
    }
810
}
811

    
812

    
813
.wizard-content {
814
    overflow: hidden;
815
    width:100%;
816
    .vm-wizard-carousel {
817
        position:relative;
818
        left:0;
819
        .step {
820
            float:left;
821
        }
822
    }
823
}
824

    
825
/* Responive ------------------------------------------------ */
826
@media only screen and (max-width: $small-mobile) {
827
}
828

    
829
@media only screen and (max-width: $small-screen) {
830
    .wizard {
831
        .top {
832
            position: static;
833
        }
834
        .middle {
835
            padding-top:0;
836
        }
837
    }
838
    .overlay-wrapper {
839
        .overlay-area {
840
            top:0;
841
        }
842
    }
843
}