xref: /webtrees/resources/css/webtrees.css (revision 3340ecd27b8901a894bff51b7c40bfa2896a552b)
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.nowrap {
828    white-space: nowrap;
829}
830
831.wrap {
832    white-space: normal;
833}
834
835.statistics-page {
836    text-align: center;
837}
838
839.gchart {
840    border: solid #81a9cb 1px;
841}
842
843#facts_content dd {
844    float: left;
845    width: 70%;
846}
847
848td.descriptionbox a {
849    color: #fff;
850}
851
852/* this keeps the tag color the same when it is a link as when not */
853
854.place {
855    padding-top: 5px;
856}
857
858.filtersH,
859.filtersF {
860    margin: 4px;
861}
862
863.filtersH img {
864    margin-bottom: 2px;
865}
866
867.list-charts {
868    text-align: center;
869}
870
871#place-hierarchy h2,
872#place-hierarchy h4 {
873    text-align: center;
874}
875
876/* ==== FAQ table styles ===== */
877table.faq {
878    background-color: #e0e0e0;
879    margin: 5px 0 50px 5px;
880    width: 98%;
881}
882
883table.faq tr:nth-child(odd) td {
884    background-color: #e7eef3;
885}
886
887div.faq_title {
888    background-color: #e0e0e0;
889    margin: 1em 0;
890    padding: .25em;
891    font-weight: bold;
892    width: 98%;
893}
894
895div.faq_body {
896    clear: both;
897    padding: 0 1em;
898}
899
900.faq_top {
901    float: right;
902}
903
904/* === Positioning edit, copy, delete links === */
905/* General use */
906.editfacts {
907    clear: left;
908    padding-top: 15px;
909}
910
911#indi_note {
912    margin: 0 0 5px;
913}
914
915.indi_table {
916    clear: left;
917}
918
919#indi_note .fact_NOTE {
920    float: left;
921    margin: 0 5px 0 0;
922}
923
924#indi_note .fact_SOUR {
925    margin: 3px 0;
926}
927
928#indi_note .fact_SOUR a {
929    font-size: 100%;
930}
931
932#indi_note .fact_NOTE,
933#indi_note .fact_SOUR {
934    clear: both;
935}
936
937.odometer {
938    font-family: courier, monospace;
939    font-weight: bold;
940    background: #000;
941    color: #fff;
942}
943
944/* Sidebar - Family navigator */
945.wt-family-navigator-dropdown {
946    background: #edf7fd;
947}
948
949.wt-family-navigator-dropdown-heading {
950    font-weight: bold;
951    font-size: inherit;
952    color: inherit;
953}
954
955/* Sidebar - Descendants */
956#sb_content_descendancy {
957    margin-top: 5px;
958}
959
960#sb_desc_content {
961    margin-left: 3px;
962    font-size: 0.8em;
963}
964
965#sb_desc_content ul {
966    padding: 0;
967    margin: 0;
968}
969
970.sb_desc_indi_li {
971    list-style-type: none;
972}
973
974/* Individuals and Families */
975#sidebar-content-individuals,
976#sidebar-content-families {
977    margin-top: 5px;
978}
979
980.sb_indi_surname_li,
981.sb_fam_surname_li {
982    list-style-image: url(icons/plus.png);
983}
984
985.name_tree_div ul {
986    padding: 0;
987    margin: 0;
988}
989
990.name_tree_div li {
991    list-style: none;
992    margin: 0;
993    padding: 0;
994}
995
996/* Clippings */
997#sb_clippings_content ul {
998    padding: 0;
999    margin: 0;
1000}
1001
1002#sb_clippings_content li {
1003    list-style: none;
1004    margin: 0;
1005    padding: 0;
1006    white-space: nowrap;
1007}
1008
1009/* Stories module */
1010.story_title {
1011    padding-top: 12px;
1012    font-size: 13px;
1013    height: 32px;
1014    font-weight: bold;
1015}
1016
1017.story_body {
1018    padding: 20px;
1019    white-space: normal;
1020}
1021
1022.story_edit {
1023    padding: 12px;
1024}
1025
1026/*-- Fan chart ---- */
1027.fan_chart_menu {
1028    background: #fff;
1029    position: absolute;
1030    display: none;
1031    z-index: 100;
1032}
1033
1034#fan_chart ul {
1035    list-style-type: none;
1036    margin: 0;
1037}
1038
1039/* Lifespans chart */
1040.wt-lifespans-subtitle {
1041    text-align: center;
1042}
1043
1044.wt-lifespans-scale {
1045    white-space: nowrap;
1046}
1047
1048.wt-lifespans-decade {
1049    width: 70px;
1050    height: 60px;
1051    display: inline-block;
1052    background-image: url(images/lifespan-decade.png);
1053    background-position-y: bottom;
1054    background-repeat: no-repeat;
1055    background-size: 70px 37px;
1056}
1057
1058.wt-lifespans-individuals {
1059    background: #fafafa;
1060}
1061
1062.wt-lifespans-individual {
1063
1064}
1065
1066.wt-lifespans-summary {
1067    background: #ffffff;
1068    border: thin solid #000;
1069    z-index: 1;
1070}
1071
1072.wt-lifespans-summary-link {
1073    font-weight: bold;
1074}
1075
1076/*-- timeline  --*/
1077#timeline_chart {
1078    position: relative;
1079    top: 0;
1080    left: 0;
1081}
1082
1083/*
1084 * Any element that is loaded dynamically has the class wt-ajax-load.
1085 * We can provide a "loading" placeholder for empty elements with this class.
1086 */
1087.wt-ajax-load:empty {
1088    height: 32px;
1089    background: url(images/loading-32x32.gif) no-repeat 50% 50%;
1090}
1091
1092/*
1093 * Default icons are provided by FontAwesome.
1094 */
1095.wt-icon-anniversary {
1096    content: url(icons/anniversary.png);
1097}
1098
1099.wt-icon-arrow-down {
1100    content: url(webtrees/icons/arrow-down.png);
1101}
1102
1103a > .wt-icon-arrow-down:hover {
1104    content: url(webtrees/icons/arrow-down-hover.png);
1105}
1106
1107.wt-icon-arrow-left {
1108    content: url(webtrees/icons/arrow-left.png);
1109}
1110
1111a > .wt-icon-arrow-left:hover {
1112    content: url(webtrees/icons/arrow-left-hover.png);
1113}
1114
1115.wt-icon-arrow-right {
1116    content: url(webtrees/icons/arrow-right.png);
1117}
1118
1119a > .wt-icon-arrow-right:hover {
1120    content: url(webtrees/icons/arrow-right-hover.png);
1121}
1122
1123.wt-icon-arrow-up {
1124    content: url(webtrees/icons/arrow-up.png);
1125}
1126
1127a > .wt-icon-arrow-up:hover {
1128    content: url(webtrees/icons/arrow-up-hover.png);
1129}
1130
1131.wt-icon-bing-maps {
1132    content: url(icons/bing-maps.png);
1133}
1134
1135.wt-icon-calendar {
1136    content: url(icons/calendar.png)
1137}
1138
1139.wt-icon-collapse {
1140}
1141
1142.wt-icon-coordinates {
1143    content: url(icons/coordinates.png)
1144}
1145
1146.wt-icon-copy {
1147    content: url(icons/copy.png)
1148}
1149
1150.wt-icon-delete {
1151    content: url(icons/delete.png);
1152}
1153
1154.wt-icon-edit {
1155    content: url(icons/edit.png);
1156}
1157
1158.wt-icon-expand {
1159}
1160
1161.wt-icon-family {
1162    content: url(icons/family.png);
1163}
1164
1165.wt-icon-google-maps {
1166    content: url(icons/google-maps.png);
1167}
1168
1169.wt-icon-help {
1170    content: url(webtrees/icons/help.png);
1171}
1172
1173.wt-icon-individual {
1174    content: url(icons/individual.png);
1175}
1176
1177.wt-icon-keyboard {
1178    content: url(icons/keyboard.png);
1179}
1180
1181.wt-icon-media {
1182    content: url(icons/media.png);
1183}
1184
1185.wt-icon-note {
1186    content: url(icons/note.png);
1187}
1188
1189.wt-icon-openstreetmap {
1190    content: url(icons/openstreetmap.png);
1191}
1192
1193.wt-icon-preferences {
1194    content: url(webtrees/icons/preferences.png);
1195}
1196
1197.wt-icon-reorder {
1198    content: url(icons/reorder.png);
1199}
1200
1201.wt-icon-repository {
1202    content: url(icons/repository.png);
1203}
1204
1205.wt-icon-sex {
1206    height: 1em;
1207}
1208
1209.wt-icon-sex-f {
1210    content: url(icons/sex-female.png);
1211}
1212
1213.wt-icon-sex-m {
1214    content: url(icons/sex-male.png);
1215}
1216
1217.wt-icon-sex-u {
1218    content: url(icons/sex-unknown.png);
1219}
1220
1221.wt-icon-sex-x {
1222    content: url(icons/sex-unknown.png);
1223}
1224
1225.wt-icon-source {
1226    content: url(icons/source.png);
1227}
1228
1229.wt-icon-submitter {
1230    content: url(icons/individual.png);
1231}
1232
1233.wt-icon-warning {
1234    content: url(icons/warning.png);
1235}
1236
1237.wt-icon-zoom-in {
1238    content: url(webtrees/icons/zoom-in.png);
1239}
1240
1241.wt-icon-zoom-out {
1242    content: url(webtrees/icons/zoom-out.png);
1243}
1244
1245/* Miscellaneous images */
1246.icon-cfamily {
1247    content: url(webtrees/images/family.png);
1248}
1249
1250.icon-childless {
1251    content: url(images/childless.png);
1252}
1253
1254.icon-children {
1255    content: url(images/children.png);
1256}
1257
1258.icon-edit_indi {
1259    content: url(webtrees/images/edit_indi.png);
1260}
1261
1262.icon-fam-list {
1263    content: url(webtrees/images/family.png);
1264}
1265
1266.icon-indi-list {
1267    content: url(webtrees/images/indis.png);
1268}
1269
1270.icon-loading-small {
1271    content: url(images/indicator.gif);
1272}
1273
1274.icon-minus {
1275    content: url(icons/minus.png);
1276}
1277
1278.icon-mypage {
1279    content: url(webtrees/images/mypage.png);
1280}
1281
1282.icon-plus {
1283    content: url(icons/plus.png);
1284}
1285
1286.icon-resn-confidential {
1287    content: url(images/resn_confidential.png);
1288}
1289
1290.icon-resn-locked {
1291    content: url(images/resn_locked.png);
1292}
1293
1294.icon-resn-none {
1295    content: url(images/resn_none.png);
1296}
1297
1298.icon-resn-privacy {
1299    content: url(images/resn_privacy.png);
1300}
1301
1302.icon-rings {
1303    content: url(images/rings.png);
1304}
1305
1306.icon-selected {
1307    content: url(webtrees/images/selected.png);
1308}
1309
1310/* Silhouettes on charts */
1311.icon-silhouette-F {
1312    content: url(webtrees/images/silhouette_female_small.png);
1313}
1314
1315.icon-silhouette-M {
1316    content: url(webtrees/images/silhouette_male_small.png);
1317}
1318
1319.icon-silhouette-U {
1320    content: url(webtrees/images/silhouette_unknown_small.png);
1321}
1322
1323.icon-indis {
1324    content: url(webtrees/images/indis.png);
1325}
1326
1327.icon-patriarch {
1328    content: url(webtrees/images/patriarch.png);
1329}
1330
1331.icon-pedigree {
1332    content: url(webtrees/images/pedigree.png);
1333}
1334
1335.icon-sfamily {
1336    content: url(webtrees/images/family.png);
1337}
1338
1339.icon-user_add {
1340    content: url(webtrees/images/user_add.png);
1341}
1342
1343/* Census assistant */
1344.wt-census-assistant-form-control:focus {
1345    min-width: 12rem;
1346}
1347
1348/* Some blocks show a reduced version on the right-hand side. */
1349.wt-side-blocks .wt-side-block-optional {
1350    display: none !important;
1351}
1352
1353/* my page chart enhancements */
1354.wt-block-content-charts {
1355    overflow: auto;
1356}
1357
1358/* Some charts are wider than the page. */
1359.wt-chart {
1360    overflow-x: auto;
1361    overflow-y: hidden;
1362}
1363
1364/* Fit thumbnail into parent on charts */
1365.select2-selection.select2-selection--single {
1366    min-height: 36px;
1367    height: auto;
1368    padding: 2px 0;
1369}
1370
1371.select2-container .select2-selection--single .select2-selection__rendered {
1372    padding-left: 2px;
1373}
1374
1375.select2-selection--single .NAME {
1376    padding-left: 4px;
1377}
1378
1379/* Some menus (e.g. languages) can be longer than a page */
1380.dropdown-menu {
1381    max-height: 30rem;
1382    overflow-x: hidden;
1383}
1384
1385/* Forms */
1386.col-form-label {
1387    font-weight: bold;
1388}
1389