xref: /webtrees/resources/css/fab.css (revision 315eb31683006273e24c08b447e6e1095d6f2147)
1/**
2 * webtrees: online genealogy
3 * Copyright (C) 2020 webtrees development team
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program. If not, see <https://www.gnu.org/licenses/>.
14 */
15
16/* The FAB theme */
17@import "_base.css";
18
19/* Colors for chart boxes, etc. */
20:root {
21  --sex-f-fg: #ff8888;
22  --sex-m-fg: #8888ff;
23  --sex-u-fg: #88ff88;
24  --sex-f-bg: #ffdddd;
25  --sex-m-bg: #ddddff;
26  --sex-u-bg: #ddffdd;
27    --chart-line: solid gray thin;
28    --chart-line-radius: 1rem;
29}
30
31/* Override Bootstrap formatting */
32.btn-link {
33    padding-left: 0.25rem;
34    padding-right: 0.25rem;
35}
36
37.table-given-name {
38    overflow-x: hidden;
39}
40
41.container-fluid {
42    padding-left: 5px;
43    padding-right: 5px;
44}
45
46table {
47    border-collapse: separate;
48}
49
50/*
51 * Pages have the following high-level structure:
52 *
53 * wt-global wt-theme-<THEME> wt-route-<ROUTE>
54 * +---wt-header-wrapper
55 * |   +---wt-header-container
56 * |       +---wt-header-content
57 * |           +---wt-accessibility-links
58 * |           +---wt-site-logo
59 * |           +---wt-site-title
60 * |           +---wt-header-search
61 * |           |   +---wt-header-search-form
62 * |           |       +---wt-header-search-field
63 * |           |       +---wt-header-search-button
64 * |           +---wt-secondary-navigation
65 * |           |   +---wt-user-menu
66 * |           +---wt-primary-navigation
67 * |               +---wt-genealogy-menu
68 * +---wt-main-wrapper
69 * |   +---wt-main-container
70 * |       +---wt-main-content
71 * |           +---wt-messages
72 * |           +---wt-page-title
73 * |           +---wt-page-options wt-page-options-xxxxx
74 * |           +---wt-page-content
75 * +---wt-footers
76 *     +---wt-footer wt-footer-xxxxx
77 */
78
79.wt-global {
80    color: #555;
81}
82
83.wt-header-wrapper {
84}
85
86.wt-header-container {
87    background-color: #eee;
88}
89
90.wt-header-content {
91}
92
93.wt-accessibility-links {
94}
95
96.wt-site-logo {
97    display: none;
98}
99
100.wt-site-title {
101    order: 1;
102    flex: 1 1 auto;
103    width: auto;
104    font-size: 1.5rem;
105    color: #888;
106}
107
108.wt-header-search {
109    order: 3;
110    flex: 0 0 15rem;
111}
112
113.wt-header-search-form {
114}
115
116.wt-header-search-field {
117}
118
119.wt-header-search-button {
120}
121
122.wt-secondary-navigation {
123    order: 2;
124    flex: 0 0 auto;
125    width: auto;
126    white-space: nowrap;
127}
128
129.wt-user-menu {
130    flex-wrap: nowrap;
131}
132
133.wt-user-menu .nav-link {
134    display: inline-block;
135    padding: 0.5rem;
136}
137
138.wt-user-menu .nav-item::after {
139    content: "|";
140}
141
142.wt-user-menu .dropdown-toggle::after {
143    display: none;
144}
145
146.wt-primary-navigation {
147    order: 4;
148    flex: 0 0 100%;
149    background-color: #eee;
150}
151
152.wt-genealogy-menu {
153    justify-content: center;
154}
155
156.wt-genealogy-menu .dropdown-toggle::after {
157    display: none;
158}
159
160.wt-genealogy-menu .nav-link {
161    white-space: nowrap;
162    display: inline-block;
163    padding: 0.5rem;
164}
165
166.wt-genealogy-menu .nav-item + .nav-item::before {
167    content: "|";
168}
169
170.wt-main-container {
171    /* Space between the header/footer and the main content. */
172    padding-top: 1rem;
173    padding-bottom: 1rem;
174}
175
176.wt-main {
177}
178
179.wt-messages {
180}
181
182.wt-page-title {
183    text-align: center;
184}
185
186.wt-page-options .form-group {
187    margin-bottom: 0;
188}
189
190.wt-page-options-label {
191    background-color: #ccc;
192    border-left: 2px solid transparent;
193    border-right: 2px solid transparent;
194    Color: #555;
195    font-weight: bold;
196}
197
198.wt-page-options-value {
199    background-color: #ddd;
200    border: 1px solid #fff;
201    border-top: 1px solid #ddd;
202
203    padding: 0.25rem 0.75rem;
204}
205
206.wt-page-content {
207    margin-top: 1rem;
208}
209
210.wt-footers {
211}
212
213.wt-footer {
214}
215
216.wt-footer-contact {
217}
218
219.wt-footer-cookies {
220    background: #aaa;
221    color: #fff;
222    transition: height 0.5s;
223}
224
225.wt-footer-page-views {
226}
227
228.wt-footer-powered-by {
229}
230
231.wt-footer-powered-by-webtrees {
232    width: 100px;
233    height: 21px;
234    content: url(images/powered-by-webtrees.png);
235}
236
237/*
238 * The tree/user home pages
239 *
240 * wt-home-page / wt-user-page
241 * +---wt-main-blocks
242 * |   +---wt-block, wt-block-AAA
243 * |   +---wt-block, wt-block-BBB
244 * |   +---wt-block, wt-block-CCC
245 * +---wt-side-blocks
246 *     +---wt-block, wt-block-XXX
247 *     +---wt-block, wt-block-YYY
248 *     +---wt-block, wt-block-ZZZ
249 *
250 * Each block as the structure
251 * wt-block, wt-block-XXX
252 * +---wt-block-header, wt-block-header-XXX
253 * +---wt-block-content, wt-block-content-XXX
254 */
255
256.wt-block {
257    background-color: #eee;
258    padding: 3px;
259    vertical-align: top;
260}
261
262.wt-block-header {
263    background-color: #eee;
264    border-bottom: 0;
265    font-weight: bold;
266}
267
268.wt-block-content {
269}
270
271.wt-block-content .list_table {
272    border-spacing: 1px;
273    border: solid #000 1px;
274    border-right: 0;
275}
276
277.wt-block-content .list_value,
278.wt-block-content .list_value_wrap {
279    border: 0;
280}
281
282/*
283 * The individual page.
284 *
285 * wt-route-individual
286 * +---wt-header-wrapper
287 */
288
289.wt-individual-silhouette {
290    content: url(images/individual-silhouette-unknown.png);
291}
292
293.wt-individual-silhouette-f {
294    content: url(images/individual-silhouette-female.png);
295}
296
297.wt-individual-silhouette-m {
298    content: url(images/individual-silhouette-male.png);
299}
300
301/*
302 * Chart-boxes are used to build the various charts.
303 * Each type of chart will set its own size and hide/show content.
304 *
305 * wt-chart-box
306 * +--- wt-chart-box-thumbnail
307 * +--- wt-chart-box-extra
308 *      +--- wt-chart-box-zoom
309 *           +--- wt-chart-box-icon
310 *           +--- wt-chart-box-dropdown wt-chart-box-zoom-dropdown
311 *      +--- wt-chart-box-links
312 *           +--- wt-chart-box-icon
313 *           +--- wt-chart-box-dropdown wt-chart-box-links-dropdown
314 * +--- wt-chart-box-name
315 * +--- wt-chart-box-lifespan
316 * +--- wt-chart-box-facts
317 *     +--- wt-chart-box-fact
318 */
319.wt-chart-box,
320.wt-chart-box-menu {
321    background: var(--sex-u-bg);
322    border: dashed var(--sex-u-fg) thin;
323}
324
325.wt-chart-box {
326    height: 5rem;
327    padding: 2px;
328    line-height: 1.1;
329    border: none;
330}
331
332.wt-chart-box-f,
333.wt-chart-box-f .wt-chart-box-dropdown {
334    background: var(--sex-f-bg);
335}
336
337.wt-chart-box-m,
338.wt-chart-box-m .wt-chart-box-dropdown {
339    background: var(--sex-m-bg);
340}
341
342/* ====== Round Corners ======== */
343.block,
344.descriptionbox,
345.list_label,
346.list_label_wrap,
347.list_value,
348.list_value_wrap,
349.messagebox,
350.optionbox,
351.wt-chart-box,
352.person0,
353.person1,
354.person2,
355.person3,
356.person4,
357.person5,
358#indi_main_blocks,
359#tabs {
360    margin: 4px;
361    padding: 4px;
362    border-radius: 4px;
363}
364
365a, .nav-link {
366    text-decoration: none;
367    color: #369;
368}
369
370a:hover {
371    text-decoration: underline;
372}
373
374:focus {
375    outline-style: none;
376}
377
378.flash-messages {
379    clear: both;
380    text-align: center;
381}
382
383dl {
384    margin: 0;
385}
386
387dt {
388    float: left;
389    font-weight: bold;
390    margin-right: 10px;
391}
392
393.button {
394    width: 60px;
395}
396
397.alpha_index {
398    color: #999;
399}
400
401.news_box:target,
402#gedcom_stats:target {
403    background-color: #ffc;
404}
405
406/* families tab person box */
407table.center {
408    margin-left: auto;
409    margin-right: auto;
410}
411
412.list_table {
413    margin: 0 auto;
414}
415
416.list_label,
417.list_label_wrap {
418    background-color: #ccc;
419    font-weight: bold;
420    text-align: center;
421}
422
423.list_value,
424.list_value_wrap {
425    background-color: #ddd;
426    vertical-align: top;
427}
428
429.list_label,
430.list_value {
431    white-space: nowrap;
432}
433
434.list_label_wrap,
435.list_value_wrap {
436    white-space: normal;
437}
438
439div.fact_SHARED_NOTE {
440    clear: both;
441}
442
443/* Table of genealogical facts */
444.wt-facts-table caption {
445    caption-side: top;
446}
447
448.wt-facts-table th {
449    background-color: #ccc;
450    border-radius: 4px;
451    text-align: center;
452    font-weight: normal;
453    min-width: 20%;
454}
455
456.wt-facts-table td {
457    border-radius: 4px;
458    background-color: #ddd;
459}
460
461.wt-facts-table .wt-gender-M td {
462    background-color: #ddf;
463}
464
465.wt-facts-table .wt-gender-F td {
466    background-color: #fdd;
467}
468
469.name1, .name2 {
470    color: #337;
471}
472
473a:hover, a:hover .name1, a:hover .name2 {
474    color: #f00;
475}
476
477.details_label {
478    font-weight: bold;
479}
480
481.date {
482    color: #337;
483}
484
485.label {
486    font-weight: bold;
487}
488
489.error {
490    color: #f00;
491    font-weight: bold;
492}
493
494.indent {
495    padding-left: 7px;
496}
497
498.parentdeath {
499    padding: 1px;
500}
501
502.journal_box {
503    padding: 3pt;
504    border: thin solid #aaa;
505    overflow: visible;
506}
507
508.news_box {
509    background-color: #ccc;
510    border-top: none;
511}
512
513.news_title {
514    font-weight: bold;
515    font-size: 14px;
516}
517
518.news_date {
519    margin-bottom: 12px;
520}
521
522.current_day {
523    font-weight: bold;
524    font-size: 16px;
525}
526
527.cal_day {
528    font-weight: bold;
529}
530
531.rtl_cal_day {
532    color: #00f;
533    font-weight: bold;
534}
535
536#user-page h1 {
537    margin: 0.25em auto 0.6em;
538}
539
540.tvertline {
541    vertical-align: bottom;
542}
543
544#childbox {
545    padding: 5px;
546    position: absolute;
547    display: none;
548    text-align: start;
549    white-space: nowrap;
550    top: 20px;
551    left: 0;
552}
553
554.layout3 #childbox {
555    top: auto;
556    bottom: 20px;
557}
558
559#childbox a.name1 {
560    display: block;
561    margin-left: 5px;
562}
563
564.person0 {
565    background-color: #aaf;
566    vertical-align: top;
567}
568
569.person1 {
570    background-color: #afa;
571    vertical-align: top;
572}
573
574.person2 {
575    background-color: #faa;
576    vertical-align: top;
577}
578
579.person3 {
580    background-color: #55f;
581    vertical-align: top;
582}
583
584.person4 {
585    background-color: #f55;
586    vertical-align: top;
587}
588
589.person5 {
590    background-color: #5f5;
591    vertical-align: top;
592}
593
594.starredname {
595    text-decoration: underline;
596}
597
598.search_hit {
599    background-color: #ff0;
600}
601
602.descriptionbox {
603    font-weight: bold;
604    background-color: #ccc;
605    vertical-align: top;
606}
607
608.descriptionbox {
609    font-size: 14px;
610    background-color: #ccc;
611    vertical-align: top;
612    padding: 3px;
613}
614
615.optionbox {
616    background-color: #ddd;
617    color: #000;
618    vertical-align: top;
619    white-space: nowrap;
620    padding: 3px;
621}
622
623.red {
624    color: #f00;
625}
626
627.wt-associate-fact,
628.wt-relation-fact,
629.wt-historic-fact {
630    opacity: 0.8;
631}
632
633.messagebox {
634    background-color: #bce;
635}
636
637/* ---Pending edits--- */
638.wt-new {
639    outline: solid #00f 1px;
640}
641
642.wt-old {
643    outline: solid #f00 1px;
644}
645
646.tag_cloud {
647    text-align: center;
648}
649
650.tag_cloud a {
651    white-space: nowrap;
652}
653
654.nowrap {
655    white-space: nowrap;
656}
657
658.wrap {
659    white-space: normal;
660}
661
662.statistics-page {
663    text-align: center;
664}
665
666.gchart {
667    border: 0;
668}
669
670#facts_content dd {
671    float: left;
672    width: 70%;
673}
674
675/* this keeps the tag color the same when it is a link as when not */
676
677.place {
678    padding-top: 5px;
679}
680
681.filtersH,
682.filtersF {
683    margin: 4px;
684}
685
686.filtersH img {
687    margin-bottom: 2px;
688}
689
690.list-charts {
691    text-align: center;
692}
693
694#place-hierarchy h2,
695#place-hierarchy h4 {
696    text-align: center;
697}
698
699.user_welcome_block table,
700.gedcom_block_block table {
701    margin: auto;
702}
703
704.user_welcome_block td,
705.gedcom_block_block td {
706    width: 33%;
707    text-align: center;
708    vertical-align: top;
709}
710
711/* ==== FAQ table styles ===== */
712table.faq {
713    background-color: #ddd;
714    margin: 5px 0 50px 5px;
715    width: 98%;
716}
717
718table.faq tr:nth-child(odd) td {
719    background-color: #eee;
720}
721
722div.faq_title {
723    background-color: #ddd;
724    margin: 1em 0;
725    padding: .25em;
726    font-weight: bold;
727    width: 98%;
728}
729
730div.faq_body {
731    clear: both;
732    padding: 0 1em;
733}
734
735.faq_top {
736    float: right;
737}
738
739/* === Positioning edit, copy, delete links === */
740/* General use */
741.editfacts {
742    clear: left;
743    padding-top: 15px;
744}
745
746#indi_note {
747    margin: 0 0 5px;
748}
749
750.indi_table {
751    clear: left;
752}
753
754#indi_note .fact_NOTE {
755    float: left;
756    margin: 0 5px 0 0;
757}
758
759#indi_note .fact_SOUR {
760    margin: 3px 0;
761}
762
763#indi_note .fact_SOUR a {
764    font-size: 100%;
765}
766
767#indi_note .fact_NOTE,
768#indi_note .fact_SOUR {
769    clear: both;
770}
771
772.odometer {
773    font-family: courier, monospace;
774    font-weight: bold;
775    background: #000;
776    color: #fff;
777}
778
779.upcoming_events_block button,
780.todays_events_block button {
781    margin: 0 20px;
782}
783
784/* Sidebar - Family navigator */
785.wt-family-navigator-dropdown {
786    background: #eee;
787}
788
789.wt-family-navigator-dropdown-heading {
790    font-weight: bold;
791    font-size: inherit;
792    color: inherit;
793}
794
795/* Sidebar - Descendants */
796#sb_content_descendancy {
797    margin-top: 5px;
798}
799
800#sb_desc_content {
801    margin-left: 3px;
802    font-size: 0.8em;
803}
804
805#sb_desc_content ul {
806    padding: 0;
807    margin: 0;
808}
809
810.sb_desc_indi_li {
811    list-style-type: none;
812}
813
814/* Individuals and Families */
815#sidebar-content-individuals,
816#sidebar-content-families {
817    margin-top: 5px;
818}
819
820.sb_indi_surname_li,
821.sb_fam_surname_li {
822    list-style-image: url(icons/plus.png);
823}
824
825.name_tree_div ul {
826    padding: 0;
827    margin: 0;
828}
829
830.name_tree_div li {
831    list-style: none;
832    margin: 0;
833    padding: 0;
834}
835
836/* Clippings */
837#sb_clippings_content ul {
838    padding: 0;
839    margin: 0;
840}
841
842#sb_clippings_content li {
843    list-style: none;
844    margin: 0;
845    padding: 0;
846    white-space: nowrap;
847}
848
849/* Stories module */
850.story_title {
851    padding-top: 12px;
852    font-size: 13px;
853    height: 32px;
854    font-weight: bold;
855}
856
857.story_body {
858    padding: 20px;
859    white-space: normal;
860}
861
862.story_edit {
863    padding: 12px;
864}
865
866/*-- Fan chart ---- */
867.fan_chart_menu {
868    background: #fff;
869    position: absolute;
870    display: none;
871    z-index: 100;
872}
873
874#fan_chart ul {
875    list-style-type: none;
876    margin: 0;
877}
878
879/* Lifespans chart */
880.wt-lifespans-subtitle {
881    text-align: center;
882}
883
884.wt-lifespans-scale {
885    white-space: nowrap;
886}
887
888.wt-lifespans-decade {
889    width: 70px;
890    height: 60px;
891    display: inline-block;
892    background-image: url(images/lifespan-decade.png);
893    background-position-y: bottom;
894    background-repeat: no-repeat;
895    background-size: 70px 37px;
896}
897
898.wt-lifespans-individuals {
899    background: #fafafa;
900}
901
902.wt-lifespans-individual {
903
904}
905
906.wt-lifespans-summary {
907    background: #ffffff;
908    border: thin solid #000;
909    z-index: 1;
910}
911
912.wt-lifespans-summary-link {
913    font-weight: bold;
914}
915
916/*-- timeline  --*/
917#timeline_chart {
918    position: relative;
919    top: 0;
920    left: 0;
921}
922
923/*-- Relationship ---- */
924.wt-relationship-chart .hline-text,
925.wt-relationship-chart .vline-text {
926    font-size: 12px;
927}
928
929/*
930 * Any element that is loaded dynamically has the class wt-ajax-load.
931 * We can provide a "loading" placeholder for empty elements with this class.
932 */
933.wt-ajax-load:empty {
934    height: 32px;
935    background: url(images/loading-32x32.gif) no-repeat 50% 50%;
936}
937
938/*
939 * Default icons are provided by FontAwesome.
940 */
941.wt-icon-anniversary {
942}
943
944.wt-icon-arrow-down {
945}
946
947a > .wt-icon-arrow-down:hover {
948}
949
950.wt-icon-arrow-left {
951}
952
953a > .wt-icon-arrow-left:hover {
954}
955
956.wt-icon-arrow-right {
957}
958
959a > .wt-icon-arrow-right:hover {
960}
961
962.wt-icon-arrow-up {
963}
964
965a > .wt-icon-arrow-up:hover {
966}
967
968.wt-icon-bing-maps {
969}
970
971.wt-icon-calendar {
972}
973
974.wt-icon-collapse {
975}
976
977.wt-icon-coordinates {
978}
979
980.wt-icon-copy {
981}
982
983.wt-icon-delete {
984}
985
986.wt-icon-edit {
987}
988
989.wt-icon-expand {
990}
991
992.wt-icon-family {
993}
994
995.wt-icon-google-maps {
996}
997
998.wt-icon-help {
999}
1000
1001.wt-icon-individual {
1002}
1003
1004.wt-icon-keyboard {
1005}
1006
1007.wt-icon-media {
1008}
1009
1010.wt-icon-note {
1011}
1012
1013.wt-icon-openstreetmap {
1014}
1015
1016.wt-icon-preferences {
1017}
1018
1019.wt-icon-reorder {
1020}
1021
1022.wt-icon-repository {
1023}
1024
1025.wt-icon-sex-f {
1026    color: var(--sex-f-fg);
1027}
1028
1029.wt-icon-sex-m {
1030    color: var(--sex-m-fg);
1031}
1032
1033.wt-icon-sex-u {
1034    color: var(--sex-u-fg);
1035}
1036
1037.wt-icon-sex-x {
1038    color: var(--sex-u-fg);
1039}
1040
1041.wt-icon-source {
1042}
1043
1044.wt-icon-submitter {
1045}
1046
1047.wt-icon-warning {
1048}
1049
1050.wt-icon-zoom-in {
1051}
1052
1053.wt-icon-zoom-out {
1054}
1055
1056/* Miscellaneous images */
1057.icon-cfamily {
1058    content: url(fab/images/cfamily.png);
1059}
1060
1061.icon-childless {
1062    content: url(images/childless.png);
1063}
1064
1065.icon-children {
1066    content: url(images/children.png);
1067}
1068
1069.icon-edit_indi {
1070    content: url(fab/images/edit_indi.png);
1071}
1072
1073.icon-fam-list {
1074    content: url(fab/images/sfamily.png);
1075}
1076
1077.icon-indi-list {
1078    content: url(fab/images/indis.png);
1079}
1080
1081.icon-loading-small {
1082    content: url(images/indicator.gif);
1083}
1084
1085.icon-minus {
1086    content: url(icons/minus.png);
1087}
1088
1089.icon-mypage {
1090    content: url(fab/images/mypage.png);
1091}
1092
1093.icon-pin-in {
1094    content: url(fab/images/pin-in.png);
1095}
1096
1097.icon-pin-out {
1098    content: url(fab/images/pin-out.png);
1099}
1100
1101.icon-plus {
1102    content: url(icons/plus.png);
1103}
1104
1105.icon-resn-confidential {
1106    content: url(images/resn_confidential.png);
1107}
1108
1109.icon-resn-locked {
1110    content: url(images/resn_locked.png);
1111}
1112
1113.icon-resn-none {
1114    content: url(images/resn_none.png);
1115}
1116
1117.icon-resn-privacy {
1118    content: url(images/resn_privacy.png);
1119}
1120
1121.icon-rings {
1122    content: url(images/rings.png);
1123}
1124
1125.icon-selected {
1126    content: url(fab/images/selected.png);
1127}
1128
1129/* Silhouettes on charts */
1130.icon-silhouette-F {
1131    content: url(fab/images/silhouette_female_small.png);
1132}
1133
1134.icon-silhouette-M {
1135    content: url(fab/images/silhouette_male_small.png);
1136}
1137
1138.icon-silhouette-U {
1139    content: url(fab/images/silhouette_unknown_small.png);
1140}
1141
1142.menu-language li {
1143    text-align: left; /* The language menu is always LTR, even on RTL pages */
1144}
1145
1146.menu-theme li {
1147    text-align: left; /* The theme menu is always LTR, even on RTL pages */
1148}
1149
1150.icon-indis {
1151    content: url(fab/images/indis.png);
1152}
1153
1154.icon-patriarch {
1155    content: url(fab/images/patriarch.png);
1156}
1157
1158.icon-pedigree {
1159    content: url(fab/images/pedigree.png);
1160}
1161
1162.icon-sfamily {
1163    content: url(fab/images/sfamily.png);
1164}
1165
1166.icon-user_add {
1167    content: url(fab/images/user_add.png);
1168}
1169
1170/* Census assistant */
1171.wt-census-assistant-form-control:focus {
1172    min-width: 12rem;
1173}
1174
1175/* Some blocks show a reduced version on the right-hand side. */
1176.wt-side-blocks .wt-side-block-optional {
1177    display: none !important;
1178}
1179
1180/* my page chart enhancements */
1181.wt-block-content-charts {
1182    overflow: auto;
1183}
1184
1185/* Some charts are wider than the page. */
1186.wt-chart {
1187    overflow-x: auto;
1188    overflow-y: hidden;
1189}
1190
1191/* Fit thumbnail into parent on charts */
1192.select2-selection.select2-selection--single {
1193    min-height: 36px;
1194    height: auto;
1195    padding: 2px 0;
1196}
1197
1198.select2-container .select2-selection--single .select2-selection__rendered {
1199    padding-left: 2px;
1200}
1201
1202.select2-selection--single .NAME {
1203    padding-left: 4px;
1204}
1205
1206/* Some menus (e.g. languages) can be longer than a page */
1207.dropdown-menu {
1208    max-height: 30rem;
1209    overflow-x: hidden;
1210}
1211
1212/* Forms */
1213.col-form-label {
1214    font-weight: bold;
1215}
1216