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