]> git.p6c8.net - jirafeau.git/blob - media/dark-courgette/style.css.php
b39a05dcdb6dd1c01dcecda763c6218197ef4436
[jirafeau.git] / media / dark-courgette / style.css.php
1 <?php
2 /*
3 * Jyraphe, your web file repository
4 * Copyright (C) 2013
5 * Jerome Jutteau <j.jutteau@gmail.com>
6 * Jimmy Beauvois <jimmy.beauvois@gmail.com>
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Affero General Public License as
10 * published by the Free Software Foundation, either version 3 of the
11 * License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Affero General Public License for more details.
17 *
18 * You should have received a copy of the GNU Affero General Public License
19 * along with this program. If not, see <https://www.gnu.org/licenses/>.
20 */
21
22 /*
23 * This stylesheet is the default stylesheet for Jyraphe.
24 * The content is dynamically generated for easier handling.
25 */
26
27 $dark = '#8B4513';
28
29 header('Content-type: text/css');
30
31 ?>
32
33 /* ==========================================================================
34 Summary
35
36 1 = Basic Style
37 2 = Copyright
38 3 = Options
39 4 = Upload
40 5 = Terms of service
41 6 = Install
42 7 = Admin
43 8 = Download page
44
45 ========================================================================== */
46
47 /* ==========================================================================
48 1 = Basic Style
49 ========================================================================== */
50
51 body {
52 color: #fff;
53 background: #212121;
54 font-family: Arial, sans-serif;
55 margin: 0;
56 line-height: 1.5;
57 }
58
59 #content {
60 padding: 2em;
61 }
62
63 h1 a {
64 display: block;
65 background: url(logo-jirafeau.svg) no-repeat;
66 background-size: 100% 100%;
67 text-indent: -9999px;
68 width: 194px;
69 height: 185px;
70 margin: 1em auto;
71 position: relative;
72 left: 0.4em;
73 }
74
75 h2 {
76 text-align: center;
77 color: #fff;
78 }
79
80 fieldset {
81 border: 0;
82 padding: 1.5em;
83 margin: 0 auto;
84 border-radius: 8px;
85 width: 20em;
86 border: 7px dashed #7d7d7d;
87 min-height: 15em;
88 min-width: 30em;
89 position: relative;
90 }
91
92 legend {
93 padding: 0.5em 1em;
94 background: #212121;
95 color: #e5e5e5;
96 font-size: 1.2em;
97 display: block;
98 min-width: 8em;
99 text-align: center;
100 }
101
102 table a {
103 color: #fff;
104 }
105
106 table a:hover,
107 table a:focus {
108 text-decoration: none;
109 }
110
111 input[type="submit"] {
112 background: #555;
113 border: 0;
114 padding: 0.4em 2.2em;
115 font-size: 1.1em;
116 color: #FFF;
117 border-bottom: 5px solid #fff;
118 cursor: pointer;
119 margin: 10px;
120 }
121
122 select,
123 input[type="text"],
124 input[type="password"] {
125 border: 1;
126 padding: 5px 5px;
127 font-size: 1em;
128 }
129
130 select { width: 100%; }
131
132 input[type="submit"]:hover,
133 input[type="submit"]:focus {
134 border: 0;
135 position: relative;
136 top: 5px;
137 margin-bottom: 15px;
138 }
139
140 .inner {
141 margin-top: 3em;
142 }
143
144 #upload fieldset {
145 background: url(upload.svg) no-repeat center;
146 -webkit-transition: all 0.5s ease;
147 -moz-transition: all 0.5s ease;
148 -ms-transition: all 0.5s ease;
149 -o-transition: all 0.5s ease;
150 transition: all 0.5s ease;
151 }
152
153 #upload fieldset:hover {
154 border-color: #e5e5e5;
155 }
156
157 #upload > form {
158 text-align: center;
159 }
160
161 #upload p {
162 margin: 0;
163 }
164
165 #file_select {
166 position: relative;
167 width: 100%;
168 height: 16em;
169 cursor: pointer;
170 opacity: 0;
171 }
172 #upload.file-selected #file_select {
173 opacity: 1;
174 height: 2em;
175 }
176 #upload.file-selected fieldset {
177 background-image: none;
178 }
179
180
181 /* ==========================================================================
182 2 = Copyright
183 ========================================================================== */
184
185 #copyright {
186 text-align: center;
187 font-size: 0.8em;
188 color: #bbb;
189 margin: 3em auto;
190 }
191
192 #copyright a {
193 color: #bbb;
194 text-decoration: none;
195 }
196
197 #copyright a:hover,
198 #copyright a:focus {
199 text-decoration: underline;
200 }
201
202 /* ==========================================================================
203 3 = Options
204 ========================================================================== */
205
206 #options {
207 color: #fff;
208 position: relative;
209 z-index: 10;
210 width: 100%;
211 height: 90%;
212 }
213
214 #options tr { height: 2.7em; }
215
216 #option_table tr:first-child {
217 width: 100%;
218 height: 100%;
219 }
220
221 #option_table td:first-child {
222 }
223
224 #options input[type="submit"] {
225 position: relative;
226 margin: 1em auto;
227 }
228
229 /* ==========================================================================
230 4 = Upload
231 ========================================================================== */
232
233 #upload_finished,
234 #uploading,
235 .message,
236 .info,
237 .error {
238 text-align: center;
239 color: #fff;
240 padding-left: 3em;
241 }
242
243 #upload_finished > p:nth-child(1) {
244 color: #0D9CB2;
245 font-weight: bold;
246 }
247
248 #upload_finished div p:nth-child(1) {
249 font-weight: bold;
250 }
251
252 #upload_finished a {
253 text-decoration: none;
254 color: #fff;
255 }
256
257 #uploading a {
258 font-weight: bold;
259 text-decoration: none;
260 color: #fff;
261 }
262
263 #uploaded_percentage {
264 font-size: 2em;
265 font-weight: bold;
266 }
267
268 #upload_finished a:hover,
269 #uploading a:hover,
270 #upload_finished a:focus,
271 #uploading a:focus {
272 text-decoration: underline;
273 }
274
275 .message,
276 .error {
277 color: #d55548;
278 font-style: italic;
279 font-weight: bold;
280 }
281
282 #upload_link_email {
283 margin-left: 10px;
284 }
285
286 #upload_image_email {
287 padding-left: 20px;
288 padding-bottom: 15px;
289 background: url(email.png) no-repeat;
290 }
291
292 /* ==========================================================================
293 5 = Terms of service
294 ========================================================================== */
295
296 textarea[readonly="readonly"] {
297 border: 0;
298 color: #fff;
299 font-family: Arial, sans-serif;
300 background: none;
301 margin: auto;
302 display: block;
303 }
304
305 textarea[readonly="readonly"] + p,
306 textarea[readonly="readonly"] + p + p {
307 text-align: center;
308 color: #fff;
309 }
310
311 textarea[readonly="readonly"] + p a,
312 textarea[readonly="readonly"] + p + p a {
313 font-weight: bold;
314 text-decoration: none;
315 color: #fff;
316 }
317
318 textarea[readonly="readonly"] + p a:hover,
319 textarea[readonly="readonly"] + p + p a:hover,
320 textarea[readonly="readonly"] + p a:focus,
321 textarea[readonly="readonly"] + p + p a:focus {
322 text-decoration: underline;
323 }
324
325 /* ==========================================================================
326 6 = Install
327 ========================================================================== */
328
329 #install fieldset,
330 #install + fieldset {
331 width: auto;
332 max-width: 50em;
333 border: 7px dashed #bcaaa4;
334 }
335
336 #install table,
337 #install + fieldset table {
338 width: 100%;
339 border-collapse: collapse;
340 }
341
342 #install td,
343 #install + fieldset td {
344 padding: 0.5em 1em;
345 border-bottom: 0;
346 }
347
348 #install td:empty {
349 width: 13.1em;
350 }
351
352 #install table form:nth-child(odd),
353 #install + fieldset tr:nth-child(odd) {
354 background: #bcaaa4;
355 }
356
357 #install fieldset > form {
358 margin-top: 2em;
359 text-align: center;
360 }
361
362 #install form {
363 display: table;
364 width: 100%;
365 }
366
367 #install td:last-child { text-align: left; }
368
369 #install .info { width: 19em; }
370
371 #install input[type="submit"] {
372 min-width: 10.5em;
373 }
374
375 #install + fieldset table {
376 font-size: 0.9em;
377 }
378
379 #install + fieldset td:first-child input[type="submit"] {
380 background: none;
381 padding: 0;
382 color: #000;
383 font-weight: bold;
384 border-bottom: 0;
385 }
386
387 #install + fieldset td:first-child input[type="submit"]:hover,
388 #install + fieldset td:first-child input[type="submit"]:focus {
389 text-decoration: underline;
390 }
391
392 /* ==========================================================================
393 7 = Admin
394 ========================================================================== */
395
396 #admin fieldset,
397 #admin + fieldset {
398 width: auto;
399 max-width: 60em;
400 border: 7px dashed #bcaaa4;
401 }
402
403 #admin table,
404 #admin + fieldset table {
405 width: 100%;
406 border-collapse: collapse;
407 border-bottom: 2px solid #FFF;
408 }
409
410 #admin td,
411 #admin + fieldset td {
412 padding: 0.5em 1em;
413 border: 2px solid #FFF;
414 border-bottom: 0;
415 }
416
417 #admin td:empty {
418 width: 13.1em;
419 }
420
421 #admin table form:nth-child(odd),
422 #admin + fieldset tr:nth-child(odd) {
423 background: #bcaaa4;
424 }
425
426 #admin fieldset > form {
427 margin-top: 2em;
428 text-align: center;
429 }
430
431 #admin form {
432 display: table;
433 width: 100%;
434 }
435
436 #admin td:last-child { text-align: left; }
437
438 #admin .info { width: 19em; }
439
440 #admin input[type="submit"] {
441 min-width: 10.5em;
442 }
443
444 #admin + fieldset table {
445 font-size: 0.9em;
446 }
447
448 #admin + fieldset td:first-child input[type="submit"] {
449 background: none;
450 padding: 0;
451 color: #000;
452 font-weight: bold;
453 border-bottom: 0;
454 }
455
456 #admin + fieldset td:first-child input[type="submit"]:hover,
457 #admin + fieldset td:first-child input[type="submit"]:focus {
458 text-decoration: underline;
459 }
460
461 /* ==========================================================================
462 8 = Download page
463 ========================================================================== */
464
465 #self_destruct {
466 font-weight: bold;
467 color: red;
468 background-image: url('pixel_bomb.png');
469 background-size: 40px 40px;
470 background-repeat: no-repeat;
471 padding-left: 40px;
472 padding-top: 10px;
473 padding-bottom: 10px;
474 }

patrick-canterino.de