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