Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (4.1 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
	.reveal-modal {
34
		padding:65px 140px 40px;
35
	    h3 {
36
	        font-size:1em;
37
	    }
38
	    p {
39
			color: white;
40
			text-align: center;
41
			&.message-forimg {
42
				margin-top:132px;
43
				margin-bottom: 35px; // 20px from background icon
44
			}
45
			&.buttons {
46
				a:first-child {
47
					margin-right:25px;
48
				}
49
			}
50
		}
51
		&#start-confirm {
52
			background: $secondary-color url('../images/shutdown.png') no-repeat center 50px;	//55px from top
53
	    }
54
	    &#reboot-confirm {
55
			background: #ff7049 url('../images/restart.png') no-repeat center 50px;
56
			.btn4 {
57
			background-color: #ff7049;
58
			border-color: white;
59
			&:hover {
60
					color: #ff7049;
61
					background-color: white;
62
					border-color: #ff7049;
63
				}
64
			}
65
		}
66
		&#shutdown-confirm {
67
		background: #ff7049 url('../images/shutdown.png') no-repeat center 50px;	//55px from top
68
			.btn4 {
69
				background-color: #ff7049;
70
				border-color: white;
71
				&:hover {
72
					color: #ff7049;
73
					background-color: white;
74
					border-color: #ff7049;
75
				}
76
			}
77
		}
78
		&#destroy-vm-confirm {
79
		background: #d7145a url('../images/destroy-vm.png') no-repeat center 46px;	//55px from top
80
			.btn4 {
81
				background-color: #d7145a;
82
				border-color: white;
83
				&:hover {
84
					color: #d7145a;
85
					background-color: white;
86
					border-color: #d7145a;
87
				}
88
			}
89
		}
90
		&#destroy-network-confirm {
91
			background: #d7145a url('../images/destroy-network-1.png') no-repeat center 50px;	//55px from top
92
			.btn4 {
93
				background-color: #d7145a;
94
				border-color: white;
95
				&:hover {
96
					color: #d7145a;
97
					background-color: white;
98
					border-color: #d7145a;
99
				}
100
			}
101
		}
102
		&#destroy-disk-confirm {
103
			background: #d7145a url('../images/destroy-disk.png') no-repeat center 50px;	//55px from top
104
			.btn4 {
105
				background-color: #d7145a;
106
				border-color: white;
107
				&:hover {
108
					color: #d7145a;
109
					background-color: white;
110
					border-color: #d7145a;
111
				}
112
			}
113

    
114
		}
115
		&#vm-connect, &.remove {
116
			p {
117
				text-align:left;
118
				color: black;
119
				&.info {
120
					font-style: italic;
121
					font-size:emCalc(13px);
122
					color: #9e9ea1;
123
				}
124
				&.ssh {
125
					text-align: center;
126
					span {
127
						display: inline;
128
						padding: 10px 30px;
129
						background:$secondary-color;
130
						color:#fff;
131
					}
132
				}
133
				&.buttons {
134
					text-align: center;
135
				}
136
			}
137
			.close-reveal-modal {
138
				color: $link-color;
139
				&:hover {
140
					color: $link-color-hover;
141
				}
142
			}
143
		}
144
	}
145
	.overlay-area-custom {
146
		display:none;
147
		position:absolute;
148
		left:0;
149
		right:0;
150
		top:-$bar-height;
151
		width:100%;
152
		height:100%;
153
		background:$overlay-bg-color;
154
		z-index:20;
155
		.overlay-div {
156
			display: none;
157
			z-index:50;
158
			position: relative;
159
			background:#fff;
160
			top:20%;
161
			left:25%;
162
			width:50%;
163
			padding:25px;
164
			.buttons {
165
				a {
166
					margin-right:20px;
167
				}
168
			}
169
			.close {
170
				float:right;
171
				font-size:30px;
172
			}
173
			&.upload-widget {
174
				background:transparent;
175
				padding:45px 0;
176
				width:80%;
177
				left:10%;
178
				border:1px solid white;
179
			}
180
		} // end of .overlay-div
181
}
182

    
183
}
184

    
185
.communication-error {
186
	// display: none;
187
	background-color: $error-color;
188
	color: $wizard-base-font-color;
189
	position: fixed;
190
	bottom: -151px;
191
	left: 0px;
192
	width: 100%;
193
	padding-top: 30px;
194
	padding-bottom: 15px;
195
	z-index: 10;
196
	p {
197
		text-align: center;
198
		line-height: 2em;
199
		margin: 0 auto;
200
		max-width: 800px;
201
		&.buttons {
202
			margin-top:10px;
203
			a:not(:first-child) {
204
				margin-left: 15px;
205
			} 
206
		}
207
	}
208
}
209

    
210
/* Responive ------------------------------------------------ */
211
@media only screen and (max-width: $small-mobile) {
212
}
213

    
214
@media only screen and (max-width: $small-screen) {
215
    .wizard {
216
        .top {
217
            position: static;
218
        }
219
        .middle {
220
            padding-top:0;
221
        }
222
    }
223
    .body-wrapper {
224
        .overlay-area {
225
            top:0;
226
        }
227
    }
228
}