1/** 2 * webtrees: online genealogy 3 * Copyright (C) 2019 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 FAB theme */ 17@import "_base.css"; 18@import "_block-charts.css"; 19@import "_charts.css"; 20@import "_lists.css"; 21@import "_mime-type-icons.css"; 22@import "_on-screen-keyboard.css"; 23@import "_tab-relatives.css"; 24 25/* Colors for chart boxes, etc. */ 26:root { 27 --sex-f-fg: #ff8888; 28 --sex-m-fg: #8888ff; 29 --sex-u-fg: #88ff88; 30 --sex-f-bg: #ffdddd; 31 --sex-m-bg: #ddddff; 32 --sex-u-bg: #ddffdd; 33 --chart-line: solid gray thin; 34 --chart-line-radius: 1rem; 35} 36 37/* Override Bootstrap formatting */ 38.btn-link { 39 padding-left: 0.25rem; 40 padding-right: 0.25rem; 41} 42 43.table-given-name { 44 overflow-x: hidden; 45} 46 47.container-fluid { 48 padding-left: 5px; 49 padding-right: 5px; 50} 51 52table { 53 border-collapse: separate; 54} 55 56/* 57 * Pages have the following high-level structure: 58 * 59 * wt-global wt-theme-<THEME> wt-route-<ROUTE> 60 * +---wt-header-wrapper 61 * | +---wt-header-container 62 * | +---wt-header-content 63 * | +---wt-accessibility-links 64 * | +---wt-site-logo 65 * | +---wt-site-title 66 * | +---wt-header-search 67 * | | +---wt-header-search-form 68 * | | +---wt-header-search-field 69 * | | +---wt-header-search-button 70 * | +---wt-secondary-navigation 71 * | | +---wt-user-menu 72 * | +---wt-primary-navigation 73 * | +---wt-genealogy-menu 74 * +---wt-main-wrapper 75 * | +---wt-main-container 76 * | +---wt-main-content 77 * | +---wt-messages 78 * | +---wt-page-title 79 * | +---wt-page-options wt-page-options-xxxxx 80 * | +---wt-page-content 81 * +---wt-footers 82 * +---wt-footer wt-footer-contact 83 * +---wt-footer wt-footer-cookies 84 * +---wt-footer wt-footer-page-views 85 * +---wt-footer wt-footer-powered-by 86 */ 87 88.wt-global { 89 color: #555; 90} 91 92.wt-header-wrapper { 93} 94 95.wt-header-container { 96 background-color: #eee; 97} 98 99.wt-header-content { 100} 101 102.wt-accessibility-links { 103} 104 105.wt-site-logo { 106 display: none; 107} 108 109.wt-site-title { 110 order: 1; 111 flex: 1 1 0; 112 font-size: 1.5rem; 113 color: #888; 114} 115 116.wt-header-search { 117 order: 3; 118 flex: 0 0 15rem; 119} 120 121.wt-header-search-form { 122} 123 124.wt-header-search-field { 125} 126 127.wt-header-search-button { 128} 129 130.wt-secondary-navigation { 131 order: 2; 132 flex: 0 0 0; 133 white-space: nowrap; 134} 135 136.wt-user-menu { 137 flex-wrap: nowrap; 138} 139 140.wt-user-menu .nav-link { 141 display: inline-block; 142 padding: 0.5rem; 143} 144 145.wt-user-menu .nav-item::after { 146 content: "|"; 147} 148 149.wt-user-menu .dropdown-toggle::after { 150 display: none; 151} 152 153.wt-primary-navigation { 154 order: 4; 155 flex: 0 0 100%; 156 background-color: #eee; 157} 158 159.wt-genealogy-menu { 160 justify-content: center; 161} 162 163.wt-genealogy-menu .dropdown-toggle::after { 164 display: none; 165} 166 167.wt-genealogy-menu .nav-link { 168 white-space: nowrap; 169 display: inline-block; 170 padding: 0.5rem; 171} 172 173.wt-genealogy-menu .nav-item + .nav-item::before { 174 content: "|"; 175} 176 177.wt-main-container { 178 /* Space between the header/footer and the main content. */ 179 padding-top: 1rem; 180 padding-bottom: 1rem; 181} 182 183.wt-main { 184} 185 186.wt-messages { 187} 188 189.wt-page-title { 190 text-align: center; 191} 192 193.wt-page-options .form-group { 194 margin-bottom: 0; 195} 196 197.wt-page-options-label { 198 background-color: #ccc; 199 border-left: 2px solid transparent; 200 border-right: 2px solid transparent; 201 Color: #555; 202 font-weight: bold; 203} 204 205.wt-page-options-value { 206 background-color: #ddd; 207 border: 1px solid #fff; 208 border-top: 1px solid #ddd; 209 210 padding: 0.25rem 0.75rem; 211} 212 213.wt-page-content { 214 margin-top: 1rem; 215} 216 217.wt-footers { 218} 219 220.wt-footer { 221} 222 223.wt-footer-contact { 224} 225 226.wt-footer-cookies { 227 background: #aaa; 228 color: #fff; 229 transition: height 0.5s; 230} 231 232.wt-footer-page-views { 233} 234 235.wt-footer-powered-by { 236} 237 238.wt-footer-powered-by-webtrees { 239 width: 100px; 240 height: 21px; 241 content: url(images/powered-by-webtrees.png); 242} 243 244/* 245 * The tree/user home pages 246 * 247 * wt-home-page / wt-user-page 248 * +---wt-main-blocks 249 * | +---wt-block, wt-block-AAA 250 * | +---wt-block, wt-block-BBB 251 * | +---wt-block, wt-block-CCC 252 * +---wt-side-blocks 253 * +---wt-block, wt-block-XXX 254 * +---wt-block, wt-block-YYY 255 * +---wt-block, wt-block-ZZZ 256 * 257 * Each block as the structure 258 * wt-block, wt-block-XXX 259 * +---wt-block-header, wt-block-header-XXX 260 * +---wt-block-content, wt-block-content-XXX 261 */ 262 263.wt-block { 264 background-color: #eee; 265 padding: 3px; 266 vertical-align: top; 267} 268 269.wt-block-header { 270 background-color: #eee; 271 border-bottom: 0; 272 font-weight: bold; 273} 274 275.wt-block-content { 276} 277 278.wt-block-content .list_table { 279 border-spacing: 1px; 280 border: solid #000 1px; 281 border-right: 0; 282} 283 284.wt-block-content .list_value, 285.wt-block-content .list_value_wrap { 286 border: 0; 287} 288 289/* 290 * The individual page. 291 * 292 * wt-route-individual 293 * +---wt-header-wrapper 294 */ 295 296.wt-individual-silhouette { 297 content: url(images/individual-silhouette-unknown.png); 298} 299 300.wt-individual-silhouette-f { 301 content: url(images/individual-silhouette-female.png); 302} 303 304.wt-individual-silhouette-m { 305 content: url(images/individual-silhouette-male.png); 306} 307 308/* 309 * Chart-boxes are used to build the various charts. 310 * Each type of chart will set its own size and hide/show content. 311 * 312 * wt-chart-box 313 * +--- wt-chart-box-thumbnail 314 * +--- wt-chart-box-extra 315 * +--- wt-chart-box-zoom 316 * +--- wt-chart-box-icon 317 * +--- wt-chart-box-dropdown wt-chart-box-zoom-dropdown 318 * +--- wt-chart-box-links 319 * +--- wt-chart-box-icon 320 * +--- wt-chart-box-dropdown wt-chart-box-links-dropdown 321 * +--- wt-chart-box-name 322 * +--- wt-chart-box-lifespan 323 * +--- wt-chart-box-facts 324 * +--- wt-chart-box-fact 325 */ 326.wt-chart-box, 327.wt-chart-box-menu { 328 background: var(--sex-u-bg); 329 border: dashed var(--sex-u-fg) thin; 330} 331 332.wt-chart-box { 333 height: 5rem; 334 padding: 2px; 335 line-height: 1.1; 336 border: none; 337} 338 339.wt-chart-box-f, 340.wt-chart-box-f .wt-chart-box-dropdown { 341 background: var(--sex-f-bg); 342} 343 344.wt-chart-box-m, 345.wt-chart-box-m .wt-chart-box-dropdown { 346 background: var(--sex-m-bg); 347} 348 349/* ====== Round Corners ======== */ 350.border1, 351.block, 352.descriptionbox, 353.list_label, 354.list_label_wrap, 355.list_value, 356.list_value_wrap, 357.messagebox, 358.optionbox, 359.wt-chart-box, 360.person0, 361.person1, 362.person2, 363.person3, 364.person4, 365.person5, 366#indi_main_blocks, 367#tabs, 368.topbottombar { 369 margin: 4px; 370 padding: 4px; 371 border-radius: 4px; 372} 373 374a { 375 text-decoration: none; 376 color: #369; 377} 378 379a:hover, 380a:active { 381 text-decoration: underline; 382} 383 384:focus { 385 outline-style: none; 386} 387 388.flash-messages { 389 clear: both; 390 text-align: center; 391} 392 393dl { 394 margin: 0; 395} 396 397dt { 398 float: left; 399 font-weight: bold; 400 margin-right: 10px; 401} 402 403#mycart a img { 404 height: 15px; 405} 406 407.button { 408 width: 60px; 409} 410 411.alpha_index { 412 color: #999; 413} 414 415.news_box:target, 416#gedcom_stats:target { 417 background-color: #ffc; 418} 419 420/* families tab person box */ 421table.center { 422 margin-left: auto; 423 margin-right: auto; 424} 425 426.list_table { 427 margin: 0 auto; 428} 429 430.list_label, 431.list_label_wrap { 432 background-color: #ccc; 433 font-weight: bold; 434 text-align: center; 435} 436 437.list_value, 438.list_value_wrap { 439 background-color: #ddd; 440 vertical-align: top; 441} 442 443.list_label, 444.list_value { 445 white-space: nowrap; 446} 447 448.list_label_wrap, 449.list_value_wrap { 450 white-space: normal; 451} 452 453div.fact_SHARED_NOTE { 454 clear: both; 455} 456 457/* Table of genealogical facts */ 458 459.wt-facts-table caption { 460 caption-side: top; 461} 462 463.wt-facts-table th { 464 background-color: #ccc; 465 border-radius: 4px; 466 text-align: center; 467 font-weight: normal; 468 min-width: 20%; 469} 470 471.wt-facts-table td { 472 border-radius: 4px; 473 background-color: #ddd; 474} 475 476.wt-facts-table .wt-gender-M td { 477 background-color: #ddf; 478} 479 480.wt-facts-table .wt-gender-F td { 481 background-color: #fdd; 482} 483 484.name1, .name2 { 485 color: #337; 486} 487 488a:hover, a:hover .name1, a:hover .name2 { 489 color: #f00; 490} 491 492.details_label { 493 font-weight: bold; 494} 495 496.name_head { 497 color: #555; 498 font-size: 16px; 499 font-weight: bold; 500 line-height: 2; 501 padding: 0 5px; 502} 503 504.date { 505 color: #337; 506} 507 508.label { 509 font-weight: bold; 510} 511 512.error { 513 color: #f00; 514 font-weight: bold; 515} 516 517.largeError { 518 color: #f00; 519 font-weight: bold; 520} 521 522.warning { 523 color: #f00; 524 font-weight: bold; 525} 526 527.indent { 528 padding-left: 7px; 529} 530 531.image { 532 height: 150px; 533 padding: 5px; 534 margin: 2px; 535} 536 537.thumbnail { 538 height: auto; 539 padding: 3px; 540} 541 542.icon { 543 border: 0; 544 padding: 0 5px; 545} 546 547.submenu .icon { 548 vertical-align: middle; 549 width: 20px; 550 height: 20px; 551} 552 553.subheaders { 554 font-weight: bold; 555 font-size: 15px; 556 margin-top: 15px; 557 vertical-align: bottom; 558} 559 560.parentdeath { 561 padding: 1px; 562} 563 564.source_citations { 565 display: none; 566} 567 568.selected-option { 569 background-color: #d6e0ea; 570} 571 572.border1 { 573 border: 0; 574} 575 576.menuitem { 577 text-decoration: none; 578 font-size: 11px; 579 padding: 1px; 580} 581 582.menuitem_hover { 583 text-decoration: none; 584 font-size: 11px; 585 padding: 1px; 586} 587 588.menuitem .icon, .menuitem_hover .icon { 589 width: 50px; 590 height: 50px; 591} 592 593.submenu { 594 text-decoration: none; 595 font-size: 11px; 596 background-color: #eee; 597 border: thin #aaa; 598 visibility: hidden; 599 position: absolute; 600 padding: 5px; 601} 602 603.submenuitem { 604 vertical-align: middle; 605 font-size: 11px; 606 height: 20px; 607 text-decoration: none; 608 background-color: #eee; 609 padding: 1px; 610 white-space: nowrap; 611} 612 613.submenuitem_hover { 614 vertical-align: middle; 615 height: 20px; 616 font-size: 11px; 617 background-color: #eee; 618 white-space: nowrap; 619 padding: 1px; 620} 621 622.submenuitem a, 623.submenuitem_hover a { 624 display: inline-block; 625 vertical-align: middle; 626} 627 628.journal_box { 629 padding: 3pt; 630 border: thin solid #aaa; 631 overflow: visible; 632} 633 634.news_box { 635 background-color: #ccc; 636 border-top: none; 637} 638 639.news_title { 640 font-weight: bold; 641 font-size: 14px; 642} 643 644.news_date { 645 margin-bottom: 12px; 646} 647 648.current_day { 649 font-weight: bold; 650 font-size: 16px; 651} 652 653.cal_day { 654 float: left; 655 font-weight: bold; 656} 657 658.rtl_cal_day { 659 direction: rtl; 660 float: right; 661 color: #00f; 662 font-weight: bold; 663} 664 665.helpcontent { 666 margin-left: 10px; 667 margin-right: 10px; 668} 669 670.helpcontent dt { 671 clear: both; 672} 673 674#user-page h1 { 675 margin: 0.25em auto 0.6em; 676} 677 678.tvertline { 679 vertical-align: bottom; 680} 681 682#childbox { 683 padding: 5px; 684 position: absolute; 685 display: none; 686 text-align: start; 687 white-space: nowrap; 688 top: 20px; 689 left: 0; 690} 691 692.layout3 #childbox { 693 top: auto; 694 bottom: 20px; 695} 696 697#childbox a.name1 { 698 display: block; 699 margin-left: 5px; 700} 701 702.person0 { 703 background-color: #aaf; 704 vertical-align: top; 705} 706 707.person1 { 708 background-color: #afa; 709 vertical-align: top; 710} 711 712.person2 { 713 background-color: #faa; 714 vertical-align: top; 715} 716 717.person3 { 718 background-color: #55f; 719 vertical-align: top; 720} 721 722.person4 { 723 background-color: #f55; 724 vertical-align: top; 725} 726 727.person5 { 728 background-color: #5f5; 729 vertical-align: top; 730} 731 732.listlog { 733 line-height: 20pt; 734} 735 736.starredname { 737 text-decoration: underline; 738} 739 740.search_hit { 741 background-color: #ff0; 742} 743 744.search_item { 745 font-weight: 600; 746} 747 748.topbottombar, 749.descriptionbox { 750 font-weight: bold; 751 background-color: #ccc; 752 vertical-align: top; 753} 754 755.descriptionbox { 756 font-size: 14px; 757 background-color: #ccc; 758 vertical-align: top; 759 padding: 3px; 760} 761 762.optionbox { 763 background-color: #ddd; 764 color: #000; 765 vertical-align: top; 766 white-space: nowrap; 767 padding: 3px; 768} 769 770.vmiddle { 771 vertical-align: middle; 772} 773 774.red { 775 color: #f00; 776} 777 778.wt-relation-fact, 779.wt-historic-fact { 780 opacity: 0.8; 781} 782 783.messagebox { 784 background-color: #bce; 785} 786 787/* ---Pending edits--- */ 788.wt-new { 789 outline: solid #00f 1px; 790} 791 792.wt-old { 793 outline: solid #f00 1px; 794} 795 796.tag_cloud { 797 text-align: center; 798} 799 800.tag_cloud a { 801 white-space: nowrap; 802} 803 804.nowrap { 805 white-space: nowrap; 806} 807 808.wrap { 809 white-space: normal; 810} 811 812.statistics-page { 813 text-align: center; 814} 815 816.gchart { 817 border: 0; 818} 819 820#facts_content dd { 821 float: left; 822 width: 70%; 823} 824 825/* this keeps the tag color the same when it is a link as when not */ 826 827.place { 828 padding-top: 5px; 829} 830 831#pending h2 { 832 text-align: center; 833 margin-bottom: 20px; 834} 835 836#pending h3 { 837 text-align: center; 838 margin-top: 20px; 839} 840 841#pending .list_value { 842 padding: 3px; 843 text-align: center; 844 vertical-align: middle; 845 white-space: nowrap; 846} 847 848#pending .indent { 849 padding: 0; 850} 851 852.gedcom_favorites_block, 853.user_favorites_block { 854 overflow: visible !important; 855} 856 857/* --- reportengine.php --- */ 858#reportengine-page table { 859 margin: 20px auto; 860} 861 862#reportengine-page .report-type { 863 overflow: hidden; 864 margin: auto; 865 width: 180px; 866} 867 868#reportengine-page .report-type div { 869 float: left; 870 margin: 0 20px; 871} 872 873#reportengine-page .report-type p { 874 margin: 0; 875 text-align: center; 876} 877 878/* ======== List styles ====== */ 879 880.recent_changes_block, 881.upcoming_events_block, 882.todays_events_block, 883.todo_block { 884 width: 98%; 885} 886 887.surname-list, 888.givn-list { 889 margin: 5px auto; 890} 891 892.source-list table, 893.note-list table, 894.repo-list table, 895.media-list table, 896.indi-list table, 897.fam-list table { 898 width: 100%; 899} 900 901.source-list td, 902.note-list td, 903.repo-list td, 904.media-list td, 905.indi-list td, 906.fam-list td, 907.recent_changes_block td, 908.upcoming_events_block td, 909.surname-list td, 910.givn-list td { 911 padding: 2px 5px; 912} 913 914.indi-list td, 915.fam-list td { 916 color: #555; 917} 918 919.surname-list td { 920 vertical-align: top; 921} 922 923.indi-list .stats, 924.fam-list .stats { 925 margin: 0 auto; 926 width: auto; 927} 928 929.source-list th, 930.note-list th, 931.repo-list th, 932.media-list th, 933.indi-list th, 934.fam-list th, 935.wt-table-changes th, 936.wt-table-events th, 937.wt-table-tasks th, 938.wt-table-yahrzeits th, 939.surname-list th, 940.givn-list th { 941 cursor: pointer; 942 font-weight: 600; 943 padding: 2px 4px; 944 white-space: nowrap; 945} 946 947.source-list th:last-child, 948.note-list th:last-child, 949.repo-list th:last-child { 950 margin: 0 -2px 1px 1px; 951 padding: 3px 0 4px; 952 width: 24px; 953} 954 955.givn-list th { 956 cursor: pointer; 957 white-space: nowrap; 958 padding: 2px; 959 text-align: center; 960} 961 962#source-details h2, 963#sourcelist-page h2, 964#note-details h2, 965#notelist-page h2, 966#repo-details h2, 967#repolist-page h2, 968#media-details h2, 969#statistics-page h2 { 970 margin-bottom: 20px; 971 text-align: center; 972} 973 974#source-edit, 975#note-edit, 976#repo-edit, 977#media-edit { 978 overflow-x: auto; 979} 980 981.media-list td img { 982 display: block; 983 height: 40px; 984 width: auto; 985 margin: 3px auto; 986} 987 988.filtersH, 989.filtersF { 990 margin: 4px; 991} 992 993.filtersH img { 994 margin-bottom: 2px; 995} 996 997.list-charts { 998 text-align: center; 999} 1000 1001#search-result-tabs h3 { 1002 text-align: center; 1003} 1004 1005#searchAccordion-indi, 1006#searchAccordion-fam, 1007#searchAccordion-source, 1008#searchAccordion-note { 1009 margin: auto; 1010 width: 99%; 1011} 1012 1013#place-hierarchy h2, 1014#place-hierarchy h4 { 1015 text-align: center; 1016} 1017 1018#main_select, 1019#available_select, 1020#right_select { 1021 min-width: 150px; 1022} 1023 1024.user_welcome_block table, 1025.gedcom_block_block table { 1026 margin: auto; 1027} 1028 1029.user_welcome_block td, 1030.gedcom_block_block td { 1031 width: 33%; 1032 text-align: center; 1033 vertical-align: top; 1034} 1035 1036/* === Who is online block === */ 1037.logged_in_list { 1038 margin: 5px 0 0; 1039 padding: 0; 1040 line-height: 20px; 1041} 1042 1043/* ==== Theme select block === */ 1044.theme_form ul { 1045 margin: -10px auto; 1046} 1047 1048.theme_form li { 1049 visibility: hidden; 1050} 1051 1052.theme_form li ul li { 1053 display: inline-block; 1054 padding: 10px; 1055 visibility: visible; 1056} 1057 1058/* ==== FAQ table styles ===== */ 1059table.faq { 1060 background-color: #ddd; 1061 margin: 5px 0 50px 5px; 1062 width: 98%; 1063} 1064 1065table.faq tr:nth-child(odd) td { 1066 background-color: #eee; 1067} 1068 1069div.faq_title { 1070 background-color: #ddd; 1071 margin: 1em 0; 1072 padding: .25em; 1073 font-weight: bold; 1074 width: 98%; 1075} 1076 1077div.faq_body { 1078 clear: both; 1079 padding: 0 1em; 1080} 1081 1082.faq_top { 1083 float: right; 1084} 1085 1086/* === Positioning edit, copy, delete links === */ 1087/* General use */ 1088.editfacts { 1089 clear: left; 1090 padding-top: 15px; 1091} 1092 1093/* ======== Indi header ====== */ 1094#indi_header { 1095 overflow: hidden; 1096 border-radius: 4px; 1097 margin-bottom: 5px; 1098 width: 98%; 1099} 1100 1101#indi_header h3 { 1102 color: #369; 1103 font-size: 90%; 1104 font-weight: bold; 1105 margin: 0; 1106 padding: 0 10px 0 30px; 1107 text-align: left; 1108 overflow: hidden; 1109 position: relative; 1110} 1111 1112#indi_header .name_one { 1113 font-size: 1.5em; 1114} 1115 1116#indi_header h3 .details1 { 1117 font-size: 1.0em; 1118} 1119 1120#indi_header h3 .header_age { 1121 padding: 5px 0 5px 5px; 1122 float: right; 1123 font-weight: normal; 1124 font-size: 65%; 1125} 1126 1127#indi_header h3 a { 1128 display: inline; 1129} 1130 1131#indi_header a { 1132 color: #337; 1133 font-size: 0.75em; 1134 font-weight: normal; 1135} 1136 1137#indi_header a:hover { 1138 color: #f00; 1139} 1140 1141#indi_mainimage { 1142 float: right; 1143} 1144 1145#header_accordion1 { 1146 padding: 0 10px 0 0; 1147 overflow: hidden; 1148} 1149 1150#header_accordion1 .indi_name_details { 1151 margin: 0; 1152 overflow: hidden; 1153 padding: 5px; 1154} 1155 1156.indi_name_details .name1 { 1157 font-weight: normal; 1158 padding-top: 5px; 1159 font-size: inherit; 1160} 1161 1162#indi_header a.warning { 1163 color: #f00; 1164 font-size: 1em; 1165} 1166 1167#indi_note { 1168 margin: 0 0 5px; 1169} 1170 1171.indi_table { 1172 clear: left; 1173} 1174 1175#sex { 1176 float: right; 1177} 1178 1179#dates { 1180 color: #369; 1181 float: right; 1182} 1183 1184#individual-names .wt-icon-edit, 1185#individual-names .wt-icon-delete { 1186 float: right; 1187} 1188 1189#indi_note .fact_NOTE { 1190 float: left; 1191 margin: 0 5px 0 0; 1192} 1193 1194#indi_note .fact_SOUR { 1195 margin: 3px 0; 1196} 1197 1198#indi_note .fact_SOUR a { 1199 font-size: 100%; 1200} 1201 1202#indi_note .fact_NOTE, 1203#indi_note .fact_SOUR { 1204 clear: both; 1205} 1206 1207/* ===== markdown formatting ===== */ 1208 1209.markdown { 1210 /* Tables and pre-formatted text can break the layout. */ 1211 overflow-x: auto; 1212} 1213 1214.markdown p { 1215 margin: 0 0 0.5em; 1216 white-space: pre-wrap; 1217} 1218 1219.markdown table { 1220 border-collapse: collapse; 1221 font-size: 10px; 1222 margin-bottom: 8px; 1223} 1224 1225.markdown th { 1226 font-weight: bold; 1227} 1228 1229.markdown td, 1230.markdown th { 1231 border: solid thin #000; 1232 padding: 3px; 1233} 1234 1235.odometer { 1236 font-family: courier, monospace; 1237 font-weight: bold; 1238 background: #000; 1239 color: #fff; 1240} 1241 1242/* ======== Indi tabs ======== */ 1243/* Facts & Events tab */ 1244.media-display-image { 1245 float: left; 1246} 1247 1248.media-display-title { 1249 float: left; 1250 font-style: italic; 1251 margin: 10px; 1252} 1253 1254/* === jQuery.datatable styling general over-rides === */ 1255.odd { 1256 background-color: LightGrey; 1257} 1258 1259.even { 1260 background-color: #fff; 1261} 1262 1263.css_right { 1264 float: left; 1265} 1266 1267.fg-button { 1268 padding: 2px 6px; 1269} 1270 1271.fg-toolbar { 1272 background: #eee; 1273 border-color: #aaa; 1274} 1275 1276.upcoming_events_block button, 1277.todays_events_block button { 1278 margin: 0 20px; 1279} 1280 1281/* Sidebar - Family navigator */ 1282.wt-family-navigator-dropdown { 1283 background: #eee; 1284} 1285 1286.wt-family-navigator-dropdown-heading { 1287 font-weight: bold; 1288 font-size: inherit; 1289 color: inherit; 1290} 1291 1292/* Sidebar - Descendants */ 1293#sb_content_descendancy { 1294 margin-top: 5px; 1295} 1296 1297#sb_desc_content { 1298 margin-left: 3px; 1299 font-size: 0.8em; 1300} 1301 1302#sb_desc_content ul { 1303 padding: 0; 1304 margin: 0; 1305} 1306 1307.sb_desc_indi_li { 1308 list-style-type: none; 1309} 1310 1311.desc_tree_div { 1312 display: none; 1313} 1314 1315.desc_tree_div ul { 1316 padding: 0; 1317 margin-left: 10px; 1318 margin-top: 0; 1319 margin-right: 0; 1320} 1321 1322/* Individuals and Families */ 1323#sidebar-content-individuals, 1324#sidebar-content-families { 1325 margin-top: 5px; 1326} 1327 1328.sb_indi_surname_li, 1329.sb_fam_surname_li { 1330 list-style-image: url(fab/images/plus.png); 1331} 1332 1333.name_tree_div ul { 1334 padding: 0; 1335 margin: 0; 1336} 1337 1338.name_tree_div li { 1339 list-style: none; 1340 margin: 0; 1341 padding: 0; 1342} 1343 1344/* Clippings */ 1345#sb_clippings_content ul { 1346 padding: 0; 1347 margin: 0; 1348} 1349 1350#sb_clippings_content li { 1351 list-style: none; 1352 margin: 0; 1353 padding: 0; 1354 white-space: nowrap; 1355} 1356 1357/* Extra info */ 1358#sb_content_extra_info { 1359 font-size: 80%; 1360 font-weight: bold; 1361 margin-top: 1px; 1362 overflow: hidden; 1363 padding: 5px; 1364} 1365 1366#sb_content_extra_info .editfacts { 1367 float: right; 1368 margin-top: -10px; 1369} 1370 1371#sb_content_extra_info a { 1372 display: block; 1373} 1374 1375#sb_content_extra_info span { 1376 font-weight: normal; 1377} 1378 1379#sb_content_extra_info span a { 1380 display: inline; 1381} 1382 1383#sb_content_extra_info #hitcounter { 1384 font-weight: bold; 1385 padding-top: 5px; 1386} 1387 1388/* http://www.jacklmoore.com/colorbox */ 1389#colorbox, 1390#cboxOverlay, 1391#cboxWrapper { 1392 position: absolute; 1393 top: 0; 1394 left: 0; 1395 z-index: 9999; 1396 overflow: hidden; 1397} 1398 1399#cboxWrapper { 1400 max-width: none; 1401} 1402 1403#cboxOverlay { 1404 position: fixed; 1405 width: 100%; 1406 height: 100%; 1407 background: #fff; 1408} 1409 1410#cboxContent { 1411 background: #fff; 1412 overflow: hidden; 1413 position: relative; 1414 padding: 0.5rem; 1415 border: 0.25rem solid #ccc; 1416} 1417 1418#cboxLoadingOverlay, 1419#cboxLoadingGraphic { 1420 position: absolute; 1421 top: 0; 1422 left: 0; 1423 width: 100%; 1424 height: 100%; 1425} 1426 1427.cboxPhoto { 1428 float: left; 1429 margin: auto; 1430 border: 0; 1431 display: block; 1432 max-width: none; 1433} 1434 1435#colorbox, 1436#cboxContent, 1437#cboxLoadedContent { 1438 box-sizing: content-box; 1439} 1440 1441#cboxError { 1442 padding: 50px; 1443 border: 1px solid #ccc; 1444} 1445 1446#cboxLoadedContent { 1447 margin-bottom: 28px; 1448} 1449 1450#cboxTitle { 1451 background: #fff; 1452 position: absolute; 1453 bottom: 0.25rem; 1454 left: 0; 1455 margin: 0 3rem; 1456 text-align: center; 1457} 1458 1459#cboxLoadingGraphic { 1460 background: url(images/loading-32x32.gif) no-repeat center center; 1461} 1462 1463#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { 1464 background: none; 1465 border: 0; 1466 cursor: pointer; 1467 font-family: "Font Awesome\ 5 Free", sans-serif; 1468 font-weight: 900; 1469 overflow: visible; 1470 padding: 0; 1471 position: absolute; 1472} 1473 1474#cboxSlideshow { 1475 bottom: 0.25rem; 1476 right: 0.25rem; 1477} 1478 1479#cboxPrevious { 1480 bottom: 0.25rem; 1481 left: 0.25rem; 1482} 1483 1484#cboxNext { 1485 bottom: 0.25rem; 1486 left: 1.5rem; 1487} 1488 1489#cboxClose { 1490 top: 0.25rem; 1491 right: 0.25rem; 1492} 1493 1494/* Stories module */ 1495.story_title { 1496 padding-top: 12px; 1497 font-size: 13px; 1498 height: 32px; 1499 font-weight: bold; 1500} 1501 1502.story_body { 1503 padding: 20px; 1504 white-space: normal; 1505} 1506 1507.story_edit { 1508 padding: 12px; 1509} 1510 1511/* ====== Charts Styles ======== */ 1512#people label { 1513 display:block; 1514} 1515 1516/* Ancestry chart */ 1517.wt-chart-ancestors-list { 1518 background: transparent url(images/vline.png) left top repeat-y; 1519 margin: 0 0 0 15px; 1520 padding: 0; 1521 display: block; 1522} 1523 1524.wt-chart-ancestors-list-item { 1525 margin: 5px 0; 1526} 1527 1528.chart_common li { 1529 list-style: outside none none; 1530} 1531 1532.generations { 1533 background: transparent url(images/vline.png) repeat-y scroll left top; 1534 display: block; 1535 margin: 0 0 0 15px; 1536 padding: 0; 1537} 1538 1539.chart_common table { 1540 padding: 0; 1541 border-spacing: 0; 1542 border-collapse: collapse; 1543 margin: 5px 0; 1544} 1545 1546.chart_common td { 1547 border: 0; 1548 padding: 0; 1549} 1550 1551.chart_common span.details1 div[class^=fact_] { 1552 display: inline-block; 1553} 1554 1555.chart_common span.details1 .date { 1556 color: inherit; 1557} 1558 1559/*-- Family book --*/ 1560#familybook_chart { 1561 margin-left: 10px; 1562} 1563 1564#familybook_chart table { 1565 border-collapse: collapse; 1566 empty-cells: show; 1567} 1568 1569#familybook_chart td { 1570 margin: 0; 1571 padding: 0; 1572} 1573 1574#familybook_chart h2 { 1575 text-align: center; 1576} 1577 1578#familybook_chart .line3, 1579#familybook_chart .pvline, 1580#familybook_chart .spacer { 1581 width: 3px; 1582} 1583 1584#familybook_chart .line4 { 1585 width: 7px; 1586 vertical-align: middle; 1587} 1588 1589[ID^="vline"] { 1590 width: 3px; 1591} 1592 1593#familybook_chart h3 { 1594 color: #006; 1595 font-size: 16px; 1596 text-align: center; 1597} 1598 1599/*-- Fan chart ---- */ 1600.fan_chart_menu { 1601 background: #fff; 1602 position: absolute; 1603 display: none; 1604 z-index: 100; 1605} 1606 1607#fan_chart ul { 1608 list-style-type: none; 1609 margin: 0; 1610} 1611 1612/* Lifespans chart */ 1613.wt-lifespans-subtitle { 1614 text-align: center; 1615} 1616 1617.wt-lifespans-scale { 1618 white-space: nowrap; 1619} 1620 1621.wt-lifespans-decade { 1622 width: 70px; 1623 height: 60px; 1624 display: inline-block; 1625 background-image: url(images/lifespan-decade.png); 1626 background-position-y: bottom; 1627 background-repeat: no-repeat; 1628 background-size: 70px 37px; 1629} 1630 1631.wt-lifespans-individuals { 1632 background: #fafafa; 1633} 1634 1635.wt-lifespans-individual { 1636 1637} 1638 1639.wt-lifespans-summary { 1640 background: #ffffff; 1641 border: thin solid #000; 1642 z-index: 1; 1643} 1644 1645.wt-lifespans-summary-link { 1646 font-weight: bold; 1647} 1648 1649/*-- timeline --*/ 1650#timeline_chart { 1651 position: relative; 1652 top: 0; 1653 left: 0; 1654} 1655 1656#field_table { 1657 width: 40%; 1658 min-width: 600px; 1659} 1660 1661/*-- Relationship ---- */ 1662 1663.wt-relationship-chart .hline-text, 1664.wt-relationship-chart .vline-text { 1665 font-size: 12px; 1666} 1667 1668/* 1669 * Any element that is loaded dynamically has the class wt-ajax-load. 1670 * We can provide a "loading" placeholder for empty elements with this class. 1671 */ 1672.wt-ajax-load:empty { 1673 height: 32px; 1674 background: url(images/loading-32x32.gif) no-repeat 50% 50%; 1675} 1676 1677/* 1678 * Default icons are provided by FontAwesome. 1679 * Some icons get mirrored on RTL pages. Typiclly arrows 1680 */ 1681[dir=rtl] .wt-flip-rtl { 1682 transform: scale(-1, 1); 1683} 1684 1685.wt-icon-anniversary { 1686 content: url(images/anniversary.png); 1687} 1688 1689.wt-icon-arrow-down { 1690} 1691 1692a > .wt-icon-arrow-down:hover { 1693} 1694 1695.wt-icon-arrow-left { 1696} 1697 1698a > .wt-icon-arrow-left:hover { 1699} 1700 1701.wt-icon-arrow-right { 1702} 1703 1704a > .wt-icon-arrow-right:hover { 1705} 1706 1707.wt-icon-arrow-up { 1708} 1709 1710a > .wt-icon-arrow-up:hover { 1711} 1712 1713.wt-icon-collapse { 1714} 1715 1716.wt-icon-coordinates { 1717 content: url(images/coordinates.png) 1718} 1719 1720.wt-icon-expand { 1721} 1722 1723.wt-icon-reorder { 1724 content: url(images/reorder.png); 1725} 1726 1727.wt-icon-sex-f { 1728 color: var(--sex-f-fg); 1729} 1730 1731.wt-icon-sex-m { 1732 color: var(--sex-m-fg); 1733} 1734 1735.wt-icon-sex-u { 1736 color: var(--sex-u-fg); 1737} 1738 1739.wt-icon-sex-x { 1740 color: var(--sex-u-fg); 1741} 1742 1743.wt-icon-warning { 1744} 1745 1746.wt-icon-zoom-in { 1747 content: url(fab/images/zoomin.png); 1748} 1749 1750.wt-icon-zoom-out { 1751 content: url(fab/images/zoomout.png); 1752} 1753 1754/* 1755 * .wt-icon-bing-maps 1756 * .wt-icon-calendar 1757 * .wt-icon-copy 1758 * .wt-icon-delete 1759 * .wt-icon-edit 1760 * .wt-icon-email 1761 * .wt-icon-family 1762 * .wt-icon-help 1763 * .wt-icon-individual 1764 * .wt-icon-google-maps 1765 * .wt-icon-keyboard 1766 * .wt-icon-media 1767 * .wt-icon-note 1768 * .wt-icon-openstreetmap 1769 * .wt-icon-preferences 1770 * .wt-icon-repository 1771 * .wt-icon-source 1772 * .wt-icon-submitter 1773 */ 1774[class^="icon-"], 1775[class*=" icon-"] { 1776 display: inline-block; 1777 vertical-align: middle; 1778 background-repeat: no-repeat; 1779 background-size: cover; 1780} 1781 1782.icon-add { 1783 width: 14px; 1784 height: 15px; 1785 background-image: url(images/add.png); 1786} 1787 1788.icon-cfamily { 1789 width: 24px; 1790 height: 24px; 1791 background-image: url(fab/images/cfamily.png); 1792} 1793 1794.icon-childless { 1795 width: 25px; 1796 height: 25px; 1797 background-image: url(fab/images/childless.png); 1798} 1799 1800.icon-children { 1801 width: 16px; 1802 height: 16px; 1803 background-image: url(fab/images/children.png); 1804} 1805 1806.icon-clippings { 1807 width: 24px; 1808 height: 24px; 1809 background-image: url(fab/images/clippings.png); 1810} 1811 1812.icon-edit_indi { 1813 width: 25px; 1814 height: 25px; 1815 background-image: url(fab/images/edit_indi.png); 1816} 1817 1818.icon-fam-list { 1819 width: 24px; 1820 height: 24px; 1821 background-image: url(fab/images/sfamily.png); 1822} 1823 1824.icon-indi-list { 1825 width: 50px; 1826 height: 50px; 1827 background-image: url(fab/images/indis.png); 1828} 1829 1830.icon-loading-small { 1831 width: 16px; 1832 height: 16px; 1833 background-image: url(fab/images/indicator.gif); 1834} 1835 1836.icon-media { 1837 width: 24px; 1838 height: 24px; 1839 background-image: url(fab/images/media.png); 1840} 1841 1842.icon-media-list { 1843 width: 24px; 1844 height: 24px; 1845 background-image: url(fab/images/media.png); 1846} 1847 1848.icon-media-next { 1849 width: 20px; 1850 height: 20px; 1851 background-image: url(fab/images/rdarrow.png); 1852} 1853 1854.icon-media-play { 1855 width: 20px; 1856 height: 20px; 1857 background-image: url(fab/images/rarrow.png); 1858} 1859 1860.icon-media-stop { 1861 width: 20px; 1862 height: 20px; 1863 background-image: url(fab/images/stop.png); 1864} 1865 1866.icon-minus { 1867 width: 11px; 1868 height: 11px; 1869 background-image: url(fab/images/minus.png); 1870} 1871 1872.icon-mypage { 1873 width: 25px; 1874 height: 25px; 1875 background-image: url(fab/images/mypage.png); 1876} 1877 1878.icon-note { 1879 width: 16px; 1880 height: 16px; 1881 background-image: url(fab/icons/note.png); 1882} 1883 1884.icon-pin-in { 1885 width: 16px; 1886 height: 16px; 1887 background-image: url(fab/images/pin-in.png); 1888} 1889 1890.icon-pin-out { 1891 width: 16px; 1892 height: 16px; 1893 background-image: url(fab/images/pin-out.png); 1894} 1895 1896.icon-plus { 1897 width: 11px; 1898 height: 11px; 1899 background-image: url(fab/images/plus.png); 1900} 1901 1902.icon-remove { 1903 width: 14px; 1904 height: 15px; 1905 background-image: url(fab/images/remove.png); 1906} 1907 1908.icon-resn-confidential { 1909 width: 16px; 1910 height: 16px; 1911 background-image: url(fab/images/resn_confidential.png); 1912} 1913 1914.icon-resn-locked { 1915 width: 16px; 1916 height: 16px; 1917 background-image: url(fab/images/resn_locked.png); 1918} 1919 1920.icon-resn-none { 1921 width: 16px; 1922 height: 16px; 1923 background-image: url(fab/images/resn_none.png); 1924} 1925 1926.icon-resn-privacy { 1927 width: 16px; 1928 height: 16px; 1929 background-image: url(fab/images/resn_privacy.png); 1930} 1931 1932.icon-rings { 1933 width: 9px; 1934 height: 9px; 1935 background-image: url(fab/images/rings.png); 1936} 1937 1938.icon-selected { 1939 width: 12px; 1940 height: 12px; 1941 background-image: url(fab/images/selected.png); 1942} 1943 1944.icon-slide_close { 1945 width: 22px; 1946 height: 20px; 1947 background-image: url(fab/images/close.png); 1948} 1949 1950.icon-slide_open { 1951 width: 20px; 1952 height: 22px; 1953 background-image: url(fab/images/open.png); 1954} 1955 1956.icon-source { 1957 width: 24px; 1958 height: 24px; 1959 background-image: url(fab/images/source.png); 1960} 1961 1962/* Silhouettes on charts */ 1963.icon-silhouette-F { 1964 width: 37px; 1965 height: 45px; 1966 background-image: url(fab/images/silhouette_female_small.png); 1967} 1968 1969.icon-silhouette-M { 1970 width: 37px; 1971 height: 45px; 1972 background-image: url(fab/images/silhouette_male_small.png); 1973} 1974 1975.icon-silhouette-U { 1976 width: 37px; 1977 height: 45px; 1978 background-image: url(fab/images/silhouette_unknown_small.png); 1979} 1980 1981.menu-language li { 1982 text-align: left; /* The language menu is always LTR, even on RTL pages */ 1983} 1984 1985.menu-theme li { 1986 text-align: left; /* The theme menu is always LTR, even on RTL pages */ 1987} 1988 1989.icon-indis { 1990 width: 24px; 1991 height: 24px; 1992 background-image: url(fab/images/indis.png); 1993} 1994 1995.icon-patriarch { 1996 width: 24px; 1997 height: 24px; 1998 background-image: url(fab/images/patriarch.png); 1999} 2000 2001.icon-pedigree { 2002 width: 24px; 2003 height: 24px; 2004 background-image: url(fab/images/pedigree.png); 2005} 2006 2007.icon-place { 2008 width: 24px; 2009 height: 24px; 2010 background-image: url(fab/images/place.png); 2011} 2012 2013.icon-repo-list { 2014 width: 30px; 2015 height: 30px; 2016 background-image: url(fab/images/repository.png); 2017} 2018 2019.icon-repository { 2020 width: 30px; 2021 height: 30px; 2022 background-image: url(fab/images/repository.png); 2023} 2024 2025.icon-search { 2026 width: 24px; 2027 height: 24px; 2028 background-image: url(fab/images/search.png); 2029} 2030 2031.icon-sfamily { 2032 width: 24px; 2033 height: 24px; 2034 background-image: url(fab/images/sfamily.png); 2035} 2036 2037.icon-source-list { 2038 width: 24px; 2039 height: 24px; 2040 background-image: url(fab/images/source.png); 2041} 2042 2043.icon-user_add { 2044 width: 24px; 2045 height: 24px; 2046 background-image: url(fab/images/user_add.png); 2047} 2048 2049/* Census assistant */ 2050.wt-census-assistant-form-control:focus { 2051 min-width: 12rem; 2052} 2053 2054/* 2055 * Drag and drop sortable lists 2056 */ 2057.wt-sortable-list { 2058} 2059 2060.wt-sortable-item { 2061 cursor: move; 2062} 2063 2064/* Some blocks show a reduced version on the right-hand side. */ 2065.wt-side-blocks .wt-side-block-optional { 2066 display: none !important; 2067} 2068 2069/* my page chart enhancements */ 2070.wt-block-content-charts { 2071 flex-flow: column-reverse; 2072 overflow: auto; 2073} 2074 2075.wt-block-content-todays-events-block { 2076 padding: .25rem; 2077} 2078 2079/* Some charts are wider than the page. */ 2080.wt-chart { 2081 overflow-x: auto; 2082 overflow-y: hidden; 2083} 2084 2085/* Fit thumbnail into parent on charts */ 2086.select2-selection.select2-selection--single { 2087 min-height: 36px; 2088 height: auto; 2089 padding: 2px 0; 2090} 2091 2092.select2-container .select2-selection--single .select2-selection__rendered { 2093 padding-left: 2px; 2094} 2095 2096.select2-selection--single .NAME { 2097 padding-left: 4px; 2098} 2099 2100/* 2101 * These selectors control how the short horizontal lines are positioned in the Charts 2102 * Optimized for Win10 and FF, Chrome and Edge browsers 2103 * Ancestors 2104 * Descendants 2105 * amily book 2106 * Hourglass chart 2107 * 2108 */ 2109 2110/* Ascentors */ 2111.wt-chart-ancestors .linea1 { 2112 margin-bottom: 4px; 2113} 2114 2115.wt-chart-ancestors .linea2 { 2116 margin-bottom: 7px; 2117} 2118 2119.wt-chart-ancestors .linea3 { 2120 margin-bottom: 4px; 2121} 2122 2123.wt-chart-ancestors .linea4 { 2124 margin-bottom: 7px; 2125} 2126 2127.wt-chart-ancestors .linea5 { 2128 vertical-align: top; 2129} 2130 2131/* Descendants */ 2132.wt-chart-descendants .lined1 { 2133 margin-bottom: 4px; 2134} 2135 2136.wt-chart-descendants .lined2 { 2137 margin-bottom: 7px; 2138} 2139 2140.wt-chart-descendants .lined3 { 2141 margin-bottom: 4px; 2142} 2143 2144.wt-chart-descendants .lined4 { 2145 margin-bottom: 7px; 2146} 2147 2148.wt-chart-descendants .linea5 { 2149 vertical-align: top; 2150} 2151 2152/* Hourglass */ 2153.lineh1 { 2154 margin-bottom: 4px; 2155} 2156 2157.lineh2 { 2158 margin-bottom: 4px; 2159} 2160 2161.lineh3 { 2162 margin-bottom: 7px; 2163} 2164 2165/* 2166 * Pedigree chart 2167 * 2168 * wt-chart, wt-chart-pedigree 2169 */ 2170.wt-chart-pedigree, .wt-chart-hourglass { 2171 overflow-y: auto; 2172} 2173 2174/* 2175 * Place hierarchy 2176 * 2177 * wt-place-hierarchy-page 2178 */ 2179 2180#place-hierarchy ul { 2181 list-style-type: none; 2182} 2183 2184.d-table-cell { 2185 padding-right: 5px; 2186} 2187 2188/* Some menus (e.g. languages) can be longer than a page */ 2189.dropdown-menu { 2190 max-height: 30rem; 2191 overflow-x: hidden; 2192} 2193 2194/* Forms */ 2195.col-form-label { 2196 font-weight: bold; 2197} 2198