xref: /webtrees/resources/css/webtrees.css (revision 37f4d1f0a7a5610284a8bb3182a07ec4441c9fc7)
1/**
2 * webtrees: online genealogy
3 * Copyright (C) 2019 webtrees development team
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program. If not, see <http://www.gnu.org/licenses/>.
14 */
15
16/* The webtrees theme */
17@import "_base.css";
18@import "_block-charts.css";
19@import "_charts.css";
20@import "_colorbox.css";
21@import "_lists.css";
22@import "_mime-type-icons.css";
23@import "_on-screen-keyboard.css";
24@import "_tab-relatives.css";
25
26/* Colors for chart boxes, etc. */
27:root {
28    --sex-f-fg: #ff2080;
29    --sex-m-fg: #81a9cb;
30    --sex-u-fg: #81a9cb;
31    --sex-f-bg: #e9daf1;
32    --sex-m-bg: #edf7fd;
33    --sex-u-bg: #ffffff;
34    --chart-line: solid gray thin;
35    --chart-line-radius: 1rem;
36}
37
38/* Override Bootstrap formatting */
39.btn-link {
40    padding-left: 0.25rem;
41    padding-right: 0.25rem;
42}
43
44.table-given-name {
45    overflow-x: hidden;
46}
47
48.container-fluid {
49    padding-left: 5px;
50    padding-right: 5px;
51}
52
53table {
54    border-collapse: separate;
55}
56
57/*
58 * Pages have the following high-level structure:
59 *
60 * wt-global wt-theme-<THEME> wt-route-<ROUTE>
61 * +---wt-header-wrapper
62 * |   +---wt-header-container
63 * |       +---wt-header-content
64 * |           +---wt-accessibility-links
65 * |           +---wt-site-logo
66 * |           +---wt-site-title
67 * |           +---wt-header-search
68 * |           |   +---wt-header-search-form
69 * |           |       +---wt-header-search-field
70 * |           |       +---wt-header-search-button
71 * |           +---wt-secondary-navigation
72 * |           |   +---wt-user-menu
73 * |           +---wt-primary-navigation
74 * |               +---wt-genealogy-menu
75 * +---wt-main-wrapper
76 * |   +---wt-main-container
77 * |       +---wt-main-content
78 * |           +---wt-messages
79 * |           +---wt-page-title
80 * |           +---wt-page-options wt-page-options-xxxxx
81 * |           +---wt-page-content
82 * +---wt-footers
83 *     +---wt-footer wt-footer-xxxxx
84 */
85
86.wt-global {
87    color: #555;
88}
89
90.wt-header-wrapper {
91}
92
93.wt-header-container {
94}
95
96.wt-header-content {
97}
98
99.wt-accessibility-links {
100}
101
102.wt-site-logo {
103    order: 1;
104    flex: 0 0 272px;
105}
106
107.wt-site-logo:after {
108    height: 50px;
109    width: 242px;
110    content: url(webtrees/images/webtrees.png);
111}
112
113.wt-site-title {
114    order: 3;
115    flex: 0 0 calc(100% - 15rem);
116    font-size: 1.5rem;
117    font-weight: normal;
118}
119
120.wt-header-search {
121    order: 4;
122    flex: 0 0 15rem;
123    position: relative;
124    top: -0.75rem;
125}
126
127.wt-header-search-form {
128}
129
130.wt-header-search-field {
131}
132
133.wt-header-search-button {
134}
135
136.wt-secondary-navigation {
137    order: 2;
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-note::before {
287    content: url(webtrees/menu/list-note.png);
288}
289
290.menu-list-obje::before {
291    content: url(webtrees/menu/list-obje.png);
292}
293
294.menu-list-plac::before {
295    content: url(webtrees/menu/list-plac.png);
296}
297
298.menu-list-repo::before {
299    content: url(webtrees/menu/list-repo.png);
300}
301
302.menu-list-sour::before {
303    content: url(webtrees/menu/list-sour.png);
304}
305
306.menu-list-subm::before {
307    content: url(webtrees/menu/list-indi.png);
308}
309
310.menu-calendar .nav-link::before {
311    content: url(webtrees/menu/calendar.png);
312}
313
314.menu-calendar-day::before {
315    content: url(webtrees/menu/calendar-calendar.png);
316}
317
318.menu-calendar-month::before {
319    content: url(webtrees/menu/calendar-calendar.png);
320}
321
322.menu-calendar-year::before {
323    content: url(webtrees/menu/calendar-calendar.png);
324}
325
326.menu-report .nav-link::before {
327    content: url(webtrees/menu/report.png);
328}
329
330.menu-report .dropdown-item::before {
331    content: url(webtrees/menu/report-report.png);
332}
333
334.menu-search .nav-link::before {
335    content: url(webtrees/menu/search.png);
336}
337
338.menu-search .dropdown-item::before {
339    content: url(webtrees/menu/search-search.png);
340}
341
342.menu-faq .nav-link::before {
343    content: url(webtrees/menu/faq.png);
344}
345
346.menu-clippings .nav-link::before {
347    content: url(webtrees/menu/clippings.png);
348}
349
350.menu-clippings-add::before {
351    content: url(webtrees/menu/clippings-add.png);
352}
353
354.menu-clippings-cart::before {
355    content: url(webtrees/menu/clippings-cart.png);
356}
357
358.menu-clippings-download::before {
359    content: url(webtrees/menu/edit-preferences.png);
360}
361
362.menu-clippings-empty::before {
363    content: url(webtrees/menu/edit-delete.png);
364}
365
366.menu-story .nav-link::before {
367    content: url(webtrees/menu/story.png);
368}
369
370.wt-main-container {
371    /* Space between the header/footer and the main content. */
372    padding-top: 1rem;
373    padding-bottom: 1rem;
374}
375
376.wt-main {
377}
378
379.wt-messages {
380}
381
382.wt-page-title {
383    color: #006;
384    font-size: 1.5rem;
385    font-weight: bold;
386    text-align: center;
387}
388
389.wt-page-options {
390}
391
392.wt-page-content {
393}
394
395.wt-page-options .form-group {
396    margin-bottom: 2px;
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 {
498    content: url(images/individual-silhouette-unknown.png);
499}
500
501.wt-individual-silhouette-f {
502    content: url(images/individual-silhouette-female.png);
503}
504
505.wt-individual-silhouette-m {
506    content: url(images/individual-silhouette-male.png);
507}
508
509/*
510 * Chart-boxes are used to build the various charts.
511 * Each type of chart will set its own size and hide/show content.
512 *
513 * wt-chart-box
514 * +--- wt-chart-box-thumbnail
515 * +--- wt-chart-box-extra
516 *      +--- wt-chart-box-zoom
517 *           +--- wt-chart-box-icon
518 *           +--- wt-chart-box-dropdown wt-chart-box-zoom-dropdown
519 *      +--- wt-chart-box-links
520 *           +--- wt-chart-box-icon
521 *           +--- wt-chart-box-dropdown wt-chart-box-links-dropdown
522 * +--- wt-chart-box-name
523 * +--- wt-chart-box-lifespan
524 * +--- wt-chart-box-facts
525 *     +--- wt-chart-box-fact
526 */
527.wt-chart-box,
528.wt-chart-box-menu {
529    background: var(--sex-u-bg);
530    border: dashed var(--sex-u-fg) thin;
531}
532
533.wt-chart-box {
534    height: 5rem;
535    padding: 2px;
536    line-height: 1.1;
537}
538
539.wt-chart-box-f,
540.wt-chart-box-f .wt-chart-box-dropdown {
541    background: var(--sex-f-bg);
542    border: solid var(--sex-f-fg) thin;
543}
544
545.wt-chart-box-m,
546.wt-chart-box-m .wt-chart-box-dropdown {
547    background: var(--sex-m-bg);
548    border: solid var(--sex-m-fg) thin;
549}
550
551a {
552    color: #555;
553    text-decoration: none;
554}
555
556a:hover {
557    color: #f00;
558    text-decoration: none;
559}
560
561:focus {
562    outline-style: none;
563}
564
565.flash-messages {
566    clear: both;
567    text-align: center;
568}
569
570img {
571    border: 0;
572}
573
574legend img {
575    height: 20px;
576    vertical-align: middle;
577    width: 20px;
578}
579
580img.block {
581    border: 0;
582    height: 25px;
583    vertical-align: middle;
584}
585
586.topbottombar {
587    background-color: #81a9cb;
588    color: #fff;
589    font-weight: bold;
590    padding: 4px;
591    text-align: center;
592}
593
594.button {
595    width: 60px;
596}
597
598.alpha_index {
599    color: #999;
600}
601
602.news_box:target,
603#gedcom_stats:target {
604    background-color: #ffc;
605}
606
607/* families tab person box */
608table.center {
609    margin-left: auto;
610    margin-right: auto;
611}
612
613.list_table {
614    margin: 0 auto;
615}
616
617.list_label,
618.list_label_wrap {
619    color: #fff;
620    background-color: #81a9cb;
621    font-weight: bold;
622    text-align: center;
623}
624
625.list_value,
626.list_value_wrap {
627    background-color: #edf7f9;
628    border: solid #81a9cb 1px;
629    vertical-align: top;
630    padding: 4px;
631}
632
633.list_label,
634.list_value {
635    white-space: nowrap;
636}
637
638.list_label_wrap,
639.list_value_wrap {
640    white-space: normal;
641}
642
643div.fact_SHARED_NOTE {
644    clear: both;
645}
646
647/* Table of genealogical facts */
648.wt-facts-table caption {
649    caption-side: top;
650}
651
652.wt-facts-table th {
653    background-color: #81a9cb;
654    border: solid #81a9cb 1px;
655    text-align: center;
656    font-weight: normal;
657    min-width: 20%;
658}
659
660.wt-facts-table td {
661    background-color: #edf7fd;
662    border: solid #81a9cb 1px;
663}
664
665.wt-facts-table .wt-gender-M td {
666    background-color: #edf7fd;
667    border-color: #81a9cb;
668}
669
670.wt-facts-table .wt-gender-F td {
671    background-color: #e9daf1;
672    border-color: #ff2080;
673}
674
675.name1 {
676    font-weight: bold;
677    font-size: 12px;
678}
679
680.name2 {
681    font-size: 16px;
682}
683
684a:hover .name1, a:hover .name2 {
685    color: #f00;
686    font-weight: bold;
687    font-size: 12px;
688}
689
690.details_label {
691    font-weight: bold;
692}
693
694.date {
695    color: #337;
696}
697
698.label {
699    font-weight: bold;
700}
701
702.error {
703    color: #d00;
704    font-weight: bold;
705}
706
707.largeError {
708    color: #d00;
709    font-size: large;
710    font-weight: bold;
711}
712
713.warning {
714    color: #f00;
715    font-weight: bold;
716}
717
718.indent {
719    padding-left: 20px;
720}
721
722.thumbnail {
723    height: auto;
724    padding: 3px;
725}
726
727.icon {
728    border: 0;
729    padding: 0 5px;
730}
731
732.subheaders {
733    font-weight: bold;
734    font-size: 15px;
735    margin-top: 15px;
736    vertical-align: bottom;
737}
738
739.parentdeath {
740    border: thin solid #888;
741    padding: 1px;
742}
743
744.source_citations {
745    display: none;
746}
747
748.selected-option {
749    background-color: #edf7fd;
750}
751
752.border1 {
753    border: solid #000 1px;
754}
755
756.journal_box {
757    padding: 3pt;
758    border: thin solid #aaa;
759    overflow: visible;
760}
761
762.news_box {
763    background-color: #edf7fd;
764    border-top: solid #81a9cb 1px;
765}
766
767.news_title {
768    font-weight: bold;
769}
770
771.news_date {
772    margin-bottom: 12px;
773}
774
775.current_day {
776    font-weight: bold;
777    font-size: 16px;
778}
779
780.cal_day {
781    float: left;
782    font-weight: bold;
783}
784
785.rtl_cal_day {
786    direction: rtl;
787    float: right;
788    color: #00f;
789    font-weight: bold;
790}
791
792#user-page h1 {
793    margin: 0.25em auto 0.6em;
794}
795
796.tvertline {
797    vertical-align: bottom;
798}
799
800#childbox {
801    padding: 5px;
802    position: absolute;
803    display: none;
804    text-align: start;
805    white-space: nowrap;
806    top: 20px;
807    left: 0;
808}
809
810.layout3 #childbox {
811    top: auto;
812    bottom: 20px;
813}
814
815#childbox a.name1 {
816    display: block;
817    margin-left: 5px;
818}
819
820.person0 {
821    background-color: #aaf;
822    border: outset #aaf 1px;
823    vertical-align: top;
824}
825
826.person1 {
827    background-color: #afa;
828    border: outset #afa 1px;
829    vertical-align: top;
830}
831
832.person2 {
833    background-color: #faa;
834    border: outset #faa 1px;
835    vertical-align: top;
836}
837
838.person3 {
839    background-color: #55f;
840    border: outset #55f 1px;
841    vertical-align: top;
842}
843
844.person4 {
845    background-color: #f55;
846    border: outset #f55 1px;
847    vertical-align: top;
848}
849
850.person5 {
851    background-color: #5f5;
852    border: outset #5f5 1px;
853    vertical-align: top;
854}
855
856.starredname {
857    text-decoration: underline;
858}
859
860.search_hit {
861    background-color: #ff0;
862}
863
864.descriptionbox {
865    color: #fff;
866    font-size: 12px;
867    background-color: #81a9cb;
868    border: solid #81a9cb 1px;
869    vertical-align: top;
870    padding: 3px;
871}
872
873.optionbox {
874    background-color: #d1d9ef;
875    font-size: 1rem;
876    border: solid #81a9cb 1px;
877    vertical-align: top;
878    white-space: nowrap;
879    padding: 3px;
880}
881
882.red {
883    color: #f00;
884}
885
886.wt-relation-fact,
887.wt-historic-fact {
888    opacity: 0.8;
889}
890
891.messagebox {
892    background-color: #c2ceef;
893    border: solid #81a9cb 1px;
894}
895
896/* ---Pending edits--- */
897.wt-new {
898    outline: solid blue 1px;
899}
900
901.wt-old {
902    outline: solid red 1px;
903}
904
905.tag_cloud {
906    text-align: center;
907}
908
909.tag_cloud a {
910    white-space: nowrap;
911}
912
913.nowrap {
914    white-space: nowrap;
915}
916
917.wrap {
918    white-space: normal;
919}
920
921.statistics-page {
922    text-align: center;
923}
924
925.gchart {
926    border: solid #81a9cb 1px;
927}
928
929#facts_content dd {
930    float: left;
931    width: 70%;
932}
933
934td.descriptionbox a {
935    color: #fff;
936}
937
938/* this keeps the tag color the same when it is a link as when not */
939
940.place {
941    padding-top: 5px;
942}
943
944.filtersH,
945.filtersF {
946    margin: 4px;
947}
948
949.filtersH img {
950    margin-bottom: 2px;
951}
952
953.list-charts {
954    text-align: center;
955}
956
957#place-hierarchy h2,
958#place-hierarchy h4 {
959    text-align: center;
960}
961
962/* ==== FAQ table styles ===== */
963table.faq {
964    background-color: #e0e0e0;
965    margin: 5px 0 50px 5px;
966    width: 98%;
967}
968
969table.faq tr:nth-child(odd) td {
970    background-color: #e7eef3;
971}
972
973div.faq_title {
974    background-color: #e0e0e0;
975    margin: 1em 0;
976    padding: .25em;
977    font-weight: bold;
978    width: 98%;
979}
980
981div.faq_body {
982    clear: both;
983    padding: 0 1em;
984}
985
986.faq_top {
987    float: right;
988}
989
990/* === Positioning edit, copy, delete links === */
991/* General use */
992.editfacts {
993    clear: left;
994    padding-top: 15px;
995}
996
997#indi_note {
998    margin: 0 0 5px;
999}
1000
1001.indi_table {
1002    clear: left;
1003}
1004
1005#sex {
1006    float: right;
1007}
1008
1009#dates {
1010    float: right;
1011}
1012
1013#individual-names .wt-icon-edit,
1014#individual-names .wt-icon-delete {
1015    float: right;
1016}
1017
1018#indi_note .fact_NOTE {
1019    float: left;
1020    margin: 0 5px 0 0;
1021}
1022
1023#indi_note .fact_SOUR {
1024    margin: 3px 0;
1025}
1026
1027#indi_note .fact_SOUR a {
1028    font-size: 100%;
1029}
1030
1031#indi_note .fact_NOTE,
1032#indi_note .fact_SOUR {
1033    clear: both;
1034}
1035
1036/* markdown formatting */
1037
1038.markdown {
1039    /* Tables and pre-formatted text can break the layout. */
1040    overflow-x: auto;
1041}
1042
1043.markdown p {
1044    margin: 0 0 0.5em;
1045    white-space: pre-wrap;
1046}
1047
1048.markdown table {
1049    border-collapse: collapse;
1050    margin-bottom: 5px;
1051}
1052
1053.markdown th {
1054    font-weight: bold;
1055}
1056
1057.markdown td,
1058.markdown th {
1059    border: solid thin #000;
1060    padding: 3px;
1061}
1062
1063.odometer {
1064    font-family: courier, monospace;
1065    font-weight: bold;
1066    background: #000;
1067    color: #fff;
1068}
1069
1070/* ======== Indi tabs ======== */
1071/* Facts & Events tab */
1072.media-display-image {
1073    float: left;
1074}
1075
1076.media-display-title {
1077    float: left;
1078    font-style: italic;
1079    margin: 10px;
1080}
1081
1082/* Sidebar - Family navigator */
1083.wt-family-navigator-dropdown {
1084    background: #edf7fd;
1085}
1086
1087.wt-family-navigator-dropdown-heading {
1088    font-weight: bold;
1089    font-size: inherit;
1090    color: inherit;
1091}
1092
1093/* Sidebar - Descendants */
1094#sb_content_descendancy {
1095    margin-top: 5px;
1096}
1097
1098#sb_desc_content {
1099    margin-left: 3px;
1100    font-size: 0.8em;
1101}
1102
1103#sb_desc_content ul {
1104    padding: 0;
1105    margin: 0;
1106}
1107
1108.sb_desc_indi_li {
1109    list-style-type: none;
1110}
1111
1112/* Individuals and Families */
1113#sidebar-content-individuals,
1114#sidebar-content-families {
1115    margin-top: 5px;
1116}
1117
1118.sb_indi_surname_li,
1119.sb_fam_surname_li {
1120    list-style-image: url(icons/plus.png);
1121}
1122
1123.name_tree_div ul {
1124    padding: 0;
1125    margin: 0;
1126}
1127
1128.name_tree_div li {
1129    list-style: none;
1130    margin: 0;
1131    padding: 0;
1132}
1133
1134/* Clippings */
1135#sb_clippings_content ul {
1136    padding: 0;
1137    margin: 0;
1138}
1139
1140#sb_clippings_content li {
1141    list-style: none;
1142    margin: 0;
1143    padding: 0;
1144    white-space: nowrap;
1145}
1146
1147/* Extra info */
1148#sb_content_extra_info {
1149    font-size: 80%;
1150    font-weight: bold;
1151    margin-top: 1px;
1152    overflow: hidden;
1153    padding: 5px;
1154}
1155
1156#sb_content_extra_info .editfacts {
1157    float: right;
1158    margin-top: -30px;
1159}
1160
1161#sb_content_extra_info a {
1162    display: block;
1163}
1164
1165#sb_content_extra_info span {
1166    font-weight: normal;
1167}
1168
1169#sb_content_extra_info span a {
1170    display: inline;
1171}
1172
1173#sb_content_extra_info #hitcounter {
1174    border-top: 1px solid #b2c7d7;
1175    font-weight: bold;
1176    padding-top: 5px;
1177}
1178
1179/* Stories module */
1180.story_title {
1181    padding-top: 12px;
1182    font-size: 13px;
1183    height: 32px;
1184    font-weight: bold;
1185}
1186
1187.story_body {
1188    padding: 20px;
1189    white-space: normal;
1190}
1191
1192.story_edit {
1193    padding: 12px;
1194}
1195
1196/*-- Fan chart ---- */
1197.fan_chart_menu {
1198    background: #fff;
1199    position: absolute;
1200    display: none;
1201    z-index: 100;
1202}
1203
1204#fan_chart ul {
1205    list-style-type: none;
1206    margin: 0;
1207}
1208
1209/* Lifespans chart */
1210.wt-lifespans-subtitle {
1211    text-align: center;
1212}
1213
1214.wt-lifespans-scale {
1215    white-space: nowrap;
1216}
1217
1218.wt-lifespans-decade {
1219    width: 70px;
1220    height: 60px;
1221    display: inline-block;
1222    background-image: url(images/lifespan-decade.png);
1223    background-position-y: bottom;
1224    background-repeat: no-repeat;
1225    background-size: 70px 37px;
1226}
1227
1228.wt-lifespans-individuals {
1229    background: #fafafa;
1230}
1231
1232.wt-lifespans-individual {
1233
1234}
1235
1236.wt-lifespans-summary {
1237    background: #ffffff;
1238    border: thin solid #000;
1239    z-index: 1;
1240}
1241
1242.wt-lifespans-summary-link {
1243    font-weight: bold;
1244}
1245
1246/*-- timeline  --*/
1247#timeline_chart {
1248    position: relative;
1249    top: 0;
1250    left: 0;
1251}
1252
1253/*
1254 * Any element that is loaded dynamically has the class wt-ajax-load.
1255 * We can provide a "loading" placeholder for empty elements with this class.
1256 */
1257.wt-ajax-load:empty {
1258    height: 32px;
1259    background: url(images/loading-32x32.gif) no-repeat 50% 50%;
1260}
1261
1262/*
1263 * Default icons are provided by FontAwesome.
1264 */
1265.wt-icon-anniversary {
1266    content: url(icons/anniversary.png);
1267}
1268
1269.wt-icon-arrow-down {
1270    content: url(webtrees/icons/arrow-down.png);
1271}
1272
1273a > .wt-icon-arrow-down:hover {
1274    content: url(webtrees/icons/arrow-down-hover.png);
1275}
1276
1277.wt-icon-arrow-left {
1278    content: url(webtrees/icons/arrow-left.png);
1279}
1280
1281a > .wt-icon-arrow-left:hover {
1282    content: url(webtrees/icons/arrow-left-hover.png);
1283}
1284
1285.wt-icon-arrow-right {
1286    content: url(webtrees/icons/arrow-right.png);
1287}
1288
1289a > .wt-icon-arrow-right:hover {
1290    content: url(webtrees/icons/arrow-right-hover.png);
1291}
1292
1293.wt-icon-arrow-up {
1294    content: url(webtrees/icons/arrow-up.png);
1295}
1296
1297a > .wt-icon-arrow-up:hover {
1298    content: url(webtrees/icons/arrow-up-hover.png);
1299}
1300
1301.wt-icon-bing-maps {
1302    content: url(icons/bing-maps.png);
1303}
1304
1305.wt-icon-calendar {
1306    content: url(icons/calendar.png)
1307}
1308
1309.wt-icon-collapse {
1310}
1311
1312.wt-icon-coordinates {
1313    content: url(icons/coordinates.png)
1314}
1315
1316.wt-icon-copy {
1317    content: url(icons/copy.png)
1318}
1319
1320.wt-icon-delete {
1321    content: url(icons/delete.png);
1322}
1323
1324.wt-icon-edit {
1325    content: url(icons/edit.png);
1326}
1327
1328.wt-icon-expand {
1329}
1330
1331.wt-icon-family {
1332    content: url(icons/family.png);
1333}
1334
1335.wt-icon-google-maps {
1336    content: url(icons/google-maps.png);
1337}
1338
1339.wt-icon-help {
1340    content: url(webtrees/icons/help.png);
1341}
1342
1343.wt-icon-individual {
1344    content: url(icons/individual.png);
1345}
1346
1347.wt-icon-keyboard {
1348    content: url(icons/keyboard.png);
1349}
1350
1351.wt-icon-media {
1352    content: url(icons/media.png);
1353}
1354
1355.wt-icon-note {
1356    content: url(icons/note.png);
1357}
1358
1359.wt-icon-openstreetmap {
1360    content: url(icons/openstreetmap.png);
1361}
1362
1363.wt-icon-preferences {
1364    content: url(webtrees/icons/preferences.png);
1365}
1366
1367.wt-icon-reorder {
1368    content: url(icons/reorder.png);
1369}
1370
1371.wt-icon-repository {
1372    content: url(icons/repository.png);
1373}
1374
1375.wt-icon-sex {
1376    height: 1em;
1377}
1378
1379.wt-icon-sex-f {
1380    content: url(icons/sex-female.png);
1381}
1382
1383.wt-icon-sex-m {
1384    content: url(icons/sex-male.png);
1385}
1386
1387.wt-icon-sex-u {
1388    content: url(icons/sex-unknown.png);
1389}
1390
1391.wt-icon-sex-x {
1392    content: url(icons/sex-unknown.png);
1393}
1394
1395.wt-icon-source {
1396    content: url(icons/source.png);
1397}
1398
1399.wt-icon-submitter {
1400    content: url(icons/individual.png);
1401}
1402
1403.wt-icon-warning {
1404    content: url(icons/warning.png);
1405}
1406
1407.wt-icon-zoom-in {
1408    content: url(webtrees/icons/zoom-in.png);
1409}
1410
1411.wt-icon-zoom-out {
1412    content: url(webtrees/icons/zoom-out.png);
1413}
1414
1415/* Miscellaneous images */
1416.icon-cfamily {
1417    content: url(webtrees/images/family.png);
1418}
1419
1420.icon-childless {
1421    content: url(images/childless.png);
1422}
1423
1424.icon-children {
1425    content: url(images/children.png);
1426}
1427
1428.icon-edit_indi {
1429    content: url(webtrees/images/edit_indi.png);
1430}
1431
1432.icon-fam-list {
1433    content: url(webtrees/images/family.png);
1434}
1435
1436.icon-indi-list {
1437    content: url(webtrees/images/indis.png);
1438}
1439
1440.icon-loading-small {
1441    content: url(images/indicator.gif);
1442}
1443
1444.icon-minus {
1445    content: url(icons/minus.png);
1446}
1447
1448.icon-mypage {
1449    content: url(webtrees/images/mypage.png);
1450}
1451
1452.icon-plus {
1453    content: url(icons/plus.png);
1454}
1455
1456.icon-resn-confidential {
1457    content: url(images/resn_confidential.png);
1458}
1459
1460.icon-resn-locked {
1461    content: url(images/resn_locked.png);
1462}
1463
1464.icon-resn-none {
1465    content: url(images/resn_none.png);
1466}
1467
1468.icon-resn-privacy {
1469    content: url(images/resn_privacy.png);
1470}
1471
1472.icon-rings {
1473    content: url(images/rings.png);
1474}
1475
1476.icon-selected {
1477    content: url(webtrees/images/selected.png);
1478}
1479
1480/* Silhouettes on charts */
1481.icon-silhouette-F {
1482    content: url(webtrees/images/silhouette_female_small.png);
1483}
1484
1485.icon-silhouette-M {
1486    content: url(webtrees/images/silhouette_male_small.png);
1487}
1488
1489.icon-silhouette-U {
1490    content: url(webtrees/images/silhouette_unknown_small.png);
1491}
1492
1493.icon-indis {
1494    content: url(webtrees/images/indis.png);
1495}
1496
1497.icon-patriarch {
1498    content: url(webtrees/images/patriarch.png);
1499}
1500
1501.icon-pedigree {
1502    content: url(webtrees/images/pedigree.png);
1503}
1504
1505.icon-sfamily {
1506    content: url(webtrees/images/family.png);
1507}
1508
1509.icon-user_add {
1510    content: url(webtrees/images/user_add.png);
1511}
1512
1513/* Census assistant */
1514.wt-census-assistant-form-control:focus {
1515    min-width: 12rem;
1516}
1517
1518/*
1519 * Drag and drop sortable lists
1520 */
1521.wt-sortable-list {
1522}
1523
1524.wt-sortable-item {
1525    cursor: move;
1526}
1527
1528/* Some blocks show a reduced version on the right-hand side. */
1529.wt-side-blocks .wt-side-block-optional {
1530    display: none !important;
1531}
1532
1533/* my page chart enhancements */
1534.wt-block-content-charts {
1535    overflow: auto;
1536}
1537
1538/* Some charts are wider than the page. */
1539.wt-chart {
1540    overflow-x: auto;
1541    overflow-y: hidden;
1542}
1543
1544/* Fit thumbnail into parent on charts */
1545.select2-selection.select2-selection--single {
1546    min-height: 36px;
1547    height: auto;
1548    padding: 2px 0;
1549}
1550
1551.select2-container .select2-selection--single .select2-selection__rendered {
1552    padding-left: 2px;
1553}
1554
1555.select2-selection--single .NAME {
1556    padding-left: 4px;
1557}
1558
1559/*
1560 * Place hierarchy
1561 *
1562 * wt-place-hierarchy-page
1563 */
1564
1565#place-hierarchy ul {
1566    list-style-type: none;
1567}
1568
1569.d-table-cell {
1570    padding-right: 5px;
1571}
1572
1573/* Some menus (e.g. languages) can be longer than a page */
1574.dropdown-menu {
1575    max-height: 30rem;
1576    overflow-x: hidden;
1577}
1578
1579/* Forms */
1580.col-form-label {
1581    font-weight: bold;
1582}
1583