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