Statistics
| Branch: | Tag: | Revision:

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

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

    
435
				}
436
				&.current {
437
					font-size:emCalc(20px);
438
					width:30px;
439
					height:30px;
440
				}
441
			}
442
		}
443
	}
444
}
445

    
446
.wizard-content {
447
	overflow: hidden;
448
}
449

    
450
.vm-wizard-carousel {
451
	width: 20000px;
452
	position:relative;
453
}
454

    
455
// step3 vm wizard
456
.advanced-conf-step {
457
	color: $wizard-base-font-color;
458
	h2 {
459
		color: $wizard-base-font-color;
460
		font-size: 16px;
461
		font-weight: bold;
462
	}
463
	.adv-main {
464
		padding: 10px 0 30px;
465
		width:$row-small;
466
		.vm-name {
467
			font-weight: bold;
468
		}
469
		.btn5 {
470
			&:hover {
471
				color:white;
472
			}
473
			&.current, &.current:hover {
474
				color:$overlay-color;
475
			}
476
		}
477
		input[type="text"] {
478
			width: 200px;
479
			border: 0;
480
			border-bottom: 1px solid $wizard-base-font-color;
481
			background-color: $overlay-color;
482
			outline: 0;
483
			color: $wizard-base-font-color;
484
			//to be improved!!!!
485
			-webkit-box-shadow: 7px 7px 0px rgba(72, 80, 87, 0);
486
			-moz-box-shadow:    7px 7px 0px rgba(72, 80, 87, 0);
487
			box-shadow: 7px 7px 0px rgba(72, 80, 87, 0);
488
		}
489
	}
490
}
491
.advanced-conf-options {
492
	display: none;
493
	.area {
494
		padding:30px 0;
495
		.btn5{
496
			&:hover {
497
				color:white;
498
			}
499
		}
500
	}
501
	.ssh-keys-area {
502
		background-color: $ssh-opt-area-color;
503
		.row{
504
			width:$row-small;
505
		}
506
		ul {
507
			li {
508
				list-style: none outside none;
509
				span {
510
					margin-left:20px;
511
					&:hover {
512
						cursor: pointer;
513
					}
514
				}
515
			}
516
		}
517
	}
518
	.networks-area {
519
		background-color: $net-opt-area-color;
520
		li.network-data {
521
			ul.ips-list {
522
				display:none;
523
			}
524
		}
525
		.row{
526
			width:$row-small;
527
		}
528
	}
529
	.tags-area {
530
		background-color: $tag-opt-area-color;
531
		.row{
532
			width:$row-small;
533
		}
534
	}
535

    
536
}