]> git.0d.be Git - panikdb.git/blob - panikdb/static/css/style.scss
a44b44f37d58b0b3ae008b397bbb57a315ff432d
[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 div#content div#available-cells ul {
394         padding: 0;
395 }
396
397 div.poll {
398         border-radius: 10px;
399         margin: 0 auto;
400         text-align: center;
401         max-width: 30em;
402         background: #FF7600;
403         border: 1px solid red;
404 }
405
406 div.poll a {
407         display: inline-block;
408         width: 100%;
409         padding: 3em;
410         color: white;
411         font-weight: bold;
412 }
413
414 form.poll img {
415         margin-left: 1em;
416         margin-right: 4em;
417 }
418
419 form.poll p {
420         margin-top: 1em;
421 }
422
423 form.poll textarea {
424         width: 100%;
425         max-width: 40em;
426         height: 10em;
427 }
428
429 form.poll div.buttons {
430         margin-top: 1em;
431 }
432
433 form.poll div.error {
434         padding: 1ex;
435         max-width: 40em;
436         margin: 2em;
437         border: 2px solid red;
438 }
439
440 table#playlist {
441         border-spacing: 1em;
442         border-collapse: unset;
443         width: 100%;
444 }
445
446 table#playlist td.playlist-title {
447         border: 1px outset black;
448         background: #eee;
449         text-align: center;
450         padding: 1ex;
451         cursor: pointer;
452         position: relative;
453 }
454
455 table#playlist .shortcut {
456         position: absolute;
457         right: 1ex;
458         font-size: 90%;
459 }
460
461 table#playlist td:last-child {
462         color: #444;
463         font-style: italic;
464 }
465
466 .button-done {
467         opacity: 0.5;
468 }
469
470 table#playlist td.handle {
471         width: 10px;
472         color: white;
473         background: #666;
474         cursor: grab;
475 }
476
477 body.submitting {
478         opacity: 0.5;
479         pointer-events: none;
480 }
481
482 div#content ul.team {
483         padding: 0;
484         padding-left: 1ex;
485         margin: 0;
486 }
487
488 ul.team li {
489         display: inline;
490         padding: 0;
491         margin: 0;
492 }
493
494 ul.team li::after {
495         content: " / ";
496 }
497
498 div.two-columns.schedule-team {
499         width: 60%;
500 }
501
502 div.two-columns.schedule-team > div:first-child {
503         width: 30%;
504 }
505
506 div.two-columns.schedule-team > div:nth-child(2) {
507         width: 68%;
508 }
509
510 .extra-actions-menu {
511         display: none;
512 }
513
514 ul.gallery li {
515         display: inline-block;
516         position: relative;
517         padding-bottom: 20px;
518 }
519
520 ul.gallery li span.image-actions {
521         position: absolute;
522         bottom: 0;
523         right: 0;
524 }
525
526 table {
527         max-width: 100%;
528         border-collapse: collapse;
529         border-spacing: 0;
530 }
531
532 .dropdown-menu {
533         position: absolute;
534         top: 100%;
535         left: 0;
536         z-index: 1000;
537         display: none;
538         float: left;
539         min-width: 160px;
540         padding: 5px 0;
541         margin: 2px 0 0;
542         margin-top: 2px;
543         font-size: 14px;
544         list-style: none;
545         background-color: #ffffff;
546         border: 1px solid #cccccc;
547         border: 1px solid rgba(0, 0, 0, 0.15);
548         border-radius: 4px;
549         -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
550         box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
551         background-clip: padding-box;
552 }
553
554 div#search {
555         position: absolute;
556         top: 40px;
557         right: 10px;
558 }
559
560 select#id_datetime_0, select#id_datetime_1, select#id_datetime_2 {
561         width: auto;
562         margin-right: 1em;
563 }
564
565 div.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close::after {
566         content: "Ă—";
567 }
568
569 form#track-search p {
570         float: left;
571         margin-right: 1em;
572 }
573
574 form#track-search button {
575         margin-top: 2.5ex;
576 }
577
578 #more-user-links a {
579         background: white;
580         border: 1px solid #386ede;
581         padding: 1ex;
582         border-radius: 3px;
583         font-weight: bold;
584 }
585
586 .home .block {
587         background: white;
588         padding: 1rem;
589         margin-bottom: 1rem;
590         border-radius: 3px;
591 }
592
593 .home .block hr {
594         border-color: white;
595 }
596
597 .action-see-online {
598         display: none;
599 }
600
601 .select2-container {
602         min-width: 90%;
603 }
604
605 .block.program {
606         ul, li {
607                 list-style: none;
608                 margin: 0;
609                 padding: 0;
610         }
611         li.now {
612                 font-weight: bold;
613         }
614 }
615
616 .nonstop-days {
617         display: flex;
618         justify-content: space-between;
619         > div {
620                 width: 16%;
621                 background: white;
622                 padding: 0.5em 1em;
623         }
624 }
625
626 #id_start_p {
627         float: left;
628         margin-right: 2em;
629 }
630
631 #id_jingles_p {
632         clear: both;
633         ul {
634                 column-width: 15em;
635         }
636 }
637
638 #content .bo-block.team {
639         h3, ul.team {
640                 display: inline-block;
641                 margin-bottom: 0;
642         }
643 }
644
645 table#edit-metadata {
646         th {
647                 padding: 0 0.6em 1em 0;
648         }
649         td {
650                 padding: 0 1.6em;
651         }
652         thead {
653                 background: white;
654                 position: sticky;
655                 top: 0;
656         }
657         tr:hover {
658                 background: #eee;
659         }
660 }
661
662 div#content div.section > h3 {
663         background: linear-gradient(to right, #386ede 30%, #00d6eb 100%);
664         color: white;
665 }
666
667 div#content div.wiki-section h3 {
668         margin-bottom: 0;
669 }
670
671 #quickedit {
672         position: absolute;
673         top: 0.15em;
674         right: 2px;
675         label {
676                 display: inline-block;
677                 margin-left: 6px;
678                 cursor: pointer;
679         }
680         input {
681                 display: none;
682         }
683
684         button,
685         span {
686                 display: inline-block;
687                 font-weight: normal;
688                 background: white;
689                 border: 1px solid #386ede;
690                 padding: 1ex;
691                 border-radius: 3px;
692                 color: #386ede;
693         }
694         button:hover {
695                 &:hover {
696                         color: white;
697                         background: #386ede;
698                 }
699         }
700
701         input:checked + span {
702                 background: #386ede;
703                 color: white;
704         }
705 }
706
707 div[contenteditable=true] {
708         outline: 2px solid #386ede;
709         outline-offset: 12px;
710 }
711
712 .inline-style-popup,
713 .block-style-popup {
714         background: white;
715         box-shadow: 0 0 5px #666;
716         input {
717                 display: none;
718                 margin: 0;
719                 padding: 3px;
720                 border: 1px inset #ccc;
721                 background: white;
722                 width: 0px;
723                 transition: width ease 2s;
724                 &.shown {
725                         display: inline-block;
726                         width: 400px;
727                 }
728         }
729         button {
730                 padding: 0 0.5em;
731                 height: 2em;
732                 text-align: center;
733                 font-weight: normal;
734                 color: #333;
735                 background: #eee;
736                 border: 0px;
737                 &:hover {
738                         background: #ccc;
739                 }
740                 &[data-action=createLink] {
741                         color: blue;
742                         text-decoration: underline;
743                 }
744                 &.on {
745                         background: #444;
746                         color: white;
747                 }
748         }
749         &.inline-style-popup button {
750                 width: 2em;
751                 padding: 0;
752         }
753         &.block-style-popup {
754                 &.selected button {
755                         display: none;
756                         &.on {
757                                 display: block;
758                         }
759                 }
760         }
761 }
762
763 div.wiki-section {
764         position: relative;
765         margin: 0 auto;
766         max-width: 45em;
767         font-size: 16px;
768         border: none;
769         line-height: 150%;
770         pre.code {
771                 background: #111;
772                 color: white;
773                 padding: 2px;
774                 max-width: 100%;
775                 overflow: auto;
776                 font-size: 90%;
777         }
778         div.note {
779                 margin: 1em auto;
780                 width: 80%;
781                 border: 1px solid #babdb6;
782                 background: #F3F3F0 url(../images/yelp-note.png) no-repeat 1ex 1ex;
783                 padding: 1ex 1ex 1ex 7ex;
784                 p:first-child {
785                         margin-top: 0;
786                 }
787         }
788         [contenteditable=true] div.figure {
789                 cursor: pointer;
790         }
791         div.document,
792         div.figure {
793                 text-align: center;
794                 line-height: initial;
795                 img {
796                         max-width: 90%;
797                         max-height: 70vh;
798                 }
799                 span.empty::before {
800                         min-height: 50px;
801                         margin: 0 auto;
802                         display: block;
803                         width: 90%;
804                         background: #eee;
805                         padding: 1rem;
806                         font-size: 200px;
807                         content: "\f03e";
808                         color: #aaa;
809                         font-family: FontAwesome;
810                 }
811         }
812         div.document a {
813                 &::before {
814                         content: "\f019";
815                         font-family: FontAwesome;
816                         padding-right: 0.7em;
817                 }
818         }
819         div.document span.empty::before {
820                 content: "\f0f6";  // fa-file-text-o
821         }
822         div[contenteditable] {
823                 a[href^="/wiki/"] {
824                         box-shadow: inset 0 -8px 0 0 rgba(34, 27, 242,0.1);
825                         color: #073593;
826                         transition: box-shadow ease 0.2s;
827                         &:hover {
828                                 box-shadow: inset 0 -21px 0 0 rgba(34, 27, 242,0.3);
829                         }
830                 }
831                 a[href^="http://"], a[href^="https://"] {
832                         &::after {
833                                 content: "\f08e"; /* external link */
834                                 font-family: FontAwesome;
835                                 font-size: 80%;
836                                 position: relative;
837                                 padding-left: 5px;
838                                 top: -4px;
839                         }
840                 }
841         }
842 }
843
844 div#content div.wiki-section > h3 {
845         position: sticky;
846         top: 0;
847 }
848
849 div#content div.wiki-section h4.intertitle {
850         margin-bottom: 1em;
851 }
852
853 .wiki-breadcrumbs-separator {
854         padding-left: 1em;
855 }
856
857 .latest-page-updates-cell--item-date {
858         font-size: 80%;
859 }
860
861 .latest-page-updates-cell--item-isnew {
862         background: #f1f92f;
863         color: black;
864         font-size: 80%;
865         position: relative;
866         top: 0px;
867 }
868
869 #document-upload,
870 #image-upload {
871         visibility: hidden;
872 }
873
874 body.loading {
875         cursor: wait;
876 }
877
878 body.loading::before {
879         content: "";
880         position: fixed;
881         top: 0;
882         left: 0;
883         right: 0;
884         height: 10px;
885         background: #386ede;
886         z-index: 1100;
887         animation-name: load_animation;
888         animation-duration: 1000ms;
889         animation-timing-function: ease-out;
890         transition: opacity 500ms linear;
891 }
892
893 @keyframes load_animation {
894         0% { right: 100%; }
895         100% { right: 0%; }
896 }
897
898 #search-results {
899         background: white;
900         ul, li {
901                 list-style: none;
902                 margin: 0;
903                 padding: 0;
904         }
905         a {
906                 display: block;
907                 padding: 0.6rem;
908         }
909 }