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