##// END OF EJS Templates
Don't show borders around tags in all tags view
neko259 -
r952:b93829b1 default
parent child Browse files
Show More
@@ -1,487 +1,486 b''
1 1 * {
2 2 text-decoration: none;
3 3 font-weight: inherit;
4 4 }
5 5
6 6 b {
7 7 font-weight: bold;
8 8 }
9 9
10 10 html {
11 11 background: #555;
12 12 color: #ffffff;
13 13 }
14 14
15 15 body {
16 16 margin: 0;
17 17 }
18 18
19 19 #admin_panel {
20 20 background: #FF0000;
21 21 color: #00FF00
22 22 }
23 23
24 24 .input_field_error {
25 25 color: #FF0000;
26 26 }
27 27
28 28 .title {
29 29 font-weight: bold;
30 30 color: #ffcc00;
31 31 }
32 32
33 33 .link, a {
34 34 color: #afdcec;
35 35 }
36 36
37 37 .block {
38 38 display: inline-block;
39 39 vertical-align: top;
40 40 }
41 41
42 42 .tag {
43 43 color: #FFD37D;
44 44 }
45 45
46 46 .post_id {
47 47 color: #fff380;
48 48 }
49 49
50 50 .post, .dead_post, .archive_post, #posts-table {
51 51 background: #333;
52 52 padding: 10px;
53 53 clear: left;
54 54 word-wrap: break-word;
55 55 border-top: 1px solid #777;
56 56 border-bottom: 1px solid #777;
57 57 }
58 58
59 59 .post + .post {
60 60 border-top: none;
61 61 }
62 62
63 63 .dead_post + .dead_post {
64 64 border-top: none;
65 65 }
66 66
67 67 .archive_post + .archive_post {
68 68 border-top: none;
69 69 }
70 70
71 71 .metadata {
72 72 padding-top: 5px;
73 73 margin-top: 10px;
74 74 border-top: solid 1px #666;
75 75 color: #ddd;
76 76 }
77 77
78 78 .navigation_panel, .tag_info {
79 79 background: #222;
80 80 margin-bottom: 5px;
81 81 margin-top: 5px;
82 82 padding: 10px;
83 83 border-bottom: solid 1px #888;
84 84 border-top: solid 1px #888;
85 85 color: #eee;
86 86 }
87 87
88 88 .navigation_panel .link {
89 89 border-right: 1px solid #fff;
90 90 font-weight: bold;
91 91 margin-right: 1ex;
92 92 padding-right: 1ex;
93 93 }
94 94 .navigation_panel .link:last-child {
95 95 border-left: 1px solid #fff;
96 96 border-right: none;
97 97 float: right;
98 98 margin-left: 1ex;
99 99 margin-right: 0;
100 100 padding-left: 1ex;
101 101 padding-right: 0;
102 102 }
103 103
104 104 .navigation_panel::after, .post::after {
105 105 clear: both;
106 106 content: ".";
107 107 display: block;
108 108 height: 0;
109 109 line-height: 0;
110 110 visibility: hidden;
111 111 }
112 112
113 113 .header {
114 114 border-bottom: solid 2px #ccc;
115 115 margin-bottom: 5px;
116 116 border-top: none;
117 117 margin-top: 0;
118 118 }
119 119
120 120 .footer {
121 121 border-top: solid 2px #ccc;
122 122 margin-top: 5px;
123 123 border-bottom: none;
124 124 margin-bottom: 0;
125 125 }
126 126
127 127 p, .br {
128 128 margin-top: .5em;
129 129 margin-bottom: .5em;
130 130 }
131 131
132 132 .post-form-w {
133 133 background: #333344;
134 134 border-top: solid 1px #888;
135 135 border-bottom: solid 1px #888;
136 136 color: #fff;
137 137 padding: 10px;
138 138 margin-bottom: 5px;
139 139 margin-top: 5px;
140 140 }
141 141
142 142 .form-row {
143 143 width: 100%;
144 144 }
145 145
146 146 .form-label {
147 147 padding: .25em 1ex .25em 0;
148 148 vertical-align: top;
149 149 }
150 150
151 151 .form-input {
152 152 padding: .25em 0;
153 153 }
154 154
155 155 .form-errors {
156 156 font-weight: bolder;
157 157 vertical-align: middle;
158 158 }
159 159
160 160 .post-form input:not([name="image"]), .post-form textarea {
161 161 background: #333;
162 162 color: #fff;
163 163 border: solid 1px;
164 164 padding: 0;
165 165 font: medium sans-serif;
166 166 width: 100%;
167 167 }
168 168
169 169 .post-form textarea {
170 170 resize: vertical;
171 171 }
172 172
173 173 .form-submit {
174 174 display: table;
175 175 margin-bottom: 1ex;
176 176 margin-top: 1ex;
177 177 }
178 178
179 179 .form-title {
180 180 font-weight: bold;
181 181 font-size: 2ex;
182 182 margin-bottom: 0.5ex;
183 183 }
184 184
185 185 .post-form input[type="submit"], input[type="submit"] {
186 186 background: #222;
187 187 border: solid 2px #fff;
188 188 color: #fff;
189 189 padding: 0.5ex;
190 190 }
191 191
192 192 input[type="submit"]:hover {
193 193 background: #060;
194 194 }
195 195
196 196 blockquote {
197 197 border-left: solid 2px;
198 198 padding-left: 5px;
199 199 color: #B1FB17;
200 200 margin: 0;
201 201 }
202 202
203 203 .post > .image {
204 204 float: left;
205 205 margin: 0 1ex .5ex 0;
206 206 min-width: 1px;
207 207 text-align: center;
208 208 display: table-row;
209 209 }
210 210
211 211 .post > .metadata {
212 212 clear: left;
213 213 }
214 214
215 215 .get {
216 216 font-weight: bold;
217 217 color: #d55;
218 218 }
219 219
220 220 * {
221 221 text-decoration: none;
222 222 }
223 223
224 224 .dead_post {
225 225 background-color: #442222;
226 226 }
227 227
228 228 .archive_post {
229 229 background-color: #000;
230 230 }
231 231
232 232 .mark_btn {
233 233 border: 1px solid;
234 234 min-width: 2ex;
235 235 padding: 2px 2ex;
236 236 }
237 237
238 238 .mark_btn:hover {
239 239 background: #555;
240 240 }
241 241
242 242 .quote {
243 243 color: #92cf38;
244 244 font-style: italic;
245 245 }
246 246
247 247 .multiquote {
248 248 padding: 3px;
249 249 display: inline-block;
250 250 background: #222;
251 251 border-style: solid;
252 252 border-width: 1px 1px 1px 4px;
253 253 font-size: 0.9em;
254 254 }
255 255
256 256 .spoiler {
257 257 background: white;
258 258 color: white;
259 259 }
260 260
261 261 .spoiler:hover {
262 262 color: black;
263 263 }
264 264
265 265 .comment {
266 266 color: #eb2;
267 267 }
268 268
269 269 a:hover {
270 270 text-decoration: underline;
271 271 }
272 272
273 273 .last-replies {
274 274 margin-left: 3ex;
275 275 margin-right: 3ex;
276 276 border-left: solid 1px #777;
277 277 border-right: solid 1px #777;
278 278 }
279 279
280 280 .last-replies > .post:first-child {
281 281 border-top: none;
282 282 }
283 283
284 284 .thread {
285 285 margin-bottom: 3ex;
286 286 margin-top: 1ex;
287 287 }
288 288
289 289 .post:target {
290 290 border: solid 2px white;
291 291 }
292 292
293 293 pre{
294 294 white-space:pre-wrap
295 295 }
296 296
297 297 li {
298 298 list-style-position: inside;
299 299 }
300 300
301 301 .fancybox-skin {
302 302 position: relative;
303 303 background-color: #fff;
304 304 color: #ddd;
305 305 text-shadow: none;
306 306 }
307 307
308 308 .fancybox-image {
309 309 border: 1px solid black;
310 310 }
311 311
312 312 .image-mode-tab {
313 313 background: #444;
314 314 color: #eee;
315 315 margin-top: 5px;
316 316 padding: 5px;
317 317 border-top: 1px solid #888;
318 318 border-bottom: 1px solid #888;
319 319 }
320 320
321 321 .image-mode-tab > label {
322 322 margin: 0 1ex;
323 323 }
324 324
325 325 .image-mode-tab > label > input {
326 326 margin-right: .5ex;
327 327 }
328 328
329 329 #posts-table {
330 330 margin-top: 5px;
331 331 margin-bottom: 5px;
332 332 }
333 333
334 334 .tag_info > h2 {
335 335 margin: 0;
336 336 }
337 337
338 338 .post-info {
339 339 color: #ddd;
340 340 margin-bottom: 1ex;
341 341 }
342 342
343 343 .moderator_info {
344 344 color: #e99d41;
345 345 float: right;
346 346 font-weight: bold;
347 347 }
348 348
349 349 .refmap {
350 350 font-size: 0.9em;
351 351 color: #ccc;
352 352 margin-top: 1em;
353 353 }
354 354
355 355 .fav {
356 356 color: yellow;
357 357 }
358 358
359 359 .not_fav {
360 360 color: #ccc;
361 361 }
362 362
363 363 .role {
364 364 text-decoration: underline;
365 365 }
366 366
367 367 .form-email {
368 368 display: none;
369 369 }
370 370
371 371 .bar-value {
372 372 background: rgba(50, 55, 164, 0.45);
373 373 font-size: 0.9em;
374 374 height: 1.5em;
375 375 }
376 376
377 377 .bar-bg {
378 378 position: relative;
379 379 border-top: solid 1px #888;
380 380 border-bottom: solid 1px #888;
381 381 margin-top: 5px;
382 382 overflow: hidden;
383 383 }
384 384
385 385 .bar-text {
386 386 padding: 2px;
387 387 position: absolute;
388 388 left: 0;
389 389 top: 0;
390 390 }
391 391
392 392 .page_link {
393 393 background: #444;
394 394 border-top: solid 1px #888;
395 395 border-bottom: solid 1px #888;
396 396 padding: 5px;
397 397 color: #eee;
398 398 font-size: 2ex;
399 399 }
400 400
401 401 .skipped_replies {
402 402 padding: 5px;
403 403 margin-left: 3ex;
404 404 margin-right: 3ex;
405 405 border-left: solid 1px #888;
406 406 border-right: solid 1px #888;
407 407 border-bottom: solid 1px #888;
408 408 background: #000;
409 409 }
410 410
411 411 .current_page {
412 412 padding: 2px;
413 413 background-color: #afdcec;
414 414 color: #000;
415 415 }
416 416
417 417 .current_mode {
418 418 font-weight: bold;
419 419 }
420 420
421 421 .gallery_image {
422 422 border: solid 1px;
423 423 padding: 0.5ex;
424 424 margin: 0.5ex;
425 425 text-align: center;
426 426 }
427 427
428 428 code {
429 429 border: dashed 1px #ccc;
430 430 background: #111;
431 431 padding: 2px;
432 432 font-size: 1.2em;
433 433 display: inline-block;
434 434 }
435 435
436 436 pre {
437 437 overflow: auto;
438 438 }
439 439
440 440 .img-full {
441 441 background: #222;
442 442 border: solid 1px white;
443 443 }
444 444
445 445 .tag_item {
446 446 display: inline-block;
447 border: 1px dashed #666;
448 447 margin: 0.2ex;
449 448 padding: 0.1ex;
450 449 }
451 450
452 451 #id_models li {
453 452 list-style: none;
454 453 }
455 454
456 455 #id_q {
457 456 margin-left: 1ex;
458 457 }
459 458
460 459 ul {
461 460 padding-left: 0px;
462 461 }
463 462
464 463 .quote-header {
465 464 border-bottom: 2px solid #ddd;
466 465 margin-bottom: 1ex;
467 466 padding-bottom: .5ex;
468 467 color: #ddd;
469 468 font-size: 1.2em;
470 469 }
471 470
472 471 /* Reflink preview */
473 472 .post_preview {
474 473 border-left: 1px solid #777;
475 474 border-right: 1px solid #777;
476 475 }
477 476
478 477 /* Code highlighter */
479 478 .hljs {
480 479 color: #fff;
481 480 background: #000;
482 481 display: inline-block;
483 482 }
484 483
485 484 .hljs, .hljs-subst, .hljs-tag .hljs-title, .lisp .hljs-title, .clojure .hljs-built_in, .nginx .hljs-title {
486 485 color: #fff;
487 486 }
@@ -1,202 +1,202 b''
1 1 {% extends "boards/base.html" %}
2 2
3 3 {% load i18n %}
4 4 {% load cache %}
5 5 {% load board %}
6 6 {% load static %}
7 7
8 8 {% block head %}
9 9 {% if tag %}
10 10 <title>{{ tag.name }} - {{ site_name }}</title>
11 11 {% else %}
12 12 <title>{{ site_name }}</title>
13 13 {% endif %}
14 14
15 15 {% if current_page.has_previous %}
16 16 <link rel="prev" href="
17 17 {% if tag %}
18 18 {% url "tag" tag_name=tag.name page=current_page.previous_page_number %}
19 19 {% elif archived %}
20 20 {% url "archive" page=current_page.previous_page_number %}
21 21 {% else %}
22 22 {% url "index" page=current_page.previous_page_number %}
23 23 {% endif %}
24 24 " />
25 25 {% endif %}
26 26 {% if current_page.has_next %}
27 27 <link rel="next" href="
28 28 {% if tag %}
29 29 {% url "tag" tag_name=tag.name page=current_page.next_page_number %}
30 30 {% elif archived %}
31 31 {% url "archive" page=current_page.next_page_number %}
32 32 {% else %}
33 33 {% url "index" page=current_page.next_page_number %}
34 34 {% endif %}
35 35 " />
36 36 {% endif %}
37 37
38 38 {% endblock %}
39 39
40 40 {% block content %}
41 41
42 42 {% get_current_language as LANGUAGE_CODE %}
43 43
44 44 {% if tag %}
45 45 <div class="tag_info">
46 46 <h2>
47 47 {% if tag in fav_tags %}
48 48 <a href="{% url 'tag' tag.name %}?method=unsubscribe&next={{ request.path }}"
49 49 class="fav" rel="nofollow">β˜…</a>
50 50 {% else %}
51 51 <a href="{% url 'tag' tag.name %}?method=subscribe&next={{ request.path }}"
52 52 class="not_fav" rel="nofollow">β˜…</a>
53 53 {% endif %}
54 54 {% if tag in hidden_tags %}
55 55 <a href="{% url 'tag' tag.name %}?method=unhide&next={{ request.path }}"
56 56 title="{% trans 'Show tag' %}"
57 57 class="fav" rel="nofollow">H</a>
58 58 {% else %}
59 59 <a href="{% url 'tag' tag.name %}?method=hide&next={{ request.path }}"
60 60 title="{% trans 'Hide tag' %}"
61 61 class="not_fav" rel="nofollow">H</a>
62 62 {% endif %}
63 63 {% autoescape off %}
64 64 {{ tag.get_view }}
65 65 {% endautoescape %}
66 66 {% if moderator %}
67 [<a href="{% url 'admin:boards_tag_change' tag.id %}"$>{% trans 'Edit tag' %}</a>]
67 [<a href="{% url 'admin:boards_tag_change' tag.id %}">{% trans 'Edit tag' %}</a>]
68 68 {% endif %}
69 69 </h2>
70 70 </div>
71 71 {% endif %}
72 72
73 73 {% if threads %}
74 74 {% if current_page.has_previous %}
75 75 <div class="page_link">
76 76 <a href="
77 77 {% if tag %}
78 78 {% url "tag" tag_name=tag.name page=current_page.previous_page_number %}
79 79 {% elif archived %}
80 80 {% url "archive" page=current_page.previous_page_number %}
81 81 {% else %}
82 82 {% url "index" page=current_page.previous_page_number %}
83 83 {% endif %}
84 84 ">{% trans "Previous page" %}</a>
85 85 </div>
86 86 {% endif %}
87 87
88 88 {% for thread in threads %}
89 89 {% cache 600 thread_short thread.id thread.last_edit_time moderator LANGUAGE_CODE %}
90 90 <div class="thread">
91 91 {% with can_bump=thread.can_bump %}
92 92 {% post_view thread.get_opening_post moderator is_opening=True thread=thread can_bump=can_bump truncated=True need_open_link=True %}
93 93 {% if not thread.archived %}
94 94 {% with last_replies=thread.get_last_replies %}
95 95 {% if last_replies %}
96 96 {% if thread.get_skipped_replies_count %}
97 97 <div class="skipped_replies">
98 98 <a href="{% url 'thread' thread.get_opening_post.id %}">
99 99 {% blocktrans with count=thread.get_skipped_replies_count %}Skipped {{ count }} replies. Open thread to see all replies.{% endblocktrans %}
100 100 </a>
101 101 </div>
102 102 {% endif %}
103 103 <div class="last-replies">
104 104 {% for post in last_replies %}
105 105 {% post_view post moderator=moderator is_opening=False thread=thread can_bump=can_bump truncated=True %}
106 106 {% endfor %}
107 107 </div>
108 108 {% endif %}
109 109 {% endwith %}
110 110 {% endif %}
111 111 {% endwith %}
112 112 </div>
113 113 {% endcache %}
114 114 {% endfor %}
115 115
116 116 {% if current_page.has_next %}
117 117 <div class="page_link">
118 118 <a href="
119 119 {% if tag %}
120 120 {% url "tag" tag_name=tag.name page=current_page.next_page_number %}
121 121 {% elif archived %}
122 122 {% url "archive" page=current_page.next_page_number %}
123 123 {% else %}
124 124 {% url "index" page=current_page.next_page_number %}
125 125 {% endif %}
126 126 ">{% trans "Next page" %}</a>
127 127 </div>
128 128 {% endif %}
129 129 {% else %}
130 130 <div class="post">
131 131 {% trans 'No threads exist. Create the first one!' %}</div>
132 132 {% endif %}
133 133
134 134 <div class="post-form-w">
135 135 <script src="{% static 'js/panel.js' %}"></script>
136 136 <div class="post-form">
137 137 <div class="form-title">{% trans "Create new thread" %}</div>
138 138 <div class="swappable-form-full">
139 139 <form enctype="multipart/form-data" method="post">{% csrf_token %}
140 140 {{ form.as_div }}
141 141 <div class="form-submit">
142 142 <input type="submit" value="{% trans "Post" %}"/>
143 143 </div>
144 144 </form>
145 145 </div>
146 146 <div>
147 147 {% trans 'Tags must be delimited by spaces. Text or image is required.' %}
148 148 </div>
149 149 <div><a href="{% url "staticpage" name="help" %}">
150 150 {% trans 'Text syntax' %}</a></div>
151 151 </div>
152 152 </div>
153 153
154 154 <script src="{% static 'js/form.js' %}"></script>
155 155
156 156 {% endblock %}
157 157
158 158 {% block metapanel %}
159 159
160 160 <span class="metapanel">
161 161 <b><a href="{% url "authors" %}">{{ site_name }}</a> {{ version }}</b>
162 162 {% trans "Pages:" %}
163 163 <a href="
164 164 {% if tag %}
165 165 {% url "tag" tag_name=tag.name page=paginator.page_range|first %}
166 166 {% elif archived %}
167 167 {% url "archive" page=paginator.page_range|first %}
168 168 {% else %}
169 169 {% url "index" page=paginator.page_range|first %}
170 170 {% endif %}
171 171 ">&lt;&lt;</a>
172 172 [
173 173 {% for page in paginator.center_range %}
174 174 <a
175 175 {% ifequal page current_page.number %}
176 176 class="current_page"
177 177 {% endifequal %}
178 178 href="
179 179 {% if tag %}
180 180 {% url "tag" tag_name=tag.name page=page %}
181 181 {% elif archived %}
182 182 {% url "archive" page=page %}
183 183 {% else %}
184 184 {% url "index" page=page %}
185 185 {% endif %}
186 186 ">{{ page }}</a>
187 187 {% if not forloop.last %},{% endif %}
188 188 {% endfor %}
189 189 ]
190 190 <a href="
191 191 {% if tag %}
192 192 {% url "tag" tag_name=tag.name page=paginator.page_range|last %}
193 193 {% elif archived %}
194 194 {% url "archive" page=paginator.page_range|last %}
195 195 {% else %}
196 196 {% url "index" page=paginator.page_range|last %}
197 197 {% endif %}
198 198 ">&gt;&gt;</a>
199 199 [<a href="rss/">RSS</a>]
200 200 </span>
201 201
202 202 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now