Debian Codegraph @

sat_templates/templates/default/static/login.css

raw symbols SCIP
1 body {
2 background: #111;
3 }
4
5 footer {
6 color: #999;
7 }
8
9 #login_container {
10 display: flex;
11 height: 100%;
12 align-items: center;
13 justify-content: center;
14 }
15
16 #login_box {
17 display: flex;
18 background: #111;
19 color: #aaa;
20 width: 600px;
21 margin: auto;
22 }
23
24 #login_left {
25 display: none;
26 }
27
28 #login_right {
29 width: 100%;
30 position: relative;
31 }
32
33 #login_form {
34 margin-top: 60px;
35 }
36
37 #login_form label {
38 font-weight: bold;
39 display: block;
40 text-align: center;
41 }
42
43 #login_form input:not(.form_submit) {
44 display: block;
45 margin: 0 auto;
46 height: 25px;
47 line-height: 25px;
48 width: 200px;
49 text-indent: 11px;
50 background: #000;
51 color: #ccc;
52 border: 1px solid #555;
53 border-radius: 15px 15px 15px 15px;
54 }
55
56 #login_form input:not(.form_submit):focus {
57 box-shadow: 0 0 2px 2px #43d2f6;
58 }
59
60 #login_form input:hover {
61 background-color: #222;
62 }
63
64 #login_form input:focus {
65 border: 1px solid #999;
66 outline: none;
67 }
68
69 #login_box .form_input {
70 display: block;
71 margin-bottom: 1em;
72 }
73
74 #login_form .form_submit
75 {
76 /* FIXME: as above /media is not good.
77 * url should be replaced by real gradient */
78 color: #fff;
79 background: #222 url('/media/libervia/gradient.png') repeat-x;
80 font-weight: bold;
81 line-height: 1;
82 text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
83 padding: 7px 10px 8px;
84 border: 0;
85 border-radius: 6px 6px 6px 6px;
86 cursor: pointer;
87 margin-top: 30px;
88 }
89
90 #login_form .form_submit:hover
91 {
92 background-color: #860000;
93 }
94
95 #login_error {
96 position: absolute;
97 margin: -90px 0 0;
98 width: 100%;
99 height: 150px;
100 overflow: auto;
101 font-size: 0.9em;
102 font-weight: bold;
103 color: lightcoral;
104 text-align: center;
105 }
106
107 #login_error p {
108 position: absolute;
109 bottom: 0;
110 margin-left: 46px;
111 margin-right: 46px;
112 }
113
114 #create_account_link {
115 width: 100%;
116 margin-top: 3em;
117 }
118
119 #login_link {
120 margin-top: 1em;
121 }
122
123 #create_account_link a,
124 #login_link a {
125 text-decoration: none;
126 text-align: center;
127 font-size: 0.8em;
128 cursor: pointer;
129 color: #fff;
130 display: block;
131 text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.2);
132 }
133
134 .logged_box {
135 margin: 3em;
136 padding: 1em;
137 text-align: center;
138 font-style: italic;
139 }
140
141 .logged_profile {
142 font-style: normal;
143 font-weight: bold;
144 }
145
146 #login_form form.register input[type=submit] {
147 margin-top: 0.5em;
148 }
149
150 @media (min-width: 600px) {
151 body {
152 background: transparent;
153 }
154
155 footer {
156 color: black;
157 }
158
159 #login_left {
160 display: inline;
161 }
162
163 #login_right {
164 /* FIXME: there is not way to correctly select images from
165 * media path at the moment */
166 background: url('/media/libervia/register_right.png');
167 }
168
169 #login_error {
170 width: auto;
171 max-height: 50px;
172 margin: 10px 46px 0;
173 }
174
175 #login_error p {
176 position: static;
177 margin: 0;
178 }
179
180 #login_form label {
181 text-align: initial;
182 position: relative;
183 left: 50px;
184 }
185
186 #login_form label::after {
187 content: ':'
188 }
189
190 #login_form input:not(.form_submit) {
191 display: inline;
192 margin: 0;
193 position: relative;
194 left: 50px;
195 }
196
197 #create_account_link {
198 margin-top: 0;
199 bottom: 0;
200 position: absolute;
201 }
202 }