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