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