Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (3.4 kB)

1
/*
2

    
3
Overlays (Todo: clean up)
4

    
5
*/
6
body.with-overlay {
7
	background:$overlay-bg-color;
8
	.main {
9
		opacity:0;
10
	}
11
}
12

    
13

    
14
.body-wrapper {
15
	position: relative;
16
	left:0;
17
	top:0;
18
	.welcome {
19
		display:none;
20
		}
21
	&.no-vm {
22
		background:url(../images/draw-welcome.png) no-repeat center 50px $secondary-color;
23
		.welcome {
24
			display:none;
25
			color:#fff;
26
			text-align:center;
27
			position: relative;
28
			top:-15px;
29
			left:75px;
30
			display:block;
31
		}
32
	}
33
	.overlay-area-custom {
34
		display:none;
35
		position:absolute;
36
		left:0;
37
		right:0;
38
		top:-$bar-height;
39
		width:100%;
40
		height:100%;
41
		background:$overlay-bg-color;
42
		z-index:20;
43
		.overlay-div {
44
			display: none;
45
			z-index:50;
46
			position: relative;
47
			background:#fff;
48
			top:20%;
49
			left:25%;
50
			width:50%;
51
			padding:25px;
52
			.buttons {
53
				a {
54
					margin-right:20px;
55
				}
56
			}
57
			.close {
58
				float:right;
59
				font-size:30px;
60
			}
61
			&.upload-widget {
62
				background:transparent;
63
				padding:45px 0;
64
				width:80%;
65
				left:10%;
66
				border:1px solid white;
67
			}
68
		} // end of .overlay-div
69
}
70

    
71
}
72

    
73
.communication-error {
74
	// display: none;
75
	background-color: $error-color;
76
	color: $wizard-base-font-color;
77
	position: fixed;
78
	bottom: -151px;
79
	left: 0px;
80
	width: 100%;
81
	padding-top: 30px;
82
	padding-bottom: 15px;
83
	z-index: 10;
84
	p {
85
		text-align: center;
86
		line-height: 2em;
87
		margin: 0 auto;
88
		max-width: 800px;
89
		&.buttons {
90
			margin-top:10px;
91
			a:not(:first-child) {
92
				margin-left: 15px;
93
			} 
94
		}
95
	}
96
}
97

    
98
.reveal-modal {
99
	padding:200px 140px 40px;
100
	h3 {
101
        font-size:1em;
102
    }
103
    p {
104
		color: #fff;
105
		text-align: center;
106
		&.message-forimg {
107
			margin-top: 132px;
108
			margin-bottom: 35px; // 20px from background icon
109
		}
110
		&.buttons {
111
			a:first-child {
112
				margin-right:25px;
113
			}
114
		}
115
	}
116
	.close-reveal-modal {
117
		color: #fff;
118
		&:hover {
119
			color: $gray-0;
120
		}
121
	}
122

    
123
	&#modal-start {
124
		background: $secondary-color url('../images/shutdown.png') no-repeat center 50px;
125
    }
126
    &#modal-reboot {
127
		background: #ff7049 url('../images/restart.png') no-repeat center 50px;
128
	}
129
	&#modal-shutdown {
130
		background: #ff7049 url('../images/shutdown.png') no-repeat center 50px;
131
	}
132
	&#modal-destroy {
133
		background: #d7145a url('../images/destroy-vm.png') no-repeat center 46px;
134
	}
135
	&#destroy-network-confirm {
136
		background: #d7145a url('../images/destroy-network-1.png') no-repeat center 50px;
137
	}
138
	&#destroy-disk-confirm {
139
		background: #d7145a url('../images/destroy-disk.png') no-repeat center 50px;
140
	}
141
	&#modal-connect, &.remove, &#generic {
142
		padding-top:40px;
143
		p {
144
			text-align:left;
145
			color: black;
146
			&.info {
147
				font-style: italic;
148
				font-size:emCalc(13px);
149
				color: #9e9ea1;
150
			}
151
			&.ssh {
152
				text-align: center;
153
				span {
154
					display: inline;
155
					padding: 10px 30px;
156
					background:$secondary-color;
157
					color:#fff;
158
				}
159
			}
160
			&.buttons {
161
				text-align: center;
162
				.btn4, .btn4:hover span, .btn4:focus span {
163
					border-color: $body-font-color; 
164
				}
165
				.btn4 span {
166
					color: $body-font-color;
167
				}
168

    
169
			}
170
		}
171
		.close-reveal-modal {
172
			color: $link-color;
173
			&:hover {
174
				color: $link-color-hover;
175
			}
176
		}
177
	}
178
}
179

    
180
/* Responive ------------------------------------------------ */
181
@media only screen and (max-width: $small-mobile) {
182
}
183

    
184
@media only screen and (max-width: $small-screen) {
185
    .wizard {
186
        .top {
187
            position: static;
188
        }
189
        .middle {
190
            padding-top:0;
191
        }
192
    }
193
    .body-wrapper {
194
        .overlay-area {
195
            top:0;
196
        }
197
    }
198
}