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