]> git.0d.be Git - panikdb.git/blob - panikdb/static/css/style.scss
40d19bc91d7e39efd0c1eba3392c4070e405c663
[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 .regie-home div#content {
624         form#login-form {
625                 padding: 0 1em;
626                 display: flex;
627                 align-items: baseline;
628                 p,
629                 button {
630                         margin: 0;
631                         width: auto;
632                 }
633                 input, button {
634                         margin-right: 1em;
635                 }
636         }
637         h3 {
638                 margin-bottom: 0;
639                 a {
640                         float: right;
641                         border: none;
642                         &:hover {
643                                 font-weight: bold;
644                         }
645                 }
646         }
647         #clock {
648                 font-size: 300%;
649                 text-align: center;
650         }
651
652         #tracks {
653                 ul {
654                         padding: 0;
655                         margin: 1em 0;
656                 }
657                 li {
658                         display: flex;
659                         padding: 0;
660                         margin: 0;
661                         margin-bottom: 0.5em;
662                         audio {
663                                 width: 50%;
664                         }
665                         audio, button, span {
666                                 margin-right: 1em;
667                         }
668                         span {
669                                 display: block;
670                                 align-self: center;
671                         }
672                 }
673         }
674 }
675
676 .nonstop-days {
677         display: flex;
678         justify-content: space-between;
679         > div {
680                 width: 16%;
681                 background: white;
682                 padding: 0.5em 1em;
683         }
684 }
685
686 #id_start_p {
687         float: left;
688         margin-right: 2em;
689 }
690
691 #id_jingles_p {
692         clear: both;
693         ul {
694                 column-width: 15em;
695         }
696 }
697
698 #content .bo-block.team {
699         h3, ul.team {
700                 display: inline-block;
701                 margin-bottom: 0;
702         }
703 }
704
705 table#edit-metadata {
706         th {
707                 padding: 0 0.6em 1em 0;
708         }
709         td {
710                 padding: 0 1.6em;
711         }
712         thead {
713                 background: white;
714                 position: sticky;
715                 top: 0;
716         }
717         tr:hover {
718                 background: #eee;
719         }
720         button.play-track {
721                 padding: 0 0.6em;
722         }
723 }
724
725 form div[id^="id_weight"] {
726         display: flex;
727         align-items: center;
728         div.title {
729                 display: inline-block;
730                 width: 25em;
731         }
732         div.content {
733                 display: inline-flex;
734         }
735         margin-bottom: 0.5em;
736 }
737
738 div#content div.section > h3 {
739         background: linear-gradient(to right, #386ede 30%, #00d6eb 100%);
740         color: white;
741 }
742
743 div#content div.wiki-section h3 {
744         margin-bottom: 0;
745 }
746
747 #quickedit {
748         position: absolute;
749         top: 0.15em;
750         right: 2px;
751         label {
752                 display: inline-block;
753                 margin-left: 6px;
754                 cursor: pointer;
755         }
756         input {
757                 display: none;
758         }
759
760         button,
761         span {
762                 display: inline-block;
763                 font-weight: normal;
764                 background: white;
765                 border: 1px solid #386ede;
766                 padding: 1ex;
767                 border-radius: 3px;
768                 color: #386ede;
769         }
770         button:hover {
771                 &:hover {
772                         color: white;
773                         background: #386ede;
774                 }
775         }
776
777         input:checked + span {
778                 background: #386ede;
779                 color: white;
780         }
781 }
782
783 div[contenteditable=true] {
784         outline: 2px solid #386ede;
785         outline-offset: 12px;
786 }
787
788 .inline-style-popup,
789 .block-style-popup {
790         background: white;
791         box-shadow: 0 0 5px #666;
792         input {
793                 display: none;
794                 margin: 0;
795                 padding: 3px;
796                 border: 1px inset #ccc;
797                 background: white;
798                 width: 0px;
799                 transition: width ease 2s;
800                 &.shown {
801                         display: inline-block;
802                         width: 400px;
803                 }
804         }
805         button {
806                 padding: 0 0.5em;
807                 height: 2em;
808                 text-align: center;
809                 font-weight: normal;
810                 color: #333;
811                 background: #eee;
812                 border: 0px;
813                 &:hover {
814                         background: #ccc;
815                 }
816                 &[data-action=createLink] {
817                         color: blue;
818                         text-decoration: underline;
819                 }
820                 &.on {
821                         background: #444;
822                         color: white;
823                 }
824         }
825         &.inline-style-popup button {
826                 width: 2em;
827                 padding: 0;
828         }
829         &.block-style-popup {
830                 &.selected button {
831                         display: none;
832                         &.on {
833                                 display: block;
834                         }
835                 }
836         }
837 }
838
839 div.wiki-section {
840         position: relative;
841         margin: 0 auto;
842         max-width: 45em;
843         font-size: 16px;
844         border: none;
845         line-height: 150%;
846         pre.code {
847                 background: #111;
848                 color: white;
849                 padding: 2px;
850                 max-width: 100%;
851                 overflow: auto;
852                 font-size: 90%;
853         }
854         div.note {
855                 margin: 1em auto;
856                 width: 80%;
857                 border: 1px solid #babdb6;
858                 background: #F3F3F0 url(../images/yelp-note.png) no-repeat 1ex 1ex;
859                 padding: 1ex 1ex 1ex 7ex;
860                 p:first-child {
861                         margin-top: 0;
862                 }
863         }
864         [contenteditable=true] div.figure {
865                 cursor: pointer;
866         }
867         div.document,
868         div.figure {
869                 text-align: center;
870                 line-height: initial;
871                 img {
872                         max-width: 90%;
873                         max-height: 70vh;
874                 }
875                 span.empty::before {
876                         min-height: 50px;
877                         margin: 0 auto;
878                         display: block;
879                         width: 90%;
880                         background: #eee;
881                         padding: 1rem;
882                         font-size: 200px;
883                         content: "\f03e";
884                         color: #aaa;
885                         font-family: FontAwesome;
886                 }
887         }
888         div.document a {
889                 &::before {
890                         content: "\f019";
891                         font-family: FontAwesome;
892                         padding-right: 0.7em;
893                 }
894         }
895         div.document span.empty::before {
896                 content: "\f0f6";  // fa-file-text-o
897         }
898         div[contenteditable] {
899                 a[href^="/wiki/"] {
900                         box-shadow: inset 0 -8px 0 0 rgba(34, 27, 242,0.1);
901                         color: #073593;
902                         transition: box-shadow ease 0.2s;
903                         &:hover {
904                                 box-shadow: inset 0 -21px 0 0 rgba(34, 27, 242,0.3);
905                         }
906                 }
907                 a[href^="http://"], a[href^="https://"] {
908                         &::after {
909                                 content: "\f08e"; /* external link */
910                                 font-family: FontAwesome;
911                                 font-size: 80%;
912                                 position: relative;
913                                 padding-left: 5px;
914                                 top: -4px;
915                         }
916                 }
917         }
918         h4[id]::before {
919                 content: "";
920                 display: block;
921                 position: relative;
922                 width: 0px;
923                 height: 10px;
924                 margin-top: -60px;
925                 height: 60px;
926         }
927 }
928
929 div#content div.wiki-section > h3 {
930         position: sticky;
931         top: 0;
932 }
933
934 div#content div.wiki-section h4.intertitle {
935         margin-bottom: 1em;
936 }
937
938 .wiki-breadcrumbs-separator {
939         padding-left: 1em;
940 }
941
942 .latest-page-updates-cell--item-date {
943         font-size: 80%;
944 }
945
946 .latest-page-updates-cell--item-isnew {
947         background: #f1f92f;
948         color: black;
949         font-size: 80%;
950         position: relative;
951         top: 0px;
952 }
953
954 #document-upload,
955 #image-upload {
956         visibility: hidden;
957 }
958
959 body.loading {
960         cursor: wait;
961 }
962
963 body.loading::before {
964         content: "";
965         position: fixed;
966         top: 0;
967         left: 0;
968         right: 0;
969         height: 10px;
970         background: #386ede;
971         z-index: 1100;
972         animation-name: load_animation;
973         animation-duration: 1000ms;
974         animation-timing-function: ease-out;
975         transition: opacity 500ms linear;
976 }
977
978 @keyframes load_animation {
979         0% { right: 100%; }
980         100% { right: 0%; }
981 }
982
983 #search-results {
984         background: white;
985         ul, li {
986                 list-style: none;
987                 margin: 0;
988                 padding: 0;
989         }
990         a {
991                 display: block;
992                 padding: 0.6rem;
993         }
994 }