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