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