Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (23.5 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
						padding:50px 0 50px;
140
						&.current {
141
							display: block;
142
						}
143
						.vms-list {
144
							margin-top: emCalc(16px);
145
							&>li {
146
								margin-bottom: emCalc(8px);
147
								margin-left: emCalc(24px);
148
								&:first-child {
149
									.img-wrap .snf-font{
150
										color: white;
151
									}
152
								}
153
								&>div, &>a {
154
									display: inline-block;
155
									margin-right: 15px;
156
								}
157
								.img-wrap {
158
									position: relative;
159
									width: emCalc(30px);
160
									.snf-font {
161
										font-size: emCalc(30px);
162
										color: $vm-active-color;
163
										line-height: 120%
164
									}
165
									.os{
166
										background-size: emCalc(14px);
167
										top: 0px;
168
									}
169
								}
170
								.name {
171
									width: $conf-area-h-width;
172
								}
173
							}
174
						}
175

    
176

    
177

    
178
						&.step-2 {
179
							// padding-top:30px;
180
							.dropdown {
181
								margin-bottom:40px;
182
							}
183
						}
184
						&.step-3 {
185
							// padding-top: 45px;
186
						}
187
						.os {
188
							li {
189
								display: none;
190
								list-style: none outside none;
191
								font-size:emCalc(12px);
192
								@extend .clearfix;
193
								padding:15px 0;
194
								&:hover,
195
								&.hover {
196
									background:$overlay-darker-color;
197
								}
198
								&.current {
199
									background:white;
200
									color:$overlay-bg-color;
201
									.name-col {
202
										color:$overlay-bg-color;
203
									}
204
									.btn-col {
205
										a {
206
											border-color:$overlay-bg-color;
207
											color:$overlay-bg-color;
208
											&.current {
209
												color:white;
210
												background:$overlay-bg-color;
211
											}
212
										}
213
									}
214
								}
215
								&.system-images {
216
									display: list-item;
217
								}
218
								.img-col {
219
									float:left;
220
									width:50px;
221
									line-height: $btn-height;
222
								}
223
								.name-col {
224
									float: left;
225
									color: $wizard-base-font-color;
226
									width:71%;
227
									padding-right:10px;
228
									line-height: $btn-height;
229
								}
230
								.size-col {
231
									float:left;
232
									width:10%;
233
									line-height: $btn-height;
234
								}
235
								.btn-col {
236
									float:right;
237
									width:10%;
238
									margin-left:10px;
239
									a {
240
										@extend .btn5;
241

    
242
											font-size:1em;
243
										&.current {
244
											color:$overlay-bg-color;
245
										}
246
									}
247
								}
248
								.details {
249
									display: none;
250
									background:darken(white,10%);
251
									padding:22px 0;
252
									margin:20px 6px -9px;
253
									color: $body-font-color;
254
									h3 {
255
										font-size: 1em;
256
										font-weight: normal;
257
										margin-bottom:1em;
258
										padding-left:50px;
259
									}
260
									dl {
261
										margin:0;
262
										padding-left:50px;
263
										@extend .clearfix;
264
										dt {
265
											width: 20%;
266
											float:left;
267
											font-weight:normal;
268
										}
269
										dd {
270
											margin:0 0 5px;
271
										}
272
									}
273
								}
274
							}
275
						}
276
						.flavor {
277
							list-style: none outside none;
278
							li {
279
								list-style:none outside none;
280
								margin-bottom:30px;
281
								.title {
282
									@extend .clearfix;
283
									height:40px;
284
									overflow:hidden;
285
									margin-bottom:emCalc(8px);
286
									color:white;
287
									vertical-align: top;
288
									.snf-font {
289
										display: block;
290
										width:60px;
291
										font-size:38px;
292
										float: left;
293
										position: relative;
294
										bottom: -3px;
295
									}
296
									h2 {
297
										font-size:emCalc(14px);
298
										span {
299
											font-weight:normal;
300
										}
301
										float:left;
302
										width: 140px;
303
										color:white;
304
										margin-right:60px;
305
										padding-left:emCalc(10px);
306
										em {
307
											display: block;
308
											margin-top:4px;
309
											font-size:11px;
310
											font-style:normal;
311
											font-weight:normal;
312
											white-space: nowrap;
313
											line-height: 13px;
314
										}
315
									}
316
									p {
317
										visibility: hidden;
318
										overflow:hidden;
319
										min-height:40px;
320
										font-size:11px;
321
										line-height:11px;
322
									}
323
								}
324
								.options-bar {
325
									@extend .clearfix;
326
									.bar {
327
										width:200px;
328
										float:left;
329
										margin-right:60px;
330
										height: 20px;
331
										position: relative;
332
										top:10px;
333
										.wrap {
334
											border:1px solid white;
335
											padding:1px;
336
											height: 100%;
337
											&.disabled-progress-bar {
338
												border-color: $disabled-resource-color;
339
												.container{
340
													.total {
341
														background-color: $disabled-resource-color;
342
													}
343
												}
344
											}
345
											.container {
346
												height: 100%;
347
												.total {
348
													background:$primary-color;
349
													height: 100%;
350
													float:left;
351
													position: relative;
352
													.current {
353
														background:white;
354
														height: 100%;
355
														float:left;
356
													}
357
													span {
358
														position:absolute;
359
														right:10px;
360
														font-size: emCalc(9px);
361
														top:2px;
362
													}
363
													&.low {
364
														span {
365
															right:-30px;
366
															color:white;
367
														}
368
													}
369
												}
370
											}
371

    
372
										}
373
									}
374
									.options {
375
										overflow:hidden;
376
										list-style: none outside none;
377
										li {
378
											list-style: none outside none;
379
											display: inline-block;
380
											margin-right: 10px;
381
											margin-bottom:0;
382
											a {
383
												@extend .btn5;
384
												min-width: 60px;
385
												&.current {
386
													color:$overlay-bg-color;
387
												}
388
												&.disabled {
389
													border-color: $disabled-resource-color;
390
													color: $disabled-resource-color;
391
													&:hover, &:active {
392
														cursor: default;
393
														border-width: 1px;
394
														line-height: 28px;
395

    
396
													}
397
												}
398
											}
399
										}
400
									}
401
								}
402
							}
403
						}
404
						.summary {
405
							padding-bottom:40px;
406
							.row {
407
								.wrap {
408
									max-width: $row-small;
409
									border-top:1px solid white;
410
									padding-top:1em;
411
									// margin-top:1em;
412
								}
413
								&:first-child {
414
									.wrap {
415
										border-top:0 none;
416
										margin-top:0;
417
									}
418
									dl {
419
										dt {
420
											font-weight: bold;
421
										}
422
									}
423
								}
424
							}
425
							h2 {
426
								font-size:1em;
427
								color:white;
428
								margin-bottom:1em;
429
							}
430
							dl {
431
								margin-bottom:0;
432
								span {
433
									width:40px;
434
									display: inline-block;
435
									font-size:20px;
436
									position: relative;
437
									bottom: -2px;
438
								}
439
								dt {
440
									display: inline-block;
441
									width: 42%;
442
									vertical-align: top;
443
									font-weight:600;
444
								}
445
								dd {
446
									display: inline-block;
447
									width:45%;
448
									margin-bottom:1em;
449
								}
450
							}
451
						}
452
						.advanced-conf-step {
453
							color: $wizard-base-font-color;
454
							h2 {
455
								color: $wizard-base-font-color;
456
								font-size: 1em;
457
								margin-bottom: 10px;
458
								line-height: 1;
459
							}
460
							p {
461
								font-size: $wizard-paragraph-font-size;
462
							}
463
			                .snf-checkbox-checked, .snf-checkbox-unchecked {
464
			                    color: $wizard-base-font-color;
465
			                }
466
			                .expand-btn {
467
			                    margin: 50px 0 $step-adv-padding;
468
			                    a {
469
			                        color:$wizard-base-font-color;
470
			                        span {
471
										padding-left:24px;
472
			                        }
473
			                      }
474
			                }
475
			                .adv-main {
476
			                    .vm-name {
477
			                        h2 {
478
			                            color:white;
479
			                            font-size:1em;
480
			                            margin-bottom:0.5em;
481
			                        }
482
			                    }
483
			                }
484
			                .btn5 {
485
			                    &:hover {
486
			                        color:white;
487
			                }
488
			                    &.current, &.current:hover {
489
			                        color:$overlay-bg-color;
490
			                    }
491
			                }
492
			                .advanced-conf-options {
493
			                    display: none;
494
			                    .check {
495
									font-size: 20px;
496
			                    }
497
			                    .area {
498
			                        padding:$step-adv-padding 0;
499
			                        .row {
500
				                        p{
501
											max-width:340px;
502
											margin-bottom: 20px;
503
				                        }
504
			                        }
505
			                        ul {
506
			                            li {
507
			                                position: relative;
508
			                                list-style:none outside none;
509
			                                margin-bottom:7px;
510
			                                &.checkbox {
511
			                                    &:hover {
512
			                                        cursor: pointer;
513
			                                    }
514
			                                }
515
			                                h3 {
516
			                                    width: $conf-area-h-width;
517
			                                    color:white;
518
			                                    font-size:1em;
519
			                                    font-weight: normal;
520
			                                    margin:0 28px 0 0;
521
			                                    display: inline-block;
522
			                                    //&.net-name { width: 9.063em }
523
			                                }
524
			                            }
525
			                        }
526
			                    }
527
			                    .ssh-keys-area {
528
			                        background-color: $ssh-opt-area-color;
529
			                        .btn5 {
530
										margin-top: 3px;
531
			                        }
532

    
533
			                    }
534
			                    .networks-area {
535
			                        background-color: $net-opt-area-color;
536
			                        ul {
537
										position: relative;
538
										margin-bottom:0;
539
			                        }
540
			                        li {
541
			                            .net-icons {
542
			                                padding-right:30px;
543
			                                display: inline-block;
544
			                                width:145px;
545
			                                text-align: right;
546
			                                font-size:30px;
547
			                                margin-bottom: 0;
548
			                                position: relative;
549
			                                span {
550
												position: relative;
551
												&.snf-router-outline {
552
													top:-1px;
553
			                                    }
554
			                                    &.snf-www {
555
			                                        top:5px;
556
			                                    }
557
			                                    &.snf-network-full {
558
			                                        top:5px;
559
			                                    }
560
			                                    &.temp-line {
561
													position: absolute;
562
													height:1px;
563
													width:13px;
564
													background:white;
565
													bottom:15px;
566
													&.line1 { right:56px; }
567
													&.line2 {
568
														right:97px;
569
														width:10px;
570
													}
571
												}
572
											}
573
										}
574
			                            &.more {
575
			                                background:$net-more-opt-area-color;
576
			                                margin:$step-adv-padding 6px;
577
			                                padding:$step-adv-padding 0;
578
			                                color:#fff;
579
			                                h3 {
580
			                                    color:#fff;
581
			                                    padding-left: 145px;
582
			                                    &:hover {
583
													cursor: pointer;
584
			                                    }
585
			                                }
586
			                                .btn5 {
587
			                                    margin-top:20px;
588
			                                    border-color:#fff;
589
			                                    color:#fff;
590
			                                    margin-left:145px;
591
			                                }
592
			                                .with-checkbox {
593
			                                    a {
594
			                                        span {
595
			                                            color: #fff;
596
			                                        }
597
			                                    }
598
			                                }
599
			                            }
600
			                        }
601

    
602
			                    }
603
			                    .tags-area {
604
			                        background-color: $tag-opt-area-color;
605
			                        .snf-color-picker {
606
			                            display: none;
607
			                        }
608
			                        #picker {
609
			                            position: relative;
610
			                            width: 207px;
611
			                            margin: 30px 5px;
612
			                            display: inline-block;
613
			                        }
614
			                        .btns {
615
			                            margin-top: 77px;
616
			                            margin-bottom: 30px;
617
			                        }
618
			                        .btn5 {
619
			                            margin-right:20px;
620
			                        }
621
			                        .tag-demo {
622
										left:10px;
623
			                        }
624
			                        h3 {
625
			                            width: $conf-area-h-width;
626
			                            color:white;
627
			                            font-size:1em;
628
			                            font-weight: normal;
629
			                            margin:0 28px 0 0;
630
			                            display: inline-block;
631
			                            //&.net-name { width: 9.063em }
632
			                           }
633
			                        .list-header {
634
										position: relative;
635
										left: -14px;
636
										h3 {
637
											margin-right: 35px;
638
										}
639
									}
640
			                    }
641
			                }
642
			            }
643
			        }
644
			    }
645
			    .bottom {
646
			        position: fixed;
647
			        left:0;
648
			        right:0;
649
			        bottom:0;
650
			        border-top:1px solid $overlay-color-top;
651
			        background:$overlay-bg-color;
652
			        .row {
653
			            height: $bar-submenu-height;
654
			            line-height: $bar-submenu-height;
655
			        }
656
			        .nav {
657
			            height: $bar-submenu-height;
658
			            line-height: $bar-submenu-height;
659
			            color:white;
660
			            display: inline-block;
661
			            position: relative;
662
			            font-size: emCalc(12px);
663
			            top:($bar-submenu-height - 30px)/2;
664
			            width: 100px;
665
			            &:hover,
666
			            &:focus {
667
			                @include transition(background, 0ms, ease-out);
668
			            }
669
			            span {
670
			                display: inline-block;
671
			                height: 30px;
672
			                line-height:30px;
673
			                float: left;
674
			                &:hover,
675
			                &:focus {
676
			                    @include transition(background, 0ms, linear);
677
			                }
678
			            }
679
			        }
680
			        .prev {
681
			            float:left;
682
			            height:30px;
683
			            padding-left:18px;
684
			            background:url('../images/nav-edge-lt.png') no-repeat left top;
685
			            span {
686
			                padding-right:10px;
687
			                background:url('../images/nav-lt.png') no-repeat right top;
688
			            }
689
			            &:hover,
690
			            &.active,
691
			            &:focus {
692
			                background-position:left bottom;
693
			                span {
694
			                    background-position:right bottom;
695
			                }
696
			            }
697
			        }
698
			        .next {
699
			            float:right;
700
			            height:30px;
701
			            padding-right:18px;
702
			            background:url('../images/nav-edge-rt.png') no-repeat right top;
703
			            span {
704
			                padding-left:10px;
705
			                background:url('../images/nav-rt.png') no-repeat left top;
706
			                float: right;
707
			            }
708
			            &:hover,
709
			            &.active,
710
			            &:focus {
711
			                background-position:right bottom;
712
			                span {
713
			                    background-position:left bottom;
714
			                    float:right;
715
			                }
716
			            }
717
			        }
718
			    }
719
		} // end of .wizard
720

    
721

    
722

    
723

    
724

    
725

    
726
// for network creation wizard
727
#network-wizard {
728

    
729
	a {
730
		&.nav:focus {
731
			border: none;
732
		}
733
		&.radio_btn:focus, &.check:focus{
734
				border: 1px solid #aee7cc;
735
				padding: 2px;
736
			}
737
	}
738

    
739
	li {
740
		list-style: none outside none;
741
		position: relative;
742
	}
743

    
744
	.snf-checkbox-checked, .snf-checkbox-unchecked {
745
		font-size: 1.3em;
746
	}
747
	.subnet_options {
748
		margin: 0;
749
		li {
750
			margin-top: 20px;
751
		}
752
	}
753
	.step {
754
		a {	color: $wizard-base-font-color;}
755
		.network_options {
756
			position: relative;
757
			padding-bottom: 20px;
758
			.explanatory {
759
					font-size:emCalc(12px);
760
					margin-top:20px;
761
					margin-bottom:60px;
762
			}
763
			.check, .radio_btn {
764
				position: absolute;
765
				right: 0;
766
				&:focus {
767
					right: -3px;
768
					top: -3px;
769
				}
770
			}
771
			.network-name {
772
				margin: 40px 0;
773
				h2 {
774
					color:white;
775
					font-size: emCalc(16px);
776
				}
777
			}
778
			
779
			
780
			li{
781
				display: block;
782
				width: 360px;
783
				&.manual{
784
					position: relative;
785
					.input {
786
						position: absolute;
787
						right: -170px;
788
						width: 150px;
789
						bottom: 5px;
790
						display: none;
791
					}
792
				}
793
				&.project-selection li {
794
					width: 100%;
795
				}
796
			}
797
		}
798
	}
799
}
800

    
801
// for volume creation wizard
802
#volume-wizard {
803
	a {
804
		&.nav:focus {
805
			border: none;
806
		}
807
		&.radio_btn:focus, &.check:focus{
808
				border: 1px solid #aee7cc;
809
				padding: 2px;
810
			}
811
	}
812

    
813
	li {
814
		list-style: none outside none;
815
		position: relative;
816
	}
817

    
818
	.snf-checkbox-checked, .snf-checkbox-unchecked {
819
		font-size: 1.3em;
820
	}
821
	.step {
822
		a {
823
			color: $wizard-base-font-color;
824
		}
825
		p {
826
			font-size: $wizard-paragraph-font-size-custom;
827
			line-height: 1;
828
		}
829
		h2 {
830
			color:white;
831
			font-size: emCalc(16px);
832
		}
833
		.volume_options {
834
			&>li{
835
				display: block;
836
				&.volume-name { //same with network-name and vm-name
837
					margin: 40px 0;
838
				}
839
				list-style: none outside none;
840
				margin-bottom:30px;
841
				.title {
842
					@extend .clearfix;
843
					height:40px;
844
					overflow:hidden;
845
					margin-bottom:emCalc(8px);
846
					color:white;
847
					vertical-align: top;
848
					.snf-font {
849
						display: block;
850
						width:60px;
851
						font-size:38px;
852
						float: left;
853
						position: relative;
854
						bottom: -3px;
855
					}
856
					h2 {
857
						font-size:emCalc(14px);
858
						span {
859
							font-weight:normal;
860
						}
861
						float:left;
862
						width: 140px;
863
						color:white;
864
						margin-right:60px;
865
						padding-left:emCalc(10px);
866
						em {
867
							display: block;
868
							margin-top:4px;
869
							font-size:11px;
870
							font-style:normal;
871
							font-weight:normal;
872
							white-space: nowrap;
873
							line-height: 13px;
874
						}
875
					}
876
					p {
877
						visibility: hidden;
878
						overflow:hidden;
879
						min-height:40px;
880
						font-size:11px;
881
						line-height:11px;
882
					}
883
				}
884
				.options-bar {
885
					@extend .clearfix;
886
					.bar {
887
						width:200px;
888
						float:left;
889
						margin-right:60px;
890
						height: 20px;
891
						position: relative;
892
						top:10px;
893
						.wrap {
894
							border:1px solid white;
895
							padding:1px;
896
							height: 100%;
897
							&.disabled-progress-bar {
898
								border-color: $disabled-resource-color;
899
								.container{
900
									.total {
901
										background-color: $disabled-resource-color;
902
									}
903
								}
904
							}
905
							.container {
906
								height: 100%;
907
								.total {
908
									background:$primary-color;
909
									height: 100%;
910
									float:left;
911
									position: relative;
912
									.current {
913
										background:white;
914
										height: 100%;
915
										float:left;
916
									}
917
									span {
918
										position:absolute;
919
										right:10px;
920
										font-size: emCalc(9px);
921
										top:2px;
922
									}
923
									&.low {
924
										span {
925
											right:-30px;
926
											color:white;
927
										}
928
									}
929
								}
930
							}
931
						}
932
					}
933
					.options {
934
						overflow:hidden;
935
						list-style: none outside none;
936
						li {
937
							list-style: none outside none;
938
							display: inline-block;
939
							margin-right: 10px;
940
							margin-bottom:0;
941
							a {
942
								@extend .btn5;
943
								min-width: 60px;
944
								&.current {
945
									color:$overlay-bg-color;
946
								}
947
								&.disabled {
948
									border-color: $disabled-resource-color;
949
									color: $disabled-resource-color;
950
									&:hover, &:active {
951
										cursor: default;
952
										border-width: 1px;
953
										line-height: 28px;
954

    
955
									}
956
								}
957
							}
958
						}
959
					}
960
				}
961
			}
962
		}
963
		.explain {
964
			margin-bottom: 1em;
965
		}
966
	}
967
}