Mark filters safe through `is_safe` parameter
[mygpo.git] / static / screen.css
blobacb47ed4b4b2a0fb56fd38fce4eaaf6b8eddbf17
1 :root {
2 --color-status-success: 90;
3 --color-status-error: 0;
4 --color-status-neutral: 247;
8 /* Landscape phones and down */
9 @media (min-width: 980px)
12 #inline_logo
14 display: none;
19 /****************
20 General
21 *****************/
23 body
25 font-family: 'Source Sans Pro', sans-serif;
28 #logo
30 position: fixed;
31 left: 20px;
32 top: -2px;
33 z-index: 4000;
36 body h1
38 font-size: 3em;
39 font-family: 'Source Sans Pro';
40 font-weight: 200;
41 margin-bottom: 0;
46 font-size: 14pt;
47 padding-top: .5em;
52 font-size: 12pt;
55 .brand img
57 display: inline;
60 .logo-group
62 padding: .5em 0 1em 0;
67 /*******************
68 "List" Tables
69 ********************/
72 table.list
74 border-collapse: collapse;
75 width: 100%;
76 margin-bottom: 2em;
79 table.list tr td
81 padding: .3em;
82 border-top: thin dotted #ccc;
83 border-bottom: thin dotted #ccc;
84 vertical-align: middle;
87 table.list tr:hover td {
88 background-color: #eeeeee;
91 table.list tr.nohighlight:hover td {
92 background-color: inherit;
95 table.list th
97 text-align: left;
98 padding: 5px;
99 font-weight: bold;
102 table.list th,
103 table.list td
105 padding-right: 1em;
108 table.list td
110 height: 40px;
113 table td.numeric,
114 table th.numeric
116 text-align: right;
119 table.list td.empty
121 text-align: center;
122 font-size: .8em;
125 table.list tr.group
127 font-weight: bold;
128 height: 3em;
129 vertical-align: bottom;
132 table.list tr.group:hover td
134 /* don't show hover effect for group rows */
135 background-color: inherit;
138 td.logo
140 width: 32px;
143 td.logo img
145 max-height: 32px;
146 max-width: 32px;
149 table form
151 display: inline;
154 /* used for headers above a group of table rows */
156 table.list th.group
158 background-color: #999;
159 color: white;
160 text-align: center;
163 table.list th.group a
165 color: white;
168 table.list th.group i
170 font-size: .7em;
173 .description,
174 .summary
176 color: #222;
177 hypens: auto;
178 -webkit-hyphens: auto;
179 -moz-hyphens: auto;
180 -ms-hyphens: auto;
181 -o-hyphens: auto;
182 text-align: justify;
186 div.description,
187 div.summary
189 margin-top: 1em;
192 .summary img
194 display: none;
197 /* don't show images in the description of the podcast page */
198 .first-episode img
200 display: none;
203 .first-episode div.description
205 margin-top: .5em;
208 .first-episode h2
210 margin-bottom: 0;
211 line-height: 1em;
214 div#podcastlogo
216 float: right;
217 padding-left: 20px;
218 padding-bottom: 10px;
222 .short
224 height: 1.3em;
225 overflow: hidden;
226 text-overflow: ellipsis;
229 .URL
231 text-decoration: none;
232 color: black;
235 .URL:hover
237 text-decoration: underline;
240 img.device_icon
242 padding: 3px;
243 vertical-align: middle;
247 /******************
248 Searching
249 *******************/
251 form.search input[type="text"]
253 width: 300px;
254 display: inline;
257 form.search ul
259 display: inline;
260 margin: 0px;
261 padding: 0px;
264 form.search ul li
266 list-style: none;
267 display: inline;
270 form.search input[type="submit"]
272 margin-top: 20px;
273 display: inline;
276 form.internal
278 display: none;
281 div.result img
283 float: left;
286 div.result a.podcast
288 font-size: 1.2em;
289 color: black;
290 padding-top: 2em;
291 font-weight: bold;
292 display: block;
295 div.result span.episode
297 display: list-item;
298 margin-left: 2em;
301 div.result span.episode a
303 color: black;
307 input.url
309 width: 80%;
312 .bar
314 background-color: #777;
315 color: white;
316 float: left;
317 text-align: left;
320 .bar span, .barbg span
322 padding-left: 5px;
323 padding-right: 5px;
326 .barbg
328 background-color: #aaa;
329 text-align: right;
330 color: black;
331 float: left;
332 width: 100%;
336 span.from_podcast, span.latest_episode {
337 font-size: x-small;
338 color: #666;
341 span.from_podcast a, span.latest_episode a {
342 color: #333;
345 .time
347 width: 5em;
351 .own-chapter
353 font-weight: bold;
356 div.related-podcasts
358 float: right;
362 .toplist-pos
364 padding-left: 1em;
367 #tagcloud
369 text-align: justify;
372 .sponsoring-podcast
374 padding-top: 1em;
375 padding-bottom: 1em;
378 .sponsoring-podcast img
380 float: left;
385 iframe.results
387 width: 100%;
388 border: none;
391 .by-user
393 font-size: 50%;
398 /*****************
399 Footer
400 *******************/
402 footer, footer a
404 color: #777;
407 footer ul
409 list-style-type: none;
412 div.first-episode
414 margin-bottom: 2em;
419 /************************
420 Episode Lists
421 *************************/
423 div.episodes div.episode
425 clear: left;
428 div.episode span.title
430 font-size: 1.5em;
431 font-family: 'Source Sans Pro';
432 font-weight: 200;
435 div.episodes div.episode
437 margin: 1.5em 0 1.5em 0;
440 div.episode div.description
442 font-family: 'Source Sans Pro';
443 font-weight: 300;
446 div.episodes div.description
448 margin-top: 0;
449 max-height: 2.9em;
450 overflow: hidden;
451 text-overflow: ellipsis; /* why doesn't this work?! */
455 div.episode span.number
457 display: inline;
458 font-size: 1.5em;
459 font-weight: 300;
460 font-family: 'Source Sans Pro';
464 div.episode div.listeners
466 width: 8em;
467 float: right;
468 font-size: .7em;
471 div.episode span.released,
472 div.episode span.status
474 font-size: .7em;
475 font-weight: normal;
478 div.first-episode
480 margin-top: 1.5em;
483 div.first-episode div.header
485 font-size: 1.5em;
489 div.first-episode div.episode div.header a
491 text-decoration: none;
492 color: black;
499 /* Sidebar Navigation */
501 .sidebar-nav
503 text-align: right;
504 border-right: thin solid #222;
505 margin-right: 1em;
508 .sidebar-nav a
510 color: #222;
513 .nav-list > .active > a,
514 .nav-list > .active > a:hover,
515 .nav-list > .active > a:focus {
516 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
517 background-color: #888;
518 color: #eee;
521 #content
523 padding-top: 1em;
526 #tag-box form
528 display: inline-block;
532 div.podcasts
534 padding-top: 2em;
538 div.podcasts div.podcast
540 overflow: hidden;
541 margin-bottom: 2em;
542 padding: .2em;
546 div.podcasts div.podcast div.logo
548 float: left;
549 padding-right: .5em;
552 div.podcasts div.podcast div.actions
554 float: right;
555 padding-left: .5em;
556 display: box;
559 div.podcasts div.podcast div.title
561 white-space: nowrap;
562 text-overflow: ellipsis;
563 overflow: hidden;
566 div.podcasts div.podcast div.title a
568 font-family: 'Source Sans Pro';
569 font-weight: 300;
570 font-size: 1.9em;
573 div.podcasts div.podcast div.description
575 text-overflow: ellipsis;
576 overflow: hidden;
577 margin-top: .5em;
578 height: 7em;
581 div.podcasts div.podcast div.actions a.btn,
582 div.podcasts div.podcast div.actions button.btn
585 display: none;
586 margin-bottom: 1em;
587 box-flex: 1;
591 div.podcasts div.podcast:hover div.actions a.btn,
592 div.podcasts div.podcast:hover div.actions button.btn
594 display: block;
597 /* http://stackoverflow.com/a/18330040/693140 */
598 .nav > li.disabled.nav-header > a {
599 cursor: default;
600 font-size: 12px;
601 font-weight: bold;
602 text-transform: uppercase;
605 .tab-pane
607 padding-top: 1em;
610 .centered {
611 float: none;
612 margin: 0 auto;
615 .hosting {
616 text-align: center;
619 .status-success {
620 background-color: hsla(var(--color-status-success), 100%, 75%, 1);
624 .status-error {
625 background-color: hsla(var(--color-status-error), 100%, 75%, 1);
628 .status-neutral {
629 background-color: hsla(var(--color-status-neutral), 16%, 85%, 1);