xref: /webtrees/resources/css/xenea.css (revision 9deadf1c5b187f630fcc0ae0771860f690e7f202)
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 xenea theme */
17@import "_base.css";
18
19/* Colors for chart boxes, etc. */
20:root {
21  --sex-f-fg: #ff2080;
22  --sex-m-fg: #84beff;
23  --sex-u-fg: #008080;
24  --sex-f-bg: #fff0f0;
25  --sex-m-bg: #f0f9ff;
26  --sex-u-bg: #ffffff;
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: #006;
81}
82
83.wt-header-wrapper {
84    background-image: linear-gradient(to right, #06d, #acf);
85    border-bottom: 2px solid #0073cf;
86}
87
88.wt-header-container {
89    color: #fff;
90}
91
92.wt-header-content {
93}
94
95.wt-accessibility-links {
96}
97
98.wt-site-logo {
99    display: none;
100}
101
102.wt-site-title {
103    order: 1;
104    flex: 0 0 calc(100% - 15rem);
105    font-size: 1.5rem;
106    margin: 0.5rem 0;
107}
108
109.wt-header-search {
110    order: 2;
111    flex: 0 0 15rem;
112    margin: 0.25rem 0;
113}
114
115.wt-header-search-form {
116}
117
118.wt-header-search-field {
119}
120
121.wt-header-search-button {
122    color: #000;
123    background: #ddd;
124    border: 0;
125}
126
127.wt-header-search-button .fa-search::before {
128    content: ">";
129}
130
131.wt-secondary-navigation {
132    order: 3;
133    background-image: linear-gradient(#1548a7, #81bafc, #1548a7);
134    /* Extend to full page width */
135    flex: 0 1 100vw;
136    max-width: 100vw;
137    /* Recalculate margins for content */
138    margin: 0 calc(50% - 50vw);
139    padding: 0 calc(50vw - 50%);
140}
141
142.wt-user-menu {
143    flex-wrap: nowrap;
144    padding: 0.25rem 0;
145    justify-content: space-between;
146}
147
148.wt-user-menu a.nav-link {
149    color: #fff;
150    font-weight: bold;
151}
152
153.wt-user-menu .dropdown-toggle::after {
154    display: none;
155}
156
157.wt-primary-navigation {
158    order: 4;
159    background: #fff;
160    /* Extend to full page width */
161    flex: 0 1 100vw;
162    max-width: 100vw;
163    /* Recalculate margins for content */
164    margin: 0 calc(50% - 50vw);
165    padding: 0 calc(50vw - 50%);
166}
167
168.wt-genealogy-menu {
169    justify-content: center;
170}
171
172.wt-genealogy-menu .nav-item {
173    text-align: center;
174    min-width: 5rem;
175    padding-top: 0.25rem;
176}
177
178.wt-genealogy-menu .nav-link::before {
179    display: block;
180}
181
182.wt-genealogy-menu .dropdown-toggle::after {
183    display: none;
184}
185
186.wt-genealogy-menu .dropdown-menu {
187    border-radius: 0;
188}
189
190.wt-genealogy-menu .dropdown-item {
191    padding: 0 0.25rem;
192}
193
194.wt-genealogy-menu .dropdown-item::before {
195    vertical-align: top;
196    padding: 0 0.25rem;
197}
198
199.menu-tree .nav-link::before {
200    content: url(xenea/menu/tree.png);
201}
202
203.menu-tree .dropdown-item::before {
204    content: url(xenea/menu/tree-tree.png);
205}
206
207.menu-chart .nav-link::before {
208    content: url(xenea/menu/chart.png);
209}
210
211.menu-chart-ancestry::before {
212    content: url(xenea/menu/chart-ancestors.png);
213}
214
215.menu-chart-compact::before {
216    content: url(xenea/menu/chart-compact.png);
217}
218
219.menu-chart-descendants::before {
220    content: url(xenea/menu/chart-descendants.png);
221}
222
223.menu-chart-familybook::before {
224    content: url(xenea/menu/chart-family-book.png);
225}
226
227.menu-chart-fanchart::before {
228    content: url(xenea/menu/chart-fanchart.png);
229}
230
231.menu-chart-hourglass::before {
232    content: url(xenea/menu/chart-hourglass.png);
233}
234
235.menu-chart-lifespan::before {
236    content: url(xenea/menu/chart-lifespan.png);
237}
238
239.menu-chart-pedigree::before {
240    content: url(xenea/menu/chart-pedigree.png);
241}
242
243.menu-chart-pedigreemap::before {
244    content: url(xenea/menu/chart-pedigree-map.png);
245}
246
247.menu-chart-relationship::before {
248    content: url(xenea/menu/chart-relationship.png);
249}
250
251.menu-chart-statistics::before {
252    content: url(xenea/menu/chart-statistics.png);
253}
254
255.menu-chart-timeline::before {
256    content: url(xenea/menu/chart-timeline.png);
257}
258
259.menu-chart-tree::before {
260    content: url(xenea/menu/chart-tree.png);
261}
262
263.menu-list .nav-link::before {
264    content: url(xenea/menu/list.png);
265}
266
267.menu-branches::before {
268    content: url(xenea/menu/branches.png);
269}
270
271.menu-list-fam::before {
272    content: url(xenea/menu/list-fam.png);
273}
274
275.menu-list-indi::before {
276    content: url(xenea/menu/list-indi.png);
277}
278
279.menu-list-loc::before {
280    content: url(xenea/menu/list-plac.png);
281}
282
283.menu-list-note::before {
284    content: url(xenea/menu/list-note.png);
285}
286
287.menu-list-obje::before {
288    content: url(xenea/menu/list-obje.png);
289}
290
291.menu-list-plac::before {
292    content: url(xenea/menu/list-plac.png);
293}
294
295.menu-list-repo::before {
296    content: url(xenea/menu/list-repo.png);
297}
298
299.menu-list-sour::before {
300    content: url(xenea/menu/list-sour.png);
301}
302
303.menu-list-subm::before {
304    content: url(xenea/menu/list-indi.png);
305}
306
307.menu-calendar .nav-link::before {
308    content: url(xenea/menu/calendar.png);
309}
310
311.menu-calendar-day::before {
312    content: url(xenea/menu/calendar-calendar.png);
313}
314
315.menu-calendar-month::before {
316    content: url(xenea/menu/calendar-calendar.png);
317}
318
319.menu-calendar-year::before {
320    content: url(xenea/menu/calendar-calendar.png);
321}
322
323.menu-report .nav-link::before {
324    content: url(xenea/menu/report.png);
325}
326
327.menu-report .dropdown-item::before {
328    content: url(xenea/menu/report-report.png);
329}
330
331.menu-search .nav-link::before {
332    content: url(xenea/menu/search.png);
333}
334
335.menu-search .dropdown-item::before {
336    content: url(xenea/menu/search-search.png);
337}
338
339.menu-faq .nav-link::before {
340    content: url(xenea/menu/faq.png);
341}
342
343.menu-clippings .nav-link::before {
344    content: url(xenea/menu/clippings.png);
345}
346
347.menu-clippings-add::before {
348    content: url(xenea/menu/clippings-add.png);
349}
350
351.menu-clippings-cart::before {
352    content: url(xenea/menu/clippings-cart.png);
353}
354
355.menu-clippings-download::before {
356    content: url(xenea/menu/edit-preferences.png);
357}
358
359.menu-clippings-empty::before {
360    content: url(xenea/menu/edit-delete.png);
361}
362
363.menu-story .nav-link::before {
364    content: url(xenea/menu/story.png);
365}
366
367.wt-main-container {
368    /* Space between the header/footer and the main content. */
369    padding-top: 1rem;
370    padding-bottom: 1rem;
371}
372
373.wt-main {
374}
375
376.wt-messages {
377}
378
379.wt-page-title {
380    text-align: center;
381}
382
383.wt-page-options {
384}
385
386.wt-page-content {
387}
388
389.wt-page-options .form-group {
390    margin-bottom: 2px;
391}
392
393.wt-page-options-label {
394    color: #006;
395    background-color: #95b8e0;
396    border-left: 2px solid transparent;
397    border-right: 2px solid transparent;
398}
399
400.wt-page-options-value {
401    background-color: #ecf5ff;
402    border: thin solid #c3dfff;
403    padding: 0.25rem 0.75rem;
404}
405
406.wt-page-content {
407    margin-top: 1rem;
408}
409
410.wt-footers {
411}
412
413.wt-footer {
414}
415
416.wt-footer-contact {
417}
418
419.wt-footer-cookies {
420    background: #aaa;
421    color: #fff;
422    transition: height 0.5s;
423}
424
425.wt-footer-page-views {
426}
427
428.wt-footer-powered-by {
429}
430
431.wt-footer-powered-by-webtrees {
432    width: 100px;
433    height: 21px;
434    content: url(images/powered-by-webtrees.png);
435}
436
437/*
438 * The tree/user home pages
439 *
440 * wt-home-page / wt-user-page
441 * +---wt-main-blocks
442 * |   +---wt-block, wt-block-AAA
443 * |   +---wt-block, wt-block-BBB
444 * |   +---wt-block, wt-block-CCC
445 * +---wt-side-blocks
446 *     +---wt-block, wt-block-XXX
447 *     +---wt-block, wt-block-YYY
448 *     +---wt-block, wt-block-ZZZ
449 *
450 * Each block as the structure
451 * wt-block, wt-block-XXX
452 * +---wt-block-header, wt-block-header-XXX
453 * +---wt-block-content, wt-block-content-XXX
454 */
455
456.wt-block {
457    background-color: #edf7fd;
458    border: thin solid #81a9cb;
459}
460
461.wt-block-header {
462    background-color: #edf7fd;
463    border-bottom: none;
464    font-weight: bold;
465}
466
467.wt-block-content {
468}
469
470.wt-block-content .list_table {
471    border-spacing: 1px;
472    border: solid #81a9cb 1px;
473    border-right: 0;
474}
475
476.wt-block-content .list_value,
477.wt-block-content .list_value_wrap {
478    border: 0;
479    border-top: solid #81a9cb 1px;
480    border-right: solid #81a9cb 1px;
481}
482
483/*
484 * The individual page.
485 *
486 * wt-route-individual
487 * +---wt-header-wrapper
488 */
489
490.wt-individual-silhouette {
491    content: url(images/individual-silhouette-unknown.png);
492}
493
494.wt-individual-silhouette-f {
495    content: url(images/individual-silhouette-female.png);
496}
497
498.wt-individual-silhouette-m {
499    content: url(images/individual-silhouette-male.png);
500}
501
502/*
503 * Chart-boxes are used to build the various charts.
504 * Each type of chart will set its own size and hide/show content.
505 *
506 * wt-chart-box
507 * +--- wt-chart-box-thumbnail
508 * +--- wt-chart-box-extra
509 *      +--- wt-chart-box-zoom
510 *           +--- wt-chart-box-icon
511 *           +--- wt-chart-box-dropdown wt-chart-box-zoom-dropdown
512 *      +--- wt-chart-box-links
513 *           +--- wt-chart-box-icon
514 *           +--- wt-chart-box-dropdown wt-chart-box-links-dropdown
515 * +--- wt-chart-box-name
516 * +--- wt-chart-box-lifespan
517 * +--- wt-chart-box-facts
518 *     +--- wt-chart-box-fact
519 */
520.wt-chart-box,
521.wt-chart-box-menu {
522    background: var(--sex-u-bg);
523    border: dashed var(--sex-u-fg) thin;
524}
525
526.wt-chart-box {
527    height: 5rem;
528    padding: 2px;
529    line-height: 1.1;
530}
531
532.wt-chart-box-f,
533.wt-chart-box-f .wt-chart-box-dropdown {
534    background: var(--sex-f-bg);
535    border: solid var(--sex-f-fg) thin;
536}
537
538.wt-chart-box-m,
539.wt-chart-box-m .wt-chart-box-dropdown {
540    background: var(--sex-m-bg);
541    border: solid var(--sex-m-fg) thin;
542}
543
544#content #home-page {
545    margin-left: 5px;
546}
547
548/* ====== Round Corners ======== */
549
550a {
551    color: #00f;
552    text-decoration: none;
553}
554
555a:hover {
556    color: #f00;
557    text-decoration: none;
558}
559
560:focus {
561    outline-style: none;
562}
563
564.flash-messages {
565    clear: both;
566    text-align: center;
567}
568
569img.block {
570    border: 0;
571    height: 25px;
572    vertical-align: middle;
573}
574
575.topbottombar {
576    background-color: #c3dfff;
577    color: #fff;
578    font-size: 12px;
579    font-weight: bold;
580    padding: 4px;
581    text-align: center;
582}
583
584.button {
585    width: 60px;
586}
587
588.alpha_index {
589    color: #999;
590}
591
592.news_box:target,
593#gedcom_stats:target {
594    background-color: #ffc;
595}
596
597/* families tab person box */
598table.center {
599    margin-left: auto;
600    margin-right: auto;
601}
602
603.list_table {
604    margin: 0 auto;
605}
606
607.list_label,
608.list_label_wrap {
609    color: #006;
610    font-size: 12px;
611    background-color: #c3dfff;
612    border: solid #81a9cb 1px;
613    font-weight: bold;
614    text-align: center;
615}
616
617.list_value,
618.list_value_wrap {
619    background-color: #edf7fd;
620    font-size: 12px;
621    border: solid #81a9cb 1px;
622    vertical-align: top;
623    padding: 4px;
624}
625
626.list_label,
627.list_value {
628    white-space: nowrap;
629}
630
631.list_label_wrap,
632.list_value_wrap {
633    white-space: normal;
634}
635
636div.fact_SHARED_NOTE {
637    clear: both;
638}
639
640/* Table of genealogical facts */
641.wt-facts-table caption {
642    caption-side: top;
643}
644
645.wt-facts-table th {
646    background-color: #c3dfff;
647    color: #006;
648    text-align: center;
649    font-weight: normal;
650    min-width: 20%;
651}
652
653.wt-facts-table td {
654    background-color: #ecf5ff;
655    border: solid #c3dfff 1px;
656}
657
658.wt-facts-table .wt-gender-M td {
659    background-color: #f0f9ff;
660    border-color: #84beff;
661}
662
663.wt-facts-table .wt-gender-F td {
664    background-color: #fff0f0;
665    border-color: #ff2080;
666}
667
668.name1 {
669    font-weight: bold;
670    font-size: 12px;
671}
672
673.name2 {
674    font-size: 16px;
675    }
676
677a:hover .name1, a:hover .name2 {
678    color: #f00;
679    font-weight: bold;
680    font-size: 12px;
681}
682
683.details_label {
684    font-weight: bold;
685}
686
687.date {
688    color: #337;
689}
690
691.label {
692    font-weight: bold;
693}
694
695.error {
696    color: #d00;
697    font-weight: bold;
698}
699
700.largeError {
701    color: #d00;
702    font-size: large;
703    font-weight: bold;
704}
705
706.warning {
707    color: #f00;
708    font-weight: bold;
709}
710
711.indent {
712    padding-left: 20px;
713}
714
715.thumbnail {
716    height: auto;
717    padding: 3px;
718}
719
720.icon {
721    border: 0;
722    padding: 0 5px;
723}
724
725.subheaders {
726    font-weight: bold;
727    font-size: 15px;
728    margin-top: 15px;
729    vertical-align: bottom;
730}
731
732.parentdeath {
733    border: thin solid #888;
734    padding: 1px;
735}
736
737.selected-option {
738    background-color: #edf7fd;
739}
740
741.border1 {
742    border: solid #000 1px;
743}
744
745.journal_box {
746    padding: 3pt;
747    border: thin solid #aaa;
748    overflow: visible;
749}
750
751.news_box {
752    background-color: #edf7fd;
753    border-top: solid #81a9cb 1px;
754}
755
756.news_title {
757    font-weight: bold;
758    font-size: 14px;
759}
760
761.news_date {
762    margin-bottom: 12px;
763}
764
765.current_day {
766    font-weight: bold;
767    font-size: 16px;
768}
769
770.cal_day {
771    font-weight: bold;
772}
773
774.rtl_cal_day {
775    color: #00f;
776    font-weight: bold;
777}
778
779#user-page h1 {
780    margin: 0.25em auto 0.6em;
781}
782
783.tvertline {
784    vertical-align: bottom;
785}
786
787#childbox {
788    padding: 5px;
789    position: absolute;
790    display: none;
791    text-align: start;
792    white-space: nowrap;
793    top: 20px;
794    left: 0;
795}
796
797.layout3 #childbox {
798    top: auto;
799    bottom: 20px;
800}
801
802#childbox a.name1 {
803    display: block;
804    margin-left: 5px;
805}
806
807.person0 {
808    background-color: #aaf;
809    border: outset #aaf 1px;
810    vertical-align: top;
811}
812
813.person1 {
814    background-color: #afa;
815    border: outset #afa 1px;
816    vertical-align: top;
817}
818
819.person2 {
820    background-color: #faa;
821    border: outset #faa 1px;
822    vertical-align: top;
823}
824
825.person3 {
826    background-color: #55f;
827    border: outset #55f 1px;
828    vertical-align: top;
829}
830
831.person4 {
832    background-color: #f55;
833    border: outset #f55 1px;
834    vertical-align: top;
835}
836
837.person5 {
838    background-color: #5f5;
839    border: outset #5f5 1px;
840    vertical-align: top;
841}
842
843.starredname {
844    text-decoration: underline;
845}
846
847.search_hit {
848    background-color: #ff0;
849}
850
851.descriptionbox {
852    color: #006;
853    font-size: 12px;
854    background-color: #c3dfff;
855    vertical-align: top;
856    padding: 3px;
857}
858
859.optionbox {
860    background-color: #ecf5ff;
861    font-size: 1rem;
862    border: solid #c3dfff 1px;
863    vertical-align: top;
864    white-space: nowrap;
865    padding: 3px;
866}
867
868.red {
869    color: #f00;
870}
871
872.wt-associate-fact,
873.wt-relation-fact,
874.wt-historic-fact {
875    opacity: 0.8;
876}
877
878.messagebox {
879    background-color: #c2ceef;
880    border: solid #81a9cb 1px;
881}
882
883/* ---Pending edits--- */
884.wt-new {
885    outline: solid blue 1px;
886}
887
888.wt-old {
889    outline: solid red 1px;
890}
891
892.tag_cloud {
893    text-align: center;
894}
895
896.tag_cloud a {
897    white-space: nowrap;
898}
899
900.nowrap {
901    white-space: nowrap;
902}
903
904.wrap {
905    white-space: normal;
906}
907
908.statistics-page {
909    text-align: center;
910}
911
912.gchart {
913    border: solid #81a9cb 1px;
914}
915
916#facts_content dd {
917    float: left;
918    width: 70%;
919}
920
921/* this keeps the tag color the same when it is a link as when not */
922
923.place {
924    padding-top: 5px;
925}
926
927.filtersH,
928.filtersF {
929    margin: 4px;
930}
931
932.filtersH img {
933    margin-bottom: 2px;
934}
935
936.list-charts {
937    text-align: center;
938}
939
940#place-hierarchy h2,
941#place-hierarchy h4 {
942    text-align: center;
943}
944
945/* ==== FAQ table styles ===== */
946table.faq {
947    background-color: #e0e0e0;
948    margin: 5px 0 50px 5px;
949    width: 98%;
950}
951
952table.faq tr:nth-child(odd) td {
953    background-color: #e7eef3;
954}
955
956div.faq_title {
957    background-color: #e0e0e0;
958    margin: 1em 0;
959    padding: .25em;
960    font-weight: bold;
961    width: 98%;
962}
963
964div.faq_body {
965    clear: both;
966    padding: 0 1em;
967}
968
969.faq_top {
970    float: right;
971}
972
973/* === Positioning edit, copy, delete links === */
974/* General use */
975.editfacts {
976    clear: left;
977    padding-top: 15px;
978}
979
980#indi_note {
981    margin: 0 0 5px;
982}
983
984.indi_table {
985    clear: left;
986}
987
988#indi_note .fact_NOTE {
989    float: left;
990    margin: 0 5px 0 0;
991}
992
993#indi_note .fact_SOUR {
994    margin: 3px 0;
995}
996
997#indi_note .fact_SOUR a {
998    font-size: 100%;
999}
1000
1001#indi_note .fact_NOTE,
1002#indi_note .fact_SOUR {
1003    clear: both;
1004}
1005
1006.odometer {
1007    font-family: courier, monospace;
1008    font-weight: bold;
1009    background: #000;
1010    color: #fff;
1011}
1012
1013/* Sidebar - Family navigator */
1014.wt-family-navigator-dropdown {
1015    background: #edf7fd;
1016}
1017
1018.wt-family-navigator-dropdown-heading {
1019    font-weight: bold;
1020    font-size: inherit;
1021    color: inherit;
1022}
1023
1024/* Sidebar - Descendants */
1025#sb_content_descendancy {
1026    margin-top: 5px;
1027}
1028
1029#sb_desc_content {
1030    margin-left: 3px;
1031    font-size: 0.8em;
1032}
1033
1034#sb_desc_content ul {
1035    padding: 0;
1036    margin: 0;
1037}
1038
1039.sb_desc_indi_li {
1040    list-style-type: none;
1041}
1042
1043/* Individuals and Families */
1044#sidebar-content-individuals,
1045#sidebar-content-families {
1046    margin-top: 5px;
1047}
1048
1049.sb_indi_surname_li,
1050.sb_fam_surname_li {
1051    list-style-image: url(icons/plus.png);
1052}
1053
1054.name_tree_div ul {
1055    padding: 0;
1056    margin: 0;
1057}
1058
1059.name_tree_div li {
1060    list-style: none;
1061    margin: 0;
1062    padding: 0;
1063}
1064
1065/* Clippings */
1066#sb_clippings_content ul {
1067    padding: 0;
1068    margin: 0;
1069}
1070
1071#sb_clippings_content li {
1072    list-style: none;
1073    margin: 0;
1074    padding: 0;
1075    white-space: nowrap;
1076}
1077
1078/* Stories module */
1079.story_title {
1080    padding-top: 12px;
1081    font-size: 13px;
1082    height: 32px;
1083    font-weight: bold;
1084}
1085
1086.story_body {
1087    padding: 20px;
1088    white-space: normal;
1089}
1090
1091.story_edit {
1092    padding: 12px;
1093}
1094
1095/* Stories module */
1096.story_title {
1097    padding-top: 12px;
1098    font-size: 13px;
1099    height: 32px;
1100    font-weight: bold;
1101}
1102
1103.story_body {
1104    padding: 20px;
1105    white-space: normal;
1106}
1107
1108.story_edit {
1109    padding: 12px;
1110}
1111
1112/*-- Fan chart ---- */
1113.fan_chart_menu {
1114    background: #fff;
1115    position: absolute;
1116    display: none;
1117    z-index: 100;
1118}
1119
1120#fan_chart ul {
1121    list-style-type: none;
1122    margin: 0;
1123}
1124
1125/* Lifespans chart */
1126.wt-lifespans-subtitle {
1127    text-align: center;
1128}
1129
1130.wt-lifespans-scale {
1131    white-space: nowrap;
1132}
1133
1134.wt-lifespans-decade {
1135    width: 70px;
1136    height: 60px;
1137    display: inline-block;
1138    background-image: url(images/lifespan-decade.png);
1139    background-position-y: bottom;
1140    background-repeat: no-repeat;
1141    background-size: 70px 37px;
1142}
1143
1144.wt-lifespans-individuals {
1145    background: #fafafa;
1146}
1147
1148.wt-lifespans-individual {
1149
1150}
1151
1152.wt-lifespans-summary {
1153    background: #ffffff;
1154    border: thin solid #000;
1155    z-index: 1;
1156}
1157
1158.wt-lifespans-summary-link {
1159    font-weight: bold;
1160}
1161
1162/*-- timeline  --*/
1163#timeline_chart {
1164    position: relative;
1165    top: 0;
1166    left: 0;
1167}
1168
1169/*
1170 * Any element that is loaded dynamically has the class wt-ajax-load.
1171 * We can provide a "loading" placeholder for empty elements with this class.
1172 */
1173.wt-ajax-load:empty {
1174    height: 32px;
1175    background: url(images/loading-32x32.gif) no-repeat 50% 50%;
1176}
1177
1178/*
1179 * Default icons are provided by FontAwesome.
1180 */
1181.wt-icon-anniversary {
1182    content: url(icons/anniversary.png);
1183}
1184
1185.wt-icon-arrow-down {
1186    content: url(xenea/icons/arrow-down.png);
1187}
1188
1189a > .wt-icon-arrow-down:hover {
1190    content: url(xenea/icons/arrow-down-hover.png);
1191}
1192
1193.wt-icon-arrow-left {
1194    content: url(xenea/icons/arrow-left.png);
1195}
1196
1197a > .wt-icon-arrow-left:hover {
1198    content: url(xenea/icons/arrow-left-hover.png);
1199}
1200
1201.wt-icon-arrow-right {
1202    content: url(xenea/icons/arrow-right.png);
1203}
1204
1205a > .wt-icon-arrow-right:hover {
1206    content: url(xenea/icons/arrow-right-hover.png);
1207}
1208
1209.wt-icon-arrow-up {
1210    content: url(xenea/icons/arrow-up.png);
1211}
1212
1213a > .wt-icon-arrow-up:hover {
1214    content: url(xenea/icons/arrow-up-hover.png);
1215}
1216
1217.wt-icon-bing-maps {
1218    content: url(icons/bing-maps.png);
1219}
1220
1221.wt-icon-calendar {
1222    content: url(icons/calendar.png)
1223}
1224
1225.wt-icon-collapse {
1226}
1227
1228.wt-icon-coordinates {
1229    content: url(icons/coordinates.png)
1230}
1231
1232.wt-icon-copy {
1233    content: url(icons/copy.png)
1234}
1235
1236.wt-icon-delete {
1237    content: url(icons/delete.png);
1238}
1239
1240.wt-icon-edit {
1241    content: url(icons/edit.png);
1242}
1243
1244.wt-icon-expand {
1245}
1246
1247.wt-icon-family {
1248    content: url(icons/family.png);
1249}
1250
1251.wt-icon-google-maps {
1252    content: url(icons/google-maps.png);
1253}
1254
1255.wt-icon-help {
1256    content: url(xenea/icons/help.png);
1257}
1258
1259.wt-icon-individual {
1260    content: url(icons/individual.png);
1261}
1262
1263.wt-icon-keyboard {
1264    content: url(icons/keyboard.png);
1265}
1266
1267.wt-icon-media {
1268    content: url(icons/media.png);
1269}
1270
1271.wt-icon-note {
1272    content: url(icons/note.png);
1273}
1274
1275.wt-icon-openstreetmap {
1276    content: url(icons/openstreetmap.png);
1277}
1278
1279.wt-icon-preferences {
1280    content: url(xenea/icons/preferences.png);
1281}
1282
1283.wt-icon-reorder {
1284    content: url(icons/reorder.png);
1285}
1286
1287.wt-icon-repository {
1288    content: url(icons/repository.png);
1289}
1290
1291.wt-icon-sex {
1292    height: 1em;
1293}
1294
1295.wt-icon-sex-f {
1296    content: url(icons/sex-female.png);
1297}
1298
1299.wt-icon-sex-m {
1300    content: url(icons/sex-male.png);
1301}
1302
1303.wt-icon-sex-u {
1304    content: url(icons/sex-unknown.png);
1305}
1306
1307.wt-icon-sex-x {
1308    content: url(icons/sex-unknown.png);
1309}
1310
1311.wt-icon-source {
1312    content: url(icons/source.png);
1313}
1314
1315.wt-icon-submitter {
1316    content: url(icons/individual.png);
1317}
1318
1319.wt-icon-warning {
1320    content: url(icons/warning.png);
1321}
1322
1323.wt-icon-zoom-in {
1324    content: url(xenea/icons/zoom-in.png);
1325}
1326
1327.wt-icon-zoom-out {
1328    content: url(xenea/icons/zoom-out.png);
1329}
1330
1331/* Fact icons */
1332.wt-fact-icon {
1333    display: block;
1334    margin: 1rem auto;
1335    content: url(facts/NULL.png);
1336}
1337
1338.wt-fact-icon-ADDR {
1339    content: url(facts/ADDR.png);
1340}
1341
1342.wt-fact-icon-ADOP {
1343    content: url(facts/ADOP.png);
1344}
1345
1346.wt-fact-icon-AFN,
1347.wt-fact-icon-REFN,
1348.wt-fact-icon-RFN,
1349.wt-fact-icon-RIN,
1350.wt-fact-icon-_UID {
1351    content: url(facts/REFN.png);
1352}
1353
1354.wt-fact-icon-ASSO {
1355    content: url(facts/ADOP.png);
1356}
1357
1358.wt-fact-icon-BIRT {
1359    content: url(facts/BIRT.png);
1360}
1361
1362.wt-fact-icon-BURI {
1363    content: url(facts/BURI.png);
1364}
1365
1366.wt-fact-icon-CEME {
1367    content: url(facts/CEME.png);
1368}
1369
1370.wt-fact-icon-CENS {
1371    content: url(facts/CENS.png);
1372}
1373
1374.wt-fact-icon-CHAN {
1375    content: url(facts/CHAN.png);
1376}
1377
1378.wt-fact-icon-CHR,
1379.wt-fact-icon-BAPL,
1380.wt-fact-icon-BAPM {
1381    content: url(facts/CHR.png);
1382}
1383
1384.wt-fact-icon-CONF,
1385.wt-fact-icon-CONL {
1386    content: url(facts/CONF.png);
1387}
1388
1389.wt-fact-icon-DEAT {
1390    content: url(facts/DEAT.png);
1391}
1392
1393.wt-fact-icon-ANUL,
1394.wt-fact-icon-DIV {
1395    content: url(facts/DIV.png);
1396}
1397
1398.wt-fact-icon-DIVF {
1399    content: url(facts/DIVF.png);
1400}
1401
1402.wt-fact-icon-EMAIL {
1403    content: url(facts/EMAIL.png);
1404}
1405
1406.wt-fact-icon-EMIG {
1407    content: url(facts/EMIG.png);
1408}
1409
1410.wt-fact-icon-ENGA,
1411.wt-fact-icon-MARB {
1412    content: url(facts/ENGA.png);
1413}
1414
1415.wt-fact-icon-EVEN {
1416    content: url(facts/EVEN.png);
1417}
1418
1419.wt-fact-icon-FACT {
1420    content: url(facts/FACT.png);
1421}
1422
1423.wt-fact-icon-IMMI {
1424    content: url(facts/IMMI.png);
1425}
1426
1427.wt-fact-icon-MARR,
1428.wt-fact-icon-SLGS {
1429    content: url(facts/MARR.png);
1430}
1431
1432.wt-fact-icon-OCCU {
1433    content: url(facts/OCCU.png);
1434}
1435
1436.wt-fact-icon-ORDN {
1437    content: url(facts/ORDN.png);
1438}
1439
1440.wt-fact-icon-PHON {
1441    content: url(facts/PHON.png);
1442}
1443
1444.wt-fact-icon-PROP,
1445.wt-fact-icon-RESI {
1446    content: url(facts/RESI.png);
1447}
1448
1449.wt-fact-icon-WWW {
1450    content: url(facts/WWW.png);
1451}
1452
1453.wt-fact-icon-_MDCL {
1454    content: url(facts/_MDCL.png);
1455}
1456
1457.wt-fact-icon-_MILI {
1458    content: url(facts/_MILI.png);
1459}
1460
1461.wt-fact-icon-_NMAR {
1462    content: url(facts/_NMAR.png);
1463}
1464
1465.wt-fact-icon-_NMR {
1466    content: url(facts/MARR.png);
1467}
1468
1469.wt-fact-icon-_SEPR {
1470    content: url(facts/_SEPR.png);
1471}
1472
1473.wt-fact-icon-_TODO {
1474    content: url(facts/_TODO.png);
1475}
1476
1477/* Miscellaneous images */
1478.icon-cfamily {
1479    content: url(xenea/images/cfamily.png);
1480}
1481
1482.icon-childless {
1483    content: url(images/childless.png);
1484}
1485
1486.icon-children {
1487    content: url(images/children.png);
1488}
1489
1490.icon-edit_indi {
1491    content: url(xenea/images/edit_indi.png);
1492}
1493
1494.icon-fam-list {
1495    content: url(xenea/images/cfamily.png);
1496}
1497
1498.icon-indi-list {
1499    content: url(xenea/images/indis.png);
1500}
1501
1502.icon-loading-small {
1503    content: url(images/indicator.gif);
1504}
1505
1506.icon-minus {
1507    content: url(icons/minus.png);
1508}
1509
1510.icon-mypage {
1511    content: url(xenea/images/mypage.png);
1512}
1513
1514.icon-plus {
1515    content: url(icons/plus.png);
1516}
1517
1518.icon-resn-confidential {
1519    content: url(images/resn_confidential.png);
1520}
1521
1522.icon-resn-locked {
1523    content: url(images/resn_locked.png);
1524}
1525
1526.icon-resn-none {
1527    content: url(images/resn_none.png);
1528}
1529
1530.icon-resn-privacy {
1531    content: url(images/resn_privacy.png);
1532}
1533
1534.icon-rings {
1535    content: url(images/rings.png);
1536}
1537
1538.icon-selected {
1539    content: url(xenea/images/selected.png);
1540}
1541
1542/* Silhouettes on charts */
1543.icon-silhouette-F {
1544    content: url(xenea/images/silhouette_female_small.png);
1545}
1546
1547.icon-silhouette-M {
1548    content: url(xenea/images/silhouette_male_small.png);
1549}
1550
1551.icon-silhouette-U {
1552    content: url(xenea/images/silhouette_unknown_small.png);
1553}
1554
1555.icon-indis {
1556    content: url(xenea/images/indis.png);
1557}
1558
1559.icon-patriarch {
1560    content: url(xenea/images/patriarch.png);
1561}
1562
1563.icon-pedigree {
1564    content: url(xenea/images/pedigree.png);
1565}
1566
1567.icon-sfamily {
1568    content: url(xenea/images/sfamily.png);
1569}
1570
1571.icon-user_add {
1572    content: url(xenea/images/user_add.png);
1573}
1574
1575/* Census assistant */
1576.wt-census-assistant-form-control:focus {
1577    min-width: 12rem;
1578}
1579
1580/* Some blocks show a reduced version on the right-hand side. */
1581.wt-side-blocks .wt-side-block-optional {
1582    display: none !important;
1583}
1584
1585/* my page chart enhancements */
1586.wt-block-content-charts {
1587    overflow: auto;
1588}
1589
1590/* Some charts are wider than the page. */
1591.wt-chart {
1592    overflow-x: auto;
1593    overflow-y: hidden;
1594}
1595
1596/* Fit thumbnail into parent on charts */
1597.select2-selection.select2-selection--single {
1598    min-height: 36px;
1599    height: auto;
1600    padding: 2px 0;
1601}
1602
1603.select2-container .select2-selection--single .select2-selection__rendered {
1604    padding-left: 2px;
1605}
1606
1607.select2-selection--single .NAME {
1608    padding-left: 4px;
1609}
1610
1611/* Some menus (e.g. languages) can be longer than a page */
1612.dropdown-menu {
1613    max-height: 30rem;
1614    overflow-x: hidden;
1615}
1616
1617/* Forms */
1618.col-form-label {
1619    font-weight: bold;
1620}
1621