Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (12.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: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
				.expand-btn {
477
					margin: 50px 0 30px;
478
					a {
479
						color:$wizard-base-font-color;
480
					}
481

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

    
576
					}
577
					.tags-area {
578
						background-color: $tag-opt-area-color;
579
						.snf-color-picker {
580
							display: none;
581
						}
582
						#picker {
583
							position: relative;
584
							width: 207px;
585
							margin: 30px 5px;
586
							display: inline-block;
587
						}
588
						.form-item {
589
							//display:inline-block;
590
							// position: relative;
591
							// bottom: 20px;
592
						
593
						}
594
						.btns {
595
							// position: relative;
596
							// bottom: -45px;
597
							// margin-bottom: 45px;
598
							margin-top: 77px;
599
							margin-bottom: 30px;
600
						}
601
						.btn5 {
602
							margin-right:20px;
603
						}
604

    
605
					}
606

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

    
684
.wizard-content {
685
	overflow: hidden;
686
	width:100%;
687
}
688

    
689
.vm-wizard-carousel {
690
	width: 90000px;
691
	position:relative;
692
}
693

    
694

    
695
/* Responive ------------------------------------------------ */
696
@media only screen and (max-width: $small-mobile) {
697
}
698

    
699
@media only screen and (max-width: $small-screen) {
700
	.wizard {
701
		.top {
702
			position: static;
703
		}
704
		.middle {
705
			padding-top:0;
706
		}
707
	}
708
	.overlay-wrapper {
709
		.overlay-area {
710
			top:0;
711
		}
712
	}
713
}