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