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