Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (12.6 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:32px;
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
		.numbers {
165
			height:$bar-height;
166
			line-height:$bar-height;
167
			background:$overlay-darker-color;
168
		}
169
		.sub-menu {
170
			display: none;
171
			&[data-step="1"] {
172
				display: block;
173
			}
174
			ul {
175
				margin:0;
176
				padding:0;
177
				list-style: none outside none;
178
				font-size:emCalc(12px);
179
				li {
180
					display: inline;
181
					margin-right:10px;
182
					line-height: $bar-submenu-height;
183
					list-style: none outside none;
184
					a {
185
						color:$black;
186
						&:hover, &:focus, &.current {
187
							color:white;
188
						}
189
						&.current {
190
							text-decoration: underline;
191
						}
192
					}
193
				}
194
			}
195
		}
196
		.nums {
197
			text-align: right;
198
			list-style:none outside none;
199
			margin:0;
200
			height: $bar-height;
201
			line-height: $bar-height;
202
			font-size:emCalc(12px);
203
			padding-right:120px;
204
			color:$secondary-color;
205
			li {
206
				list-style:none outside none;
207
				display: inline;
208
				p {
209
					display: none;
210
					position: relative;
211
					top: 1px;
212
					strong {
213
						font-size:16px;
214
						margin-right:10px;
215
					}
216
				}
217
				em {
218
					display: inline-block;
219
					border-radius:50%;
220
					border:1px solid $secondary-color;
221
					width:25px;
222
					height:25px;
223
					line-height: 21px;
224
					margin:0 3px;
225
					text-align: center;
226
					font-style: normal;
227
				}
228
				a {
229
					color:$secondary-color;
230
					display: block;
231
					&:hover {
232
						cursor: default;
233
					}
234
				}
235
				&.current{
236
					float: left;
237
					p {
238
						display: inline-block;
239
					}
240
					em {
241
						font-size:emCalc(16px);
242
						width:30px;
243
						height:30px;
244
						line-height: 27px;
245
						border-color:$secondary-color;
246
						* {
247
							color:$secondary-color;
248
						}
249
					}
250
				}
251
			}
252
		}
253
	}
254
	.middle {
255
		padding-top:$bar-height+$bar-submenu-height;
256
		.step {
257
			padding:50px 0 50px;
258
			float:left;
259
			position:relative;
260
			width:$row-width;
261
			.os {
262
				li {
263
					list-style: none outside none;
264
					@extend .clearfix;
265
					padding:0.5em 0;
266
					&:hover,
267
					&.hover {
268
						background:$overlay-darker-color;
269
					}
270
					&.current {
271
						background:white;
272
						color:$overlay-color;
273
						.name-col {
274
							color:$overlay-color;
275
						}
276
						.btn-col {
277
							a {
278
								@extend .btn5;
279
								border-color:$overlay-color;
280
								color:$overlay-color;
281
								&.current {
282
									color:white;
283
									background:$overlay-color;
284
								}
285
							}
286
						}
287
					}
288
					.img-col {
289
						float:left;
290
						width:10%;
291
						padding-right:10px;
292
					}
293
					.name-col {
294
						float: left;
295
						color: $wizard-base-font-color;
296
						width:65%;
297
						padding-right:10px;
298
					}
299
					.size-col {
300
						float:left;
301
						width:10%;
302
					}
303
					.btn-col {
304
						float:left;
305
						width:10%;
306
						margin-left:10px;
307
						a {
308
							@extend .btn5;
309
							&.current {
310
								color:$overlay-color;
311
							}
312
						}
313
					}
314
					.details {
315
						display: none;
316
						background:darken(white,10%);
317
						padding:30px 0;
318
						margin:20px 6px 6px;
319
						color: $body-font-color;
320
						h3 {
321
							font-size: 1em;
322
						}
323
						dl {
324
							@extend .clearfix;
325
							dt {
326
								width: 20%;
327
								float:left;
328
								font-weight:normal;
329
							}
330
							dd {
331
								margin:0 0 5px;
332
							}
333
						}
334
					}
335
				}
336
			}
337
			.flavor {
338
				list-style: none outside none;
339
				li {
340
					list-style:none outside none;
341
					margin-bottom:1.5em;
342
					.title {
343
						@extend .clearfix;
344
						margin-bottom:emCalc(5px);
345
						color:white;
346
						vertical-align: top;
347
						.icon {
348
							display: block;
349
							width:5%;
350
							font-size:emCalc(40px);
351
							float: left;
352
						}
353
						h2 {
354
							font-size:emCalc(16px);
355
							span {
356
								font-weight:normal;
357
							}
358
							float:left;
359
							width: 19%;
360
							color:white;
361
							margin-right:4%;
362
							padding-left:emCalc(10px);
363
							&:hover {
364
								& + p {
365
									visibility: visible;
366
								}
367
							}
368
						}
369
						p {
370
							visibility: hidden;
371
							float:left;
372
							width:70%;
373
							font-size:emCalc(12px);
374
						}
375
					}
376
					.options-bar {
377
						@extend .clearfix;
378
						.bar {
379
							width:24%;
380
							float: left;
381
							margin-right:4%;
382
							height: 26px;
383
							position: relative;
384
							top:2px;
385
							.wrap {
386
								border:1px solid white;
387
								padding:1px;
388
								height: 100%;
389
								.container {
390
									height: 100%;
391
									.total {
392
										background:$primary-color;
393
										height: 100%;
394
										float:left;
395
										position: relative;
396
										.current {
397
											background:white;
398
											height: 100%;
399
											float:left;
400
										}
401
										span {
402
											position:absolute;
403
											right:10px;
404
											color:$black;
405
											font-size: emCalc(12px);
406
										}
407
										&.low {
408
											span {
409
												right:-30px;
410
												color:white;
411
											}
412
										}
413
									}
414
								}
415
							}
416
						}
417
						.options {
418
							overflow:hidden;
419
							list-style: none outside none;
420
							li {
421
								list-style: none outside none;
422
								display: inline-block;
423
								margin-right: 10px;
424
								a {
425
									@extend .btn5;
426
									min-width: 60px;
427
									&.current {
428
										color:$overlay-color;
429
									}
430
								}
431
							}
432
						}
433
					}
434
				}
435
			}
436
			.summary {
437
				.row {
438
					padding-top:1em;
439
					margin-top:1em;
440
					border-top:1px solid white;
441
					&:first-child {
442
						border-top:0 none;
443
					}
444
				}
445
				h2 {
446
					font-size:1em;
447
					color:white;
448
				}
449
				dl {
450
					margin-bottom:0;
451
					span {
452
						margin-right:10px;
453
						font-size:20px;
454
					}
455
					dt {
456
						display: inline-block;
457
						width: 45%;
458
						vertical-align: top;
459
					}
460
					dd {
461
						display: inline-block;
462
						width:45%;
463
					}
464
				}
465
			}
466
			.advanced-conf-step {
467
				color: $wizard-base-font-color;
468
				h2 {
469
					color: $wizard-base-font-color;
470
					font-size: 1em;
471
					margin:0 auto 1em;
472
				}
473
				p {
474
					font-size: $wizard-paragraph-font-size;
475
				}
476

    
477
				.snf-checkbox-checked, .snf-checkbox-unchecked {
478
					color: $wizard-base-font-color;
479
				}	
480
				.expand-btn {
481
					margin: 50px 0 30px;
482
					a {
483
						color:$wizard-base-font-color;
484
					}
485

    
486
					
487
				}
488
				.adv-main {
489
					padding: 10px 0 30px;
490
					width:$row-small;
491
					.vm-name {
492
						h2 {
493
							color:white;
494
							font-size:1em;
495
							margin-bottom:0.5em;
496
						}
497
					}
498
				}
499
				.btn5 {
500
				    &:hover {
501
					    color:white;
502
				}
503
				    &.current, &.current:hover {
504
				        color:$overlay-color;
505
				    }
506
			    }
507
				.advanced-conf-options {
508
					display: none;
509
					.area {
510
						padding:30px 0;
511
						.row {
512
							width:$row-small;
513
							padding-left:0;
514
						}
515
						ul {
516
							li {
517
								position: relative;
518
								list-style:none outside none;
519
								margin-bottom:7px;
520
								&.checkbox {
521
									&:hover {
522
										cursor: pointer;
523
									}
524
								}
525
								h3 {
526
									width: $conf-area-h-width;
527
									color:white;
528
									font-size:1em;
529
									font-weight: normal;
530
									margin:0 20px 0 0;
531
									display: inline-block;
532
									//&.net-name { width: 9.063em }
533
								}
534
							}
535
						}
536
					}
537
					.ssh-keys-area {
538
						background-color: $ssh-opt-area-color;
539
					}
540
					.networks-area {
541
						background-color: $net-opt-area-color;
542
						li {
543
							.net-icons {
544
								padding-right:20px;
545
								// position:absolute;
546
								// left:-200px;
547
								// top:-12px;
548
								display: inline-block;
549
								width:145px;
550
								text-align: right;
551
								font-size:30px;
552
								margin-bottom: 0;
553
								span {
554
									margin-left:6px;
555
									&.snf-modem {
556
										position: relative;
557
										top:-6px;
558
									}
559
								}
560
							}
561
					
562
							
563
							
564
							&.more {
565
								display: none;
566
								background:$net-more-opt-area-color;
567
								margin-bottom:1em;
568
								padding:30px 0;
569
								color:$net-opt-area-color;
570
								h3 {
571
									color:$net-opt-area-color;
572
								}
573
								.btn5 {
574
									margin-top:1em;
575
									border-color:$net-opt-area-color;
576
									color:$net-opt-area-color;
577
								}
578
								.checkbox {
579
									a {
580
										span {
581
											color: $net-opt-area-color;
582
										}
583
									}
584
								}
585
							}
586
						}
587

    
588
					}
589
					.tags-area {
590
						background-color: $tag-opt-area-color;
591
						.snf-color-picker {
592
							display: none;
593
						}
594
						#picker {
595
							position: relative;
596
							width: 207px;
597
							margin: 30px 5px;
598
							display: inline-block;
599
						}
600
						.form-item {
601
							//display:inline-block;
602
							// position: relative;
603
							// bottom: 20px;
604
						
605
						}
606
						.btns {
607
							// position: relative;
608
							// bottom: -45px;
609
							// margin-bottom: 45px;
610
							margin-top: 77px;
611
							margin-bottom: 30px;
612
						}
613
						.btn5 {
614
							margin-right:20px;
615
						}
616

    
617
					}
618

    
619
				}
620
			}
621
		}
622
		
623
	}
624
	.bottom {
625
		position: fixed;
626
		left:0;
627
		right:0;
628
		bottom:0;
629
		border-top:1px solid $black;
630
		background:$overlay-color;
631
		.row {
632
			height: $bar-height;
633
			line-height: $bar-height;
634
		}
635
		.nav {
636
			height: $bar-height;
637
			line-height: $bar-height;
638
			color:white;
639
			display: inline-block;
640
			position: relative;
641
			font-size: emCalc(12px);
642
			top:($bar-height - 30px)/2;
643
			width: 100px;
644
			&:hover {
645
				@include transition(background, 0ms, ease-out);
646
			}
647
			span {
648
				display: inline-block;
649
				height: 30px;
650
				line-height:30px;
651
				float: left;
652
				&:hover {
653
					@include transition(background, 0ms, linear);
654
				}
655
			}
656
		}
657
		.prev {
658
			float:left;
659
			height:30px;
660
			padding-left:18px;
661
			background:url('../images/nav-edge-lt.png') no-repeat left top;
662
			span {
663
				padding-right:10px;
664
				background:url('../images/nav-lt.png') no-repeat right top;
665
			}
666
			&:hover,
667
			&.active {
668
				background-position:left bottom;
669
				span {
670
					background-position:right bottom;
671
				}
672
			}
673
		}
674
		.next {
675
			float:right;
676
			height:30px;
677
			padding-right:18px;
678
			background:url('../images/nav-edge-rt.png') no-repeat right top;
679
			span {
680
				padding-left:10px;
681
				background:url('../images/nav-rt.png') no-repeat left top;
682
				float: right;
683
			}
684
			&:hover,
685
			&.active {
686
				background-position:right bottom;
687
				span {
688
					background-position:left bottom;
689
					float:right;
690
				}
691
			}
692
		}
693
	}
694
}
695

    
696
.wizard-content {
697
	overflow: hidden;
698
	width:100%;
699
}
700

    
701
.vm-wizard-carousel {
702
	width: 90000px;
703
	position:relative;
704
}
705

    
706

    
707
/* Responive ------------------------------------------------ */
708
@media only screen and (max-width: $small-mobile) {
709
}
710

    
711
@media only screen and (max-width: $small-screen) {
712
	.wizard {
713
		.top {
714
			position: static;
715
		}
716
		.middle {
717
			padding-top:0;
718
		}
719
	}
720
	.overlay-wrapper {
721
		.overlay-area {
722
			top:0;
723
		}
724
	}
725
}