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