Removed native components (now in own repositories)
[guacamole.git] / web / guacamole-default-webapp / src / main / webapp / guacamole.css
1
2 /*
3  *  Guacamole - Clientless Remote Desktop
4  *  Copyright (C) 2010  Michael Jumper
5  *
6  *  This program is free software: you can redistribute it and/or modify
7  *  it under the terms of the GNU Affero General Public License as published by
8  *  the Free Software Foundation, either version 3 of the License, or
9  *  (at your option) any later version.
10  *
11  *  This program is distributed in the hope that it will be useful,
12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  *  GNU Affero General Public License for more details.
15  *
16  *  You should have received a copy of the GNU Affero General Public License
17  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
18  */
19
20 body {
21     background: black;
22     font-family: sans-serif;
23     padding: 0;
24     margin: 0;
25 }
26
27 div#login-ui {
28     background: silver;
29     height: 100%;
30     width: 100%;
31     position: fixed;
32     left: 0;
33     top: 0;
34     display: table;
35 }
36
37 p#login-error {
38     text-align: center;
39     background: #FDD;
40     color: red;
41     margin: 0.2em;
42 }
43
44 div#login-logo {
45     position: relative;
46     bottom: 0;
47     display: inline-block;
48     vertical-align: middle;
49 }
50
51 div#login-dialog-middle {
52     width: 100%;
53     display: table-cell;
54     vertical-align: middle;
55     text-align: center;
56 }
57
58 div#login-dialog {
59
60     background: white;
61     vertical-align: middle;
62
63     padding: 1em;
64     border: 0.2em solid black;
65
66     -khtml-border-radius: 0.5em;
67     -webkit-border-radius: 0.5em;
68     -moz-border-radius: 0.5em;
69     border-radius: 0.5em;
70
71     max-width: 75%;
72     text-align: left;
73
74     display: inline-block;
75 }
76
77 div#login-dialog h1 {
78     margin-top: 0;
79     margin-bottom: 0em;
80     text-align: center;
81 }
82
83 div#login-dialog #buttons {
84     padding-top: 0.5em;
85     text-align: center;
86 }
87
88 div#login-dialog #login-fields {
89     border-top: 1px solid silver;
90     border-bottom: 1px solid silver;
91     padding-top: 0.5em;
92     padding-bottom: 0.5em;
93 }
94
95 div.errorDialogOuter {
96     display: table;
97     height: 100%;
98     width: 100%;
99     position: fixed;
100     left: 0;
101     top: 0;
102
103     visibility: hidden;
104 }
105
106 div.errorDialogMiddle {
107     width: 100%;
108     text-align: center;
109     display: table-cell;
110     vertical-align: middle;
111 }
112
113 div.errorDialog {
114
115     background: #D44;
116     border: 1px solid black;
117     padding: 1em;
118
119     -khtml-border-radius: 0.5em;
120     -webkit-border-radius: 0.5em;
121     -moz-border-radius: 0.5em;
122     border-radius: 0.5em;
123
124     -moz-box-shadow: 0 0.25em 0.75em black, inset 0.1em 0.1em 0.5em #F99, inset -0.1em -0.1em 0.75em #800;
125     -webkit-box-shadow: 0 0.25em 0.75em black, inset 0.1em 0.1em 0.5em #F99, inset -0.1em -0.1em 0.75em #800;
126     -khtml-box-shadow: 0 0.25em 0.75em black, inset 0.1em 0.1em 0.5em #F99, inset -0.1em -0.1em 0.75em #800;
127     box-shadow: 0 0.25em 0.75em black, inset 0.1em 0.1em 0.5em #F99, inset -0.1em -0.1em 0.75em #800;
128
129     max-width: 75%;
130     text-align: left;
131
132     display: inline-block;
133 }
134
135 div.errorDialog h1 {
136     margin: 0;
137     margin-bottom: 0.25em;
138     text-align: center;
139     text-shadow: 0 0 0.25em white;
140 }
141
142 div.errorDialog div.buttons {
143     margin: 0;
144     margin-top: 0.5em;
145     text-align: center;
146 }
147
148 div.errorDialog p {
149     margin: 0;
150 }
151
152
153 #menu {
154     margin-left: auto;
155     margin-right: auto;
156     margin-bottom: 1em;
157     font-size: 0.8em;
158     background: #FEA;
159     border: 1px solid black;
160     position: fixed;
161     left: 0;
162     top: 0;
163     width: 100%;
164     z-index: 1;
165 }
166
167 #menu.connected {
168     opacity: 0.5;
169 }
170
171 #menu.connected:hover {
172     opacity: 1;
173 }
174
175 #menu.error {
176     background: #D44;
177 }
178
179 .error #state {
180     font-weight: bold;
181 }
182
183 img {
184     border: none;
185 }
186
187 img#license {
188     border: none;
189     float: right;
190     margin: 2px;
191 }
192
193 div#display {
194     position: relative;
195     width: 640px;
196     height: 480px;
197     margin-left: auto;
198     margin-right: auto;
199 }
200
201 #menu img {
202     vertical-align: middle;
203 }
204
205 #menu button {
206     vertical-align: middle;
207 }
208
209 #menu span {
210     vertical-align: middle;
211 }
212
213 div#clipboardDiv {
214     display: none;
215     position: absolute;
216     background: #FA5;
217     padding: 1em;
218
219     border: 1px solid black;
220     -khtml-border-radius: 0.5em;
221     -webkit-border-radius: 0.5em;
222     -moz-border-radius: 0.5em;
223     border-radius: 0.5em;
224
225     width: 50em;
226 }
227
228 div#clipboardDiv h2 {
229     margin: 0;
230     font-size: 1em;
231 }
232
233 div#clipboardDiv textarea {
234     width: 100%;
235 }
236