Statistics
| Branch: | Tag: | Revision:

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

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: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
								font-size:emCalc(9px);
403
								color:$black;
404
								font-style:normal;
405
								font-weight:normal;
406
								opacity:0.6;
407
							}
408
						}
409
						p {
410
							visibility: hidden;
411
							overflow:hidden;
412
							min-height:40px;
413
							color:$black;
414
							font-size:emCalc(9px);
415
						}
416
					}
417
					.options-bar {
418
						@extend .clearfix;
419
						.bar {
420
							width:200px;
421
							float:left;
422
							margin-right:60px;
423
							height: 20px;
424
							position: relative;
425
							top:10px;
426
							.wrap {
427
								border:1px solid white;
428
								padding:1px;
429
								height: 100%;
430
								&.disabled-progress-bar {
431
									border-color: #3a4046;
432
									.container{
433
										.total {
434
											background-color: #3a4046;
435
										}
436
									}
437
								}
438
								.container {
439
									height: 100%;
440
									.total {
441
										background:$primary-color;
442
										height: 100%;
443
										float:left;
444
										position: relative;
445
										.current {
446
											background:white;
447
											height: 100%;
448
											float:left;
449
										}
450
										span {
451
											position:absolute;
452
											right:10px;
453
											color:$black;
454
											font-size: emCalc(9px);
455
											top:2px;
456
										}
457
										&.low {
458
											span {
459
												right:-30px;
460
												color:white;
461
											}
462
										}
463
									}
464
								}
465

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

    
554
                   
555
                }
556
                .adv-main {
557
                    // padding: 10px 0 30px;
558
                    // width:$row-small;
559
                    .vm-name {
560
                        h2 {
561
                            color:white;
562
                            font-size:1em;
563
                            margin-bottom:0.5em;
564
                        }
565

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

    
624
                    }
625
                    .networks-area {
626
                        background-color: $net-opt-area-color;
627
                        ul {
628
                        	position: relative;
629
							left: -20px;
630
                        }
631
                        li {
632
                            .net-icons {
633
                                padding-right:30px;
634
                                // position:absolute;
635
                                // left:-200px;
636
                                // top:-12px;
637
                                display: inline-block;
638
                                width:145px;
639
                                text-align: right;
640
                                font-size:30px;
641
                                margin-bottom: 0;
642
                                span {
643
                                    // margin-left:6px;
644
                                    &.snf-modem {
645
                                        position: relative;
646
                                        top:-6px;
647
                                    }
648
                                }
649
                            }
650
                   
651
                           
652
                           
653
                            &.more {
654
                                // display: none;
655
                                background:$net-more-opt-area-color;
656
                                margin-bottom:1em;
657
                                padding:30px 0;
658
                                color:$net-opt-area-color;
659
                                h3 {
660
                                    color:$net-opt-area-color;
661
                                    padding-left: 145px;
662
                                }
663
                                .btn5 {
664
                                    margin-top:20px;
665
                                    border-color:$net-opt-area-color;
666
                                    color:$net-opt-area-color;
667
                                    margin-left:145px;
668
                                }
669
                                .checkbox {
670
                                    a {
671
                                        span {
672
                                            color: $net-opt-area-color;
673
                                        }
674
                                    }
675
                                }
676
                            }
677
                        }
678

    
679
                    }
680
                    .tags-area {
681
                        background-color: $tag-opt-area-color;
682
                        .snf-color-picker {
683
                            display: none;
684
                        }
685
                        #picker {
686
                            position: relative;
687
                            width: 207px;
688
                            margin: 30px 5px;
689
                            display: inline-block;
690
                        }
691
                        .form-item {
692
                            //display:inline-block;
693
                            // position: relative;
694
                            // bottom: 20px;
695
                       
696
                        }
697
                        .btns {
698
                            // position: relative;
699
                            // bottom: -45px;
700
                            // margin-bottom: 45px;
701
                            margin-top: 77px;
702
                            margin-bottom: 30px;
703
                        }
704
                        .btn5 {
705
                            margin-right:20px;
706
                        }
707

    
708
                      	h3 {
709
                            width: $conf-area-h-width;
710
                            color:white;
711
                            font-size:1em;
712
                            font-weight: normal;
713
                            margin:0 28px 0 0;
714
                            display: inline-block;
715
                            //&.net-name { width: 9.063em }
716
                           }
717
                        .list-header {
718
                        	position: relative;
719
                        	left: -14px;
720
                        	h3 {
721
                        		margin-right: 35px;
722
                        	}
723
                        }
724

    
725

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

    
803

    
804
.wizard-content {
805
    overflow: hidden;
806
    width:100%;
807
    .vm-wizard-carousel {
808
        position:relative;
809
        left:0;
810
        .step {
811
            float:left;
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
}