liquid_feedback_frontend

view static/lf4.css @ 1655:036703d1b400

Make phase icons the same size as context icons
author bsw
date Fri Feb 12 17:59:21 2021 +0100 (2021-02-12)
parents 79cf66ba7881
children c08690678b2d
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/MaterialIcons-Regular.ttf");
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 min-height: 52px;
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 }
417 .suggestion-content {
418 position: relative;
419 }
421 .folded {
422 position: relative;
423 }
424 .folded .suggestion-content {
425 max-height: 250px;
426 overflow: hidden;
427 }
428 .folded .suggestion-content:before {
429 content: "";
430 width: 100%;
431 height: 25%;
432 position: absolute;
433 left: 0;
434 bottom: 0;
435 background: linear-gradient(rgba(0,0,0,0), #fff);
436 }
437 .suggestion-less,
438 .suggestion-more {
439 display: none;
440 position: absolute;
441 bottom: 5px;
442 right: 5px;
443 }
444 .folded .suggestion-more,
445 .unfolded .suggestion-less {
446 display: inline-block;
447 }
449 .diff .diff_removed {
450 text-decoration: line-through;
451 background: #f00;
452 }
454 .diff .diff_added {
455 text-decoration: underline;
456 background: #0f0;
457 }
459 .material-icons {
460 vertical-align: middle;
461 }
462 .material-icons-small {
463 font-size: 18px;
464 }
466 a.mdl-layout-title {
467 color: #fff;
468 text-decoration: none;
469 }
471 .what-can-i-do-here .mdl-card__content {
472 font-size: 18px;
473 }
475 .what-can-i-do-here .mdl-card__content ul {
476 font-size: 1rem;
477 }
479 .what-can-i-do-here ul {
480 margin-top: 0.5em;
481 margin-bottom: 0;
482 padding-left: 1.5em
483 }
487 .lf-filter .mdl-button {
488 padding-right: 4px;
489 }
491 .phase-current {
492 font-family: "Roboto Bold";
493 }
495 .phase-info {
496 padding-left: 27px;
497 margin-bottom: 1ex;
498 }
500 .clickable {
501 cursor: pointer;
502 }
504 .slot_title {
505 margin-left: 16px;
506 margin-top: 16px;
507 font-size: 18px;
508 }
510 .slot_title > a,
511 .slot_title > span {
512 display: inline-block;
513 padding: 0 4px 0 0;
515 }
517 .slot_title a.home {
518 margin: 0;
519 }
521 .home i {
522 font-size: 32px;
523 }
525 /* fix missing contrast */
526 .mdl-list__item--three-line .mdl-list__item-text-body,
527 .mdl-card__supporting-text,
528 .mdl-card__subtitle-text {
529 color: rgba(0,0,0, 0.75);
530 }
532 .mdl-textfield__label {
533 color: rgba(0,0,0, 0.5);
534 }
536 .mdl-list__item--three-line .mdl-list__item-text-body {
537 height: auto;
538 padding-bottom: 10px;
539 }
541 select {
542 font-family: 'Roboto','Helvetica','Arial',sans-serif;
543 background-color: transparent;
544 padding: 5px 0;
545 border: none;
546 border-bottom: 1px solid rgba(0,0,0, 0.12);
547 font-size: 1rem;
548 }
551 .initiative_list .mdl-list__item {
552 display: block;
553 }
554 .initiative_list .mdl-list__item-avatar {
555 float: left;
556 margin-right: 8px;
557 }
558 .initiative_list .mdl-list__item-avatar i {
559 padding-left: 8px;
560 }
561 .initiative_list .mdl-list__item-avatar.positive {
562 background: #4caf50;
563 }
564 .initiative_list .mdl-list__item-avatar.positive i {
565 padding-top: 8px;
566 vertical-align: top;
567 }
568 .initiative_list .mdl-list__item-avatar.negative {
569 background: #f44336;
570 }
571 .initiative_list .mdl-list__item-avatar.negative i {
572 padding-top: 10px;
573 vertical-align: top;
574 }
576 .initiative_pie {
577 float: left;
578 margin-right: 15px;
579 margin-bottom: 15px;
580 }
582 .initiative .result {
583 font-family: "Roboto Bold";
584 }
586 .admitted_info h1,
587 .not_admitted_info h1 {
588 margin-top: 0;
589 }
591 .admitted_info table th,
592 .not_admitted_info table th {
593 text-align: left;
594 padding-right: 10px;
595 }
597 .admitted_info table td,
598 .not_admitted_info table td {
599 text-align: right;
600 padding-right: 5px;
601 }
603 .ui_list_row label.mdl-radio {
604 display: inline;
605 }
607 .member_image_photo {
608 margin-top: 2ex;
609 margin-bottom: 2ex;
610 }
612 .contextlinks {
613 color: #fff;
614 }
616 /*************************************************************************
617 * Voting
618 */
619 .main .section #voting_form .sectionRow:last-child {
620 border-radius: 0;
621 margin-bottom: 0;
622 }
623 #voting {
624 margin-top: 3ex;
625 position: relative;
626 margin-bottom: 2ex;
627 }
628 #voting .approval,
629 #voting .abstention,
630 #voting .disapproval {
631 border: 1px #ccc solid;
632 margin-bottom: 3ex;
633 padding: 1ex;
634 padding-bottom: 1ex;
635 border-radius: 2px;
636 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);
637 }
638 #voting .movable {
639 cursor: pointer;
640 }
641 #voting .disapproval {
642 margin-bottom: 2ex;
643 }
644 #voting .approval {
645 background-color: #9f9;
646 }
647 #voting .approval .movable {
648 background-color: #dfd;
649 }
650 #voting .abstention {
651 background-color: #eee;
652 }
653 #voting .abstention .movable {
654 background-color: #fff;
655 }
656 #voting .disapproval {
657 background-color: #f88;
658 }
659 #voting .disapproval .movable {
660 background-color: #fbb;
661 }
662 #voting .movable {
663 position: relative;
664 border: 1px black solid;
665 margin-top: 1ex;
666 padding: 0;
667 border-radius: 2px;
668 min-height: 64px;
669 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);
670 }
671 #voting .initiative_name {
672 display: inline-block;
673 margin: 5px;
674 font-family: "Roboto Bold";
675 }
677 #voting .voting_form_active .movable {
678 cursor: pointer;
679 vertical-align: middle;
680 cursor: move;
681 }
682 #voting .voting_form_active .clickable {
683 cursor: auto;
684 }
685 #voting .voting_form_active a.clickable {
686 cursor: pointer;
687 }
689 div.form .ui_field_label {
690 text-transform: uppercase;
691 font-size: 80%;
692 }
693 div.form .member_photo .member_image.member_image_photo {
694 margin-top: 0;
695 }
697 .trace_list {
698 margin-left: 10px;
699 list-style-type: none;
700 padding: 0;
701 line-height: 120%;
702 }
704 .trace_list .trace_list {
705 padding-left: 10px;
706 border-left: 1px solid #999;
707 }
709 .trace_list .trace_head {
710 margin-top: 10px;
711 padding: 3px 5px 3px 5px;
712 font-weight: 700;
713 }
715 .trace_list li {
716 margin-top: 5px;
717 margin-bottom: 5px;
718 }
720 .trace_list .trace_filter .trace_head {
721 background: #acf;
722 color: #000;
723 }
725 .trace_list .trace_request .trace_head,
726 .trace_list .trace_view .trace_head {
727 background: #000;
728 color: #fff;
729 }
731 .trace_list .trace_config .trace_head,
732 .trace_list .trace_view .trace_view .trace_head {
733 background: #ccc;
734 color: #000;
735 }
737 .trace_list .trace_head .time {
738 float: right;
739 font-weight: 500;
740 font-size: 90%;
741 line-height: 100%;
742 margin-top: 5px;
743 }
745 .trace_list .trace_sql {
746 color: #050;
747 }
749 .trace_list .trace_sql_time {
750 background: #070;
751 color: #fff;
752 padding: 0px 3px;
753 border-radius: 5px;
754 }

Impressum / About Us