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