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