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