xref: /webtrees/resources/css/fab.css (revision ae92a87b25505bfd2d3dc5285c0690c9b0fbd8ca)
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 {
366    text-decoration: none;
367    color: #369;
368}
369
370a:hover,
371a:active {
372    text-decoration: underline;
373}
374
375:focus {
376    outline-style: none;
377}
378
379.flash-messages {
380    clear: both;
381    text-align: center;
382}
383
384dl {
385    margin: 0;
386}
387
388dt {
389    float: left;
390    font-weight: bold;
391    margin-right: 10px;
392}
393
394.button {
395    width: 60px;
396}
397
398.alpha_index {
399    color: #999;
400}
401
402.news_box:target,
403#gedcom_stats:target {
404    background-color: #ffc;
405}
406
407/* families tab person box */
408table.center {
409    margin-left: auto;
410    margin-right: auto;
411}
412
413.list_table {
414    margin: 0 auto;
415}
416
417.list_label,
418.list_label_wrap {
419    background-color: #ccc;
420    font-weight: bold;
421    text-align: center;
422}
423
424.list_value,
425.list_value_wrap {
426    background-color: #ddd;
427    vertical-align: top;
428}
429
430.list_label,
431.list_value {
432    white-space: nowrap;
433}
434
435.list_label_wrap,
436.list_value_wrap {
437    white-space: normal;
438}
439
440div.fact_SHARED_NOTE {
441    clear: both;
442}
443
444/* Table of genealogical facts */
445.wt-facts-table caption {
446    caption-side: top;
447}
448
449.wt-facts-table th {
450    background-color: #ccc;
451    border-radius: 4px;
452    text-align: center;
453    font-weight: normal;
454    min-width: 20%;
455}
456
457.wt-facts-table td {
458    border-radius: 4px;
459    background-color: #ddd;
460}
461
462.wt-facts-table .wt-gender-M td {
463    background-color: #ddf;
464}
465
466.wt-facts-table .wt-gender-F td {
467    background-color: #fdd;
468}
469
470.name1, .name2 {
471    color: #337;
472}
473
474a:hover, a:hover .name1, a:hover .name2 {
475    color: #f00;
476}
477
478.details_label {
479    font-weight: bold;
480}
481
482.date {
483    color: #337;
484}
485
486.label {
487    font-weight: bold;
488}
489
490.error {
491    color: #f00;
492    font-weight: bold;
493}
494
495.indent {
496    padding-left: 7px;
497}
498
499.parentdeath {
500    padding: 1px;
501}
502
503.journal_box {
504    padding: 3pt;
505    border: thin solid #aaa;
506    overflow: visible;
507}
508
509.news_box {
510    background-color: #ccc;
511    border-top: none;
512}
513
514.news_title {
515    font-weight: bold;
516    font-size: 14px;
517}
518
519.news_date {
520    margin-bottom: 12px;
521}
522
523.current_day {
524    font-weight: bold;
525    font-size: 16px;
526}
527
528.cal_day {
529    font-weight: bold;
530}
531
532.rtl_cal_day {
533    color: #00f;
534    font-weight: bold;
535}
536
537#user-page h1 {
538    margin: 0.25em auto 0.6em;
539}
540
541.tvertline {
542    vertical-align: bottom;
543}
544
545#childbox {
546    padding: 5px;
547    position: absolute;
548    display: none;
549    text-align: start;
550    white-space: nowrap;
551    top: 20px;
552    left: 0;
553}
554
555.layout3 #childbox {
556    top: auto;
557    bottom: 20px;
558}
559
560#childbox a.name1 {
561    display: block;
562    margin-left: 5px;
563}
564
565.person0 {
566    background-color: #aaf;
567    vertical-align: top;
568}
569
570.person1 {
571    background-color: #afa;
572    vertical-align: top;
573}
574
575.person2 {
576    background-color: #faa;
577    vertical-align: top;
578}
579
580.person3 {
581    background-color: #55f;
582    vertical-align: top;
583}
584
585.person4 {
586    background-color: #f55;
587    vertical-align: top;
588}
589
590.person5 {
591    background-color: #5f5;
592    vertical-align: top;
593}
594
595.starredname {
596    text-decoration: underline;
597}
598
599.search_hit {
600    background-color: #ff0;
601}
602
603.descriptionbox {
604    font-weight: bold;
605    background-color: #ccc;
606    vertical-align: top;
607}
608
609.descriptionbox {
610    font-size: 14px;
611    background-color: #ccc;
612    vertical-align: top;
613    padding: 3px;
614}
615
616.optionbox {
617    background-color: #ddd;
618    color: #000;
619    vertical-align: top;
620    white-space: nowrap;
621    padding: 3px;
622}
623
624.red {
625    color: #f00;
626}
627
628.wt-associate-fact,
629.wt-relation-fact,
630.wt-historic-fact {
631    opacity: 0.8;
632}
633
634.messagebox {
635    background-color: #bce;
636}
637
638/* ---Pending edits--- */
639.wt-new {
640    outline: solid #00f 1px;
641}
642
643.wt-old {
644    outline: solid #f00 1px;
645}
646
647.tag_cloud {
648    text-align: center;
649}
650
651.tag_cloud a {
652    white-space: nowrap;
653}
654
655.nowrap {
656    white-space: nowrap;
657}
658
659.wrap {
660    white-space: normal;
661}
662
663.statistics-page {
664    text-align: center;
665}
666
667.gchart {
668    border: 0;
669}
670
671#facts_content dd {
672    float: left;
673    width: 70%;
674}
675
676/* this keeps the tag color the same when it is a link as when not */
677
678.place {
679    padding-top: 5px;
680}
681
682.filtersH,
683.filtersF {
684    margin: 4px;
685}
686
687.filtersH img {
688    margin-bottom: 2px;
689}
690
691.list-charts {
692    text-align: center;
693}
694
695#place-hierarchy h2,
696#place-hierarchy h4 {
697    text-align: center;
698}
699
700.user_welcome_block table,
701.gedcom_block_block table {
702    margin: auto;
703}
704
705.user_welcome_block td,
706.gedcom_block_block td {
707    width: 33%;
708    text-align: center;
709    vertical-align: top;
710}
711
712/* ==== FAQ table styles ===== */
713table.faq {
714    background-color: #ddd;
715    margin: 5px 0 50px 5px;
716    width: 98%;
717}
718
719table.faq tr:nth-child(odd) td {
720    background-color: #eee;
721}
722
723div.faq_title {
724    background-color: #ddd;
725    margin: 1em 0;
726    padding: .25em;
727    font-weight: bold;
728    width: 98%;
729}
730
731div.faq_body {
732    clear: both;
733    padding: 0 1em;
734}
735
736.faq_top {
737    float: right;
738}
739
740/* === Positioning edit, copy, delete links === */
741/* General use */
742.editfacts {
743    clear: left;
744    padding-top: 15px;
745}
746
747#indi_note {
748    margin: 0 0 5px;
749}
750
751.indi_table {
752    clear: left;
753}
754
755#indi_note .fact_NOTE {
756    float: left;
757    margin: 0 5px 0 0;
758}
759
760#indi_note .fact_SOUR {
761    margin: 3px 0;
762}
763
764#indi_note .fact_SOUR a {
765    font-size: 100%;
766}
767
768#indi_note .fact_NOTE,
769#indi_note .fact_SOUR {
770    clear: both;
771}
772
773.odometer {
774    font-family: courier, monospace;
775    font-weight: bold;
776    background: #000;
777    color: #fff;
778}
779
780.upcoming_events_block button,
781.todays_events_block button {
782    margin: 0 20px;
783}
784
785/* Sidebar - Family navigator */
786.wt-family-navigator-dropdown {
787    background: #eee;
788}
789
790.wt-family-navigator-dropdown-heading {
791    font-weight: bold;
792    font-size: inherit;
793    color: inherit;
794}
795
796/* Sidebar - Descendants */
797#sb_content_descendancy {
798    margin-top: 5px;
799}
800
801#sb_desc_content {
802    margin-left: 3px;
803    font-size: 0.8em;
804}
805
806#sb_desc_content ul {
807    padding: 0;
808    margin: 0;
809}
810
811.sb_desc_indi_li {
812    list-style-type: none;
813}
814
815/* Individuals and Families */
816#sidebar-content-individuals,
817#sidebar-content-families {
818    margin-top: 5px;
819}
820
821.sb_indi_surname_li,
822.sb_fam_surname_li {
823    list-style-image: url(icons/plus.png);
824}
825
826.name_tree_div ul {
827    padding: 0;
828    margin: 0;
829}
830
831.name_tree_div li {
832    list-style: none;
833    margin: 0;
834    padding: 0;
835}
836
837/* Clippings */
838#sb_clippings_content ul {
839    padding: 0;
840    margin: 0;
841}
842
843#sb_clippings_content li {
844    list-style: none;
845    margin: 0;
846    padding: 0;
847    white-space: nowrap;
848}
849
850/* Stories module */
851.story_title {
852    padding-top: 12px;
853    font-size: 13px;
854    height: 32px;
855    font-weight: bold;
856}
857
858.story_body {
859    padding: 20px;
860    white-space: normal;
861}
862
863.story_edit {
864    padding: 12px;
865}
866
867/*-- Fan chart ---- */
868.fan_chart_menu {
869    background: #fff;
870    position: absolute;
871    display: none;
872    z-index: 100;
873}
874
875#fan_chart ul {
876    list-style-type: none;
877    margin: 0;
878}
879
880/* Lifespans chart */
881.wt-lifespans-subtitle {
882    text-align: center;
883}
884
885.wt-lifespans-scale {
886    white-space: nowrap;
887}
888
889.wt-lifespans-decade {
890    width: 70px;
891    height: 60px;
892    display: inline-block;
893    background-image: url(images/lifespan-decade.png);
894    background-position-y: bottom;
895    background-repeat: no-repeat;
896    background-size: 70px 37px;
897}
898
899.wt-lifespans-individuals {
900    background: #fafafa;
901}
902
903.wt-lifespans-individual {
904
905}
906
907.wt-lifespans-summary {
908    background: #ffffff;
909    border: thin solid #000;
910    z-index: 1;
911}
912
913.wt-lifespans-summary-link {
914    font-weight: bold;
915}
916
917/*-- timeline  --*/
918#timeline_chart {
919    position: relative;
920    top: 0;
921    left: 0;
922}
923
924/*-- Relationship ---- */
925.wt-relationship-chart .hline-text,
926.wt-relationship-chart .vline-text {
927    font-size: 12px;
928}
929
930/*
931 * Any element that is loaded dynamically has the class wt-ajax-load.
932 * We can provide a "loading" placeholder for empty elements with this class.
933 */
934.wt-ajax-load:empty {
935    height: 32px;
936    background: url(images/loading-32x32.gif) no-repeat 50% 50%;
937}
938
939/*
940 * Default icons are provided by FontAwesome.
941 */
942.wt-icon-anniversary {
943}
944
945.wt-icon-arrow-down {
946}
947
948a > .wt-icon-arrow-down:hover {
949}
950
951.wt-icon-arrow-left {
952}
953
954a > .wt-icon-arrow-left:hover {
955}
956
957.wt-icon-arrow-right {
958}
959
960a > .wt-icon-arrow-right:hover {
961}
962
963.wt-icon-arrow-up {
964}
965
966a > .wt-icon-arrow-up:hover {
967}
968
969.wt-icon-bing-maps {
970}
971
972.wt-icon-calendar {
973}
974
975.wt-icon-collapse {
976}
977
978.wt-icon-coordinates {
979}
980
981.wt-icon-copy {
982}
983
984.wt-icon-delete {
985}
986
987.wt-icon-edit {
988}
989
990.wt-icon-expand {
991}
992
993.wt-icon-family {
994}
995
996.wt-icon-google-maps {
997}
998
999.wt-icon-help {
1000}
1001
1002.wt-icon-individual {
1003}
1004
1005.wt-icon-keyboard {
1006}
1007
1008.wt-icon-media {
1009}
1010
1011.wt-icon-note {
1012}
1013
1014.wt-icon-openstreetmap {
1015}
1016
1017.wt-icon-preferences {
1018}
1019
1020.wt-icon-reorder {
1021}
1022
1023.wt-icon-repository {
1024}
1025
1026.wt-icon-sex-f {
1027    color: var(--sex-f-fg);
1028}
1029
1030.wt-icon-sex-m {
1031    color: var(--sex-m-fg);
1032}
1033
1034.wt-icon-sex-u {
1035    color: var(--sex-u-fg);
1036}
1037
1038.wt-icon-sex-x {
1039    color: var(--sex-u-fg);
1040}
1041
1042.wt-icon-source {
1043}
1044
1045.wt-icon-submitter {
1046}
1047
1048.wt-icon-warning {
1049}
1050
1051.wt-icon-zoom-in {
1052}
1053
1054.wt-icon-zoom-out {
1055}
1056
1057/* Miscellaneous images */
1058.icon-cfamily {
1059    content: url(fab/images/cfamily.png);
1060}
1061
1062.icon-childless {
1063    content: url(images/childless.png);
1064}
1065
1066.icon-children {
1067    content: url(images/children.png);
1068}
1069
1070.icon-edit_indi {
1071    content: url(fab/images/edit_indi.png);
1072}
1073
1074.icon-fam-list {
1075    content: url(fab/images/sfamily.png);
1076}
1077
1078.icon-indi-list {
1079    content: url(fab/images/indis.png);
1080}
1081
1082.icon-loading-small {
1083    content: url(images/indicator.gif);
1084}
1085
1086.icon-minus {
1087    content: url(icons/minus.png);
1088}
1089
1090.icon-mypage {
1091    content: url(fab/images/mypage.png);
1092}
1093
1094.icon-pin-in {
1095    content: url(fab/images/pin-in.png);
1096}
1097
1098.icon-pin-out {
1099    content: url(fab/images/pin-out.png);
1100}
1101
1102.icon-plus {
1103    content: url(icons/plus.png);
1104}
1105
1106.icon-resn-confidential {
1107    content: url(images/resn_confidential.png);
1108}
1109
1110.icon-resn-locked {
1111    content: url(images/resn_locked.png);
1112}
1113
1114.icon-resn-none {
1115    content: url(images/resn_none.png);
1116}
1117
1118.icon-resn-privacy {
1119    content: url(images/resn_privacy.png);
1120}
1121
1122.icon-rings {
1123    content: url(images/rings.png);
1124}
1125
1126.icon-selected {
1127    content: url(fab/images/selected.png);
1128}
1129
1130/* Silhouettes on charts */
1131.icon-silhouette-F {
1132    content: url(fab/images/silhouette_female_small.png);
1133}
1134
1135.icon-silhouette-M {
1136    content: url(fab/images/silhouette_male_small.png);
1137}
1138
1139.icon-silhouette-U {
1140    content: url(fab/images/silhouette_unknown_small.png);
1141}
1142
1143.menu-language li {
1144    text-align: left; /* The language menu is always LTR, even on RTL pages */
1145}
1146
1147.menu-theme li {
1148    text-align: left; /* The theme menu is always LTR, even on RTL pages */
1149}
1150
1151.icon-indis {
1152    content: url(fab/images/indis.png);
1153}
1154
1155.icon-patriarch {
1156    content: url(fab/images/patriarch.png);
1157}
1158
1159.icon-pedigree {
1160    content: url(fab/images/pedigree.png);
1161}
1162
1163.icon-sfamily {
1164    content: url(fab/images/sfamily.png);
1165}
1166
1167.icon-user_add {
1168    content: url(fab/images/user_add.png);
1169}
1170
1171/* Census assistant */
1172.wt-census-assistant-form-control:focus {
1173    min-width: 12rem;
1174}
1175
1176/* Some blocks show a reduced version on the right-hand side. */
1177.wt-side-blocks .wt-side-block-optional {
1178    display: none !important;
1179}
1180
1181/* my page chart enhancements */
1182.wt-block-content-charts {
1183    overflow: auto;
1184}
1185
1186/* Some charts are wider than the page. */
1187.wt-chart {
1188    overflow-x: auto;
1189    overflow-y: hidden;
1190}
1191
1192/* Fit thumbnail into parent on charts */
1193.select2-selection.select2-selection--single {
1194    min-height: 36px;
1195    height: auto;
1196    padding: 2px 0;
1197}
1198
1199.select2-container .select2-selection--single .select2-selection__rendered {
1200    padding-left: 2px;
1201}
1202
1203.select2-selection--single .NAME {
1204    padding-left: 4px;
1205}
1206
1207/* Some menus (e.g. languages) can be longer than a page */
1208.dropdown-menu {
1209    max-height: 30rem;
1210    overflow-x: hidden;
1211}
1212
1213/* Forms */
1214.col-form-label {
1215    font-weight: bold;
1216}
1217