xref: /webtrees/resources/css/fab.css (revision 1b7bacc801fa6671beced176a48a0fb537951f25)
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    float: left;
567    font-weight: bold;
568}
569
570.rtl_cal_day {
571    direction: rtl;
572    float: right;
573    color: #00f;
574    font-weight: bold;
575}
576
577#user-page h1 {
578    margin: 0.25em auto 0.6em;
579}
580
581.tvertline {
582    vertical-align: bottom;
583}
584
585#childbox {
586    padding: 5px;
587    position: absolute;
588    display: none;
589    text-align: start;
590    white-space: nowrap;
591    top: 20px;
592    left: 0;
593}
594
595.layout3 #childbox {
596    top: auto;
597    bottom: 20px;
598}
599
600#childbox a.name1 {
601    display: block;
602    margin-left: 5px;
603}
604
605.person0 {
606    background-color: #aaf;
607    vertical-align: top;
608}
609
610.person1 {
611    background-color: #afa;
612    vertical-align: top;
613}
614
615.person2 {
616    background-color: #faa;
617    vertical-align: top;
618}
619
620.person3 {
621    background-color: #55f;
622    vertical-align: top;
623}
624
625.person4 {
626    background-color: #f55;
627    vertical-align: top;
628}
629
630.person5 {
631    background-color: #5f5;
632    vertical-align: top;
633}
634
635.starredname {
636    text-decoration: underline;
637}
638
639.search_hit {
640    background-color: #ff0;
641}
642
643.topbottombar,
644.descriptionbox {
645    font-weight: bold;
646    background-color: #ccc;
647    vertical-align: top;
648}
649
650.descriptionbox {
651    font-size: 14px;
652    background-color: #ccc;
653    vertical-align: top;
654    padding: 3px;
655}
656
657.optionbox {
658    background-color: #ddd;
659    color: #000;
660    vertical-align: top;
661    white-space: nowrap;
662    padding: 3px;
663}
664
665.red {
666    color: #f00;
667}
668
669.wt-relation-fact,
670.wt-historic-fact {
671    opacity: 0.8;
672}
673
674.messagebox {
675    background-color: #bce;
676}
677
678/* ---Pending edits--- */
679.wt-new {
680    outline: solid #00f 1px;
681}
682
683.wt-old {
684    outline: solid #f00 1px;
685}
686
687.tag_cloud {
688    text-align: center;
689}
690
691.tag_cloud a {
692    white-space: nowrap;
693}
694
695.nowrap {
696    white-space: nowrap;
697}
698
699.wrap {
700    white-space: normal;
701}
702
703.statistics-page {
704    text-align: center;
705}
706
707.gchart {
708    border: 0;
709}
710
711#facts_content dd {
712    float: left;
713    width: 70%;
714}
715
716/* this keeps the tag color the same when it is a link as when not */
717
718.place {
719    padding-top: 5px;
720}
721
722.filtersH,
723.filtersF {
724    margin: 4px;
725}
726
727.filtersH img {
728    margin-bottom: 2px;
729}
730
731.list-charts {
732    text-align: center;
733}
734
735#place-hierarchy h2,
736#place-hierarchy h4 {
737    text-align: center;
738}
739
740.user_welcome_block table,
741.gedcom_block_block table {
742    margin: auto;
743}
744
745.user_welcome_block td,
746.gedcom_block_block td {
747    width: 33%;
748    text-align: center;
749    vertical-align: top;
750}
751
752/* ==== FAQ table styles ===== */
753table.faq {
754    background-color: #ddd;
755    margin: 5px 0 50px 5px;
756    width: 98%;
757}
758
759table.faq tr:nth-child(odd) td {
760    background-color: #eee;
761}
762
763div.faq_title {
764    background-color: #ddd;
765    margin: 1em 0;
766    padding: .25em;
767    font-weight: bold;
768    width: 98%;
769}
770
771div.faq_body {
772    clear: both;
773    padding: 0 1em;
774}
775
776.faq_top {
777    float: right;
778}
779
780/* === Positioning edit, copy, delete links === */
781/* General use */
782.editfacts {
783    clear: left;
784    padding-top: 15px;
785}
786
787#indi_note {
788    margin: 0 0 5px;
789}
790
791.indi_table {
792    clear: left;
793}
794
795#sex {
796    float: right;
797}
798
799#dates {
800    color: #369;
801    float: right;
802}
803
804#individual-names .wt-icon-edit,
805#individual-names .wt-icon-delete {
806    float: right;
807}
808
809#indi_note .fact_NOTE {
810    float: left;
811    margin: 0 5px 0 0;
812}
813
814#indi_note .fact_SOUR {
815    margin: 3px 0;
816}
817
818#indi_note .fact_SOUR a {
819    font-size: 100%;
820}
821
822#indi_note .fact_NOTE,
823#indi_note .fact_SOUR {
824    clear: both;
825}
826
827/* ===== markdown formatting ===== */
828
829.markdown {
830    /* Tables and pre-formatted text can break the layout. */
831    overflow-x: auto;
832}
833
834.markdown p {
835    margin: 0 0 0.5em;
836    white-space: pre-wrap;
837}
838
839.markdown table {
840    border-collapse: collapse;
841    font-size: 10px;
842    margin-bottom: 8px;
843}
844
845.markdown th {
846    font-weight: bold;
847}
848
849.markdown td,
850.markdown th {
851    border: solid thin #000;
852    padding: 3px;
853}
854
855.odometer {
856    font-family: courier, monospace;
857    font-weight: bold;
858    background: #000;
859    color: #fff;
860}
861
862.upcoming_events_block button,
863.todays_events_block button {
864    margin: 0 20px;
865}
866
867/* Sidebar - Family navigator */
868.wt-family-navigator-dropdown {
869    background: #eee;
870}
871
872.wt-family-navigator-dropdown-heading {
873    font-weight: bold;
874    font-size: inherit;
875    color: inherit;
876}
877
878/* Sidebar - Descendants */
879#sb_content_descendancy {
880    margin-top: 5px;
881}
882
883#sb_desc_content {
884    margin-left: 3px;
885    font-size: 0.8em;
886}
887
888#sb_desc_content ul {
889    padding: 0;
890    margin: 0;
891}
892
893.sb_desc_indi_li {
894    list-style-type: none;
895}
896
897/* Individuals and Families */
898#sidebar-content-individuals,
899#sidebar-content-families {
900    margin-top: 5px;
901}
902
903.sb_indi_surname_li,
904.sb_fam_surname_li {
905    list-style-image: url(icons/plus.png);
906}
907
908.name_tree_div ul {
909    padding: 0;
910    margin: 0;
911}
912
913.name_tree_div li {
914    list-style: none;
915    margin: 0;
916    padding: 0;
917}
918
919/* Clippings */
920#sb_clippings_content ul {
921    padding: 0;
922    margin: 0;
923}
924
925#sb_clippings_content li {
926    list-style: none;
927    margin: 0;
928    padding: 0;
929    white-space: nowrap;
930}
931
932/* Stories module */
933.story_title {
934    padding-top: 12px;
935    font-size: 13px;
936    height: 32px;
937    font-weight: bold;
938}
939
940.story_body {
941    padding: 20px;
942    white-space: normal;
943}
944
945.story_edit {
946    padding: 12px;
947}
948
949/*-- Fan chart ---- */
950.fan_chart_menu {
951    background: #fff;
952    position: absolute;
953    display: none;
954    z-index: 100;
955}
956
957#fan_chart ul {
958    list-style-type: none;
959    margin: 0;
960}
961
962/* Lifespans chart */
963.wt-lifespans-subtitle {
964    text-align: center;
965}
966
967.wt-lifespans-scale {
968    white-space: nowrap;
969}
970
971.wt-lifespans-decade {
972    width: 70px;
973    height: 60px;
974    display: inline-block;
975    background-image: url(images/lifespan-decade.png);
976    background-position-y: bottom;
977    background-repeat: no-repeat;
978    background-size: 70px 37px;
979}
980
981.wt-lifespans-individuals {
982    background: #fafafa;
983}
984
985.wt-lifespans-individual {
986
987}
988
989.wt-lifespans-summary {
990    background: #ffffff;
991    border: thin solid #000;
992    z-index: 1;
993}
994
995.wt-lifespans-summary-link {
996    font-weight: bold;
997}
998
999/*-- timeline  --*/
1000#timeline_chart {
1001    position: relative;
1002    top: 0;
1003    left: 0;
1004}
1005
1006/*-- Relationship ---- */
1007.wt-relationship-chart .hline-text,
1008.wt-relationship-chart .vline-text {
1009    font-size: 12px;
1010}
1011
1012/*
1013 * Any element that is loaded dynamically has the class wt-ajax-load.
1014 * We can provide a "loading" placeholder for empty elements with this class.
1015 */
1016.wt-ajax-load:empty {
1017    height: 32px;
1018    background: url(images/loading-32x32.gif) no-repeat 50% 50%;
1019}
1020
1021/*
1022 * Default icons are provided by FontAwesome.
1023 */
1024.wt-icon-anniversary {
1025}
1026
1027.wt-icon-arrow-down {
1028}
1029
1030a > .wt-icon-arrow-down:hover {
1031}
1032
1033.wt-icon-arrow-left {
1034}
1035
1036a > .wt-icon-arrow-left:hover {
1037}
1038
1039.wt-icon-arrow-right {
1040}
1041
1042a > .wt-icon-arrow-right:hover {
1043}
1044
1045.wt-icon-arrow-up {
1046}
1047
1048a > .wt-icon-arrow-up:hover {
1049}
1050
1051.wt-icon-bing-maps {
1052}
1053
1054.wt-icon-calendar {
1055}
1056
1057.wt-icon-collapse {
1058}
1059
1060.wt-icon-coordinates {
1061}
1062
1063.wt-icon-copy {
1064}
1065
1066.wt-icon-delete {
1067}
1068
1069.wt-icon-edit {
1070}
1071
1072.wt-icon-expand {
1073}
1074
1075.wt-icon-family {
1076}
1077
1078.wt-icon-google-maps {
1079}
1080
1081.wt-icon-help {
1082}
1083
1084.wt-icon-individual {
1085}
1086
1087.wt-icon-keyboard {
1088}
1089
1090.wt-icon-media {
1091}
1092
1093.wt-icon-note {
1094}
1095
1096.wt-icon-openstreetmap {
1097}
1098
1099.wt-icon-preferences {
1100}
1101
1102.wt-icon-reorder {
1103}
1104
1105.wt-icon-repository {
1106}
1107
1108.wt-icon-sex-f {
1109    color: var(--sex-f-fg);
1110}
1111
1112.wt-icon-sex-m {
1113    color: var(--sex-m-fg);
1114}
1115
1116.wt-icon-sex-u {
1117    color: var(--sex-u-fg);
1118}
1119
1120.wt-icon-sex-x {
1121    color: var(--sex-u-fg);
1122}
1123
1124.wt-icon-source {
1125}
1126
1127.wt-icon-submitter {
1128}
1129
1130.wt-icon-warning {
1131}
1132
1133.wt-icon-zoom-in {
1134}
1135
1136.wt-icon-zoom-out {
1137}
1138
1139/* Miscellaneous images */
1140.icon-cfamily {
1141    content: url(fab/images/cfamily.png);
1142}
1143
1144.icon-childless {
1145    content: url(images/childless.png);
1146}
1147
1148.icon-children {
1149    content: url(images/children.png);
1150}
1151
1152.icon-edit_indi {
1153    content: url(fab/images/edit_indi.png);
1154}
1155
1156.icon-fam-list {
1157    content: url(fab/images/sfamily.png);
1158}
1159
1160.icon-indi-list {
1161    content: url(fab/images/indis.png);
1162}
1163
1164.icon-loading-small {
1165    content: url(images/indicator.gif);
1166}
1167
1168.icon-minus {
1169    content: url(icons/minus.png);
1170}
1171
1172.icon-mypage {
1173    content: url(fab/images/mypage.png);
1174}
1175
1176.icon-pin-in {
1177    content: url(fab/images/pin-in.png);
1178}
1179
1180.icon-pin-out {
1181    content: url(fab/images/pin-out.png);
1182}
1183
1184.icon-plus {
1185    content: url(icons/plus.png);
1186}
1187
1188.icon-resn-confidential {
1189    content: url(images/resn_confidential.png);
1190}
1191
1192.icon-resn-locked {
1193    content: url(images/resn_locked.png);
1194}
1195
1196.icon-resn-none {
1197    content: url(images/resn_none.png);
1198}
1199
1200.icon-resn-privacy {
1201    content: url(images/resn_privacy.png);
1202}
1203
1204.icon-rings {
1205    content: url(images/rings.png);
1206}
1207
1208.icon-selected {
1209    content: url(fab/images/selected.png);
1210}
1211
1212/* Silhouettes on charts */
1213.icon-silhouette-F {
1214    content: url(fab/images/silhouette_female_small.png);
1215}
1216
1217.icon-silhouette-M {
1218    content: url(fab/images/silhouette_male_small.png);
1219}
1220
1221.icon-silhouette-U {
1222    content: url(fab/images/silhouette_unknown_small.png);
1223}
1224
1225.menu-language li {
1226    text-align: left; /* The language menu is always LTR, even on RTL pages */
1227}
1228
1229.menu-theme li {
1230    text-align: left; /* The theme menu is always LTR, even on RTL pages */
1231}
1232
1233.icon-indis {
1234    content: url(fab/images/indis.png);
1235}
1236
1237.icon-patriarch {
1238    content: url(fab/images/patriarch.png);
1239}
1240
1241.icon-pedigree {
1242    content: url(fab/images/pedigree.png);
1243}
1244
1245.icon-sfamily {
1246    content: url(fab/images/sfamily.png);
1247}
1248
1249.icon-user_add {
1250    content: url(fab/images/user_add.png);
1251}
1252
1253/* Census assistant */
1254.wt-census-assistant-form-control:focus {
1255    min-width: 12rem;
1256}
1257
1258/* Some blocks show a reduced version on the right-hand side. */
1259.wt-side-blocks .wt-side-block-optional {
1260    display: none !important;
1261}
1262
1263/* my page chart enhancements */
1264.wt-block-content-charts {
1265    overflow: auto;
1266}
1267
1268/* Some charts are wider than the page. */
1269.wt-chart {
1270    overflow-x: auto;
1271    overflow-y: hidden;
1272}
1273
1274/* Fit thumbnail into parent on charts */
1275.select2-selection.select2-selection--single {
1276    min-height: 36px;
1277    height: auto;
1278    padding: 2px 0;
1279}
1280
1281.select2-container .select2-selection--single .select2-selection__rendered {
1282    padding-left: 2px;
1283}
1284
1285.select2-selection--single .NAME {
1286    padding-left: 4px;
1287}
1288
1289/* Some menus (e.g. languages) can be longer than a page */
1290.dropdown-menu {
1291    max-height: 30rem;
1292    overflow-x: hidden;
1293}
1294
1295/* Forms */
1296.col-form-label {
1297    font-weight: bold;
1298}
1299