]> git.p6c8.net - jirafeau_project.git/blob - media/courgette/style.css.php
media/courgette: fix style with chrome
[jirafeau_project.git] / media / 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 <http://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 Sommaire
35
36 1 = Basic Style
37 2 = Copyright
38 3 = Options
39 4 = Upload
40 5 = Terms of service
41 6 = Admin
42
43 ========================================================================== */
44
45 /* ==========================================================================
46 1 = Basic Style
47 ========================================================================== */
48
49 body {
50 background: #efebe9;
51 font-family: Arial, sans-serif;
52 margin: 0;
53 line-height: 1.5;
54 }
55
56 h1 a {
57 display: block;
58 background: url(logo-jirafeau.svg) no-repeat;
59 background-size: 100% 100%;
60 text-indent: -9999px;
61 width: 194px;
62 height: 185px;
63 margin: 1em auto;
64 position: relative;
65 left: 0.4em;
66 }
67
68 h2 {
69 text-align: center;
70 color: #795548;
71 }
72
73 fieldset {
74 border: 0;
75 padding: 1.5em;
76 margin: 0 auto;
77 border-radius: 8px;
78 width: 20em;
79 border: 7px dashed #bcaaa4;
80 min-height: 15em;
81 min-width: 30em;
82 position: relative;
83 }
84
85 legend {
86 padding: 0.5em 1em;
87 background: #efebe9;
88 color: #663D1C;
89 font-size: 1.2em;
90 display: block;
91 width: 30%;
92 min-width: 8em;
93 text-align: center;
94 }
95
96 table a { color: #000;}
97
98 table a:hover,
99 table a:focus {
100 text-decoration: none;
101 }
102
103 input[type="submit"] {
104 background: #0D9CB2;
105 border: 0;
106 padding: 0.4em 2.2em;
107 font-size: 1.1em;
108 color: #FFF;
109 border-bottom: 5px solid #085B69;
110 cursor: pointer;
111 margin: 10px;
112 }
113
114 select,
115 input[type="text"],
116 input[type="password"] {
117 border: 1;
118 padding: 5px 5px;
119 font-size: 1em;
120 }
121
122 select { width: 100%; }
123
124 input[type="submit"]:hover,
125 input[type="submit"]:focus {
126 border: 0;
127 position: relative;
128 top: 5px;
129 margin-bottom: 15px;
130 }
131
132 .inner {
133 margin-top: 3em;
134 }
135
136 #upload fieldset {
137 background: url(upload.svg) no-repeat center;
138 -webkit-transition: all 0.5s ease;
139 -moz-transition: all 0.5s ease;
140 -ms-transition: all 0.5s ease;
141 -o-transition: all 0.5s ease;
142 transition: all 0.5s ease;
143 }
144
145 #upload fieldset:hover {
146 border-color: #663D1C;
147 }
148
149 #upload > form {
150 text-align: center;
151 }
152
153 #file_select {
154 position: absolute;
155 top: 0;
156 left: 0;
157 width: 100%;
158 height: 100%;
159 cursor: pointer;
160 opacity: 0;
161 }
162
163
164
165 /* ==========================================================================
166 2 = Copyright
167 ========================================================================== */
168
169 #copyright {
170 text-align: center;
171 font-size: 0.8em;
172 color: #795548;
173 padding-left: 3em;
174 }
175
176 #copyright a {
177 color: #795548;
178 text-decoration: none;
179 }
180
181 #copyright a:hover,
182 #copyright a:focus {
183 text-decoration: underline;
184 }
185
186 /* ==========================================================================
187 3 = Options
188 ========================================================================== */
189
190 #options {
191 position: relative;
192 z-index: 10;
193 background: #efebe9;
194 width: 100%;
195 height: 90%;
196 }
197
198 #options tr { height: 2.7em; }
199
200 #option_table tr:first-child {
201 width: 100%;
202 height: 100%;
203 }
204
205 #option_table td:first-child {
206 }
207
208 #options input[type="submit"] {
209 position: relative;
210 left: 11.2em;
211 }
212
213 /* ==========================================================================
214 4 = Upload
215 ========================================================================== */
216
217 #upload_finished,
218 #uploading,
219 .message,
220 .error {
221 text-align: center;
222 color: #795548;
223 padding-left: 3em;
224 }
225
226 #upload_finished a,
227 #uploading a {
228 font-weight: bold;
229 text-decoration: none;
230 color: #795548;
231 }
232
233 #uploaded_percentage {
234 font-size: 2em;
235 font-weight: bold;
236 }
237
238 #upload_finished a:hover,
239 #uploading a:hover,
240 #upload_finished a:focus,
241 #uploading a:focus {
242 text-decoration: underline;
243 }
244
245 .message,
246 .error {
247 color: #d55548;
248 font-style: italic;
249 font-weight: bold;
250 }
251
252 /* ==========================================================================
253 5 = Terms of service
254 ========================================================================== */
255
256
257
258 textarea[readonly="readonly"] {
259 border: 0;
260 color: #795548;
261 font-family: Arial, sans-serif;
262 background: none;
263 margin: auto;
264 display: block;
265 }
266
267 textarea[readonly="readonly"] + p,
268 textarea[readonly="readonly"] + p + p {
269 text-align: center;
270 color: #795548;
271 }
272
273 textarea[readonly="readonly"] + p a,
274 textarea[readonly="readonly"] + p + p a {
275 font-weight: bold;
276 text-decoration: none;
277 color: #795548;
278 }
279
280 textarea[readonly="readonly"] + p a:hover,
281 textarea[readonly="readonly"] + p + p a:hover,
282 textarea[readonly="readonly"] + p a:focus,
283 textarea[readonly="readonly"] + p + p a:focus {
284 text-decoration: underline;
285 }
286
287 /* ==========================================================================
288 6 = Admin
289 ========================================================================== */
290
291 #install fieldset,
292 #install + fieldset {
293 width: auto;
294 max-width: 50em;
295 border: 0;
296 }
297
298 #install table,
299 #install + fieldset table {
300 width: 100%;
301 border-collapse: collapse;
302 border-bottom: 2px solid #FFF;
303 }
304
305 #install td,
306 #install + fieldset td {
307 padding: 0.5em 1em;
308 border: 2px solid #FFF;
309 border-bottom: 0;
310 }
311
312 #install td:empty {
313 width: 13.1em;
314 }
315
316 #install table form:nth-child(odd),
317 #install + fieldset tr:nth-child(odd) {
318 background: #bcaaa4;
319 }
320
321 #install fieldset > form {
322 margin-top: 2em;
323 text-align: center;
324 }
325
326 #install form {
327 display: table;
328 width: 100%;
329 }
330
331 #install td:last-child { text-align: right; }
332
333 #install .info { width: 19em; }
334
335 #install input[type="submit"] {
336 min-width: 10.5em;
337 }
338
339 #install + fieldset table {
340 font-size: 0.9em;
341 }
342
343 #install + fieldset td:first-child input[type="submit"] {
344 background: none;
345 padding: 0;
346 color: #000;
347 font-weight: bold;
348 border-bottom: 0;
349 }
350
351 #install + fieldset td:first-child input[type="submit"]:hover,
352 #install + fieldset td:first-child input[type="submit"]:focus {
353 text-decoration: underline;
354 }

patrick-canterino.de