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