Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / _wizards.scss @ d7a5e1a7

History | View | Annotate | Download (23.4 kB)

1
.overlay-wrapper .overlay-area-custom .overlay-div.wizard {
2
				background:$overlay-bg-color;
3
				padding:0 ;
4
				width:100%;
5
				top:0;
6
				left:0;
7
				position: relative;
8
				color:white;
9
				.top {
10
					background:$overlay-color-top;
11
					height:$bar-menu-height + $bar-submenu-height;
12
					position:fixed;
13
					left:0;
14
					right:0;
15
					bottom:auto;
16
					top:$header-height;
17
					width:100%;
18
					z-index:40;
19
					.numbers {
20
						.row {
21
							max-width: 100%;
22
							padding:0 $header-padding-horizontal;
23
							.close {
24
								color:$primary-color;
25
								&:hover, &:focus {
26
									color:white;
27
								}
28
							}
29
						}
30
						height: $bar-menu-height;
31
						line-height: 50px;
32
						background:$overlay-darker-color;
33
					}
34
					.menus {
35
						height: $bar-submenu-height;
36
						.sub-menu {
37
							display: none;
38
							&[data-step="1"] {
39
								display: block;
40
							}
41
							ul {
42
								margin:0;
43
								padding:0;
44
								list-style: none outside none;
45
								font-size:emCalc(12px);
46
								li {
47
									display: inline;
48
									margin-right:10px;
49
									line-height: $bar-submenu-height;
50
									list-style: none outside none;
51
									a {
52
										color:$body-font-color;
53
										&:hover, &:focus, &.current {
54
											color:white;
55
										}
56
										&.current {
57
											text-decoration: underline;
58
										}
59
										&.disabled {
60
											color: $inactive-color;
61
											cursor: default;
62

    
63
										}
64
									}
65
								}
66
							}
67
						}
68
					}
69
					.nums {
70
						text-align: right;
71
						list-style:none outside none;
72
						margin:0;
73
						height: 50px;
74
						line-height: 50px;
75
						font-size:emCalc(9px);
76
						padding-right:120px;
77
						color:$secondary-color;
78
						li {
79
							list-style:none outside none;
80
							display: inline;
81
							p {
82
								display: none;
83
								position: relative;
84
								top: 1px;
85
								font-size:12px;
86
								margin-left:12px;
87
								strong {
88
									margin-right:5px;
89
								}
90
							}
91
							em {
92
								display: inline-block;
93
								border-radius:50%;
94
								border:1px solid $secondary-color;
95
								width:20px;
96
								height:20px;
97
								line-height: 18px;
98
								margin:0 3px;
99
								text-align: center;
100
								font-style: normal;
101
							}
102
							a {
103
								color:$secondary-color;
104
								display: block;
105
								&:hover {
106
									cursor: default;
107
								}
108
							}
109
							&.current{
110
								float: left;
111
								p {
112
									display: inline-block;
113
								}
114
								em {
115
									font-size:12px;
116
									width:30px;
117
									height:30px;
118
									line-height: 27px;
119
									border-color:$secondary-color;
120
									* {
121
										color:$secondary-color;
122
									}
123
								}
124
							}
125
						}
126
					}
127
				}
128
				.middle {
129
					padding-top:$bar-height+$bar-submenu-height;
130
					.steps {
131
						position:relative;
132
						width:100%;
133
					}
134
					.step {
135
						position: absolute;
136
						top:0;
137
						width:100%;
138
						display:none;
139
						&.current {
140
							display: block;
141
						}
142
						padding:50px 0 50px;
143
						&.step-2 {
144
							// padding-top:30px;
145
							.dropdown {
146
								margin-bottom:40px;
147
							}
148
						}
149
						&.step-3 {
150
							// padding-top: 45px;
151
						}
152
						.os {
153
							li {
154
								display: none;
155
								list-style: none outside none;
156
								font-size:emCalc(12px);
157
								@extend .clearfix;
158
								padding:15px 0;
159
								&:hover,
160
								&.hover {
161
									background:$overlay-darker-color;
162
								}
163
								&.current {
164
									background:white;
165
									color:$overlay-bg-color;
166
									.name-col {
167
										color:$overlay-bg-color;
168
									}
169
									.btn-col {
170
										a {
171
											border-color:$overlay-bg-color;
172
											color:$overlay-bg-color;
173
											&.current {
174
												color:white;
175
												background:$overlay-bg-color;
176
											}
177
										}
178
									}
179
								}
180
								&.system-images {
181
									display: list-item;
182
								}
183
								.img-col {
184
									float:left;
185
									width:50px;
186
									line-height: $btn-height;
187
								}
188
								.name-col {
189
									float: left;
190
									color: $wizard-base-font-color;
191
									width:71%;
192
									padding-right:10px;
193
									line-height: $btn-height;
194
								}
195
								.size-col {
196
									float:left;
197
									width:10%;
198
									line-height: $btn-height;
199
								}
200
								.btn-col {
201
									float:right;
202
									width:10%;
203
									margin-left:10px;
204
									a {
205
										@extend .btn5;
206

    
207
											font-size:1em;
208
										&.current {
209
											color:$overlay-bg-color;
210
										}
211
									}
212
								}
213
								.details {
214
									display: none;
215
									background:darken(white,10%);
216
									padding:22px 0;
217
									margin:20px 6px -9px;
218
									color: $body-font-color;
219
									h3 {
220
										font-size: 1em;
221
										font-weight: normal;
222
										margin-bottom:1em;
223
										padding-left:50px;
224
									}
225
									dl {
226
										margin:0;
227
										padding-left:50px;
228
										@extend .clearfix;
229
										dt {
230
											width: 20%;
231
											float:left;
232
											font-weight:normal;
233
										}
234
										dd {
235
											margin:0 0 5px;
236
										}
237
									}
238
								}
239
							}
240
						}
241
						.flavor {
242
							list-style: none outside none;
243
							li {
244
								list-style:none outside none;
245
								margin-bottom:30px;
246
								.title {
247
									@extend .clearfix;
248
									height:40px;
249
									overflow:hidden;
250
									margin-bottom:emCalc(8px);
251
									color:white;
252
									vertical-align: top;
253
									.snf-font {
254
										display: block;
255
										width:60px;
256
										font-size:38px;
257
										float: left;
258
										position: relative;
259
										bottom: -3px;
260
									}
261
									h2 {
262
										font-size:emCalc(14px);
263
										span {
264
											font-weight:normal;
265
										}
266
										float:left;
267
										width: 140px;
268
										color:white;
269
										margin-right:60px;
270
										padding-left:emCalc(10px);
271
										em {
272
											display: block;
273
											margin-top:4px;
274
											font-size:11px;
275
											font-style:normal;
276
											font-weight:normal;
277
											white-space: nowrap;
278
											line-height: 13px;
279
										}
280
									}
281
									p {
282
										visibility: hidden;
283
										overflow:hidden;
284
										min-height:40px;
285
										font-size:11px;
286
										line-height:11px;
287
									}
288
								}
289
								.options-bar {
290
									@extend .clearfix;
291
									.bar {
292
										width:200px;
293
										float:left;
294
										margin-right:60px;
295
										height: 20px;
296
										position: relative;
297
										top:10px;
298
										.wrap {
299
											border:1px solid white;
300
											padding:1px;
301
											height: 100%;
302
											&.disabled-progress-bar {
303
												border-color: $disabled-resource-color;
304
												.container{
305
													.total {
306
														background-color: $disabled-resource-color;
307
													}
308
												}
309
											}
310
											.container {
311
												height: 100%;
312
												.total {
313
													background:$primary-color;
314
													height: 100%;
315
													float:left;
316
													position: relative;
317
													.current {
318
														background:white;
319
														height: 100%;
320
														float:left;
321
													}
322
													span {
323
														position:absolute;
324
														right:10px;
325
														font-size: emCalc(9px);
326
														top:2px;
327
													}
328
													&.low {
329
														span {
330
															right:-30px;
331
															color:white;
332
														}
333
													}
334
												}
335
											}
336

    
337
										}
338
									}
339
									.options {
340
										overflow:hidden;
341
										list-style: none outside none;
342
										li {
343
											list-style: none outside none;
344
											display: inline-block;
345
											margin-right: 10px;
346
											margin-bottom:0;
347
											a {
348
												@extend .btn5;
349
												min-width: 60px;
350
												&.current {
351
													color:$overlay-bg-color;
352
												}
353
												&.disabled {
354
													border-color: $disabled-resource-color;
355
													color: $disabled-resource-color;
356
													&:hover, &:active {
357
														cursor: default;
358
														border-width: 1px;
359
														line-height: 28px;
360

    
361
													}
362
												}
363
											}
364
										}
365
									}
366
								}
367
							}
368
						}
369
						.summary {
370
							padding-bottom:40px;
371
							.row {
372
								.wrap {
373
									max-width: $row-small;
374
									border-top:1px solid white;
375
									padding-top:1em;
376
									// margin-top:1em;
377
								}
378
								&:first-child {
379
									.wrap {
380
										border-top:0 none;
381
										margin-top:0;
382
									}
383
									dl {
384
										dt {
385
											font-weight: bold;
386
										}
387
									}
388
								}
389
							}
390
							h2 {
391
								font-size:1em;
392
								color:white;
393
								margin-bottom:1em;
394
							}
395
							dl {
396
								margin-bottom:0;
397
								span {
398
									width:40px;
399
									display: inline-block;
400
									font-size:20px;
401
									position: relative;
402
									bottom: -2px;
403
								}
404
								dt {
405
									display: inline-block;
406
									width: 42%;
407
									vertical-align: top;
408
									font-weight:600;
409
								}
410
								dd {
411
									display: inline-block;
412
									width:45%;
413
									margin-bottom:1em;
414
								}
415
							}
416
						}
417
						.advanced-conf-step {
418
							color: $wizard-base-font-color;
419
							h2 {
420
								color: $wizard-base-font-color;
421
								font-size: 1em;
422
								margin-bottom: 10px;
423
								line-height: 1;
424
							}
425
							p {
426
								font-size: $wizard-paragraph-font-size;
427
							}
428
			                .snf-checkbox-checked, .snf-checkbox-unchecked {
429
			                    color: $wizard-base-font-color;
430
			                }
431
			                .expand-btn {
432
			                    margin: 50px 0 $step-adv-padding;
433
			                    a {
434
			                        color:$wizard-base-font-color;
435
			                        span {
436
										padding-left:24px;
437
			                        }
438
			                      }
439
			                }
440
			                .adv-main {
441
			                    .vm-name {
442
			                        h2 {
443
			                            color:white;
444
			                            font-size:1em;
445
			                            margin-bottom:0.5em;
446
			                        }
447
			                    }
448
			                }
449
			                .btn5 {
450
			                    &:hover {
451
			                        color:white;
452
			                }
453
			                    &.current, &.current:hover {
454
			                        color:$overlay-bg-color;
455
			                    }
456
			                }
457
			                .advanced-conf-options {
458
			                    display: none;
459
			                    .check {
460
									font-size: 20px;
461
			                    }
462
			                    .area {
463
			                        padding:$step-adv-padding 0;
464
			                        .row {
465
				                        p{
466
											max-width:340px;
467
											margin-bottom: 20px;
468
				                        }
469
			                        }
470
			                        ul {
471
			                            li {
472
			                                position: relative;
473
			                                list-style:none outside none;
474
			                                margin-bottom:7px;
475
			                                &.checkbox {
476
			                                    &:hover {
477
			                                        cursor: pointer;
478
			                                    }
479
			                                }
480
			                                h3 {
481
			                                    width: $conf-area-h-width;
482
			                                    color:white;
483
			                                    font-size:1em;
484
			                                    font-weight: normal;
485
			                                    margin:0 28px 0 0;
486
			                                    display: inline-block;
487
			                                    //&.net-name { width: 9.063em }
488
			                                }
489
			                            }
490
			                        }
491
			                    }
492
			                    .ssh-keys-area {
493
			                        background-color: $ssh-opt-area-color;
494
			                        .btn5 {
495
										margin-top: 3px;
496
			                        }
497

    
498
			                    }
499
			                    .networks-area {
500
			                        background-color: $net-opt-area-color;
501
			                        ul {
502
										position: relative;
503
										margin-bottom:0;
504
			                        }
505
			                        li {
506
			                            .net-icons {
507
			                                padding-right:30px;
508
			                                display: inline-block;
509
			                                width:145px;
510
			                                text-align: right;
511
			                                font-size:30px;
512
			                                margin-bottom: 0;
513
			                                position: relative;
514
			                                span {
515
												position: relative;
516
												&.snf-router-outline {
517
													top:-1px;
518
			                                    }
519
			                                    &.snf-www {
520
			                                        top:5px;
521
			                                    }
522
			                                    &.snf-network-full {
523
			                                        top:5px;
524
			                                    }
525
			                                    &.temp-line {
526
													position: absolute;
527
													height:1px;
528
													width:13px;
529
													background:white;
530
													bottom:15px;
531
													&.line1 { right:56px; }
532
													&.line2 {
533
														right:97px;
534
														width:10px;
535
													}
536
												}
537
											}
538
										}
539
			                            &.more {
540
			                                background:$net-more-opt-area-color;
541
			                                margin:$step-adv-padding 6px;
542
			                                padding:$step-adv-padding 0;
543
			                                color:#fff;
544
			                                h3 {
545
			                                    color:#fff;
546
			                                    padding-left: 145px;
547
			                                    &:hover {
548
													cursor: pointer;
549
			                                    }
550
			                                }
551
			                                .btn5 {
552
			                                    margin-top:20px;
553
			                                    border-color:#fff;
554
			                                    color:#fff;
555
			                                    margin-left:145px;
556
			                                }
557
			                                .with-checkbox {
558
			                                    a {
559
			                                        span {
560
			                                            color: #fff;
561
			                                        }
562
			                                    }
563
			                                }
564
			                            }
565
			                        }
566

    
567
			                    }
568
			                    .tags-area {
569
			                        background-color: $tag-opt-area-color;
570
			                        .snf-color-picker {
571
			                            display: none;
572
			                        }
573
			                        #picker {
574
			                            position: relative;
575
			                            width: 207px;
576
			                            margin: 30px 5px;
577
			                            display: inline-block;
578
			                        }
579
			                        .btns {
580
			                            margin-top: 77px;
581
			                            margin-bottom: 30px;
582
			                        }
583
			                        .btn5 {
584
			                            margin-right:20px;
585
			                        }
586
			                        .tag-demo {
587
										left:10px;
588
			                        }
589
			                        h3 {
590
			                            width: $conf-area-h-width;
591
			                            color:white;
592
			                            font-size:1em;
593
			                            font-weight: normal;
594
			                            margin:0 28px 0 0;
595
			                            display: inline-block;
596
			                            //&.net-name { width: 9.063em }
597
			                           }
598
			                        .list-header {
599
										position: relative;
600
										left: -14px;
601
										h3 {
602
											margin-right: 35px;
603
										}
604
									}
605
			                    }
606
			                }
607
			            }
608
			        }
609
			    }
610
			    .bottom {
611
			        position: fixed;
612
			        left:0;
613
			        right:0;
614
			        bottom:0;
615
			        border-top:1px solid $overlay-color-top;
616
			        background:$overlay-bg-color;
617
			        .row {
618
			            height: $bar-submenu-height;
619
			            line-height: $bar-submenu-height;
620
			        }
621
			        .nav {
622
			            height: $bar-submenu-height;
623
			            line-height: $bar-submenu-height;
624
			            color:white;
625
			            display: inline-block;
626
			            position: relative;
627
			            font-size: emCalc(12px);
628
			            top:($bar-submenu-height - 30px)/2;
629
			            width: 100px;
630
			            &:hover,
631
			            &:focus {
632
			                @include transition(background, 0ms, ease-out);
633
			            }
634
			            span {
635
			                display: inline-block;
636
			                height: 30px;
637
			                line-height:30px;
638
			                float: left;
639
			                &:hover,
640
			                &:focus {
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
			            &:focus {
657
			                background-position:left bottom;
658
			                span {
659
			                    background-position:right bottom;
660
			                }
661
			            }
662
			        }
663
			        .next {
664
			            float:right;
665
			            height:30px;
666
			            padding-right:18px;
667
			            background:url('../images/nav-edge-rt.png') no-repeat right top;
668
			            span {
669
			                padding-left:10px;
670
			                background:url('../images/nav-rt.png') no-repeat left top;
671
			                float: right;
672
			            }
673
			            &:hover,
674
			            &.active,
675
			            &:focus {
676
			                background-position:right bottom;
677
			                span {
678
			                    background-position:left bottom;
679
			                    float:right;
680
			                }
681
			            }
682
			        }
683
			    }
684
		} // end of .wizard
685

    
686

    
687

    
688

    
689

    
690

    
691
// for network creation wizard
692
#network-wizard {
693

    
694
	a {
695
		&.nav:focus {
696
			border: none;
697
		}
698
		&.radio_btn:focus, &.check:focus{
699
				border: 1px solid #aee7cc;
700
				padding: 2px;
701
			}
702
	}
703

    
704
	li {
705
		list-style: none outside none;
706
		position: relative;
707
	}
708

    
709
	.snf-checkbox-checked, .snf-checkbox-unchecked {
710
		font-size: 1.3em;
711
	}
712
	.subnet_options {
713
		margin: 0;
714
		li {
715
			margin-top: 20px;
716
		}
717
	}
718
	.step {
719
		a {	color: $wizard-base-font-color;}
720
		.network_options {
721
			position: relative;
722
			padding-bottom: 20px;
723
			.explanatory {
724
					font-size:emCalc(12px);
725
					margin-top:20px;
726
					margin-bottom:60px;
727
			}
728
			.check, .radio_btn {
729
				position: absolute;
730
				right: 0;
731
				&:focus {
732
					right: -3px;
733
					top: -3px;
734
				}
735
			}
736
			.network-name {
737
				margin: 40px 0;
738
				h2 {
739
					color:white;
740
					font-size: emCalc(16px);
741
				}
742
			}
743
			
744
			
745
			li{
746
				display: block;
747
				width: 360px;
748
				&.manual{
749
					position: relative;
750
					.input {
751
						position: absolute;
752
						right: -170px;
753
						width: 150px;
754
						bottom: 5px;
755
						display: none;
756
					}
757
				}
758
				&.project-selection li {
759
					width: 100%;
760
				}
761
			}
762
		}
763
	}
764
}
765

    
766
// for volume creation wizard
767
#volume-wizard {
768
	a {
769
		&.nav:focus {
770
			border: none;
771
		}
772
		&.radio_btn:focus, &.check:focus{
773
				border: 1px solid #aee7cc;
774
				padding: 2px;
775
			}
776
	}
777

    
778
	li {
779
		list-style: none outside none;
780
		position: relative;
781
	}
782

    
783
	.snf-checkbox-checked, .snf-checkbox-unchecked {
784
		font-size: 1.3em;
785
	}
786
	.step {
787
		a {
788
			color: $wizard-base-font-color;
789
		}
790
		p {
791
			font-size: $wizard-paragraph-font-size-custom;
792
			line-height: 1;
793
		}
794
		h2 {
795
			color:white;
796
			font-size: emCalc(16px);
797
		}
798
		.volume_options {
799
			&>li{
800
				display: block;
801
				&.volume-name { //same with network-name and vm-name
802
					margin: 40px 0;
803
				}
804
				list-style: none outside none;
805
				margin-bottom:30px;
806
				.title {
807
					@extend .clearfix;
808
					height:40px;
809
					overflow:hidden;
810
					margin-bottom:emCalc(8px);
811
					color:white;
812
					vertical-align: top;
813
					.snf-font {
814
						display: block;
815
						width:60px;
816
						font-size:38px;
817
						float: left;
818
						position: relative;
819
						bottom: -3px;
820
					}
821
					h2 {
822
						font-size:emCalc(14px);
823
						span {
824
							font-weight:normal;
825
						}
826
						float:left;
827
						width: 140px;
828
						color:white;
829
						margin-right:60px;
830
						padding-left:emCalc(10px);
831
						em {
832
							display: block;
833
							margin-top:4px;
834
							font-size:11px;
835
							font-style:normal;
836
							font-weight:normal;
837
							white-space: nowrap;
838
							line-height: 13px;
839
						}
840
					}
841
					p {
842
						visibility: hidden;
843
						overflow:hidden;
844
						min-height:40px;
845
						font-size:11px;
846
						line-height:11px;
847
					}
848
				}
849
				.options-bar {
850
					@extend .clearfix;
851
					.bar {
852
						width:200px;
853
						float:left;
854
						margin-right:60px;
855
						height: 20px;
856
						position: relative;
857
						top:10px;
858
						.wrap {
859
							border:1px solid white;
860
							padding:1px;
861
							height: 100%;
862
							&.disabled-progress-bar {
863
								border-color: $disabled-resource-color;
864
								.container{
865
									.total {
866
										background-color: $disabled-resource-color;
867
									}
868
								}
869
							}
870
							.container {
871
								height: 100%;
872
								.total {
873
									background:$primary-color;
874
									height: 100%;
875
									float:left;
876
									position: relative;
877
									.current {
878
										background:white;
879
										height: 100%;
880
										float:left;
881
									}
882
									span {
883
										position:absolute;
884
										right:10px;
885
										font-size: emCalc(9px);
886
										top:2px;
887
									}
888
									&.low {
889
										span {
890
											right:-30px;
891
											color:white;
892
										}
893
									}
894
								}
895
							}
896
						}
897
					}
898
					.options {
899
						overflow:hidden;
900
						list-style: none outside none;
901
						li {
902
							list-style: none outside none;
903
							display: inline-block;
904
							margin-right: 10px;
905
							margin-bottom:0;
906
							a {
907
								@extend .btn5;
908
								min-width: 60px;
909
								&.current {
910
									color:$overlay-bg-color;
911
								}
912
								&.disabled {
913
									border-color: $disabled-resource-color;
914
									color: $disabled-resource-color;
915
									&:hover, &:active {
916
										cursor: default;
917
										border-width: 1px;
918
										line-height: 28px;
919

    
920
									}
921
								}
922
							}
923
						}
924
					}
925
				}
926
			}
927
		}
928
		.explain {
929
			margin-bottom: 1em;
930
		}
931

    
932
		.vms-list {
933
			margin-top: emCalc(16px);
934
			&>li {
935
				margin-bottom: emCalc(8px);
936
				margin-left: emCalc(24px);
937
				&:first-child {
938
					.img-wrap .snf-font{
939
						color: white;
940
					}
941
				}
942
				&>div, &>a {
943
					display: inline-block;
944
					margin-right: 15px;
945
				}
946
				.img-wrap {
947
					position: relative;
948
					width: emCalc(30px);
949
					.snf-font {
950
						font-size: emCalc(30px);
951
						color: $vm-active-color;
952
					}
953
					.os{
954
						background-size: emCalc(14px);
955
						top: -2px;
956
					}
957
				}
958
				.name {
959
					width: $conf-area-h-width;
960
				}
961
			}
962
		}
963
	}
964
}