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, .nav-link { 551 color: #00f; 552 text-decoration: none; 553} 554 555a:hover, .nav-link: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.button { 576 width: 60px; 577} 578 579.alpha_index { 580 color: #999; 581} 582 583.news_box:target, 584#gedcom_stats:target { 585 background-color: #ffc; 586} 587 588/* families tab person box */ 589table.center { 590 margin-left: auto; 591 margin-right: auto; 592} 593 594.list_table { 595 margin: 0 auto; 596} 597 598.list_label, 599.list_label_wrap { 600 color: #006; 601 font-size: 12px; 602 background-color: #c3dfff; 603 border: solid #81a9cb 1px; 604 font-weight: bold; 605 text-align: center; 606} 607 608.list_value, 609.list_value_wrap { 610 background-color: #edf7fd; 611 font-size: 12px; 612 border: solid #81a9cb 1px; 613 vertical-align: top; 614 padding: 4px; 615} 616 617.list_label, 618.list_value { 619 white-space: nowrap; 620} 621 622.list_label_wrap, 623.list_value_wrap { 624 white-space: normal; 625} 626 627div.fact_SHARED_NOTE { 628 clear: both; 629} 630 631/* Table of genealogical facts */ 632.wt-facts-table caption { 633 caption-side: top; 634} 635 636.wt-facts-table th { 637 background-color: #c3dfff; 638 color: #006; 639 text-align: center; 640 font-weight: normal; 641 min-width: 20%; 642} 643 644.wt-facts-table td { 645 background-color: #ecf5ff; 646 border: solid #c3dfff 1px; 647} 648 649.wt-facts-table .wt-gender-M td { 650 background-color: #f0f9ff; 651 border-color: #84beff; 652} 653 654.wt-facts-table .wt-gender-F td { 655 background-color: #fff0f0; 656 border-color: #ff2080; 657} 658 659.name1 { 660 font-weight: bold; 661 font-size: 12px; 662} 663 664.name2 { 665 font-size: 16px; 666 } 667 668a:hover .name1, a:hover .name2 { 669 color: #f00; 670 font-weight: bold; 671 font-size: 12px; 672} 673 674.details_label { 675 font-weight: bold; 676} 677 678.date { 679 color: #337; 680} 681 682.label { 683 font-weight: bold; 684} 685 686.error { 687 color: #d00; 688 font-weight: bold; 689} 690 691.indent { 692 padding-left: 20px; 693} 694 695.parentdeath { 696 border: thin solid #888; 697 padding: 1px; 698} 699 700.journal_box { 701 padding: 3pt; 702 border: thin solid #aaa; 703 overflow: visible; 704} 705 706.news_box { 707 background-color: #edf7fd; 708 border-top: solid #81a9cb 1px; 709} 710 711.news_title { 712 font-weight: bold; 713 font-size: 14px; 714} 715 716.news_date { 717 margin-bottom: 12px; 718} 719 720.current_day { 721 font-weight: bold; 722 font-size: 16px; 723} 724 725.cal_day { 726 font-weight: bold; 727} 728 729.rtl_cal_day { 730 color: #00f; 731 font-weight: bold; 732} 733 734#user-page h1 { 735 margin: 0.25em auto 0.6em; 736} 737 738.tvertline { 739 vertical-align: bottom; 740} 741 742#childbox { 743 padding: 5px; 744 position: absolute; 745 display: none; 746 text-align: start; 747 white-space: nowrap; 748 top: 20px; 749 left: 0; 750} 751 752.layout3 #childbox { 753 top: auto; 754 bottom: 20px; 755} 756 757#childbox a.name1 { 758 display: block; 759 margin-left: 5px; 760} 761 762.person0 { 763 background-color: #aaf; 764 border: outset #aaf 1px; 765 vertical-align: top; 766} 767 768.person1 { 769 background-color: #afa; 770 border: outset #afa 1px; 771 vertical-align: top; 772} 773 774.person2 { 775 background-color: #faa; 776 border: outset #faa 1px; 777 vertical-align: top; 778} 779 780.person3 { 781 background-color: #55f; 782 border: outset #55f 1px; 783 vertical-align: top; 784} 785 786.person4 { 787 background-color: #f55; 788 border: outset #f55 1px; 789 vertical-align: top; 790} 791 792.person5 { 793 background-color: #5f5; 794 border: outset #5f5 1px; 795 vertical-align: top; 796} 797 798.starredname { 799 text-decoration: underline; 800} 801 802.search_hit { 803 background-color: #ff0; 804} 805 806.descriptionbox { 807 color: #006; 808 font-size: 12px; 809 background-color: #c3dfff; 810 vertical-align: top; 811 padding: 3px; 812} 813 814.optionbox { 815 background-color: #ecf5ff; 816 font-size: 1rem; 817 border: solid #c3dfff 1px; 818 vertical-align: top; 819 white-space: nowrap; 820 padding: 3px; 821} 822 823.red { 824 color: #f00; 825} 826 827.wt-associate-fact, 828.wt-relation-fact, 829.wt-historic-fact { 830 opacity: 0.8; 831} 832 833.messagebox { 834 background-color: #c2ceef; 835 border: solid #81a9cb 1px; 836} 837 838/* ---Pending edits--- */ 839.wt-new { 840 outline: solid blue 1px; 841} 842 843.wt-old { 844 outline: solid red 1px; 845} 846 847.tag_cloud { 848 text-align: center; 849} 850 851.tag_cloud a { 852 white-space: nowrap; 853} 854 855.nowrap { 856 white-space: nowrap; 857} 858 859.wrap { 860 white-space: normal; 861} 862 863.statistics-page { 864 text-align: center; 865} 866 867.gchart { 868 border: solid #81a9cb 1px; 869} 870 871#facts_content dd { 872 float: left; 873 width: 70%; 874} 875 876/* this keeps the tag color the same when it is a link as when not */ 877 878.place { 879 padding-top: 5px; 880} 881 882.filtersH, 883.filtersF { 884 margin: 4px; 885} 886 887.filtersH img { 888 margin-bottom: 2px; 889} 890 891.list-charts { 892 text-align: center; 893} 894 895#place-hierarchy h2, 896#place-hierarchy h4 { 897 text-align: center; 898} 899 900/* ==== FAQ table styles ===== */ 901table.faq { 902 background-color: #e0e0e0; 903 margin: 5px 0 50px 5px; 904 width: 98%; 905} 906 907table.faq tr:nth-child(odd) td { 908 background-color: #e7eef3; 909} 910 911div.faq_title { 912 background-color: #e0e0e0; 913 margin: 1em 0; 914 padding: .25em; 915 font-weight: bold; 916 width: 98%; 917} 918 919div.faq_body { 920 clear: both; 921 padding: 0 1em; 922} 923 924.faq_top { 925 float: right; 926} 927 928/* === Positioning edit, copy, delete links === */ 929/* General use */ 930.editfacts { 931 clear: left; 932 padding-top: 15px; 933} 934 935#indi_note { 936 margin: 0 0 5px; 937} 938 939.indi_table { 940 clear: left; 941} 942 943#indi_note .fact_NOTE { 944 float: left; 945 margin: 0 5px 0 0; 946} 947 948#indi_note .fact_SOUR { 949 margin: 3px 0; 950} 951 952#indi_note .fact_SOUR a { 953 font-size: 100%; 954} 955 956#indi_note .fact_NOTE, 957#indi_note .fact_SOUR { 958 clear: both; 959} 960 961.odometer { 962 font-family: courier, monospace; 963 font-weight: bold; 964 background: #000; 965 color: #fff; 966} 967 968/* Sidebar - Family navigator */ 969.wt-family-navigator-dropdown { 970 background: #edf7fd; 971} 972 973.wt-family-navigator-dropdown-heading { 974 font-weight: bold; 975 font-size: inherit; 976 color: inherit; 977} 978 979/* Sidebar - Descendants */ 980#sb_content_descendancy { 981 margin-top: 5px; 982} 983 984#sb_desc_content { 985 margin-left: 3px; 986 font-size: 0.8em; 987} 988 989#sb_desc_content ul { 990 padding: 0; 991 margin: 0; 992} 993 994.sb_desc_indi_li { 995 list-style-type: none; 996} 997 998/* Individuals and Families */ 999#sidebar-content-individuals, 1000#sidebar-content-families { 1001 margin-top: 5px; 1002} 1003 1004.sb_indi_surname_li, 1005.sb_fam_surname_li { 1006 list-style-image: url(icons/plus.png); 1007} 1008 1009.name_tree_div ul { 1010 padding: 0; 1011 margin: 0; 1012} 1013 1014.name_tree_div li { 1015 list-style: none; 1016 margin: 0; 1017 padding: 0; 1018} 1019 1020/* Clippings */ 1021#sb_clippings_content ul { 1022 padding: 0; 1023 margin: 0; 1024} 1025 1026#sb_clippings_content li { 1027 list-style: none; 1028 margin: 0; 1029 padding: 0; 1030 white-space: nowrap; 1031} 1032 1033/* Stories module */ 1034.story_title { 1035 padding-top: 12px; 1036 font-size: 13px; 1037 height: 32px; 1038 font-weight: bold; 1039} 1040 1041.story_body { 1042 padding: 20px; 1043 white-space: normal; 1044} 1045 1046.story_edit { 1047 padding: 12px; 1048} 1049 1050/* Stories module */ 1051.story_title { 1052 padding-top: 12px; 1053 font-size: 13px; 1054 height: 32px; 1055 font-weight: bold; 1056} 1057 1058.story_body { 1059 padding: 20px; 1060 white-space: normal; 1061} 1062 1063.story_edit { 1064 padding: 12px; 1065} 1066 1067/*-- Fan chart ---- */ 1068.fan_chart_menu { 1069 background: #fff; 1070 position: absolute; 1071 display: none; 1072 z-index: 100; 1073} 1074 1075#fan_chart ul { 1076 list-style-type: none; 1077 margin: 0; 1078} 1079 1080/* Lifespans chart */ 1081.wt-lifespans-subtitle { 1082 text-align: center; 1083} 1084 1085.wt-lifespans-scale { 1086 white-space: nowrap; 1087} 1088 1089.wt-lifespans-decade { 1090 width: 70px; 1091 height: 60px; 1092 display: inline-block; 1093 background-image: url(images/lifespan-decade.png); 1094 background-position-y: bottom; 1095 background-repeat: no-repeat; 1096 background-size: 70px 37px; 1097} 1098 1099.wt-lifespans-individuals { 1100 background: #fafafa; 1101} 1102 1103.wt-lifespans-individual { 1104 1105} 1106 1107.wt-lifespans-summary { 1108 background: #ffffff; 1109 border: thin solid #000; 1110 z-index: 1; 1111} 1112 1113.wt-lifespans-summary-link { 1114 font-weight: bold; 1115} 1116 1117/*-- timeline --*/ 1118#timeline_chart { 1119 position: relative; 1120 top: 0; 1121 left: 0; 1122} 1123 1124/* 1125 * Any element that is loaded dynamically has the class wt-ajax-load. 1126 * We can provide a "loading" placeholder for empty elements with this class. 1127 */ 1128.wt-ajax-load:empty { 1129 height: 32px; 1130 background: url(images/loading-32x32.gif) no-repeat 50% 50%; 1131} 1132 1133/* 1134 * Default icons are provided by FontAwesome. 1135 */ 1136.wt-icon-anniversary { 1137 content: url(icons/anniversary.png); 1138} 1139 1140.wt-icon-arrow-down { 1141 content: url(xenea/icons/arrow-down.png); 1142} 1143 1144a > .wt-icon-arrow-down:hover { 1145 content: url(xenea/icons/arrow-down-hover.png); 1146} 1147 1148.wt-icon-arrow-left { 1149 content: url(xenea/icons/arrow-left.png); 1150} 1151 1152a > .wt-icon-arrow-left:hover { 1153 content: url(xenea/icons/arrow-left-hover.png); 1154} 1155 1156.wt-icon-arrow-right { 1157 content: url(xenea/icons/arrow-right.png); 1158} 1159 1160a > .wt-icon-arrow-right:hover { 1161 content: url(xenea/icons/arrow-right-hover.png); 1162} 1163 1164.wt-icon-arrow-up { 1165 content: url(xenea/icons/arrow-up.png); 1166} 1167 1168a > .wt-icon-arrow-up:hover { 1169 content: url(xenea/icons/arrow-up-hover.png); 1170} 1171 1172.wt-icon-bing-maps { 1173 content: url(icons/bing-maps.png); 1174} 1175 1176.wt-icon-calendar { 1177 content: url(icons/calendar.png) 1178} 1179 1180.wt-icon-collapse { 1181} 1182 1183.wt-icon-coordinates { 1184 content: url(icons/coordinates.png) 1185} 1186 1187.wt-icon-copy { 1188 content: url(icons/copy.png) 1189} 1190 1191.wt-icon-delete { 1192 content: url(icons/delete.png); 1193} 1194 1195.wt-icon-edit { 1196 content: url(icons/edit.png); 1197} 1198 1199.wt-icon-expand { 1200} 1201 1202.wt-icon-family { 1203 content: url(icons/family.png); 1204} 1205 1206.wt-icon-google-maps { 1207 content: url(icons/google-maps.png); 1208} 1209 1210.wt-icon-help { 1211 content: url(xenea/icons/help.png); 1212} 1213 1214.wt-icon-individual { 1215 content: url(icons/individual.png); 1216} 1217 1218.wt-icon-keyboard { 1219 content: url(icons/keyboard.png); 1220} 1221 1222.wt-icon-media { 1223 content: url(icons/media.png); 1224} 1225 1226.wt-icon-note { 1227 content: url(icons/note.png); 1228} 1229 1230.wt-icon-openstreetmap { 1231 content: url(icons/openstreetmap.png); 1232} 1233 1234.wt-icon-preferences { 1235 content: url(xenea/icons/preferences.png); 1236} 1237 1238.wt-icon-reorder { 1239 content: url(icons/reorder.png); 1240} 1241 1242.wt-icon-repository { 1243 content: url(icons/repository.png); 1244} 1245 1246.wt-icon-sex { 1247 height: 1em; 1248} 1249 1250.wt-icon-sex-f { 1251 content: url(icons/sex-female.png); 1252} 1253 1254.wt-icon-sex-m { 1255 content: url(icons/sex-male.png); 1256} 1257 1258.wt-icon-sex-u { 1259 content: url(icons/sex-unknown.png); 1260} 1261 1262.wt-icon-sex-x { 1263 content: url(icons/sex-unknown.png); 1264} 1265 1266.wt-icon-source { 1267 content: url(icons/source.png); 1268} 1269 1270.wt-icon-submitter { 1271 content: url(icons/individual.png); 1272} 1273 1274.wt-icon-warning { 1275 content: url(icons/warning.png); 1276} 1277 1278.wt-icon-zoom-in { 1279 content: url(xenea/icons/zoom-in.png); 1280} 1281 1282.wt-icon-zoom-out { 1283 content: url(xenea/icons/zoom-out.png); 1284} 1285 1286/* Fact icons */ 1287.wt-fact-icon { 1288 display: block; 1289 margin: 1rem auto; 1290 content: url(facts/NULL.png); 1291} 1292 1293.wt-fact-icon-ADDR { 1294 content: url(facts/ADDR.png); 1295} 1296 1297.wt-fact-icon-ADOP { 1298 content: url(facts/ADOP.png); 1299} 1300 1301.wt-fact-icon-AFN, 1302.wt-fact-icon-REFN, 1303.wt-fact-icon-RFN, 1304.wt-fact-icon-RIN, 1305.wt-fact-icon-_UID { 1306 content: url(facts/REFN.png); 1307} 1308 1309.wt-fact-icon-ASSO { 1310 content: url(facts/ADOP.png); 1311} 1312 1313.wt-fact-icon-BIRT { 1314 content: url(facts/BIRT.png); 1315} 1316 1317.wt-fact-icon-BURI { 1318 content: url(facts/BURI.png); 1319} 1320 1321.wt-fact-icon-CEME { 1322 content: url(facts/CEME.png); 1323} 1324 1325.wt-fact-icon-CENS { 1326 content: url(facts/CENS.png); 1327} 1328 1329.wt-fact-icon-CHAN { 1330 content: url(facts/CHAN.png); 1331} 1332 1333.wt-fact-icon-CHR, 1334.wt-fact-icon-BAPL, 1335.wt-fact-icon-BAPM { 1336 content: url(facts/CHR.png); 1337} 1338 1339.wt-fact-icon-CONF, 1340.wt-fact-icon-CONL { 1341 content: url(facts/CONF.png); 1342} 1343 1344.wt-fact-icon-DEAT { 1345 content: url(facts/DEAT.png); 1346} 1347 1348.wt-fact-icon-ANUL, 1349.wt-fact-icon-DIV { 1350 content: url(facts/DIV.png); 1351} 1352 1353.wt-fact-icon-DIVF { 1354 content: url(facts/DIVF.png); 1355} 1356 1357.wt-fact-icon-EMAIL { 1358 content: url(facts/EMAIL.png); 1359} 1360 1361.wt-fact-icon-EMIG { 1362 content: url(facts/EMIG.png); 1363} 1364 1365.wt-fact-icon-ENGA, 1366.wt-fact-icon-MARB { 1367 content: url(facts/ENGA.png); 1368} 1369 1370.wt-fact-icon-EVEN { 1371 content: url(facts/EVEN.png); 1372} 1373 1374.wt-fact-icon-FACT { 1375 content: url(facts/FACT.png); 1376} 1377 1378.wt-fact-icon-IMMI { 1379 content: url(facts/IMMI.png); 1380} 1381 1382.wt-fact-icon-MARR, 1383.wt-fact-icon-SLGS { 1384 content: url(facts/MARR.png); 1385} 1386 1387.wt-fact-icon-OCCU { 1388 content: url(facts/OCCU.png); 1389} 1390 1391.wt-fact-icon-ORDN { 1392 content: url(facts/ORDN.png); 1393} 1394 1395.wt-fact-icon-PHON { 1396 content: url(facts/PHON.png); 1397} 1398 1399.wt-fact-icon-PROP, 1400.wt-fact-icon-RESI { 1401 content: url(facts/RESI.png); 1402} 1403 1404.wt-fact-icon-WWW { 1405 content: url(facts/WWW.png); 1406} 1407 1408.wt-fact-icon-_MDCL { 1409 content: url(facts/_MDCL.png); 1410} 1411 1412.wt-fact-icon-_MILI { 1413 content: url(facts/_MILI.png); 1414} 1415 1416.wt-fact-icon-_NMAR { 1417 content: url(facts/_NMAR.png); 1418} 1419 1420.wt-fact-icon-_NMR { 1421 content: url(facts/MARR.png); 1422} 1423 1424.wt-fact-icon-_SEPR { 1425 content: url(facts/_SEPR.png); 1426} 1427 1428.wt-fact-icon-_TODO { 1429 content: url(facts/_TODO.png); 1430} 1431 1432/* Miscellaneous images */ 1433.icon-cfamily { 1434 content: url(xenea/images/cfamily.png); 1435} 1436 1437.icon-childless { 1438 content: url(images/childless.png); 1439} 1440 1441.icon-children { 1442 content: url(images/children.png); 1443} 1444 1445.icon-edit_indi { 1446 content: url(xenea/images/edit_indi.png); 1447} 1448 1449.icon-fam-list { 1450 content: url(xenea/images/cfamily.png); 1451} 1452 1453.icon-indi-list { 1454 content: url(xenea/images/indis.png); 1455} 1456 1457.icon-loading-small { 1458 content: url(images/indicator.gif); 1459} 1460 1461.icon-minus { 1462 content: url(icons/minus.png); 1463} 1464 1465.icon-mypage { 1466 content: url(xenea/images/mypage.png); 1467} 1468 1469.icon-plus { 1470 content: url(icons/plus.png); 1471} 1472 1473.icon-resn-confidential { 1474 content: url(images/resn_confidential.png); 1475} 1476 1477.icon-resn-locked { 1478 content: url(images/resn_locked.png); 1479} 1480 1481.icon-resn-none { 1482 content: url(images/resn_none.png); 1483} 1484 1485.icon-resn-privacy { 1486 content: url(images/resn_privacy.png); 1487} 1488 1489.icon-rings { 1490 content: url(images/rings.png); 1491} 1492 1493.icon-selected { 1494 content: url(xenea/images/selected.png); 1495} 1496 1497/* Silhouettes on charts */ 1498.icon-silhouette-F { 1499 content: url(xenea/images/silhouette_female_small.png); 1500} 1501 1502.icon-silhouette-M { 1503 content: url(xenea/images/silhouette_male_small.png); 1504} 1505 1506.icon-silhouette-U { 1507 content: url(xenea/images/silhouette_unknown_small.png); 1508} 1509 1510.icon-indis { 1511 content: url(xenea/images/indis.png); 1512} 1513 1514.icon-patriarch { 1515 content: url(xenea/images/patriarch.png); 1516} 1517 1518.icon-pedigree { 1519 content: url(xenea/images/pedigree.png); 1520} 1521 1522.icon-sfamily { 1523 content: url(xenea/images/sfamily.png); 1524} 1525 1526.icon-user_add { 1527 content: url(xenea/images/user_add.png); 1528} 1529 1530/* Census assistant */ 1531.wt-census-assistant-form-control:focus { 1532 min-width: 12rem; 1533} 1534 1535/* Some blocks show a reduced version on the right-hand side. */ 1536.wt-side-blocks .wt-side-block-optional { 1537 display: none !important; 1538} 1539 1540/* my page chart enhancements */ 1541.wt-block-content-charts { 1542 overflow: auto; 1543} 1544 1545/* Some charts are wider than the page. */ 1546.wt-chart { 1547 overflow-x: auto; 1548 overflow-y: hidden; 1549} 1550 1551/* Fit thumbnail into parent on charts */ 1552.select2-selection.select2-selection--single { 1553 min-height: 36px; 1554 height: auto; 1555 padding: 2px 0; 1556} 1557 1558.select2-container .select2-selection--single .select2-selection__rendered { 1559 padding-left: 2px; 1560} 1561 1562.select2-selection--single .NAME { 1563 padding-left: 4px; 1564} 1565 1566/* Some menus (e.g. languages) can be longer than a page */ 1567.dropdown-menu { 1568 max-height: 30rem; 1569 overflow-x: hidden; 1570} 1571 1572/* Forms */ 1573.col-form-label { 1574 font-weight: bold; 1575} 1576