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