##// END OF EJS Templates
Pretty striped background for form errors in the MD theme
neko259 -
r734:c73652fe 2.0-dev
parent child Browse files
Show More
@@ -1,430 +1,438 b''
1 html {
1 html {
2 background: #555;
2 background: #555;
3 color: #ffffff;
3 color: #ffffff;
4 }
4 }
5
5
6 body {
6 body {
7 margin: 0;
7 margin: 0;
8 }
8 }
9
9
10 #admin_panel {
10 #admin_panel {
11 background: #FF0000;
11 background: #FF0000;
12 color: #00FF00
12 color: #00FF00
13 }
13 }
14
14
15 .input_field_error {
15 .input_field_error {
16 color: #FF0000;
16 color: #FF0000;
17 }
17 }
18
18
19 .title {
19 .title {
20 font-weight: bold;
20 font-weight: bold;
21 color: #ffcc00;
21 color: #ffcc00;
22 }
22 }
23
23
24 .link, a {
24 .link, a {
25 color: #afdcec;
25 color: #afdcec;
26 }
26 }
27
27
28 .block {
28 .block {
29 display: inline-block;
29 display: inline-block;
30 vertical-align: top;
30 vertical-align: top;
31 }
31 }
32
32
33 .tag {
33 .tag {
34 color: #FFD37D;
34 color: #FFD37D;
35 }
35 }
36
36
37 .post_id {
37 .post_id {
38 color: #fff380;
38 color: #fff380;
39 }
39 }
40
40
41 .post, .dead_post, .archive_post, #posts-table {
41 .post, .dead_post, .archive_post, #posts-table {
42 background: #333;
42 background: #333;
43 padding: 10px;
43 padding: 10px;
44 clear: left;
44 clear: left;
45 word-wrap: break-word;
45 word-wrap: break-word;
46 border-top: 1px solid #777;
46 border-top: 1px solid #777;
47 border-bottom: 1px solid #777;
47 border-bottom: 1px solid #777;
48 }
48 }
49
49
50 .post + .post {
50 .post + .post {
51 border-top: none;
51 border-top: none;
52 }
52 }
53
53
54 .dead_post + .dead_post {
54 .dead_post + .dead_post {
55 border-top: none;
55 border-top: none;
56 }
56 }
57
57
58 .archive_post + .archive_post {
58 .archive_post + .archive_post {
59 border-top: none;
59 border-top: none;
60 }
60 }
61
61
62 .metadata {
62 .metadata {
63 padding-top: 5px;
63 padding-top: 5px;
64 margin-top: 10px;
64 margin-top: 10px;
65 border-top: solid 1px #666;
65 border-top: solid 1px #666;
66 color: #ddd;
66 color: #ddd;
67 }
67 }
68
68
69 .navigation_panel, .tag_info {
69 .navigation_panel, .tag_info {
70 background: #444;
70 background: #444;
71 margin-bottom: 5px;
71 margin-bottom: 5px;
72 margin-top: 5px;
72 margin-top: 5px;
73 padding: 10px;
73 padding: 10px;
74 border-bottom: solid 1px #888;
74 border-bottom: solid 1px #888;
75 border-top: solid 1px #888;
75 border-top: solid 1px #888;
76 color: #eee;
76 color: #eee;
77 }
77 }
78
78
79 .navigation_panel .link {
79 .navigation_panel .link {
80 border-right: 1px solid #fff;
80 border-right: 1px solid #fff;
81 font-weight: bold;
81 font-weight: bold;
82 margin-right: 1ex;
82 margin-right: 1ex;
83 padding-right: 1ex;
83 padding-right: 1ex;
84 }
84 }
85 .navigation_panel .link:last-child {
85 .navigation_panel .link:last-child {
86 border-left: 1px solid #fff;
86 border-left: 1px solid #fff;
87 border-right: none;
87 border-right: none;
88 float: right;
88 float: right;
89 margin-left: 1ex;
89 margin-left: 1ex;
90 margin-right: 0;
90 margin-right: 0;
91 padding-left: 1ex;
91 padding-left: 1ex;
92 padding-right: 0;
92 padding-right: 0;
93 }
93 }
94
94
95 .navigation_panel::after, .post::after {
95 .navigation_panel::after, .post::after {
96 clear: both;
96 clear: both;
97 content: ".";
97 content: ".";
98 display: block;
98 display: block;
99 height: 0;
99 height: 0;
100 line-height: 0;
100 line-height: 0;
101 visibility: hidden;
101 visibility: hidden;
102 }
102 }
103
103
104 p {
104 p {
105 margin-top: .5em;
105 margin-top: .5em;
106 margin-bottom: .5em;
106 margin-bottom: .5em;
107 }
107 }
108
108
109 .post-form-w {
109 .post-form-w {
110 background: #333344;
110 background: #333344;
111 border-top: solid 1px #888;
111 border-top: solid 1px #888;
112 border-bottom: solid 1px #888;
112 border-bottom: solid 1px #888;
113 color: #fff;
113 color: #fff;
114 padding: 10px;
114 padding: 10px;
115 margin-bottom: 5px;
115 margin-bottom: 5px;
116 margin-top: 5px;
116 margin-top: 5px;
117 }
117 }
118
118
119 .form-row {
119 .form-row {
120 width: 100%;
120 width: 100%;
121 }
121 }
122
122
123 .form-label {
123 .form-label {
124 padding: .25em 1ex .25em 0;
124 padding: .25em 1ex .25em 0;
125 vertical-align: top;
125 vertical-align: top;
126 }
126 }
127
127
128 .form-input {
128 .form-input {
129 padding: .25em 0;
129 padding: .25em 0;
130 }
130 }
131
131
132 .form-errors {
132 .form-errors {
133 font-weight: bolder;
133 font-weight: bolder;
134 vertical-align: middle;
134 vertical-align: middle;
135 padding: 3px;
136 background: repeating-linear-gradient(
137 -45deg,
138 #330,
139 #330 10px,
140 #111 10px,
141 #111 20px
142 );
135 }
143 }
136
144
137 .post-form input:not([name="image"]), .post-form textarea {
145 .post-form input:not([name="image"]), .post-form textarea {
138 background: #333;
146 background: #333;
139 color: #fff;
147 color: #fff;
140 border: solid 1px;
148 border: solid 1px;
141 padding: 0;
149 padding: 0;
142 font: medium sans-serif;
150 font: medium sans-serif;
143 width: 100%;
151 width: 100%;
144 }
152 }
145
153
146 .form-submit {
154 .form-submit {
147 display: table;
155 display: table;
148 margin-bottom: 1ex;
156 margin-bottom: 1ex;
149 margin-top: 1ex;
157 margin-top: 1ex;
150 }
158 }
151
159
152 .form-title {
160 .form-title {
153 font-weight: bold;
161 font-weight: bold;
154 font-size: 2ex;
162 font-size: 2ex;
155 margin-bottom: 0.5ex;
163 margin-bottom: 0.5ex;
156 }
164 }
157
165
158 .post-form input[type="submit"], input[type="submit"] {
166 .post-form input[type="submit"], input[type="submit"] {
159 background: #222;
167 background: #222;
160 border: solid 2px #fff;
168 border: solid 2px #fff;
161 color: #fff;
169 color: #fff;
162 padding: 0.5ex;
170 padding: 0.5ex;
163 }
171 }
164
172
165 input[type="submit"]:hover {
173 input[type="submit"]:hover {
166 background: #060;
174 background: #060;
167 }
175 }
168
176
169 blockquote {
177 blockquote {
170 border-left: solid 2px;
178 border-left: solid 2px;
171 padding-left: 5px;
179 padding-left: 5px;
172 color: #B1FB17;
180 color: #B1FB17;
173 margin: 0;
181 margin: 0;
174 }
182 }
175
183
176 .post > .image {
184 .post > .image {
177 float: left;
185 float: left;
178 margin: 0 1ex .5ex 0;
186 margin: 0 1ex .5ex 0;
179 min-width: 1px;
187 min-width: 1px;
180 text-align: center;
188 text-align: center;
181 display: table-row;
189 display: table-row;
182 }
190 }
183
191
184 .post > .metadata {
192 .post > .metadata {
185 clear: left;
193 clear: left;
186 }
194 }
187
195
188 .get {
196 .get {
189 font-weight: bold;
197 font-weight: bold;
190 color: #d55;
198 color: #d55;
191 }
199 }
192
200
193 * {
201 * {
194 text-decoration: none;
202 text-decoration: none;
195 }
203 }
196
204
197 .dead_post {
205 .dead_post {
198 background-color: #442222;
206 background-color: #442222;
199 }
207 }
200
208
201 .archive_post {
209 .archive_post {
202 background-color: #000;
210 background-color: #000;
203 }
211 }
204
212
205 .mark_btn {
213 .mark_btn {
206 border: 1px solid;
214 border: 1px solid;
207 min-width: 2ex;
215 min-width: 2ex;
208 padding: 2px 2ex;
216 padding: 2px 2ex;
209 }
217 }
210
218
211 .mark_btn:hover {
219 .mark_btn:hover {
212 background: #555;
220 background: #555;
213 }
221 }
214
222
215 .quote {
223 .quote {
216 color: #92cf38;
224 color: #92cf38;
217 font-style: italic;
225 font-style: italic;
218 }
226 }
219
227
220 .spoiler {
228 .spoiler {
221 background: white;
229 background: white;
222 color: white;
230 color: white;
223 }
231 }
224
232
225 .spoiler:hover {
233 .spoiler:hover {
226 color: black;
234 color: black;
227 }
235 }
228
236
229 .comment {
237 .comment {
230 color: #eb2;
238 color: #eb2;
231 }
239 }
232
240
233 a:hover {
241 a:hover {
234 text-decoration: underline;
242 text-decoration: underline;
235 }
243 }
236
244
237 .last-replies {
245 .last-replies {
238 margin-left: 3ex;
246 margin-left: 3ex;
239 margin-right: 3ex;
247 margin-right: 3ex;
240 }
248 }
241
249
242 .thread {
250 .thread {
243 margin-bottom: 3ex;
251 margin-bottom: 3ex;
244 margin-top: 1ex;
252 margin-top: 1ex;
245 }
253 }
246
254
247 .post:target {
255 .post:target {
248 border: solid 2px white;
256 border: solid 2px white;
249 }
257 }
250
258
251 pre{
259 pre{
252 white-space:pre-wrap
260 white-space:pre-wrap
253 }
261 }
254
262
255 li {
263 li {
256 list-style-position: inside;
264 list-style-position: inside;
257 }
265 }
258
266
259 .fancybox-skin {
267 .fancybox-skin {
260 position: relative;
268 position: relative;
261 background-color: #fff;
269 background-color: #fff;
262 color: #ddd;
270 color: #ddd;
263 text-shadow: none;
271 text-shadow: none;
264 }
272 }
265
273
266 .fancybox-image {
274 .fancybox-image {
267 border: 1px solid black;
275 border: 1px solid black;
268 }
276 }
269
277
270 .image-mode-tab {
278 .image-mode-tab {
271 background: #444;
279 background: #444;
272 color: #eee;
280 color: #eee;
273 margin-top: 5px;
281 margin-top: 5px;
274 padding: 5px;
282 padding: 5px;
275 border-top: 1px solid #888;
283 border-top: 1px solid #888;
276 border-bottom: 1px solid #888;
284 border-bottom: 1px solid #888;
277 }
285 }
278
286
279 .image-mode-tab > label {
287 .image-mode-tab > label {
280 margin: 0 1ex;
288 margin: 0 1ex;
281 }
289 }
282
290
283 .image-mode-tab > label > input {
291 .image-mode-tab > label > input {
284 margin-right: .5ex;
292 margin-right: .5ex;
285 }
293 }
286
294
287 #posts-table {
295 #posts-table {
288 margin-top: 5px;
296 margin-top: 5px;
289 margin-bottom: 5px;
297 margin-bottom: 5px;
290 }
298 }
291
299
292 .tag_info > h2 {
300 .tag_info > h2 {
293 margin: 0;
301 margin: 0;
294 }
302 }
295
303
296 .post-info {
304 .post-info {
297 color: #ddd;
305 color: #ddd;
298 margin-bottom: 1ex;
306 margin-bottom: 1ex;
299 }
307 }
300
308
301 .moderator_info {
309 .moderator_info {
302 color: #e99d41;
310 color: #e99d41;
303 float: right;
311 float: right;
304 font-weight: bold;
312 font-weight: bold;
305 }
313 }
306
314
307 .refmap {
315 .refmap {
308 font-size: 0.9em;
316 font-size: 0.9em;
309 color: #ccc;
317 color: #ccc;
310 margin-top: 1em;
318 margin-top: 1em;
311 }
319 }
312
320
313 .fav {
321 .fav {
314 color: yellow;
322 color: yellow;
315 }
323 }
316
324
317 .not_fav {
325 .not_fav {
318 color: #ccc;
326 color: #ccc;
319 }
327 }
320
328
321 .role {
329 .role {
322 text-decoration: underline;
330 text-decoration: underline;
323 }
331 }
324
332
325 .form-email {
333 .form-email {
326 display: none;
334 display: none;
327 }
335 }
328
336
329 .footer {
337 .footer {
330 margin: 5px;
338 margin: 5px;
331 }
339 }
332
340
333 .bar-value {
341 .bar-value {
334 background: rgba(50, 55, 164, 0.45);
342 background: rgba(50, 55, 164, 0.45);
335 font-size: 0.9em;
343 font-size: 0.9em;
336 height: 1.5em;
344 height: 1.5em;
337 }
345 }
338
346
339 .bar-bg {
347 .bar-bg {
340 position: relative;
348 position: relative;
341 border-top: solid 1px #888;
349 border-top: solid 1px #888;
342 border-bottom: solid 1px #888;
350 border-bottom: solid 1px #888;
343 margin-top: 5px;
351 margin-top: 5px;
344 overflow: hidden;
352 overflow: hidden;
345 }
353 }
346
354
347 .bar-text {
355 .bar-text {
348 padding: 2px;
356 padding: 2px;
349 position: absolute;
357 position: absolute;
350 left: 0;
358 left: 0;
351 top: 0;
359 top: 0;
352 }
360 }
353
361
354 .page_link {
362 .page_link {
355 background: #444;
363 background: #444;
356 border-top: solid 1px #888;
364 border-top: solid 1px #888;
357 border-bottom: solid 1px #888;
365 border-bottom: solid 1px #888;
358 padding: 5px;
366 padding: 5px;
359 color: #eee;
367 color: #eee;
360 font-size: 2ex;
368 font-size: 2ex;
361 }
369 }
362
370
363 .skipped_replies {
371 .skipped_replies {
364 margin: 5px;
372 margin: 5px;
365 }
373 }
366
374
367 .current_page {
375 .current_page {
368 border: solid 1px #afdcec;
376 border: solid 1px #afdcec;
369 padding: 2px;
377 padding: 2px;
370 }
378 }
371
379
372 .current_mode {
380 .current_mode {
373 font-weight: bold;
381 font-weight: bold;
374 }
382 }
375
383
376 .gallery_image {
384 .gallery_image {
377 border: solid 1px;
385 border: solid 1px;
378 padding: 0.5ex;
386 padding: 0.5ex;
379 margin: 0.5ex;
387 margin: 0.5ex;
380 text-align: center;
388 text-align: center;
381 }
389 }
382
390
383 code {
391 code {
384 border: dashed 1px #ccc;
392 border: dashed 1px #ccc;
385 background: #111;
393 background: #111;
386 padding: 2px;
394 padding: 2px;
387 font-size: 1.2em;
395 font-size: 1.2em;
388 display: inline-block;
396 display: inline-block;
389 }
397 }
390
398
391 pre {
399 pre {
392 overflow: auto;
400 overflow: auto;
393 }
401 }
394
402
395 .img-full {
403 .img-full {
396 background: #222;
404 background: #222;
397 border: solid 1px white;
405 border: solid 1px white;
398 }
406 }
399
407
400 .tag_item {
408 .tag_item {
401 display: inline-block;
409 display: inline-block;
402 border: 1px dashed #666;
410 border: 1px dashed #666;
403 margin: 0.2ex;
411 margin: 0.2ex;
404 padding: 0.1ex;
412 padding: 0.1ex;
405 }
413 }
406
414
407 #id_models li {
415 #id_models li {
408 list-style: none;
416 list-style: none;
409 }
417 }
410
418
411 #id_q {
419 #id_q {
412 margin-left: 1ex;
420 margin-left: 1ex;
413 }
421 }
414
422
415 ul {
423 ul {
416 padding-left: 0px;
424 padding-left: 0px;
417 }
425 }
418
426
419 /* Reflink preview */
427 /* Reflink preview */
420 .post_preview {
428 .post_preview {
421 border-left: 1px solid #777;
429 border-left: 1px solid #777;
422 border-right: 1px solid #777;
430 border-right: 1px solid #777;
423 }
431 }
424
432
425 /* Code highlighter */
433 /* Code highlighter */
426 .hljs {
434 .hljs {
427 color: #fff;
435 color: #fff;
428 background: #000;
436 background: #000;
429 display: inline-block;
437 display: inline-block;
430 }
438 }
General Comments 0
You need to be logged in to leave comments. Login now