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