xref: /webtrees/resources/css/xenea.css (revision e8f2d5646b882a6aeaefe04fcc9625e1418a4a2a)
1/**
2 * webtrees: online genealogy
3 * Copyright (C) 2022 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-label {
395    color: #006;
396    background-color: #95b8e0;
397    border-left: 2px solid transparent;
398    border-right: 2px solid transparent;
399}
400
401.wt-page-options-value {
402    background-color: #ecf5ff;
403    border: thin solid #c3dfff;
404    padding: 0.25rem 0.75rem;
405}
406
407.wt-page-content {
408    margin-top: 1rem;
409}
410
411.wt-footers {
412}
413
414.wt-footer {
415}
416
417.wt-footer-contact {
418}
419
420.wt-footer-cookies {
421    background: #aaa;
422    color: #fff;
423    transition: height 0.5s;
424}
425
426.wt-footer-page-views {
427}
428
429.wt-footer-powered-by {
430}
431
432.wt-footer-powered-by-webtrees {
433    width: 100px;
434    height: 21px;
435    content: url(images/powered-by-webtrees.png);
436}
437
438/*
439 * The tree/user home pages
440 *
441 * wt-home-page / wt-user-page
442 * +---wt-main-blocks
443 * |   +---wt-block, wt-block-AAA
444 * |   +---wt-block, wt-block-BBB
445 * |   +---wt-block, wt-block-CCC
446 * +---wt-side-blocks
447 *     +---wt-block, wt-block-XXX
448 *     +---wt-block, wt-block-YYY
449 *     +---wt-block, wt-block-ZZZ
450 *
451 * Each block as the structure
452 * wt-block, wt-block-XXX
453 * +---wt-block-header, wt-block-header-XXX
454 * +---wt-block-content, wt-block-content-XXX
455 */
456
457.wt-block {
458    background-color: #edf7fd;
459    border: thin solid #81a9cb;
460}
461
462.wt-block-header {
463    background-color: #edf7fd;
464    border-bottom: none;
465    font-weight: bold;
466}
467
468.wt-block-content {
469}
470
471.wt-block-content .list_table {
472    border-spacing: 1px;
473    border: solid #81a9cb 1px;
474    border-right: 0;
475}
476
477.wt-block-content .list_value,
478.wt-block-content .list_value_wrap {
479    border: 0;
480    border-top: solid #81a9cb 1px;
481    border-right: solid #81a9cb 1px;
482}
483
484/*
485 * The individual page.
486 *
487 * wt-route-individual
488 * +---wt-header-wrapper
489 */
490.wt-individual-silhouette-f {
491    content: url(images/individual-silhouette-female.png);
492}
493
494.wt-individual-silhouette-m {
495    content: url(images/individual-silhouette-male.png);
496}
497
498.wt-individual-silhouette-u,
499.wt-individual-silhouette-x {
500    content: url(images/individual-silhouette-unknown.png);
501}
502
503/*
504 * Chart-boxes are used to build the various charts.
505 * Each type of chart will set its own size and hide/show content.
506 *
507 * wt-chart-box
508 * +--- wt-chart-box-thumbnail
509 * +--- wt-chart-box-extra
510 *      +--- wt-chart-box-zoom
511 *           +--- wt-chart-box-icon
512 *           +--- wt-chart-box-dropdown wt-chart-box-zoom-dropdown
513 *      +--- wt-chart-box-links
514 *           +--- wt-chart-box-icon
515 *           +--- wt-chart-box-dropdown wt-chart-box-links-dropdown
516 * +--- wt-chart-box-name
517 * +--- wt-chart-box-lifespan
518 * +--- wt-chart-box-facts
519 *     +--- wt-chart-box-fact
520 */
521.wt-chart-box {
522    height: 5rem;
523    padding: 2px;
524    line-height: 1.1;
525}
526
527.wt-chart-box-f,
528.wt-chart-box-f .wt-chart-box-dropdown {
529    background: var(--sex-f-bg);
530    border: solid var(--sex-f-fg) thin;
531}
532
533.wt-chart-box-m,
534.wt-chart-box-m .wt-chart-box-dropdown {
535    background: var(--sex-m-bg);
536    border: solid var(--sex-m-fg) thin;
537}
538
539.wt-chart-box-u,
540.wt-chart-box-u .wt-chart-box-dropdown {
541    background: var(--sex-u-bg);
542    border: solid var(--sex-u-fg) thin;
543}
544
545.wt-chart-box-x,
546.wt-chart-box-x .wt-chart-box-dropdown {
547    background: var(--sex-x-bg);
548    border: solid var(--sex-x-fg) thin;
549}
550
551#content #home-page {
552    margin-left: 5px;
553}
554
555/* ====== Round Corners ======== */
556
557:focus {
558    outline-style: none;
559}
560
561.flash-messages {
562    clear: both;
563    text-align: center;
564}
565
566img.block {
567    border: 0;
568    height: 25px;
569    vertical-align: middle;
570}
571
572.button {
573    width: 60px;
574}
575
576.alpha_index {
577    color: #999;
578}
579
580.news_box:target,
581#gedcom_stats:target {
582    background-color: #ffc;
583}
584
585/* families tab person box */
586table.center {
587    margin-left: auto;
588    margin-right: auto;
589}
590
591.list_table {
592    margin: 0 auto;
593}
594
595.list_label,
596.list_label_wrap {
597    color: #006;
598    font-size: 12px;
599    background-color: #c3dfff;
600    border: solid #81a9cb 1px;
601    font-weight: bold;
602    text-align: center;
603}
604
605.list_value,
606.list_value_wrap {
607    background-color: #edf7fd;
608    font-size: 12px;
609    border: solid #81a9cb 1px;
610    vertical-align: top;
611    padding: 4px;
612}
613
614.list_label,
615.list_value {
616    white-space: nowrap;
617}
618
619.list_label_wrap,
620.list_value_wrap {
621    white-space: normal;
622}
623
624div.fact_SHARED_NOTE {
625    clear: both;
626}
627
628/* Table of genealogical facts */
629.wt-facts-table caption {
630    caption-side: top;
631}
632
633.wt-facts-table th {
634    background-color: #c3dfff;
635    color: #006;
636    text-align: center;
637    font-weight: normal;
638    min-width: 20%;
639}
640
641.wt-facts-table td {
642    background-color: #ecf5ff;
643    border: 1px solid #c3dfff;
644}
645
646.wt-facts-table .wt-sex-m > td {
647    background-color: var(--sex-m-bg);
648    border: solid var(--sex-m-fg) thin;
649}
650
651.wt-facts-table .wt-sex-f > td {
652    background-color: var(--sex-f-bg);
653    border: solid var(--sex-f-fg) thin;
654}
655
656.wt-facts-table .wt-sex-u > td {
657    background-color: var(--sex-u-bg);
658    border: solid var(--sex-u-fg) thin;
659}
660
661.wt-facts-table .wt-sex-x > td {
662    background-color: var(--sex-x-bg);
663    border: solid var(--sex-x-fg) thin;
664}
665
666.details_label {
667    font-weight: bold;
668}
669
670.date {
671    color: #337;
672}
673
674.label {
675    font-weight: bold;
676}
677
678.error {
679    color: #d00;
680    font-weight: bold;
681}
682
683.indent {
684    padding-left: 20px;
685}
686
687.parentdeath {
688    border: thin solid #888;
689    padding: 1px;
690}
691
692.journal_box {
693    padding: 3pt;
694    border: thin solid #aaa;
695    overflow: visible;
696}
697
698.news_box {
699    background-color: #edf7fd;
700    border-top: solid #81a9cb 1px;
701}
702
703.news_title {
704    font-weight: bold;
705    font-size: 14px;
706}
707
708.news_date {
709    margin-bottom: 12px;
710}
711
712.current_day {
713    font-weight: bold;
714    font-size: 16px;
715}
716
717.cal_day {
718    font-weight: bold;
719}
720
721.rtl_cal_day {
722    color: #00f;
723    font-weight: bold;
724}
725
726#user-page h1 {
727    margin: 0.25em auto 0.6em;
728}
729
730.tvertline {
731    vertical-align: bottom;
732}
733
734#childbox {
735    padding: 5px;
736    position: absolute;
737    display: none;
738    text-align: start;
739    white-space: nowrap;
740    top: 20px;
741    left: 0;
742}
743
744.layout3 #childbox {
745    top: auto;
746    bottom: 20px;
747}
748
749.person0 {
750    background-color: #aaf;
751    border: outset #aaf 1px;
752    vertical-align: top;
753}
754
755.person1 {
756    background-color: #afa;
757    border: outset #afa 1px;
758    vertical-align: top;
759}
760
761.person2 {
762    background-color: #faa;
763    border: outset #faa 1px;
764    vertical-align: top;
765}
766
767.person3 {
768    background-color: #55f;
769    border: outset #55f 1px;
770    vertical-align: top;
771}
772
773.person4 {
774    background-color: #f55;
775    border: outset #f55 1px;
776    vertical-align: top;
777}
778
779.person5 {
780    background-color: #5f5;
781    border: outset #5f5 1px;
782    vertical-align: top;
783}
784
785.starredname {
786    text-decoration: underline;
787}
788
789.search_hit {
790    background-color: #ff0;
791}
792
793.descriptionbox {
794    color: #006;
795    font-size: 12px;
796    background-color: #c3dfff;
797    vertical-align: top;
798    padding: 3px;
799}
800
801.optionbox {
802    background-color: #ecf5ff;
803    font-size: 1rem;
804    border: solid #c3dfff 1px;
805    vertical-align: top;
806    white-space: nowrap;
807    padding: 3px;
808}
809
810.red {
811    color: #f00;
812}
813
814.wt-associate-fact,
815.wt-relation-fact,
816.wt-historic-fact {
817    opacity: 0.8;
818}
819
820.messagebox {
821    background-color: #c2ceef;
822    border: solid #81a9cb 1px;
823}
824
825/* ---Pending edits--- */
826.wt-new {
827    outline: solid blue 1px;
828}
829
830.wt-old {
831    outline: solid red 1px;
832}
833
834.nowrap {
835    white-space: nowrap;
836}
837
838.wrap {
839    white-space: normal;
840}
841
842.statistics-page {
843    text-align: center;
844}
845
846.gchart {
847    border: solid #81a9cb 1px;
848}
849
850#facts_content dd {
851    float: left;
852    width: 70%;
853}
854
855.filtersH,
856.filtersF {
857    margin: 4px;
858}
859
860.filtersH img {
861    margin-bottom: 2px;
862}
863
864.list-charts {
865    text-align: center;
866}
867
868#place-hierarchy h2,
869#place-hierarchy h4 {
870    text-align: center;
871}
872
873/* ==== FAQ table styles ===== */
874table.faq {
875    background-color: #e0e0e0;
876    margin: 5px 0 50px 5px;
877    width: 98%;
878}
879
880table.faq tr:nth-child(odd) td {
881    background-color: #e7eef3;
882}
883
884div.faq_title {
885    background-color: #e0e0e0;
886    margin: 1em 0;
887    padding: .25em;
888    font-weight: bold;
889    width: 98%;
890}
891
892div.faq_body {
893    clear: both;
894    padding: 0 1em;
895}
896
897.faq_top {
898    float: right;
899}
900
901#indi_note {
902    margin: 0 0 5px;
903}
904
905.indi_table {
906    clear: left;
907}
908
909#indi_note .fact_NOTE {
910    float: left;
911    margin: 0 5px 0 0;
912}
913
914#indi_note .fact_SOUR {
915    margin: 3px 0;
916}
917
918#indi_note .fact_SOUR a {
919    font-size: 100%;
920}
921
922#indi_note .fact_NOTE,
923#indi_note .fact_SOUR {
924    clear: both;
925}
926
927.odometer {
928    font-family: courier, monospace;
929    font-weight: bold;
930    background: #000;
931    color: #fff;
932}
933
934/* Sidebar - Family navigator */
935.wt-family-navigator-dropdown {
936    background: #edf7fd;
937}
938
939.wt-family-navigator-dropdown-heading {
940    font-weight: bold;
941    font-size: inherit;
942    color: inherit;
943}
944
945/* Sidebar - Descendants */
946#sb_content_descendancy {
947    margin-top: 5px;
948}
949
950#sb_desc_content {
951    margin-left: 3px;
952    font-size: 0.8em;
953}
954
955#sb_desc_content ul {
956    padding: 0;
957    margin: 0;
958}
959
960.sb_desc_indi_li {
961    list-style-type: none;
962}
963
964/* Individuals and Families */
965#sidebar-content-individuals,
966#sidebar-content-families {
967    margin-top: 5px;
968}
969
970.sb_indi_surname_li,
971.sb_fam_surname_li {
972    list-style-image: url(icons/plus.png);
973}
974
975.name_tree_div ul {
976    padding: 0;
977    margin: 0;
978}
979
980.name_tree_div li {
981    list-style: none;
982    margin: 0;
983    padding: 0;
984}
985
986/* Clippings */
987#sb_clippings_content ul {
988    padding: 0;
989    margin: 0;
990}
991
992#sb_clippings_content li {
993    list-style: none;
994    margin: 0;
995    padding: 0;
996    white-space: nowrap;
997}
998
999/* Stories module */
1000.story_title {
1001    padding-top: 12px;
1002    font-size: 13px;
1003    height: 32px;
1004    font-weight: bold;
1005}
1006
1007.story_body {
1008    padding: 20px;
1009    white-space: normal;
1010}
1011
1012.story_edit {
1013    padding: 12px;
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/*-- Fan chart ---- */
1034.fan_chart_menu {
1035    background: #fff;
1036    position: absolute;
1037    display: none;
1038    z-index: 100;
1039}
1040
1041#fan_chart ul {
1042    list-style-type: none;
1043    margin: 0;
1044}
1045
1046/* Lifespans chart */
1047.wt-lifespans-subtitle {
1048    text-align: center;
1049}
1050
1051.wt-lifespans-scale {
1052    white-space: nowrap;
1053}
1054
1055.wt-lifespans-decade {
1056    width: 70px;
1057    height: 60px;
1058    display: inline-block;
1059    background-image: url(images/lifespan-decade.png);
1060    background-position-y: bottom;
1061    background-repeat: no-repeat;
1062    background-size: 70px 37px;
1063}
1064
1065.wt-lifespans-individuals {
1066    background: #fafafa;
1067}
1068
1069.wt-lifespans-individual {
1070
1071}
1072
1073.wt-lifespans-summary {
1074    background: #ffffff;
1075    border: thin solid #000;
1076    z-index: 1;
1077}
1078
1079.wt-lifespans-summary-link {
1080    font-weight: bold;
1081}
1082
1083/*-- timeline  --*/
1084#timeline_chart {
1085    position: relative;
1086    top: 0;
1087    left: 0;
1088}
1089
1090/*
1091 * Any element that is loaded dynamically has the class wt-ajax-load.
1092 * We can provide a "loading" placeholder for empty elements with this class.
1093 */
1094.wt-ajax-load:empty {
1095    height: 32px;
1096    background: url(images/loading-32x32.gif) no-repeat 50% 50%;
1097}
1098
1099/*
1100 * Default icons are provided by FontAwesome.
1101 */
1102.wt-icon-anniversary {
1103    content: url(icons/anniversary.png);
1104}
1105
1106.wt-icon-arrow-down {
1107    content: url(xenea/icons/arrow-down.png);
1108}
1109
1110a > .wt-icon-arrow-down:hover {
1111    content: url(xenea/icons/arrow-down-hover.png);
1112}
1113
1114.wt-icon-arrow-left {
1115    content: url(xenea/icons/arrow-left.png);
1116}
1117
1118a > .wt-icon-arrow-left:hover {
1119    content: url(xenea/icons/arrow-left-hover.png);
1120}
1121
1122.wt-icon-arrow-right {
1123    content: url(xenea/icons/arrow-right.png);
1124}
1125
1126a > .wt-icon-arrow-right:hover {
1127    content: url(xenea/icons/arrow-right-hover.png);
1128}
1129
1130.wt-icon-arrow-up {
1131    content: url(xenea/icons/arrow-up.png);
1132}
1133
1134a > .wt-icon-arrow-up:hover {
1135    content: url(xenea/icons/arrow-up-hover.png);
1136}
1137
1138.wt-icon-bing-maps {
1139    content: url(icons/bing-maps.png);
1140}
1141
1142.wt-icon-calendar {
1143    content: url(icons/calendar.png)
1144}
1145
1146.wt-icon-collapse {
1147}
1148
1149.wt-icon-coordinates {
1150    content: url(icons/coordinates.png)
1151}
1152
1153.wt-icon-copy {
1154    content: url(icons/copy.png)
1155}
1156
1157.wt-icon-delete {
1158    content: url(icons/delete.png);
1159}
1160
1161.wt-icon-edit {
1162    content: url(icons/edit.png);
1163}
1164
1165.wt-icon-expand {
1166}
1167
1168.wt-icon-family {
1169    content: url(icons/family.png);
1170}
1171
1172.wt-icon-google-maps {
1173    content: url(icons/google-maps.png);
1174}
1175
1176.wt-icon-help {
1177    content: url(xenea/icons/help.png);
1178}
1179
1180.wt-icon-individual {
1181    content: url(icons/individual.png);
1182}
1183
1184.wt-icon-keyboard {
1185    content: url(icons/keyboard.png);
1186}
1187
1188.wt-icon-media {
1189    content: url(icons/media.png);
1190}
1191
1192.wt-icon-note {
1193    content: url(icons/note.png);
1194}
1195
1196.wt-icon-openstreetmap {
1197    content: url(icons/openstreetmap.png);
1198}
1199
1200.wt-icon-preferences {
1201    content: url(xenea/icons/preferences.png);
1202}
1203
1204.wt-icon-reorder {
1205    content: url(icons/reorder.png);
1206}
1207
1208.wt-icon-repository {
1209    content: url(icons/repository.png);
1210}
1211
1212.wt-icon-sex {
1213    height: 1em;
1214}
1215
1216.wt-icon-sex-f {
1217    content: url(icons/sex-female.png);
1218}
1219
1220.wt-icon-sex-m {
1221    content: url(icons/sex-male.png);
1222}
1223
1224.wt-icon-sex-u {
1225    content: url(icons/sex-unknown.png);
1226}
1227
1228.wt-icon-sex-x {
1229    content: url(icons/sex-unknown.png);
1230}
1231
1232.wt-icon-source {
1233    content: url(icons/source.png);
1234}
1235
1236.wt-icon-submitter {
1237    content: url(icons/individual.png);
1238}
1239
1240.wt-icon-warning {
1241    content: url(icons/warning.png);
1242}
1243
1244.wt-icon-zoom-in {
1245    content: url(xenea/icons/zoom-in.png);
1246}
1247
1248.wt-icon-zoom-out {
1249    content: url(xenea/icons/zoom-out.png);
1250}
1251
1252/* Fact icons */
1253.wt-fact-icon {
1254    display: block;
1255    margin: 1rem auto;
1256    content: url(facts/NULL.png);
1257}
1258
1259.wt-fact-icon-ADDR {
1260    content: url(facts/ADDR.png);
1261}
1262
1263.wt-fact-icon-ADOP {
1264    content: url(facts/ADOP.png);
1265}
1266
1267.wt-fact-icon-AFN,
1268.wt-fact-icon-REFN,
1269.wt-fact-icon-RFN,
1270.wt-fact-icon-RIN,
1271.wt-fact-icon-_UID {
1272    content: url(facts/REFN.png);
1273}
1274
1275.wt-fact-icon-ASSO {
1276    content: url(facts/ADOP.png);
1277}
1278
1279.wt-fact-icon-BIRT {
1280    content: url(facts/BIRT.png);
1281}
1282
1283.wt-fact-icon-BURI {
1284    content: url(facts/BURI.png);
1285}
1286
1287.wt-fact-icon-CEME {
1288    content: url(facts/CEME.png);
1289}
1290
1291.wt-fact-icon-CENS {
1292    content: url(facts/CENS.png);
1293}
1294
1295.wt-fact-icon-CHAN {
1296    content: url(facts/CHAN.png);
1297}
1298
1299.wt-fact-icon-CHR,
1300.wt-fact-icon-BAPL,
1301.wt-fact-icon-BAPM {
1302    content: url(facts/CHR.png);
1303}
1304
1305.wt-fact-icon-CONF,
1306.wt-fact-icon-CONL {
1307    content: url(facts/CONF.png);
1308}
1309
1310.wt-fact-icon-DEAT {
1311    content: url(facts/DEAT.png);
1312}
1313
1314.wt-fact-icon-ANUL,
1315.wt-fact-icon-DIV {
1316    content: url(facts/DIV.png);
1317}
1318
1319.wt-fact-icon-DIVF {
1320    content: url(facts/DIVF.png);
1321}
1322
1323.wt-fact-icon-EMAIL {
1324    content: url(facts/EMAIL.png);
1325}
1326
1327.wt-fact-icon-EMIG {
1328    content: url(facts/EMIG.png);
1329}
1330
1331.wt-fact-icon-ENGA,
1332.wt-fact-icon-MARB {
1333    content: url(facts/ENGA.png);
1334}
1335
1336.wt-fact-icon-EVEN {
1337    content: url(facts/EVEN.png);
1338}
1339
1340.wt-fact-icon-FACT {
1341    content: url(facts/FACT.png);
1342}
1343
1344.wt-fact-icon-IMMI {
1345    content: url(facts/IMMI.png);
1346}
1347
1348.wt-fact-icon-MARR,
1349.wt-fact-icon-SLGS {
1350    content: url(facts/MARR.png);
1351}
1352
1353.wt-fact-icon-OCCU {
1354    content: url(facts/OCCU.png);
1355}
1356
1357.wt-fact-icon-ORDN {
1358    content: url(facts/ORDN.png);
1359}
1360
1361.wt-fact-icon-PHON {
1362    content: url(facts/PHON.png);
1363}
1364
1365.wt-fact-icon-PROP,
1366.wt-fact-icon-RESI {
1367    content: url(facts/RESI.png);
1368}
1369
1370.wt-fact-icon-WWW {
1371    content: url(facts/WWW.png);
1372}
1373
1374.wt-fact-icon-_MDCL {
1375    content: url(facts/_MDCL.png);
1376}
1377
1378.wt-fact-icon-_MILI {
1379    content: url(facts/_MILI.png);
1380}
1381
1382.wt-fact-icon-_NMAR {
1383    content: url(facts/_NMAR.png);
1384}
1385
1386.wt-fact-icon-_NMR {
1387    content: url(facts/MARR.png);
1388}
1389
1390.wt-fact-icon-_SEPR {
1391    content: url(facts/_SEPR.png);
1392}
1393
1394.wt-fact-icon-_TODO {
1395    content: url(facts/_TODO.png);
1396}
1397
1398/* Miscellaneous images */
1399.icon-cfamily {
1400    content: url(xenea/images/cfamily.png);
1401}
1402
1403.icon-childless {
1404    content: url(images/childless.png);
1405}
1406
1407.icon-children {
1408    content: url(images/children.png);
1409}
1410
1411.icon-edit_indi {
1412    content: url(xenea/images/edit_indi.png);
1413}
1414
1415.icon-fam-list {
1416    content: url(xenea/images/cfamily.png);
1417}
1418
1419.icon-indi-list {
1420    content: url(xenea/images/indis.png);
1421}
1422
1423.icon-loading-small {
1424    content: url(images/indicator.gif);
1425}
1426
1427.icon-minus {
1428    content: url(icons/minus.png);
1429}
1430
1431.icon-mypage {
1432    content: url(xenea/images/mypage.png);
1433}
1434
1435.icon-plus {
1436    content: url(icons/plus.png);
1437}
1438
1439.icon-resn-confidential {
1440    content: url(images/resn_confidential.png);
1441}
1442
1443.icon-resn-locked {
1444    content: url(images/resn_locked.png);
1445}
1446
1447.icon-resn-none {
1448    content: url(images/resn_none.png);
1449}
1450
1451.icon-resn-privacy {
1452    content: url(images/resn_privacy.png);
1453}
1454
1455.icon-rings {
1456    content: url(images/rings.png);
1457}
1458
1459.icon-selected {
1460    content: url(xenea/images/selected.png);
1461}
1462
1463/* Silhouettes on charts */
1464.icon-silhouette-f {
1465    content: url(xenea/images/silhouette_female_small.png);
1466}
1467
1468.icon-silhouette-m {
1469    content: url(xenea/images/silhouette_male_small.png);
1470}
1471
1472.icon-silhouette-u,
1473.icon-silhouette-x {
1474    content: url(xenea/images/silhouette_unknown_small.png);
1475}
1476
1477.icon-indis {
1478    content: url(xenea/images/indis.png);
1479}
1480
1481.icon-patriarch {
1482    content: url(xenea/images/patriarch.png);
1483}
1484
1485.icon-pedigree {
1486    content: url(xenea/images/pedigree.png);
1487}
1488
1489.icon-sfamily {
1490    content: url(xenea/images/sfamily.png);
1491}
1492
1493.icon-user_add {
1494    content: url(xenea/images/user_add.png);
1495}
1496
1497/* Census assistant */
1498.wt-census-assistant-form-control:focus {
1499    min-width: 12rem;
1500}
1501
1502/* Some blocks show a reduced version on the right-hand side. */
1503.wt-side-blocks .wt-side-block-optional {
1504    display: none !important;
1505}
1506
1507/* my page chart enhancements */
1508.wt-block-content-charts {
1509    overflow: auto;
1510}
1511
1512/* Some charts are wider than the page. */
1513.wt-chart {
1514    overflow-x: auto;
1515    overflow-y: hidden;
1516}
1517
1518/* Some menus (e.g. languages) can be longer than a page */
1519.dropdown-menu {
1520    max-height: 30rem;
1521    overflow-x: hidden;
1522}
1523
1524/* Forms */
1525.col-form-label {
1526    font-weight: bold;
1527}
1528