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