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