87798ae79285a4b9608ae64aaef72c51ecf2650c
[guacamole.git] / src / main / webapp / styles / login.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: #BCA;
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     max-width: 75%;
61     text-align: left;
62
63     display: inline-block;
64 }
65
66 div#login-dialog h1 {
67     margin-top: 0;
68     margin-bottom: 0em;
69     text-align: center;
70 }
71
72 div#login-dialog #buttons {
73     padding-top: 0.5em;
74     text-align: right;
75 }
76
77 div#login-dialog #buttons input {
78     background: #9A8;
79     border: 1px solid #676;
80     color: black; 
81     padding: 0.25em;
82     padding-right: 1em;
83     padding-left: 1em;
84 }
85
86 div#login-dialog #buttons input:hover {
87     background: #CDB;
88     border: 1px solid #9A8;
89 }
90
91 div#login-dialog #buttons input:active {
92     padding-top: 0.35em;
93     padding-left: 1.1em;
94
95     padding-bottom: 0.15em;
96     padding-right: 0.9em;
97 }
98
99 div#login-dialog #login-fields {
100     
101     background: #CDB;
102     vertical-align: middle;
103
104     padding: 1em;
105     border: 1px solid #676;
106
107 }
108
109 div#login-dialog #login-fields input {
110     border: 1px solid #676;
111 }
112
113 div#login-dialog #login-fields img.logo {
114     float: left;
115 }
116
117 div#login-ui #version-dialog {
118     position: fixed;
119     right: 0;
120     bottom: 0;
121     text-align: right;
122
123     font-style: italic;
124     font-size: 0.75em;
125     color: black;
126     opacity: 0.5;
127
128     padding: 0.25em;
129 }
130
131 img {
132     border: none;
133 }
134
135 img#license {
136     float: right;
137     margin: 2px;
138 }