Statistics
| Branch: | Tag: | Revision:

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

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:5%;
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: 19%;
392
							color:white;
393
							margin-right:4%;
394
							padding-left:emCalc(10px);
395
							&:hover {
396
								& + p {
397
									visibility: visible;
398
								}
399
							}
400
						}
401
						p {
402
							visibility: hidden;
403
							float:left;
404
							width:70%;
405
							color:$black;
406
							font-size:emCalc(9px);
407
						}
408
					}
409
					.options-bar {
410
						@extend .clearfix;
411
						.bar {
412
							width:24%;
413
							float: left;
414
							margin-right:4%;
415
							height: 20px;
416
							position: relative;
417
							top:10px;
418
							.wrap {
419
								border:1px solid white;
420
								padding:1px;
421
								height: 100%;
422
								&.disabled-progress-bar {
423
									border-color: #3a4046;
424
									.container{
425
										.total {
426
											background-color: #3a4046;
427
										}
428
									}
429
								}
430
								.container {
431
									height: 100%;
432
									.total {
433
										background:$primary-color;
434
										height: 100%;
435
										float:left;
436
										position: relative;
437
										.current {
438
											background:white;
439
											height: 100%;
440
											float:left;
441
										}
442
										span {
443
											position:absolute;
444
											right:10px;
445
											color:$black;
446
											font-size: emCalc(9px);
447
										}
448
										&.low {
449
											span {
450
												right:-30px;
451
												color:white;
452
											}
453
										}
454
									}
455
								}
456

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

    
545
                   
546
                }
547
                .adv-main {
548
                    // padding: 10px 0 30px;
549
                    // width:$row-small;
550
                    .vm-name {
551
                        h2 {
552
                            color:white;
553
                            font-size:1em;
554
                            margin-bottom:0.5em;
555
                        }
556

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

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

    
670
                    }
671
                    .tags-area {
672
                        background-color: $tag-opt-area-color;
673
                        .snf-color-picker {
674
                            display: none;
675
                        }
676
                        #picker {
677
                            position: relative;
678
                            width: 207px;
679
                            margin: 30px 5px;
680
                            display: inline-block;
681
                        }
682
                        .form-item {
683
                            //display:inline-block;
684
                            // position: relative;
685
                            // bottom: 20px;
686
                       
687
                        }
688
                        .btns {
689
                            // position: relative;
690
                            // bottom: -45px;
691
                            // margin-bottom: 45px;
692
                            margin-top: 77px;
693
                            margin-bottom: 30px;
694
                        }
695
                        .btn5 {
696
                            margin-right:20px;
697
                        }
698

    
699
                      	h3 {
700
                            width: $conf-area-h-width;
701
                            color:white;
702
                            font-size:1em;
703
                            font-weight: normal;
704
                            margin:0 28px 0 0;
705
                            display: inline-block;
706
                            //&.net-name { width: 9.063em }
707
                           }
708
                        .list-header {
709
                        	position: relative;
710
                        	left: -14px;
711
                        	h3 {
712
                        		margin-right: 35px;
713
                        	}
714
                        }
715

    
716

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

    
797

    
798
.wizard-content {
799
    overflow: hidden;
800
    width:100%;
801
    .vm-wizard-carousel {
802
        position:relative;
803
        left:0;
804
        .step {
805
            float:left;
806
        }
807
    }
808
}
809

    
810
/* Responive ------------------------------------------------ */
811
@media only screen and (max-width: $small-mobile) {
812
}
813

    
814
@media only screen and (max-width: $small-screen) {
815
    .wizard {
816
        .top {
817
            position: static;
818
        }
819
        .middle {
820
            padding-top:0;
821
        }
822
    }
823
    .overlay-wrapper {
824
        .overlay-area {
825
            top:0;
826
        }
827
    }
828
}