liquid_feedback_frontend
view static/lf4.css @ 1640:15bde6a79d41
Added TLS support for ldap
author | bsw |
---|---|
date | Tue Feb 09 17:40:50 2021 +0100 (2021-02-09) |
parents | d9ccd0d6ef8c |
children | 9cf1f17ac730 |
line source
1 @font-face {
2 font-family: "Roboto";
3 src: url("font/Roboto-Regular.ttf");
4 }
5 @font-face {
6 font-family: "Roboto Bold";
7 src: url("font/Roboto-Bold.ttf");
8 }
9 @font-face {
10 font-family: "Roboto Slab";
11 src: url("font/RobotoSlab-Regular.ttf");
12 }
13 @font-face {
14 font-family: 'Material Icons';
15 font-style: normal;
16 font-weight: 400;
17 src: url("font/material.woff2") format('woff2');
18 }
20 .material-icons {
21 font-family: 'Material Icons';
22 font-weight: normal;
23 font-style: normal;
24 font-size: 24px;
25 line-height: 1;
26 letter-spacing: normal;
27 text-transform: none;
28 display: inline-block;
29 white-space: nowrap;
30 word-wrap: normal;
31 direction: ltr;
32 -webkit-font-feature-settings: 'liga';
33 -webkit-font-smoothing: antialiased;
34 }
35 .material-icons.icon-green {
36 color: #4CAF50;
37 }
38 .material-icons.icon-yellow {
39 color: #FFEB3B;
40 }
41 .material-icons.icon-red {
42 color: #F44336;
43 }
45 .mapboxgl-popup-content {
46 max-width: 200px;
47 }
48 body {
49 font-family: "Roboto";
50 background: #fff;
51 }
52 strong {
53 font-family: "Roboto Bold";
54 }
55 .slot_error {
56 margin: 20px 20px 0 20px;
57 background: #fed;
58 padding: 20px;
59 }
60 .slot_notice {
61 margin: 20px 20px 0 20px;
62 background: #efd;
63 padding: 20px;
64 }
65 h1 {
66 font-size: 24px;
67 margin-bottom: 0px;
68 }
70 .mdl-layout__container {
71 max-width: 1600px;
72 height: auto;
73 background: #f7f7f7;
74 }
75 .mdl-layout__header-row {
76 padding-left: 20px !important;
77 padding-right: 10px !important;
78 }
79 .mdl-layout__content {
80 flex-shrink: 0;
81 width: 100%;
82 }
83 #lf-member-menu {
84 cursor: pointer;
85 }
86 .notifications {
87 display: block;
88 text-align: center;
89 }
90 .page-content {
91 xdisplay: flex;
92 width: 100%;
93 }
94 .map, .ui_field_location {
95 border: none;
96 width: 100%;
97 height: auto;
98 max-height: 80vh;
99 position: relative;
100 border-radius: 2px;
101 }
102 .map:before {
103 content: "";
104 display: block;
105 padding-top: 100%;
106 }
107 .map iframe {
108 position: absolute;
109 top: 0;
110 left: 0;
111 right: 0;
112 bottom: 0;
113 height: 100%;
114 }
115 .axto-logo {
116 width: 100%;
117 }
118 .mdl-card__title-text a.issue {
119 font-size: 18px;
120 line-height: 20px;
121 }
122 .mdl-list__item .initiative_name {
123 font-size: 18px;
124 line-height: normal;
125 }
126 .initiatives.mdl-list {
127 margin-top: 5px;
128 margin-bottom: 5px;
129 padding-bottom: 0px;
130 }
131 .initiatives .mdl-list__item--three-line {
132 min-height: 0;
133 padding-top: 0;
134 padding-bottom: 0;
135 }
136 .mdl-data-table__fullwidth {
137 width: 100%;
138 }
139 .mdl-textfield__fullwidth {
140 width: 100%;
141 }
143 .mdl-card {
144 min-height: 20px;
145 overflow: visible;
146 display: block;
147 margin-bottom: 16px;
148 border-radius: 5px;
149 }
151 .mdl-card__title {
152 border-radius: 5px 5px 0 0;
153 }
155 .mdl-card__fullwidth {
156 width: 100%;
157 }
158 .mdl-card__title {
159 display: block;
160 }
161 .mdl-card__title > h2,
162 .mdl-card__title > a {
163 display: inline-block;
164 vertical-align: top;
165 }
166 .mdl-card__subtitle-text {
167 display: block;
168 }
169 .mdl-card__content {
170 font-size: 1rem;
171 padding: 16px;
172 }
173 .mdl-card__content.mdl-card--no-bottom-pad {
174 padding-bottom: 0;
175 }
176 .mdl-card__actions {
177 overflow: auto;
178 }
179 .mdl-card__actions.mdl-card--action-border,
180 .mdl-card__content.mdl-card--border {
181 border-bottom: 1px solid rgba(0, 0, 0, 0.1);
182 }
183 .mdl-card__actions.mdl-card--notice,
184 .mdl-card__content.mdl-card--notice {
185 background: #fff9c4;
186 }
187 .mdl-card--has-fab {
188 position: relative;
189 }
190 .mdl-special-card {
191 background: #fff;
192 margin-bottom: 16px;
193 border-radius: 5px;
194 }
196 .mdl-navigation__head {
197 font-family: "Roboto Bold";
198 }
199 .mdl-list__item--three-line {
200 height: auto;
201 min-height: 88px;
202 }
203 .mdl-list__item--three-line .mdl-list__item-primary-content {
204 height: auto;
205 min-height: 52px;
206 }
207 .mdl-chip {
208 vertical-align: middle;
209 }
210 .mdl-chip.clickable {
211 cursor: pointer;
212 }
213 .mdl-menu {
214 z-index: -9999;
215 }
216 .mdl-card {
217 z-index: auto !important;
218 }
219 .mdl-menu__item {
220 padding: 0;
221 }
222 .mdl-menu__link {
223 display: block;
224 padding: 0 16px;
225 min-height: 48px;
226 text-decoration: none;
227 color: #444;
228 }
229 .mdl-tabs__tab-bar {
230 justify-content: flex-start;
231 }
232 .mdl-tabs__tab.is-active {
233 color: rgba(0,0,0, 0.87);
234 }
235 .mdl-data-table--condensed tbody tr {
236 height: 24px;
237 }
238 .mdl-data-table--condensed td {
239 padding-top: 0;
240 padding-bottom: 0;
241 height: 24px;
242 }
244 .mdl-button--feature-off i {
245 color: #777;
246 }
248 @keyframes feature-on {
249 0% {
250 transform: scale(0);
251 }
252 40% {
253 transform: scale(3);
254 }
255 100% {
256 transform: scale(1);
257 }}
259 .mdl-button--feature-on {
260 animation: feature-on 0.5s;
261 }
263 .mdl-button--underlined {
264 text-decoration: underline;
265 }
266 .right {
267 text-align: right;
268 }
269 .mdl-tabs__left {
270 display: inline-block;
271 width: auto;
272 }
273 .float-left {
274 float: left;
275 }
276 .float-right {
277 float: right;
278 }
279 .clear-left {
280 clear: left;
281 }
282 .clear-right {
283 clear: right;
284 }
285 .float-right .mdl-menu__container {
286 margin-right: 20px;
287 }
288 .inline {
289 display: inline-block;
290 }
291 .warning {
292 background-color: #fff9c4;
293 color: #212121;
294 padding: 16px;
295 border-radius: 2px;
296 }
297 .toolbar a {
298 color: #000;
299 display: inline-block;
300 border: 1px solid #ccc;
301 position: relative;
302 }
304 .toolbar a.wysihtml-command-active {
305 background: #000;
306 color: #fff;
308 }
310 .toolbar a span.crossed {
311 position: absolute;
312 top: 0;
313 left: 8px;
314 font-weight: bold;
315 font-size: 200%;
316 line-height: 80%;
317 }
318 .toolbar a span.head_level {
319 position: absolute;
320 right: 0;
321 bottom: 0;
322 }
324 textarea {
325 font-family: sans-serif;
326 font-weight: normal !important;
327 width: 100%;
328 height: 40ex;
329 }
330 .bargraph {
331 display: inline-block;
332 vertical-align: top;
333 height: 9px;
334 }
336 .bargraph div {
337 margin: 0;
338 padding: 0;
339 display: inline-block;
340 height: 9px;
341 }
342 .draft {
343 font-family: 'Roboto Slab';
344 font-weight: 300;
345 overflow: auto;
346 clear: left;
347 }
348 .draft img {
349 float: right;
350 margin-left: 1em;
351 }
353 .draft .landscape img {
354 width: 50%;
355 }
357 .draft .portrait img {
358 width: 33.333%;
359 }
360 .member_weight {
361 background: #070;
362 color: #fff;
363 border-radius: 8px;
364 padding: 0 3px;
365 }
366 .card-issue {
367 background: rgb(76,175,80);
368 }
369 .card-issue a {
370 color: #fff;
371 }
372 @media (max-width: 960px) {
373 .draft img {
374 float: none;
375 margin-left: 0;
376 }
377 .draft a.portrait,
378 .draft a.landscape {
379 width: 100%;
380 display: block;
381 text-align: center;
382 margin-bottom: 2ex;
383 }
384 .draft .landscape img {
385 width: 100%;
386 }
387 .draft .portrait img {
388 width: 66.666%;
389 }
390 }
392 .draft h1 {
393 font-size: 150%;
394 margin-bottom: 0;
395 }
396 .draft h2 {
397 font-size: 133%;
398 margin-bottom: 0;
399 }
400 .draft h3 {
401 font-size: 125%;
402 margin-bottom: 0;
403 }
404 .draft > a:first-child + h1,
405 .draft > h1:first-child,
406 .draft > h2:first-child,
407 .draft > h3:first-child {
408 margin-top: 0;
409 }
410 @media (max-width: 960px) {
411 .draft > a:first-child + h1 {
412 margin-top: 20px;
413 }
414 }
416 .folded {
417 position: relative;
418 }
419 .folded .suggestion-content {
420 max-height: 180px;
421 overflow: hidden;
422 position: relative;
423 }
424 .folded .suggestion-content:before {
425 content: "";
426 width: 100%;
427 height: 25%;
428 position: absolute;
429 left: 0;
430 bottom: 0;
431 background: linear-gradient(rgba(0,0,0,0), #fff);
432 }
433 .suggestion-less,
434 .suggestion-more {
435 display: none;
436 }
437 .folded .suggestion-more,
438 .unfolded .suggestion-less {
439 display: inline-block;
440 }
442 .diff .diff_removed {
443 text-decoration: line-through;
444 background: #f00;
445 }
447 .diff .diff_added {
448 text-decoration: underline;
449 background: #0f0;
450 }
452 .material-icons {
453 vertical-align: middle;
454 }
455 .material-icons-small {
456 font-size: 18px;
457 }
459 a.mdl-layout-title {
460 color: #fff;
461 text-decoration: none;
462 }
464 .what-can-i-do-here .mdl-card__content {
465 font-size: 18px;
466 }
468 .what-can-i-do-here .mdl-card__content ul {
469 font-size: 1rem;
470 }
472 .what-can-i-do-here ul {
473 margin-top: 0.5em;
474 margin-bottom: 0;
475 padding-left: 1.5em
476 }
480 .lf-filter .mdl-button {
481 padding-right: 4px;
482 }
484 .phase-current {
485 font-family: "Roboto Bold";
486 }
488 .phase-info {
489 padding-left: 27px;
490 margin-bottom: 1ex;
491 }
493 .clickable {
494 cursor: pointer;
495 }
497 .slot_title {
498 margin-left: 16px;
499 margin-top: 16px;
500 font-size: 18px;
501 }
503 .slot_title > a,
504 .slot_title > span {
505 display: inline-block;
506 padding: 0 4px 0 0;
508 }
510 .slot_title a.home {
511 margin: 0;
512 }
514 .home i {
515 font-size: 32px;
516 }
518 /* fix missing contrast */
519 .mdl-list__item--three-line .mdl-list__item-text-body,
520 .mdl-card__supporting-text,
521 .mdl-card__subtitle-text {
522 color: rgba(0,0,0, 0.75);
523 }
525 .mdl-textfield__label {
526 color: rgba(0,0,0, 0.5);
527 }
529 .mdl-list__item--three-line .mdl-list__item-text-body {
530 height: auto;
531 padding-bottom: 10px;
532 }
534 select {
535 font-family: 'Roboto','Helvetica','Arial',sans-serif;
536 background-color: transparent;
537 padding: 5px 0;
538 border: none;
539 border-bottom: 1px solid rgba(0,0,0, 0.12);
540 font-size: 1rem;
541 }
544 .initiative_list .mdl-list__item {
545 display: block;
546 }
547 .initiative_list .mdl-list__item-avatar {
548 float: left;
549 margin-right: 8px;
550 }
551 .initiative_list .mdl-list__item-avatar i {
552 padding-left: 8px;
553 }
554 .initiative_list .mdl-list__item-avatar.positive {
555 background: #4caf50;
556 }
557 .initiative_list .mdl-list__item-avatar.positive i {
558 padding-top: 8px;
559 vertical-align: top;
560 }
561 .initiative_list .mdl-list__item-avatar.negative {
562 background: #f44336;
563 }
564 .initiative_list .mdl-list__item-avatar.negative i {
565 padding-top: 10px;
566 vertical-align: top;
567 }
569 .initiative_pie {
570 float: left;
571 margin-right: 15px;
572 margin-bottom: 15px;
573 }
575 .initiative .result {
576 font-family: "Roboto Bold";
577 }
579 .admitted_info h1,
580 .not_admitted_info h1 {
581 margin-top: 0;
582 }
584 .admitted_info table th,
585 .not_admitted_info table th {
586 text-align: left;
587 padding-right: 10px;
588 }
590 .admitted_info table td,
591 .not_admitted_info table td {
592 text-align: right;
593 padding-right: 5px;
594 }
596 .event_info i {
597 font-size: 18px;
598 }
600 .ui_list_row label.mdl-radio {
601 display: inline;
602 }
604 .member_image_photo {
605 margin-top: 2ex;
606 margin-bottom: 2ex;
607 }
609 .contextlinks {
610 color: #fff;
611 xfont-size: 14px;
612 xmargin-bottom: 5px;
613 }
615 /*************************************************************************
616 * Voting
617 */
618 .main .section #voting_form .sectionRow:last-child {
619 border-radius: 0;
620 margin-bottom: 0;
621 }
622 #voting {
623 margin-top: 3ex;
624 position: relative;
625 margin-bottom: 2ex;
626 }
627 #voting .approval,
628 #voting .abstention,
629 #voting .disapproval {
630 border: 1px #ccc solid;
631 margin-bottom: 3ex;
632 padding: 1ex;
633 padding-bottom: 1ex;
634 border-radius: 2px;
635 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
636 }
637 #voting .movable {
638 cursor: pointer;
639 }
640 #voting .disapproval {
641 margin-bottom: 2ex;
642 }
643 #voting .approval {
644 background-color: #9f9;
645 }
646 #voting .approval .movable {
647 background-color: #dfd;
648 }
649 #voting .abstention {
650 background-color: #eee;
651 }
652 #voting .abstention .movable {
653 background-color: #fff;
654 }
655 #voting .disapproval {
656 background-color: #f88;
657 }
658 #voting .disapproval .movable {
659 background-color: #fbb;
660 }
661 #voting .movable {
662 position: relative;
663 border: 1px black solid;
664 margin-top: 1ex;
665 padding: 0;
666 border-radius: 2px;
667 min-height: 64px;
668 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
669 }
670 #voting .initiative_name {
671 display: inline-block;
672 margin: 5px;
673 font-family: "Roboto Bold";
674 }
676 #voting .voting_form_active .movable {
677 cursor: pointer;
678 vertical-align: middle;
679 cursor: move;
680 }
681 #voting .voting_form_active .clickable {
682 cursor: auto;
683 }
684 #voting .voting_form_active a.clickable {
685 cursor: pointer;
686 }
688 div.form .ui_field_label {
689 text-transform: uppercase;
690 font-size: 80%;
691 }
692 div.form .member_photo .member_image.member_image_photo {
693 margin-top: 0;
694 }
696 .trace_list {
697 margin-left: 10px;
698 list-style-type: none;
699 padding: 0;
700 line-height: 120%;
701 }
703 .trace_list .trace_list {
704 padding-left: 10px;
705 border-left: 1px solid #999;
706 }
708 .trace_list .trace_head {
709 margin-top: 10px;
710 padding: 3px 5px 3px 5px;
711 font-weight: 700;
712 }
714 .trace_list li {
715 margin-top: 5px;
716 margin-bottom: 5px;
717 }
719 .trace_list .trace_filter .trace_head {
720 background: #acf;
721 color: #000;
722 }
724 .trace_list .trace_request .trace_head,
725 .trace_list .trace_view .trace_head {
726 background: #000;
727 color: #fff;
728 }
730 .trace_list .trace_config .trace_head,
731 .trace_list .trace_view .trace_view .trace_head {
732 background: #ccc;
733 color: #000;
734 }
736 .trace_list .trace_head .time {
737 float: right;
738 font-weight: 500;
739 font-size: 90%;
740 line-height: 100%;
741 margin-top: 5px;
742 }
744 .trace_list .trace_sql {
745 color: #050;
746 }
748 .trace_list .trace_sql_time {
749 background: #070;
750 color: #fff;
751 padding: 0px 3px;
752 border-radius: 5px;
753 }