]> git.0d.be Git - panikdb.git/blob - panikdb/static/css/style.scss
aa327af9bf94936a0c8c0348a8af5a62fd1c0b96
[panikdb.git] / panikdb / static / css / style.scss
1 div#header {
2         background: #282f2e url(../images/banner-1054.png) no-repeat 0px top;
3         height: 93px;
4         z-index: 100;
5 }
6
7 div#top {
8         float: right;
9         background: rgba(0, 0, 0, 0.8);
10         height: auto;
11         box-sizing: border-box;
12         padding: 1ex;
13         color: #eee;
14         position: relative;
15         z-index: 1000;
16         border-radius: 0 0 0 1ex;
17 }
18
19 div#top a {
20         padding: 0 1ex;
21         color: white;
22 }
23
24 div#main-content {
25         padding-top: 0;
26         overflow: visible;
27 }
28
29 div#more-user-links {
30         margin-top: -1ex;
31         margin-bottom: 1em;
32 }
33
34 div#content {
35         margin-top: 1ex;
36 }
37
38 div#content h3 {
39         margin-top: 0;
40         font-weight: normal;
41         color: #656551;
42         font-size: 18px;
43         letter-spacing: -1px;
44         line-height: 25px;
45         margin-bottom: 20px;
46 }
47
48 ul.episode-list {
49         line-height: 1.5em;
50         padding: 1ex 2ex 1ex 3ex;
51 }
52
53 hr {
54         clear: both;
55         border: 0;
56         border-bottom: 1px solid #888;
57         margin: 10px auto 20px auto;
58         width: 80%;
59 }
60
61 body.login div#search,
62 body.login div#more-user-links {
63         display: none;
64 }
65
66 body.login #header {
67         border: 1px solid #666;
68 }
69
70 body.login #main {
71         max-width: 100ex;
72         margin: 0 auto;
73 }
74
75 body.login #content {
76         background: white;
77         padding: 1rem;
78 }
79
80 body.login div#main-content {
81         border-width: 0 1px 1px 1px;
82         box-sizing: border-box;
83 }
84
85 form#login-form p {
86         float: left;
87         width: 40%;
88 }
89
90 form#login-form button {
91         margin-top: 1.8rem;
92 }
93
94 div.login-actions {
95         clear: both;
96         padding-top: 2em;
97 }
98
99 div.login-actions p {
100         margin: 0;
101 }
102
103 form.inline p label {
104   display: inline;
105 }
106
107 form .inline label {
108   display: inline;
109 }
110 form .inline li {
111   display: inline;
112 }
113
114 span.add-on {
115         padding: 5px;
116         border: 1px solid #cccccc;
117         color:#666666;
118         background: white;
119         color: black;
120         border-radius: 4px;
121 }
122
123 div#content h4 {
124         margin-bottom: 5px;
125         margin-top: 30px;
126 }
127
128 abbr {
129         border-bottom: 1px dotted #8c8c73;
130         cursor: help;
131 }
132
133 pre.code, pre.sample {
134         border: 1px solid #babdb6;
135         padding: 0.5em 1em;
136         background: #fefefe;
137 }
138
139 div.description {
140 background: #eee;
141 border: 1px solid #ccc;
142 padding: 0em 1em 0 1em;
143 margin: 1em 0;
144 }
145
146 /* makes the font 33% larger relative to the icon container */
147 .icon-large:before {
148   vertical-align: top;
149   font-size: 1.3333333333333333em;
150 }
151
152 ul.emission-list {
153   column-count: 4;
154 }
155
156 ul.episode-list {
157   column-count: 2;
158 }
159
160 ul.newsitem-list {
161   column-count: 2;
162 }
163
164 aside ul.episode-list {
165         column-count: 1;
166 }
167
168 .fileprogress {
169         border: 1px solid #888;
170 }
171
172 .fileprogress .bar {
173         background: #09f;
174         line-height: 1.5em;
175         padding-left: 1ex;
176         font-weight: bold;
177         white-space: nowrap;
178 }
179
180 .fileinfo {
181         line-height: 1.5em;
182 }
183
184 #soundfiles th,
185 #soundfiles td {
186         padding: 1ex 1ex;
187         border: 1px solid #aaa;
188         border-width: 1px 0;
189 }
190
191 a.big-friendly-button {
192         text-decoration: none;
193         display: inline-block;
194         padding: 1ex;
195         margin: 0 1em;
196         color: #ffffff;
197         background: #4690d6;
198         border: 1px solid #2a567f;
199         font-weight: bold;
200         border-radius: 5px;
201 }
202
203 a.big-friendly-button:hover {
204         background: #2a567f;
205 }
206
207 a.actually-not-that-friendly {
208         border-color: #F52F2D;
209         color: #F52F2D;
210         position: absolute;
211         right: -10px;
212         padding: 0 1ex;
213 }
214
215 a.actually-not-that-friendly:hover {
216         background: #d01311;
217 }
218
219 div.two-columns ul.episode-list {
220   column-count: 1;
221 }
222
223 div.two-columns > div {
224         width: 48%;
225         margin-right: 1%;
226         float: left;
227 }
228
229 .input-append {
230         margin-left: 10px;
231         margin-bottom: 10px;
232 }
233
234 #content ul.select2-choices {
235         min-width: 15em;
236         padding: 0;
237 }
238
239 span.add-on {
240         background: #eee;
241         margin-left: 3px;
242 }
243
244 #s2id_id_category,
245 #s2id_id_emission {
246         width: 30em;
247 }
248
249 .image {
250         text-align: right;
251 }
252
253 .image img {
254         padding: 5px;
255         max-width: 200px;
256         border: 1px solid #666;
257         float: right;
258         margin: 1em;
259 }
260
261 .image img.large {
262         max-width: 100%;
263 }
264
265 span.tag {
266         border: 1px solid #888;
267         border-radius: 1ex;
268         padding: 0 1ex;
269         background: #eee;
270 }
271
272 div.text {
273         border-bottom: 1px solid #aaa;
274         margin-bottom: 1em;
275 }
276
277 #piece-details {
278         float: right;
279         margin: 1em;
280 }
281
282 #piece-details img {
283         padding: 5px;
284         max-width: 200px;
285         border: 1px solid #666;
286 }
287
288 .matos-piece #id_comment, .matos-piece #id_location {
289         height: 4em;
290         width: 100%;
291 }
292
293 .pieces-list {
294         padding: 1rem 2rem;
295         background: white;
296         column-width: 19em;
297 }
298
299 .pieces-list li {
300         margin-bottom: 6px;
301         margin-right: 2rem;
302 }
303
304 .matos-loan .loan-infos {
305         float: left;
306         width: 48%;
307 }
308
309 .matos-loan .loan-pieces {
310         float: right;
311         width: 48%;
312 }
313
314 .matos-loan .buttons {
315         clear: both;
316 }
317
318 .soma-list .filepath {
319         font-size: 80%;
320         color: #888;
321 }
322
323 .trackartist {
324         font-size: 80%;
325 }
326
327 .artists-list {
328         column-width: 15em;
329 }
330
331 .on-air-False {
332         opacity: 0.5;
333 }
334
335 [class^="icon-"]:after, [class*=" icon-"]:after,
336 [class^="icon-"]:before, [class*=" icon-"]:before {
337   font-family: FontAwesome;
338   font-weight: normal;
339   font-style: normal;
340   display: inline-block;
341   text-decoration: none;
342 }
343 a [class^="icon-"], a [class*=" icon-"] {
344   display: inline-block;
345   text-decoration: none;
346 }
347
348 .icon-edit:before                 { content: "\f044"; }
349 .icon-remove-sign:before          { content: "\f057"; }
350 .icon-remove:before               { content: "\f00d"; }
351 .icon-minus:before                { content: "\f068"; }
352 .icon-envelope:before             { content: "\f003"; }
353 .icon-comment:before              { content: "\f075"; }
354 .icon-home-space:before           { content: "\f015 "; }
355 .icon-user-space:before           { content: "\f007 "; }
356 .icon-circle-arrow-left:before    { content: "\f0a8"; }
357 .icon-circle-arrow-right:before   { content: "\f0a9"; }
358 .icon-music:before                { content: "\f001"; }
359 .icon-th:before                   { content: "\f00a"; }
360 .icon-eye-open:before             { content: "\f06e "; }
361 .icon-bar-chart:before            { content: "\f080 "; }
362 .icon-search:before               { content: "\f002 "; }
363 .icon-signout:before              { content: "\f08b "; }
364 .icon-pushpin:before              { content: "\f08d "; }
365
366 .icon-circle-arrow-down:after     { content: "  \f0ab"; }
367 .icon-arrow-left:after            { content: "\f060"; }
368 .icon-arrow-right:after           { content: "\f061"; }
369
370 div#placeholders {
371         overflow: hidden;
372 }
373
374 div#placeholders h3 {
375         margin-bottom: 0;
376         line-height: 100%;
377         padding: 0.5ex 1ex;
378 }
379
380 body.combo div.select2-container {
381         width: 100%;
382 }
383
384 body.combo a.view-online {
385         display: none;
386 }
387
388 div.nonstop-stats h3 span {
389         font-weight: normal;
390         font-size: 70%;
391 }
392
393 .objects-list li.disabled {
394         background: #ddd;
395         span.tag {
396                 background: #666;
397         }
398 }
399
400 div#content div#available-cells ul {
401         padding: 0;
402 }
403
404 div.poll {
405         border-radius: 10px;
406         margin: 0 auto;
407         text-align: center;
408         max-width: 30em;
409         background: #FF7600;
410         border: 1px solid red;
411 }
412
413 div.poll a {
414         display: inline-block;
415         width: 100%;
416         padding: 3em;
417         color: white;
418         font-weight: bold;
419 }
420
421 form.poll img {
422         margin-left: 1em;
423         margin-right: 4em;
424 }
425
426 form.poll p {
427         margin-top: 1em;
428 }
429
430 form.poll textarea {
431         width: 100%;
432         max-width: 40em;
433         height: 10em;
434 }
435
436 form.poll div.buttons {
437         margin-top: 1em;
438 }
439
440 form.poll div.error {
441         padding: 1ex;
442         max-width: 40em;
443         margin: 2em;
444         border: 2px solid red;
445 }
446
447 table#playlist {
448         border-spacing: 1em;
449         border-collapse: unset;
450         width: 100%;
451 }
452
453 table#playlist td.playlist-title {
454         border: 1px outset black;
455         background: #eee;
456         text-align: center;
457         padding: 1ex;
458         cursor: pointer;
459         position: relative;
460 }
461
462 table#playlist .shortcut {
463         position: absolute;
464         right: 1ex;
465         font-size: 90%;
466 }
467
468 table#playlist td:last-child {
469         color: #444;
470         font-style: italic;
471 }
472
473 .button-done {
474         opacity: 0.5;
475 }
476
477 table#playlist td.handle {
478         width: 10px;
479         color: white;
480         background: #666;
481         cursor: grab;
482 }
483
484 body.submitting {
485         opacity: 0.5;
486         pointer-events: none;
487 }
488
489 div#content ul.team {
490         padding: 0;
491         padding-left: 1ex;
492         margin: 0;
493 }
494
495 ul.team li {
496         display: inline;
497         padding: 0;
498         margin: 0;
499 }
500
501 ul.team li::after {
502         content: " / ";
503 }
504
505 div.two-columns.schedule-team {
506         width: 60%;
507 }
508
509 div.two-columns.schedule-team > div:first-child {
510         width: 30%;
511 }
512
513 div.two-columns.schedule-team > div:nth-child(2) {
514         width: 68%;
515 }
516
517 .extra-actions-menu {
518         display: none;
519 }
520
521 ul.gallery li {
522         display: inline-block;
523         position: relative;
524         padding-bottom: 20px;
525 }
526
527 ul.gallery li span.image-actions {
528         position: absolute;
529         bottom: 0;
530         right: 0;
531 }
532
533 table {
534         max-width: 100%;
535         border-collapse: collapse;
536         border-spacing: 0;
537 }
538
539 .dropdown-menu {
540         position: absolute;
541         top: 100%;
542         left: 0;
543         z-index: 1000;
544         display: none;
545         float: left;
546         min-width: 160px;
547         padding: 5px 0;
548         margin: 2px 0 0;
549         margin-top: 2px;
550         font-size: 14px;
551         list-style: none;
552         background-color: #ffffff;
553         border: 1px solid #cccccc;
554         border: 1px solid rgba(0, 0, 0, 0.15);
555         border-radius: 4px;
556         -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
557         box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
558         background-clip: padding-box;
559 }
560
561 div#search {
562         position: absolute;
563         top: 40px;
564         right: 10px;
565 }
566
567 select#id_datetime_0, select#id_datetime_1, select#id_datetime_2 {
568         width: auto;
569         margin-right: 1em;
570 }
571
572 div.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close::after {
573         content: "Ă—";
574 }
575
576 form#track-search p {
577         float: left;
578         margin-right: 1em;
579 }
580
581 form#track-search button {
582         margin-top: 2.5ex;
583 }
584
585 #more-user-links a {
586         background: white;
587         border: 1px solid #386ede;
588         padding: 1ex;
589         border-radius: 3px;
590         font-weight: bold;
591 }
592
593 .home .block {
594         background: white;
595         padding: 1rem;
596         margin-bottom: 1rem;
597         border-radius: 3px;
598 }
599
600 .home .block hr {
601         border-color: white;
602 }
603
604 .action-see-online {
605         display: none;
606 }
607
608 .select2-container {
609         min-width: 90%;
610 }
611
612 .block.program {
613         ul, li {
614                 list-style: none;
615                 margin: 0;
616                 padding: 0;
617         }
618         li.now {
619                 font-weight: bold;
620         }
621 }
622
623 .nonstop-days {
624         display: flex;
625         justify-content: space-between;
626         > div {
627                 width: 16%;
628                 background: white;
629                 padding: 0.5em 1em;
630         }
631 }
632
633 #id_start_p {
634         float: left;
635         margin-right: 2em;
636 }
637
638 #id_jingles_p {
639         clear: both;
640         ul {
641                 column-width: 15em;
642         }
643 }
644
645 #content .bo-block.team {
646         h3, ul.team {
647                 display: inline-block;
648                 margin-bottom: 0;
649         }
650 }
651
652 table#edit-metadata {
653         th {
654                 padding: 0 0.6em 1em 0;
655         }
656         td {
657                 padding: 0 1.6em;
658         }
659         thead {
660                 background: white;
661                 position: sticky;
662                 top: 0;
663         }
664         tr:hover {
665                 background: #eee;
666         }
667 }
668
669 form div[id^="id_weight"] {
670         display: flex;
671         align-items: center;
672         div.title {
673                 display: inline-block;
674                 width: 25em;
675         }
676         div.content {
677                 display: inline-flex;
678         }
679         margin-bottom: 0.5em;
680 }
681
682 div#content div.section > h3 {
683         background: linear-gradient(to right, #386ede 30%, #00d6eb 100%);
684         color: white;
685 }
686
687 div#content div.wiki-section h3 {
688         margin-bottom: 0;
689 }
690
691 #quickedit {
692         position: absolute;
693         top: 0.15em;
694         right: 2px;
695         label {
696                 display: inline-block;
697                 margin-left: 6px;
698                 cursor: pointer;
699         }
700         input {
701                 display: none;
702         }
703
704         button,
705         span {
706                 display: inline-block;
707                 font-weight: normal;
708                 background: white;
709                 border: 1px solid #386ede;
710                 padding: 1ex;
711                 border-radius: 3px;
712                 color: #386ede;
713         }
714         button:hover {
715                 &:hover {
716                         color: white;
717                         background: #386ede;
718                 }
719         }
720
721         input:checked + span {
722                 background: #386ede;
723                 color: white;
724         }
725 }
726
727 div[contenteditable=true] {
728         outline: 2px solid #386ede;
729         outline-offset: 12px;
730 }
731
732 .inline-style-popup,
733 .block-style-popup {
734         background: white;
735         box-shadow: 0 0 5px #666;
736         input {
737                 display: none;
738                 margin: 0;
739                 padding: 3px;
740                 border: 1px inset #ccc;
741                 background: white;
742                 width: 0px;
743                 transition: width ease 2s;
744                 &.shown {
745                         display: inline-block;
746                         width: 400px;
747                 }
748         }
749         button {
750                 padding: 0 0.5em;
751                 height: 2em;
752                 text-align: center;
753                 font-weight: normal;
754                 color: #333;
755                 background: #eee;
756                 border: 0px;
757                 &:hover {
758                         background: #ccc;
759                 }
760                 &[data-action=createLink] {
761                         color: blue;
762                         text-decoration: underline;
763                 }
764                 &.on {
765                         background: #444;
766                         color: white;
767                 }
768         }
769         &.inline-style-popup button {
770                 width: 2em;
771                 padding: 0;
772         }
773         &.block-style-popup {
774                 &.selected button {
775                         display: none;
776                         &.on {
777                                 display: block;
778                         }
779                 }
780         }
781 }
782
783 div.wiki-section {
784         position: relative;
785         margin: 0 auto;
786         max-width: 45em;
787         font-size: 16px;
788         border: none;
789         line-height: 150%;
790         pre.code {
791                 background: #111;
792                 color: white;
793                 padding: 2px;
794                 max-width: 100%;
795                 overflow: auto;
796                 font-size: 90%;
797         }
798         div.note {
799                 margin: 1em auto;
800                 width: 80%;
801                 border: 1px solid #babdb6;
802                 background: #F3F3F0 url(../images/yelp-note.png) no-repeat 1ex 1ex;
803                 padding: 1ex 1ex 1ex 7ex;
804                 p:first-child {
805                         margin-top: 0;
806                 }
807         }
808         [contenteditable=true] div.figure {
809                 cursor: pointer;
810         }
811         div.document,
812         div.figure {
813                 text-align: center;
814                 line-height: initial;
815                 img {
816                         max-width: 90%;
817                         max-height: 70vh;
818                 }
819                 span.empty::before {
820                         min-height: 50px;
821                         margin: 0 auto;
822                         display: block;
823                         width: 90%;
824                         background: #eee;
825                         padding: 1rem;
826                         font-size: 200px;
827                         content: "\f03e";
828                         color: #aaa;
829                         font-family: FontAwesome;
830                 }
831         }
832         div.document a {
833                 &::before {
834                         content: "\f019";
835                         font-family: FontAwesome;
836                         padding-right: 0.7em;
837                 }
838         }
839         div.document span.empty::before {
840                 content: "\f0f6";  // fa-file-text-o
841         }
842         div[contenteditable] {
843                 a[href^="/wiki/"] {
844                         box-shadow: inset 0 -8px 0 0 rgba(34, 27, 242,0.1);
845                         color: #073593;
846                         transition: box-shadow ease 0.2s;
847                         &:hover {
848                                 box-shadow: inset 0 -21px 0 0 rgba(34, 27, 242,0.3);
849                         }
850                 }
851                 a[href^="http://"], a[href^="https://"] {
852                         &::after {
853                                 content: "\f08e"; /* external link */
854                                 font-family: FontAwesome;
855                                 font-size: 80%;
856                                 position: relative;
857                                 padding-left: 5px;
858                                 top: -4px;
859                         }
860                 }
861         }
862 }
863
864 div#content div.wiki-section > h3 {
865         position: sticky;
866         top: 0;
867 }
868
869 div#content div.wiki-section h4.intertitle {
870         margin-bottom: 1em;
871 }
872
873 .wiki-breadcrumbs-separator {
874         padding-left: 1em;
875 }
876
877 .latest-page-updates-cell--item-date {
878         font-size: 80%;
879 }
880
881 .latest-page-updates-cell--item-isnew {
882         background: #f1f92f;
883         color: black;
884         font-size: 80%;
885         position: relative;
886         top: 0px;
887 }
888
889 #document-upload,
890 #image-upload {
891         visibility: hidden;
892 }
893
894 body.loading {
895         cursor: wait;
896 }
897
898 body.loading::before {
899         content: "";
900         position: fixed;
901         top: 0;
902         left: 0;
903         right: 0;
904         height: 10px;
905         background: #386ede;
906         z-index: 1100;
907         animation-name: load_animation;
908         animation-duration: 1000ms;
909         animation-timing-function: ease-out;
910         transition: opacity 500ms linear;
911 }
912
913 @keyframes load_animation {
914         0% { right: 100%; }
915         100% { right: 0%; }
916 }
917
918 #search-results {
919         background: white;
920         ul, li {
921                 list-style: none;
922                 margin: 0;
923                 padding: 0;
924         }
925         a {
926                 display: block;
927                 padding: 0.6rem;
928         }
929 }