1/** 2 * webtrees: online genealogy 3 * Copyright (C) 2018 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 18/* Colors for chart boxes, etc. */ 19:root { 20 --sex-f-fg: #ff2080; 21 --sex-m-fg: #81a9cb; 22 --sex-u-fg: #81a9cb; 23 --sex-f-bg: #e9daf1; 24 --sex-m-bg: #edf7fd; 25 --sex-u-bg: #ffffff; 26} 27 28/* Override Bootstrap formatting */ 29.btn-link { 30 padding-left: 0.25rem; 31 padding-right: 0.25rem; 32} 33 34.table-given-name { 35 overflow-x: hidden; 36} 37 38.container-fluid { 39 padding-left: 5px; 40 padding-right: 5px; 41} 42 43table { 44 border-collapse: separate; 45} 46 47/* 48 * .wt-icon-arrow-down 49 * .wt-icon-arrow-end (right on LTR, left on RTL) 50 * .wt-icon-arrow-start (left on LTR, right on RTL) 51 * .wt-icon-arrow-up 52 * .wt-icon-bing-maps 53 * .wt-icon-calendar 54 * .wt-icon-copy 55 * .wt-icon-delete 56 * .wt-icon-edit 57 * .wt-icon-email 58 * .wt-icon-family 59 * .wt-icon-help 60 * .wt-icon-individual 61 * .wt-icon-google-maps 62 * .wt-icon-keyboard 63 * .wt-icon-media 64 * .wt-icon-note 65 * .wt-icon-openstreetmap 66 * .wt-icon-preferences 67 * .wt-icon-repository 68 * .wt-icon-source 69 * .wt-icon-submitter 70 */ 71.wt-icon-arrow-down::before { 72 width: 20px; 73 height: 20px; 74 content: url(webtrees/icons/arrow-down.png); 75} 76 77a > .wt-icon-arrow-down:hover::before { 78 width: 20px; 79 height: 20px; 80 content: url(webtrees/icons/arrow-down-hover.png); 81} 82 83.wt-icon-arrow-end::before { 84 width: 20px; 85 height: 20px; 86 content: url(webtrees/icons/arrow-right.png); 87} 88 89a > .wt-icon-arrow-end:hover::before { 90 width: 20px; 91 height: 20px; 92 content: url(webtrees/icons/arrow-right-hover.png); 93} 94 95.wt-icon-arrow-start::before { 96 width: 20px; 97 height: 20px; 98 content: url(webtrees/icons/arrow-left.png); 99} 100 101a > .wt-icon-arrow-start:hover::before { 102 width: 20px; 103 height: 20px; 104 content: url(webtrees/icons/arrow-left-hover.png); 105} 106 107.wt-icon-arrow-up::before { 108 width: 20px; 109 height: 20px; 110 content: url(webtrees/icons/arrow-up.png); 111} 112 113a > .wt-icon-arrow-up:hover::before { 114 width: 20px; 115 height: 20px; 116 content: url(webtrees/icons/arrow-up-hover.png); 117} 118 119.wt-icon-bing-maps::before { 120 width: 16px; 121 height: 16px; 122 content: url(webtrees/icons/bing-maps.png); 123} 124 125.wt-icon-calendar::before { 126 width: 19px; 127 height: 15px; 128 content: url(webtrees/icons/calendar.png) 129} 130 131.wt-icon-coordinates::before { 132 width: 16px; 133 height: 16px; 134 content: url(webtrees/icons/coordinates.png) 135} 136 137.wt-icon-copy::before { 138 width: 16px; 139 height: 16px; 140 content: url(webtrees/icons/copy.png) 141} 142 143.wt-icon-delete::before { 144 width: 16px; 145 height: 16px; 146 content: url(webtrees/icons/delete.png); 147} 148 149.wt-icon-edit::before { 150 width: 16px; 151 height: 16px; 152 content: url(webtrees/icons/edit.png); 153} 154 155.wt-icon-family::before { 156 width: 14px; 157 height: 15px; 158 content: url(webtrees/icons/family.png); 159} 160 161.wt-icon-help::before { 162 width: 16px; 163 height: 16px; 164 content: url(webtrees/icons/help.png); 165} 166 167.wt-icon-google-maps::before { 168 width: 16px; 169 height: 16px; 170 content: url(webtrees/icons/google-maps.png); 171} 172 173.wt-icon-individual::before { 174 width: 11px; 175 height: 15px; 176 content: url(webtrees/icons/individual.png); 177} 178 179.wt-icon-keyboard::before { 180 width: 30px; 181 height: 15px; 182 content: url(webtrees/icons/keyboard.png); 183} 184 185.wt-icon-media::before { 186 width: 18px; 187 height: 16px; 188 content: url(webtrees/icons/media.png); 189} 190 191.wt-icon-note::before { 192 width: 20px; 193 height: 20px; 194 content: url(webtrees/icons/note.png); 195} 196 197.wt-icon-openstreetmap::before { 198 width: 16px; 199 height: 16px; 200 content: url(webtrees/icons/openstreetmap.png); 201} 202 203.wt-icon-preferences::before { 204 width: 25px; 205 height: 25px; 206 content: url(webtrees/icons/preferences.png); 207} 208 209.wt-icon-repository::before { 210 width: 15px; 211 height: 15px; 212 content: url(webtrees/icons/repository.png); 213} 214 215.wt-icon-source::before { 216 width: 18px; 217 height: 16px; 218 content: url(webtrees/icons/source.png); 219} 220 221.wt-icon-submitter::before { 222 width: 11px; 223 height: 15px; 224 content: url(webtrees/icons/individual.png); 225} 226 227/* 228 * Pages have the following high-level structure: 229 * 230 * wt-global wt-theme-<THEME> wt-route-<ROUTE> 231 * +---wt-header-wrapper 232 * +---wt-header-container 233 * | +---wt-header-content 234 * | +---wt-accessibility-links 235 * | +---wt-site-logo 236 * | +---wt-site-title 237 * | +---wt-header-search 238 * | | +---wt-header-search-form 239 * | | +---wt-header-search-field 240 * | | +---wt-header-search-button 241 * | +---wt-secondary-navigation 242 * | | +---wt-secondary-menu 243 * | +---wt-primary-navigation 244 * | +---wt-primary-menu 245 * +---wt-main-container 246 * | +---wt-main-content 247 * | +---wt-messages 248 * | +---wt-page-title 249 * | +---wt-page-options wt-page-options-xxxxx 250 * | +---wt-page-content 251 * +---wt-footers 252 * +---wt-footer wt-footer-contact 253 * +---wt-footer wt-footer-cookies 254 * +---wt-footer wt-footer-page-views 255 * +---wt-footer wt-footer-powered-by 256 */ 257 258.wt-global { 259 /* Prevent redraws when dynamic content requires a scrollbar. */ 260 overflow-y: scroll; 261 /* Keep the page as tall as the window, so the footer can remain at the bottom. */ 262 display: flex; 263 min-height: 100vh; 264 flex-direction: column; 265 /* Any wide content will have its own horizontal scrollbar */ 266 overflow-x: hidden; 267 color: #555; 268} 269 270.wt-header-wrapper { 271} 272 273.wt-header-container { 274} 275 276.wt-header-content { 277} 278 279.wt-accessibility-links { 280} 281 282.wt-site-logo { 283 order: 1; 284 flex: 0 0 272px; 285} 286 287.wt-site-logo:after { 288 height: 50px; 289 width: 242px; 290 content: url(webtrees/images/webtrees.png); 291} 292 293.wt-site-title { 294 order: 3; 295 flex: 0 0 calc(100% - 15rem); 296 font-size: 1.5rem; 297 font-weight: normal; 298} 299 300.wt-header-search { 301 order: 4; 302 flex: 0 0 15rem; 303 position: relative; 304 top: -0.75rem; 305} 306 307.wt-header-search-form { 308} 309 310.wt-header-search-field { 311} 312 313.wt-header-search-button { 314} 315 316.wt-secondary-navigation { 317 order: 2; 318 white-space: nowrap; 319 margin-bottom: 15px; 320} 321 322.wt-secondary-menu { 323 justify-content: flex-end; 324} 325 326.wt-secondary-menu .nav-link { 327 display: inline-block; 328 padding: 0.5rem; 329} 330 331.wt-secondary-menu .nav-item + .nav-item::before { 332 content: "|"; 333} 334 335.wt-secondary-menu .dropdown-toggle::after { 336 display: none; 337} 338 339.wt-primary-navigation { 340 order: 5; 341 /* Extend to full page width */ 342 flex: 0 0 100vw; 343 max-width: 100vw; 344 /* Recalculate margins for content */ 345 margin: 0 calc(50% - 50vw); 346 padding: 0 calc(50vw - 50%); 347 border-bottom: 2px solid #81a9cb; 348 border-top: 2px solid #81a9cb; 349} 350 351.wt-primary-menu { 352 justify-content: center; 353} 354 355.wt-primary-menu .nav-item { 356 text-align: center; 357 min-width: 5rem; 358} 359 360.wt-primary-menu .nav-link::before { 361 display: block; 362} 363 364.wt-primary-menu .dropdown-toggle::after { 365 display: none; 366} 367 368.wt-primary-menu .dropdown-menu { 369 border-radius: 0; 370 border: thin solid #aaa; 371} 372 373.wt-primary-menu .dropdown-item { 374 /* Space between icons and align with submenu icons */ 375 padding: 0 5px 0 0; 376 line-height: 1.0; 377} 378 379.wt-primary-menu .dropdown-item::before { 380 vertical-align: text-top; 381 line-height: 2.4; 382 padding: 0 .25rem; 383} 384 385.menu-tree .nav-link::before { 386 content: url(webtrees/menu/tree.png); 387} 388 389.menu-tree .dropdown-item::before { 390 content: url(webtrees/menu/tree-tree.png); 391} 392 393.menu-chart .nav-link::before { 394 content: url(webtrees/menu/chart.png); 395} 396 397.menu-chart-ancestry::before { 398 content: url(webtrees/menu/chart-ancestors.png); 399} 400 401.menu-chart-compact::before { 402 content: url(webtrees/menu/chart-compact.png); 403} 404 405.menu-chart-descendants::before { 406 content: url(webtrees/menu/chart-descendants.png); 407} 408 409.menu-chart-familybook::before { 410 content: url(webtrees/menu/chart-family-book.png); 411} 412 413.menu-chart-fanchart::before { 414 content: url(webtrees/menu/chart-fanchart.png); 415} 416 417.menu-chart-hourglass::before { 418 content: url(webtrees/menu/chart-hourglass.png); 419} 420 421.menu-chart-lifespan::before { 422 content: url(webtrees/menu/chart-lifespan.png); 423} 424 425.menu-chart-pedigree::before { 426 content: url(webtrees/menu/chart-pedigree.png); 427} 428 429.menu-chart-pedigreemap::before { 430 content: url(webtrees/menu/chart-pedigree-map.png); 431} 432 433.menu-chart-relationship::before { 434 content: url(webtrees/menu/chart-relationship.png); 435} 436 437.menu-chart-statistics::before { 438 content: url(webtrees/menu/chart-statistics.png); 439} 440 441.menu-chart-timeline::before { 442 content: url(webtrees/menu/chart-timeline.png); 443} 444 445.menu-chart-tree::before { 446 content: url(webtrees/menu/chart-tree.png); 447} 448 449.menu-list .nav-link::before { 450 content: url(webtrees/menu/list.png); 451} 452 453.menu-branches::before { 454 content: url(webtrees/menu/branches.png); 455} 456 457.menu-list-fam::before { 458 content: url(webtrees/menu/list-fam.png); 459} 460 461.menu-list-indi::before { 462 content: url(webtrees/menu/list-indi.png); 463} 464 465.menu-list-note::before { 466 content: url(webtrees/menu/list-note.png); 467} 468 469.menu-list-obje::before { 470 content: url(webtrees/menu/list-obje.png); 471} 472 473.menu-list-plac::before { 474 content: url(webtrees/menu/list-plac.png); 475} 476 477.menu-list-repo::before { 478 content: url(webtrees/menu/list-repo.png); 479} 480 481.menu-list-sour::before { 482 content: url(webtrees/menu/list-sour.png); 483} 484 485.menu-calendar .nav-link::before { 486 content: url(webtrees/menu/calendar.png); 487} 488 489.menu-calendar-day::before { 490 content: url(webtrees/menu/calendar-calendar.png); 491} 492 493.menu-calendar-month::before { 494 content: url(webtrees/menu/calendar-calendar.png); 495} 496 497.menu-calendar-year::before { 498 content: url(webtrees/menu/calendar-calendar.png); 499} 500 501.menu-report .nav-link::before { 502 content: url(webtrees/menu/report.png); 503} 504 505.menu-report .dropdown-item::before { 506 content: url(webtrees/menu/report-report.png); 507} 508 509.menu-search .nav-link::before { 510 content: url(webtrees/menu/search.png); 511} 512 513.menu-search .dropdown-item::before { 514 content: url(webtrees/menu/search-search.png); 515} 516 517.menu-help .nav-link::before { 518 content: url(webtrees/menu/help.png); 519} 520 521.menu-clippings .nav-link::before { 522 content: url(webtrees/menu/clippings.png); 523} 524 525.menu-clippings-add::before { 526 content: url(webtrees/menu/clippings-add.png); 527} 528 529.menu-clippings-cart::before { 530 content: url(webtrees/menu/clippings-cart.png); 531} 532 533.menu-clippings-download::before { 534 content: url(webtrees/menu/edit-preferences.png); 535} 536 537.menu-clippings-empty::before { 538 content: url(webtrees/menu/edit-delete.png); 539} 540 541.menu-fam .nav-link::before { 542 content: url(webtrees/menu/fam.png); 543} 544 545.menu-fam-change::before { 546 content: url(webtrees/menu/edit-famchange.png); 547} 548 549.menu-fam-addchil::before { 550 content: url(webtrees/menu/edit-addchil.png); 551} 552 553.menu-fam-orderchil::before { 554 content: url(webtrees/menu/edit-orderchil.png); 555} 556 557.menu-fam-del::before { 558 content: url(webtrees/menu/edit-delete.png); 559} 560 561.menu-fam-addfav::before { 562 content: url(webtrees/menu/edit-add-favorite.png); 563} 564 565.menu-fam-editraw::before { 566 content: url(webtrees/menu/edit-fam.png); 567} 568 569.menu-indi .nav-link::before { 570 content: url(webtrees/menu/indi.png); 571} 572 573.menu-indi-addname::before { 574 content: url(webtrees/menu/edit-indi.png); 575} 576 577.menu-indi-editsex::before { 578 content: url(webtrees/menu/edit-indi.png); 579} 580 581.menu-indi-del::before { 582 content: url(webtrees/menu/edit-delete.png); 583} 584 585.menu-indi-addfav::before { 586 content: url(webtrees/menu/edit-add-favorite.png); 587} 588 589.menu-indi-editraw::before { 590 content: url(webtrees/menu/edit-indi.png); 591} 592 593.menu-obje .nav-link::before { 594 content: url(webtrees/menu/obje.png); 595} 596 597.menu-obje-edit::before { 598 content: url(webtrees/menu/edit-obje.png); 599} 600 601.menu-obje-link::before { 602 content: url(webtrees/menu/edit-link.png); 603} 604 605.menu-obje-del::before { 606 content: url(webtrees/menu/edit-delete.png); 607} 608 609.menu-obje-addfav::before { 610 content: url(webtrees/menu/edit-add-favorite.png); 611} 612 613.menu-obje-editraw::before { 614 content: url(webtrees/menu/edit-obje.png); 615} 616 617.menu-note .nav-link::before { 618 content: url(webtrees/menu/note.png); 619} 620 621.menu-note-edit::before { 622 content: url(webtrees/menu/edit-note.png); 623} 624 625.menu-note-del::before { 626 content: url(webtrees/menu/edit-delete.png); 627} 628 629.menu-note-addfav::before { 630 content: url(webtrees/menu/edit-add-favorite.png); 631} 632 633.menu-note-editraw::before { 634 content: url(webtrees/menu/edit-note.png); 635} 636 637.menu-record .nav-link::before { 638 content: url(webtrees/menu/indi.png); 639} 640 641.menu-record-del::before { 642 content: url(webtrees/menu/edit-delete.png); 643} 644 645.menu-record-editraw::before { 646 content: url(webtrees/menu/edit-record.png); 647} 648 649.menu-repo .nav-link::before { 650 content: url(webtrees/menu/repo.png); 651} 652 653.menu-repo-edit::before { 654 content: url(webtrees/menu/edit-repo.png); 655} 656 657.menu-repo-del::before { 658 content: url(webtrees/menu/edit-delete.png); 659} 660 661.menu-repo-addfav::before { 662 content: url(webtrees/menu/edit-add-favorite.png); 663} 664 665.menu-repo-editraw::before { 666 content: url(webtrees/menu/edit-repo.png); 667} 668 669.menu-sour .nav-link::before { 670 content: url(webtrees/menu/sour.png); 671} 672 673.menu-sour-edit::before { 674 content: url(webtrees/menu/edit-sour.png); 675} 676 677.menu-sour-del::before { 678 content: url(webtrees/menu/edit-delete.png); 679} 680 681.menu-sour-addfav::before { 682 content: url(webtrees/menu/edit-add-favorite.png); 683} 684 685.menu-sour-editraw::before { 686 content: url(webtrees/menu/edit-sour.png); 687} 688 689.menu-story .nav-link::before { 690 content: url(webtrees/menu/story.png); 691} 692 693.wt-main-container { 694} 695 696.wt-main { 697} 698 699.wt-messages { 700} 701 702.wt-page-title { 703 color: #006; 704 font-size: 1.5rem; 705 font-weight: bold; 706 text-align: center; 707} 708 709.wt-page-options .form-group { 710 margin-bottom: 2px; 711} 712 713.wt-page-options-label { 714 color: #fff; 715 background-color: #81a9cb; 716 font-weight: bold; 717 border-left: 2px solid transparent; 718 border-right: 2px solid transparent; 719} 720 721.wt-page-options-value { 722 background-color: #edf7f9; 723 border: solid #81a9cb 1px; 724 padding: 0.25rem 0.75rem; 725} 726 727.wt-page-content { 728 margin-top: 1rem; 729} 730 731.wt-footers { 732} 733 734.wt-footer { 735 text-align: center; 736 margin: 0.5rem 0; 737} 738 739.wt-footer-contact { 740} 741 742.wt-footer-cookies { 743 background: #aaa; 744 color: #fff; 745 height: 3rem; 746 line-height: 2.5rem; 747 transition: height 0.5s; 748} 749 750.wt-footer-page-views { 751} 752 753.wt-footer-powered-by { 754} 755 756.wt-footer-powered-by-webtrees { 757 width: 100px; 758 height: 21px; 759 content: url(images/powered-by-webtrees.png); 760} 761 762/* 763 * The tree/user home pages 764 * 765 * wt-home-page / wt-user-page 766 * +---wt-main-blocks 767 * | +---wt-block, wt-block-AAA 768 * | +---wt-block, wt-block-BBB 769 * | +---wt-block, wt-block-CCC 770 * +---wt-side-blocks 771 * +---wt-block, wt-block-XXX 772 * +---wt-block, wt-block-YYY 773 * +---wt-block, wt-block-ZZZ 774 * 775 * Each block as the structure 776 * wt-block, wt-block-XXX 777 * +---wt-block-header, wt-block-header-XXX 778 * +---wt-block-content, wt-block-content-XXX 779 */ 780 781.wt-block { 782 background-color: #edf7fd; 783 border: solid #81a9cb 1px; 784} 785 786.wt-block-header { 787 background-color: #edf7fd; 788 border-bottom: none; 789 font-weight: bold; 790} 791 792.wt-block-content { 793} 794 795.wt-block-content .list_table { 796 border-spacing: 1px; 797 border: solid #81a9cb 1px; 798 border-right: 0; 799} 800 801.wt-block-content .list_value, 802.wt-block-content .list_value_wrap { 803 border: 0; 804 border-top: solid #81a9cb 1px; 805 border-right: solid #81a9cb 1px; 806} 807 808/* 809 * Ancestors chart 810 * 811 * wt-chart, wt-ancestors-chart 812 * +---wt-ancestors-chart-list 813 * +---wt-ancestors-chart-list-item 814 * +--- 815 * +---wt-ancestors-chart-list 816 * +---wt-ancestors-chart-list-item 817 * +---... 818 */ 819.wt-ancestors-chart-list { 820} 821 822.wt-ancestors-chart-list-item { 823} 824 825/* 826 * Compact chart 827 * 828 * wt-chart, wt-compact-chart 829 */ 830 831.wt-ancestors-chart-list-item { 832} 833 834/* 835 * Descendants chart 836 * 837 * wt-chart, wt-descendants-chart 838 * +---wt-descendants-chart-list 839 * +---wt-descendants-chart-list-item 840 */ 841.wt-descendants-chart-list { 842} 843 844.wt-descendants-chart-list-item { 845} 846 847/* 848 * Family book chart 849 * 850 * wt-chart, wt-family-book-chart 851 */ 852 853/* 854 * Fan chart 855 * 856 * wt-chart, wt-fan-chart 857 */ 858 859/* 860 * Hourglass chart 861 * 862 * wt-chart, wt-hourglass-chart 863 */ 864 865/* 866 * Hourglass chart 867 * 868 * wt-chart, wt-interactive-tree 869 */ 870 871/* 872 * Lifespans chart 873 * 874 * wt-chart, wt-lifespans-chart 875 */ 876 877/* 878 * Pedigree chart 879 * 880 * wt-chart, wt-pedigree-chart 881 */ 882 883/* 884 * Pedigree map 885 * 886 * wt-chart, wt-pedigree-map 887 */ 888 889/* 890 * Relationships chart 891 * 892 * wt-chart, wt-relationships-chart 893 */ 894 895/* 896 * Statistics chart 897 * 898 * wt-chart, wt-statistics-chart 899 */ 900 901/* 902 * Timeline chart 903 * 904 * wt-chart, wt-timeline-chart 905 */ 906 907/* 908 * Family list and individual list 909 * 910 * wt-page-options 911 * +---wt-initials-list 912 * +---wt-initial-list-item 913 * +---wt-initial 914 * +---wt-initial, active 915 * wt-page-content 916 * +---wt-list, wt-{family,individual}-list 917 */ 918 919.wt-initials-list-item { 920 display: inline; 921} 922 923.wt-initials-list-item + .wt-initials-list-item::before { 924 content: '|'; 925} 926 927.wt-initial { 928 padding: 0 0.25rem; 929} 930 931.wt-initial.active { 932 color: #f00; 933 font-weight: bold; 934} 935 936/* 937 * Media object list 938 * 939 * wt-list, wt-media-list 940 */ 941 942/* 943 * Note object list 944 * 945 * wt-list, wt-note-list 946 */ 947 948/* 949 * Source list 950 * 951 * wt-list, wt-source-list 952 */ 953 954/* 955 * Repository list 956 * 957 * wt-list, wt-repository-list 958 */ 959 960/* 961 * Branches list 962 * 963 * wt-branches-page 964 */ 965 966/* 967 * Place hierarchy 968 * 969 * wt-place-hierarchy-page 970 */ 971 972/* 973 * Calendar 974 * 975 * wt-calendar-page 976 */ 977 978/* 979 * Reports 980 * 981 * wt-reports-page 982 */ 983 984/* 985 * Search 986 * 987 * wt-search-page, wt-general-serach-page/wt-phonetic-search-page/wt-advanced-search-page/wt-search-replace-page 988 */ 989 990/* ios on click workaround */ 991.iconz { 992 cursor: pointer; 993} 994 995a { 996 color: #555; 997 text-decoration: none; 998} 999 1000a:hover { 1001 color: #f00; 1002 text-decoration: none; 1003} 1004 1005:focus { 1006 outline-style: none; 1007} 1008 1009.flash-messages { 1010 clear: both; 1011 text-align: center; 1012} 1013 1014img { 1015 border: 0; 1016} 1017 1018legend img { 1019 height: 20px; 1020 vertical-align: middle; 1021 width: 20px; 1022} 1023 1024img.block, 1025#mycart img { 1026 border: 0; 1027 height: 25px; 1028 vertical-align: middle; 1029} 1030 1031.topbottombar { 1032 background-color: #81a9cb; 1033 color: #fff; 1034 font-weight: bold; 1035 padding: 4px; 1036 text-align: center; 1037} 1038 1039#mycart a img { 1040 height: 15px; 1041} 1042 1043.button { 1044 width: 60px; 1045} 1046 1047.alpha_index { 1048 color: #999; 1049} 1050 1051.person_box_template .details0, 1052.person_box_template .details1 { 1053 font-size: 11px; 1054} 1055 1056.person_box, .action_header { 1057 background: #edf7fd; 1058 border: solid #81a9cb 1px; 1059 padding: 3px; 1060} 1061 1062.person_boxF, .action_headerF { 1063 background: #e9daf1; 1064 border: 1px solid #ff2080; 1065 padding: 3px; 1066} 1067 1068.person_boxNN { 1069 background: #fff; 1070 border: dashed #81a9cb 1px; 1071 padding: 3px; 1072} 1073 1074.person_box:target, 1075.news_box:target, 1076#gedcom_stats:target { 1077 background-color: #ffc; 1078} 1079 1080/* families tab person box */ 1081#relatives_content .person_box > .person_box, 1082#relatives_content .person_boxF > .person_boxF, 1083#relatives_content .person_boxNN > .person_boxNN { 1084 border: 0; 1085 min-height: 50px; 1086} 1087 1088.center { 1089 text-align: center; 1090} 1091 1092table.center { 1093 margin-left: auto; 1094 margin-right: auto; 1095} 1096 1097.list_table { 1098 margin: 0 auto; 1099} 1100 1101.list_label, 1102.list_label_wrap { 1103 color: #fff; 1104 background-color: #81a9cb; 1105 font-weight: bold; 1106 text-align: center; 1107} 1108 1109.list_value, 1110.list_value_wrap { 1111 background-color: #edf7f9; 1112 border: solid #81a9cb 1px; 1113 vertical-align: top; 1114 padding: 4px; 1115} 1116 1117.list_label, 1118.list_value { 1119 white-space: nowrap; 1120} 1121 1122.list_label_wrap, 1123.list_value_wrap { 1124 white-space: normal; 1125} 1126 1127div.fact_SHARED_NOTE { 1128 clear: both; 1129} 1130 1131/* Table of genealogical facts */ 1132 1133.wt-facts-table caption { 1134 caption-side: top; 1135} 1136 1137.wt-facts-table th { 1138 background-color: #81a9cb; 1139 border: solid #81a9cb 1px; 1140 text-align: center; 1141 font-weight: normal; 1142 min-width: 20%; 1143} 1144 1145.wt-facts-table td { 1146 background-color: #edf7fd; 1147 border: solid #81a9cb 1px; 1148} 1149 1150.wt-facts-table .wt-gender-M td { 1151 background-color: #edf7fd; 1152 border-color: #81a9cb; 1153} 1154 1155.wt-facts-table .wt-gender-F td { 1156 background-color: #e9daf1; 1157 border-color: #ff2080; 1158} 1159 1160.tabs_table { 1161 width: 99%; 1162} 1163 1164.name1 { 1165 font-weight: bold; 1166 font-size: 12px; 1167} 1168 1169.name2 { 1170 font-size: 16px; 1171 } 1172 1173a:hover .name1, a:hover .name2 { 1174 color: #f00; 1175 font-weight: bold; 1176 font-size: 12px; 1177} 1178 1179a:hover .nameZoom { 1180 color: #f00; 1181 font-size: 16px; 1182 font-weight: bold; 1183} 1184 1185.details0, 1186.details1 { 1187 font-size: 11px; 1188} 1189 1190.details2 { 1191 font-size: 12px; 1192} 1193 1194.nameZoom { 1195 color: #555; 1196 font-size: 16px; 1197 font-weight: bold; 1198} 1199 1200.details_label { 1201 font-weight: bold; 1202} 1203 1204.name_head { 1205 color: #555; 1206 font-size: 16px; 1207 font-weight: bold; 1208 line-height: 2; 1209 padding: 0 5px; 1210} 1211 1212.date { 1213 color: #337; 1214} 1215 1216.label { 1217 font-weight: bold; 1218} 1219 1220.error { 1221 color: #d00; 1222 font-weight: bold; 1223} 1224 1225.largeError { 1226 color: #d00; 1227 font-size: large; 1228 font-weight: bold; 1229} 1230 1231.warning { 1232 color: #f00; 1233 font-weight: bold; 1234} 1235 1236.indent { 1237 padding-left: 20px; 1238} 1239 1240.image { 1241 height: 150px; 1242 padding: 5px; 1243 margin: 2px; 1244} 1245 1246.gender_image { 1247 margin: 0 3px; 1248 border: 0; 1249 vertical-align: middle; 1250} 1251 1252.thumbnail { 1253 height: auto; 1254 padding: 3px; 1255} 1256 1257.icon { 1258 border: 0; 1259 padding: 0 5px; 1260} 1261 1262.sublinks_cell { 1263 background-color: #edf7fd; 1264 font-size: 12px; 1265} 1266 1267.submenu .icon { 1268 vertical-align: middle; 1269 width: 20px; 1270 height: 20px; 1271} 1272 1273.subheaders { 1274 font-weight: bold; 1275 font-size: 15px; 1276 margin-top: 15px; 1277 vertical-align: bottom; 1278} 1279 1280#family-table .subheaders:first-child { 1281 width: 285px; 1282} 1283 1284.parentdeath { 1285 border: thin solid #888; 1286 padding: 1px; 1287} 1288 1289.source_citations { 1290 display: none; 1291} 1292 1293.selected-option { 1294 background-color: #edf7fd; 1295} 1296 1297.border1 { 1298 border: solid #000 1px; 1299} 1300 1301.menuitem { 1302 text-decoration: none; 1303 font-size: 11px; 1304 padding: 1px; 1305} 1306 1307.menuitem_hover { 1308 text-decoration: none; 1309 font-size: 11px; 1310 padding: 1px; 1311} 1312 1313.menuitem .icon, .menuitem_hover .icon { 1314 width: 50px; 1315 height: 50px; 1316} 1317 1318.submenu { 1319 text-decoration: none; 1320 font-size: 11px; 1321 background-color: #edf7fd; 1322 border: solid #81a9cb 1px; 1323 visibility: hidden; 1324 position: absolute; 1325 padding: 5px; 1326} 1327 1328.submenuitem { 1329 vertical-align: middle; 1330 font-size: 11px; 1331 height: 20px; 1332 text-decoration: none; 1333 background-color: #edf7fd; 1334 padding: 1px; 1335 white-space: nowrap; 1336} 1337 1338.submenuitem_hover { 1339 vertical-align: middle; 1340 height: 20px; 1341 font-size: 11px; 1342 background-color: #e6f0fa; 1343 white-space: nowrap; 1344 padding: 1px; 1345} 1346 1347.submenuitem a, 1348.submenuitem_hover a { 1349 display: inline-block; 1350 vertical-align: middle; 1351} 1352 1353.journal_box { 1354 padding: 3pt; 1355 border: thin solid #aaa; 1356 overflow: visible; 1357} 1358 1359.news_box { 1360 background-color: #edf7fd; 1361 border-top: solid #81a9cb 1px; 1362} 1363 1364.news_title { 1365 font-weight: bold; 1366} 1367 1368.news_date { 1369 margin-bottom: 12px; 1370} 1371 1372.current_day { 1373 font-weight: bold; 1374 font-size: 16px; 1375} 1376 1377.cal_day { 1378 float: left; 1379 font-weight: bold; 1380} 1381 1382.rtl_cal_day { 1383 direction: rtl; 1384 float: right; 1385 color: #00f; 1386 font-weight: bold; 1387} 1388 1389.helpcontent { 1390 margin-left: 10px; 1391 margin-right: 10px; 1392} 1393 1394.helpcontent dt { 1395 clear: both; 1396} 1397 1398#user-page h1 { 1399 margin: 0.25em auto 0.6em; 1400} 1401 1402.tvertline { 1403 vertical-align: bottom; 1404} 1405 1406#childbox { 1407 padding: 5px; 1408 position: absolute; 1409 display: none; 1410 text-align: start; 1411 white-space: nowrap; 1412 top: 20px; 1413 left: 0; 1414} 1415 1416.layout3 #childbox { 1417 top: auto; 1418 bottom: 20px; 1419} 1420 1421#childbox a.name1 { 1422 display: block; 1423 margin-left: 5px; 1424} 1425 1426.person0 { 1427 background-color: #aaf; 1428 border: outset #aaf 1px; 1429 vertical-align: top; 1430} 1431 1432.person1 { 1433 background-color: #afa; 1434 border: outset #afa 1px; 1435 vertical-align: top; 1436} 1437 1438.person2 { 1439 background-color: #faa; 1440 border: outset #faa 1px; 1441 vertical-align: top; 1442} 1443 1444.person3 { 1445 background-color: #55f; 1446 border: outset #55f 1px; 1447 vertical-align: top; 1448} 1449 1450.person4 { 1451 background-color: #f55; 1452 border: outset #f55 1px; 1453 vertical-align: top; 1454} 1455 1456.person5 { 1457 background-color: #5f5; 1458 border: outset #5f5 1px; 1459 vertical-align: top; 1460} 1461 1462.listlog { 1463 line-height: 20pt; 1464} 1465 1466.starredname { 1467 text-decoration: underline; 1468} 1469 1470.search_hit { 1471 background-color: #ff0; 1472} 1473 1474.search_item { 1475 font-weight: 600; 1476} 1477 1478.descriptionbox { 1479 color: #fff; 1480 font-size: 12px; 1481 background-color: #81a9cb; 1482 border: solid #81a9cb 1px; 1483 vertical-align: top; 1484 padding: 3px; 1485} 1486 1487.optionbox { 1488 background-color: #d1d9ef; 1489 font-size: 1rem; 1490 border: solid #81a9cb 1px; 1491 vertical-align: top; 1492 white-space: nowrap; 1493 padding: 3px; 1494} 1495 1496.vmiddle { 1497 vertical-align: middle; 1498} 1499 1500.red { 1501 color: #f00; 1502} 1503 1504.wt-relation-fact, 1505.wt-historic-fact { 1506 opacity: 0.8; 1507} 1508 1509.font9 { 1510 font-size: 9px; 1511} 1512 1513.font11 { 1514 font-size: 11px; 1515} 1516 1517.messagebox { 1518 background-color: #c2ceef; 1519 border: solid #81a9cb 1px; 1520} 1521 1522/* ---Pending edits--- */ 1523.new { 1524 outline: solid blue 1px; 1525} 1526 1527.old { 1528 outline: solid red 1px; 1529} 1530 1531.tag_cloud { 1532 text-align: center; 1533} 1534 1535.tag_cloud a { 1536 white-space: nowrap; 1537} 1538 1539.nowrap { 1540 white-space: nowrap; 1541} 1542 1543.wrap { 1544 white-space: normal; 1545} 1546 1547.statistics-page { 1548 text-align: center; 1549} 1550 1551.center2 { 1552 text-align: center; 1553} 1554 1555.gchart { 1556 border: solid #81a9cb 1px; 1557} 1558 1559/* ---Find special characters--- */ 1560.largechars { 1561 font-family: monospace; 1562 font-size: 200%; 1563} 1564 1565#facts_content dd { 1566 float: left; 1567 width: 70%; 1568} 1569 1570.clearfloat { 1571 clear: both; 1572} 1573 1574td.descriptionbox a { 1575 color: #fff; 1576} 1577 1578/* this keeps the tag color the same when it is a link as when not */ 1579 1580.place { 1581 padding-top: 5px; 1582} 1583 1584#pending h2 { 1585 text-align: center; 1586 margin-bottom: 20px; 1587} 1588 1589#pending h3 { 1590 text-align: center; 1591 margin-top: 20px; 1592} 1593 1594#pending a { 1595 font-weight: 700; 1596 color: #555; 1597} 1598 1599#pending a:hover { 1600 color: #f00; 1601} 1602 1603#pending .list_value { 1604 padding: 3px; 1605 text-align: center; 1606 vertical-align: middle; 1607 white-space: nowrap; 1608} 1609 1610#pending .indent { 1611 padding: 0; 1612} 1613 1614/* ======== Person box ======= */ 1615/* Box styles are 1616 0 compact view 1617 1 normal view - small box 1618 2 normal view - large box 1619*/ 1620.box-style0 { 1621 cursor: url(webtrees/images/zoomin.png), n-resize; 1622} 1623 1624.box-style0-expanded { 1625 cursor: url(webtrees/images/zoomout.png), n-resize; 1626} 1627 1628.box-style0-expanded, 1629.box-style1-expanded { 1630 width: 300px !important; 1631 height: auto !important; 1632 line-height: 1.5em!important; 1633} 1634 1635.person_box_template { 1636 height: auto; 1637 white-space: normal; 1638 overflow: hidden !important; 1639 1640} 1641 1642.person_box_template .namedef i[class^="icon-sex"] { 1643 margin-left: 3px; 1644} 1645 1646.person_box_template .icons { 1647 float: right; 1648} 1649 1650.person_box_template .inout { 1651 clear: both; 1652 display: none; 1653} 1654 1655.person_box_template .chart_textbox { 1656 overflow: hidden; 1657 font-size: .75rem; 1658 line-height: 1; 1659 padding-bottom: 4px; 1660} 1661 1662.person_box_template img, 1663.person_box_template a.gallery { 1664 float: left; 1665 height: 50px; 1666 margin: 0 2px 0 0; 1667 max-width: 80px; 1668 width: auto; 1669} 1670 1671.person_box_template i[class^="icon-silhouette"] { 1672 float: left; 1673} 1674 1675/* --- reportengine.php --- */ 1676#reportengine-page table { 1677 margin: 20px auto; 1678} 1679 1680#reportengine-page .report-type { 1681 overflow: hidden; 1682 margin: auto; 1683 width: 180px; 1684} 1685 1686#reportengine-page .report-type div { 1687 float: left; 1688 margin: 0 20px; 1689} 1690 1691#reportengine-page .report-type p { 1692 margin: 0; 1693 text-align: center; 1694} 1695 1696/* styles for popup menus */ 1697.itr { 1698 position: absolute; 1699 line-height: 1.5; 1700} 1701 1702.popup { 1703 position: absolute; 1704 top: 20px; 1705 right: 0; 1706 left: auto; 1707 visibility: hidden; 1708 opacity: 0; 1709 transition: visibility 0s ease .25s,opacity .25s ease; 1710 z-index: 9999; 1711 box-shadow: 5px 5px 5px 0 rgba(0,0,0,.4); 1712} 1713 1714.popup ul { 1715 white-space: nowrap; 1716 list-style: none; 1717 margin: 0; 1718 padding: 0 10px; 1719 font-size: smaller; 1720} 1721 1722.popup > ul { 1723 padding: 2px 10px; 1724} 1725 1726.popup li .NAME { 1727 padding: 0 5px; 1728} 1729 1730.itr:hover .popup { 1731 visibility: visible; 1732 opacity: 1; 1733 transition-delay: 0s; 1734} 1735 1736/* styles for FindFacts pop-up */ 1737#layDefinedTags, 1738#tabDefinedTagsShow { 1739 width: 450px; 1740} 1741 1742#tabDefinedTags { 1743 width: 430px; 1744} 1745 1746#layDefinedTags { 1747 margin-left: auto; 1748 margin-right: auto; 1749 height: 285px; 1750 overflow: auto; 1751} 1752 1753#tabDefinedTags { 1754 border-collapse: collapse; 1755} 1756 1757#tabDefinedTags th, 1758#tabDefinedTags td { 1759 border: solid 1px #000; 1760 margin: 0; 1761 padding: 3px; 1762} 1763 1764#tabDefinedTags tbody th { 1765 text-align: left; 1766 font-weight: bold; 1767} 1768 1769#tabDefinedTags tr.sel { 1770 background-color: #d1d9ef; 1771 color: #888; 1772} 1773 1774#tabDefinedTags tr.unsel { 1775 background-color: #fff; 1776 color: #888; 1777} 1778 1779#tabDefinedTagsShow { 1780 margin-left: auto; 1781 margin-right: auto; 1782} 1783 1784#tabDefinedTagsShow td { 1785 width: 50%; 1786 text-align: center; 1787} 1788 1789#tabFilterAndCustom { 1790 margin-left: auto; 1791 margin-right: auto; 1792} 1793 1794#tabAction { 1795 margin-left: auto; 1796 margin-right: auto; 1797} 1798 1799#tabAction td { 1800 width: 50%; 1801 text-align: center; 1802} 1803 1804/* ======== List styles ====== */ 1805.surname-list, 1806.givn-list { 1807 margin: 5px auto; 1808} 1809 1810.source-list table, 1811.note-list table, 1812.repo-list table, 1813.media-list table, 1814.indi-list table, 1815.fam-list table { 1816 width: 100%; 1817} 1818 1819.source-list td, 1820.note-list td, 1821.repo-list td, 1822.media-list td, 1823.indi-list td, 1824.fam-list td, 1825.surname-list td, 1826.givn-list td { 1827 padding: 2px 5px; 1828} 1829 1830.surname-list td { 1831 vertical-align: top; 1832} 1833 1834.indi-list .stats, 1835.fam-list .stats { 1836 margin: 0 auto; 1837 width: auto; 1838} 1839 1840.source-list th, 1841.note-list th, 1842.repo-list th, 1843.media-list th, 1844.indi-list th, 1845.fam-list th, 1846.wt-table-changes th, 1847.wt-table-events th, 1848.wt-table-tasks th, 1849.wt-table-yahrzeits th, 1850.surname-list th, 1851.givn-list th { 1852 cursor: pointer; 1853 font-weight: 600; 1854 padding: 2px 4px; 1855 white-space: nowrap; 1856} 1857 1858.source-list th:last-child, 1859.note-list th:last-child, 1860.repo-list th:last-child { 1861 margin: 0 -2px 1px 1px; 1862 padding: 3px 0 4px; 1863 width: 24px; 1864} 1865 1866.givn-list th { 1867 cursor: pointer; 1868 white-space: nowrap; 1869 padding: 2px; 1870 text-align: center; 1871} 1872 1873#source-details h2, 1874#sourcelist-page h2, 1875#note-details h2, 1876#notelist-page h2, 1877#repo-details h2, 1878#repolist-page h2, 1879#media-details h2, 1880#statistics-page h2 { 1881 margin-bottom: 20px; 1882 text-align: center; 1883} 1884 1885#source-edit, 1886#note-edit, 1887#repo-edit, 1888#media-edit { 1889 overflow-x: auto; 1890} 1891 1892.media-list td img { 1893 display: block; 1894 height: 40px; 1895 width: auto; 1896 margin: 3px auto; 1897} 1898 1899.filtersH, 1900.filtersF { 1901 margin: 4px; 1902} 1903 1904.filtersH img { 1905 margin-bottom: 2px; 1906} 1907 1908.list-charts { 1909 text-align: center; 1910} 1911 1912#search-result-tabs h3 { 1913 text-align: center; 1914} 1915 1916#searchAccordion-indi, 1917#searchAccordion-fam, 1918#searchAccordion-source, 1919#searchAccordion-note { 1920 margin: auto; 1921 width: 99%; 1922} 1923 1924#place-hierarchy h2, 1925#place-hierarchy h4 { 1926 text-align: center; 1927} 1928 1929#main_select, 1930#available_select, 1931#right_select { 1932 min-width: 150px; 1933} 1934 1935/* ==== Favourites block ===== */ 1936.blockcontent .person_box_template .details2 { 1937 min-height: 40px; 1938} 1939 1940.blockcontent [class*='box-style2'] { 1941 margin: 5px 0; 1942} 1943 1944.add_fav_head { 1945 font-weight: 900; 1946 margin: 5px 0; 1947} 1948 1949.add_fav_head i { 1950 margin: 0 5px 1px; 1951} 1952 1953.add_fav_ref label { 1954 display: inline-block; 1955 min-width: 100px; 1956} 1957 1958.add_fav_ref input { 1959 margin: 0 5px; 1960} 1961 1962/* === Who is online block === */ 1963.logged_in_list { 1964 margin: 5px 0 0; 1965 padding: 0; 1966 line-height: 20px; 1967} 1968 1969/* ==== Theme select block === */ 1970.theme_form ul { 1971 margin: -10px auto; 1972} 1973 1974.theme_form li { 1975 visibility: hidden; 1976} 1977 1978.theme_form li ul li { 1979 display: inline-block; 1980 padding: 10px; 1981 visibility: visible; 1982} 1983 1984/* ==== FAQ table styles ===== */ 1985table.faq { 1986 background-color: #e0e0e0; 1987 margin: 5px 0 50px 5px; 1988 width: 98%; 1989} 1990 1991table.faq tr:nth-child(odd) td { 1992 background-color: #e7eef3; 1993} 1994 1995div.faq_title { 1996 background-color: #e0e0e0; 1997 margin: 1em 0; 1998 padding: .25em; 1999 font-weight: bold; 2000 width: 98%; 2001} 2002 2003div.faq_body { 2004 clear: both; 2005 padding: 0 1em; 2006} 2007 2008.faq_top { 2009 float: right; 2010} 2011 2012/* === Positioning edit, copy, delete links === */ 2013/* General use */ 2014.editfacts { 2015 clear: left; 2016 padding-top: 15px; 2017} 2018 2019/* ======== Indi header ====== */ 2020#indi_header { 2021 overflow: hidden; 2022 border-radius: 3px; 2023 border: 1px solid #b2c7d7; 2024 margin: 0 0 5px; 2025 padding: 10px 0; 2026} 2027 2028#indi_header h3 { 2029 font-size: 90%; 2030 font-weight: bold; 2031 margin: 0; 2032 padding: 0 10px 0 30px; 2033 text-align: left; 2034 overflow: hidden; 2035 position: relative; 2036} 2037 2038#indi_header .name_one { 2039 font-size: 1.5em; 2040} 2041 2042#indi_header h3 .details1 { 2043 font-size: 1.0em; 2044} 2045 2046#indi_header h3 .header_age { 2047 padding: 5px 0 5px 5px; 2048 float: right; 2049 font-weight: normal; 2050 font-size: 65%; 2051} 2052 2053#indi_header h3 a { 2054 display: inline; 2055} 2056 2057#indi_header a { 2058 color: #337; 2059 font-size: 0.75em; 2060 font-weight: normal; 2061} 2062 2063#indi_header a:hover { 2064 color: #f00; 2065} 2066 2067#indi_mainimage { 2068 float: left; 2069 padding: 0 10px; 2070} 2071 2072#header_accordion1 { 2073 padding: 0 10px 0 0; 2074 overflow: hidden; 2075} 2076 2077#header_accordion1 .indi_name_details { 2078 margin: 0; 2079 overflow: hidden; 2080 padding: 5px; 2081} 2082 2083.indi_name_details .name1 { 2084 font-weight: normal; 2085 padding-top: 5px; 2086 font-size: inherit; 2087} 2088 2089#indi_header a.warning { 2090 color: #f00; 2091 font-size: 1em; 2092} 2093 2094#indi_note { 2095 margin: 0 0 5px; 2096} 2097 2098.indi_table { 2099 clear: left; 2100} 2101 2102#sex { 2103 float: right; 2104} 2105 2106#dates { 2107 float: right; 2108} 2109 2110#individual-names .wt-icon-edit, 2111#individual-names .wt-icon-delete { 2112 float: right; 2113} 2114 2115#indi_note .fact_NOTE { 2116 float: left; 2117 margin: 0 5px 0 0; 2118} 2119 2120#indi_note .fact_SOUR { 2121 margin: 3px 0; 2122} 2123 2124#indi_note .fact_SOUR a { 2125 font-size: 100%; 2126} 2127 2128#indi_note .fact_NOTE, 2129#indi_note .fact_SOUR { 2130 clear: both; 2131} 2132 2133/* markdown formatting ===== */ 2134 2135.markdown { 2136 /* Tables and pre-formatted text can break the layout. */ 2137 overflow-x: auto; 2138} 2139 2140.markdown p { 2141 margin: 0 0 0.5em; 2142 white-space: pre-wrap; 2143} 2144 2145.markdown table { 2146 border-collapse: collapse; 2147 margin-bottom: 5px; 2148} 2149 2150.markdown th { 2151 font-weight: bold; 2152} 2153 2154.markdown td, 2155.markdown th { 2156 border: solid thin #000; 2157 padding: 3px; 2158} 2159 2160.odometer { 2161 font-family: courier, monospace; 2162 font-weight: bold; 2163 background: #000; 2164 color: #fff; 2165} 2166 2167/* ======= General sprite ==== */ 2168.male_gender, 2169.female_gender, 2170.unknown_gender { 2171 display: block; 2172 background: url(webtrees/images/general_sprite.png) no-repeat left 0; 2173} 2174 2175.female_gender { 2176 background-position: -45px 1px; 2177 width: 24px; 2178 height: 30px; 2179} 2180 2181.male_gender { 2182 background-position: -72px 3px; 2183 width: 24px; 2184 height: 30px; 2185} 2186 2187.unknown_gender { 2188 background-position: -100px 4px; 2189 width: 24px; 2190 height: 30px; 2191} 2192 2193/* ======== Indi tabs ======== */ 2194/* Facts & Events tab */ 2195#personal_facts_content .fact_NOTE, 2196#personal_facts_content .fact_SOUR, 2197#family-table .fact_NOTE, 2198#family-table .fact_SOUR { 2199 margin: 5px 3px 5px 0; 2200 clear: both; 2201} 2202 2203.media-display-image { 2204 float: left; 2205} 2206 2207.media-display-title { 2208 float: left; 2209 font-style: italic; 2210 margin: 10px; 2211} 2212 2213/* === jQuery.datatable styling general over-rides === */ 2214.odd { 2215 background-color: #e7eef3; 2216} 2217 2218.even { 2219 background-color: #e6e6e6; 2220} 2221 2222.css_right { 2223 float: left; 2224} 2225 2226.fg-button { 2227 padding: 2px 6px; 2228} 2229 2230.dataTables_paginate { 2231 float: left; 2232 margin-bottom: 3px; 2233} 2234 2235.dataTables_processing { 2236 float: left; 2237} 2238 2239.dataTables_filter { 2240 float: right; 2241 font-weight: normal; 2242} 2243 2244.dataTables_info { 2245 float: left; 2246 font-weight: normal; 2247 padding: 4px; 2248} 2249 2250.dataTables_length { 2251 float: right; 2252 font-weight: normal; 2253} 2254 2255.dataTables_length select, 2256.dataTables_filter input { 2257 font-size: 11px; 2258 padding: 1px; 2259} 2260 2261.dt-clear { 2262 clear: both; 2263} 2264 2265#loading { 2266 text-align: center; 2267} 2268 2269.DataTables_sort_wrapper { 2270 position: relative; 2271 margin: 0 20px; 2272} 2273 2274.DataTables_sort_wrapper span { 2275 left: 0; 2276 margin-left: -20px; 2277 margin-top: -8px; 2278 position: absolute; 2279 top: 50%; 2280} 2281 2282.dataTables_wrapper { 2283 margin-bottom: 10px; 2284} 2285 2286/* ======= Sidebar setup ===== */ 2287#main { 2288 min-width: 600px; 2289 width: 100%; 2290 display: table; 2291 table-layout: fixed; 2292} 2293 2294#indi_left { 2295 display: table-cell; 2296} 2297 2298#tabs { 2299 background-color: #fff; 2300 border-color: #ddd; 2301 margin-left: 0; 2302 overflow: visible; 2303 width: 100%; 2304} 2305 2306/* sidebar */ 2307#sidebar { 2308 width: 20%; 2309 display: table-cell; 2310 vertical-align: top; 2311} 2312 2313/* Sidebar - Family navigator */ 2314.wt-family-navigator-dropdown { 2315 background: #edf7fd; 2316} 2317 2318.wt-family-navigator-dropdown-heading { 2319 font-weight: bold; 2320 font-size: inherit; 2321 color: inherit; 2322} 2323 2324/* Sidebar - Descendants */ 2325#sb_content_descendancy { 2326 margin-top: 5px; 2327} 2328 2329#sb_desc_content { 2330 margin-left: 3px; 2331 font-size: 0.8em; 2332} 2333 2334#sb_desc_content ul { 2335 padding: 0; 2336 margin: 0; 2337} 2338 2339.sb_desc_indi_li { 2340 list-style-type: none; 2341} 2342 2343.desc_tree_div { 2344 display: none; 2345} 2346 2347.desc_tree_div ul { 2348 padding: 0; 2349 margin-left: 10px; 2350 margin-top: 0; 2351 margin-right: 0; 2352} 2353 2354/* Individuals and Families */ 2355#sidebar-content-individuals, 2356#sidebar-content-families { 2357 margin-top: 5px; 2358} 2359 2360.sb_indi_surname_li, 2361.sb_fam_surname_li { 2362 list-style-image: url(webtrees/images/plus.png); 2363} 2364 2365.name_tree_div ul { 2366 padding: 0; 2367 margin: 0; 2368} 2369 2370.name_tree_div li { 2371 list-style: none; 2372 margin: 0; 2373 padding: 0; 2374} 2375 2376/* Clippings */ 2377#sb_clippings_content ul { 2378 padding: 0; 2379 margin: 0; 2380} 2381 2382#sb_clippings_content li { 2383 list-style: none; 2384 margin: 0; 2385 padding: 0; 2386 white-space: nowrap; 2387} 2388 2389/* Extra info */ 2390#sb_content_extra_info { 2391 font-size: 80%; 2392 font-weight: bold; 2393 margin-top: 1px; 2394 overflow: hidden; 2395 padding: 5px; 2396} 2397 2398#sb_content_extra_info .editfacts { 2399 float: right; 2400 margin-top: -30px; 2401} 2402 2403#sb_content_extra_info a { 2404 display: block; 2405} 2406 2407#sb_content_extra_info span { 2408 font-weight: normal; 2409} 2410 2411#sb_content_extra_info span a { 2412 display: inline; 2413} 2414 2415#sb_content_extra_info #hitcounter { 2416 border-top: 1px solid #b2c7d7; 2417 font-weight: bold; 2418 padding-top: 5px; 2419} 2420 2421/* http://www.jacklmoore.com/colorbox */ 2422#colorbox, 2423#cboxOverlay, 2424#cboxWrapper { 2425 position: absolute; 2426 top: 0; 2427 left: 0; 2428 z-index: 9999; 2429 overflow: hidden; 2430} 2431 2432#cboxWrapper { 2433 max-width: none; 2434} 2435 2436#cboxOverlay { 2437 position: fixed; 2438 width: 100%; 2439 height: 100%; 2440 background: #fff; 2441} 2442 2443#cboxContent { 2444 background: #fff; 2445 overflow: hidden; 2446 position: relative; 2447 padding: 0.5rem; 2448 border: 0.25rem solid #ccc; 2449} 2450 2451#cboxLoadingOverlay, 2452#cboxLoadingGraphic { 2453 position: absolute; 2454 top: 0; 2455 left: 0; 2456 width: 100%; 2457 height: 100%; 2458} 2459 2460.cboxPhoto { 2461 float: left; 2462 margin: auto; 2463 border: 0; 2464 display: block; 2465 max-width: none; 2466} 2467 2468#colorbox, 2469#cboxContent, 2470#cboxLoadedContent { 2471 box-sizing: content-box; 2472} 2473 2474#cboxError { 2475 padding: 50px; 2476 border: 1px solid #ccc; 2477} 2478 2479#cboxLoadedContent { 2480 margin-bottom: 28px; 2481} 2482 2483#cboxTitle { 2484 background: #fff; 2485 position: absolute; 2486 bottom: 0.25rem; 2487 left: 0; 2488 margin: 0 3rem; 2489 text-align: center; 2490} 2491 2492#cboxLoadingGraphic { 2493 background: url(images/loading-32x32.gif) no-repeat center center; 2494} 2495 2496#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { 2497 background: none; 2498 border: 0; 2499 cursor: pointer; 2500 font-family: "Font Awesome\ 5 Free", sans-serif; 2501 font-weight: 900; 2502 overflow: visible; 2503 padding: 0; 2504 position: absolute; 2505} 2506 2507#cboxSlideshow { 2508 bottom: 0.25rem; 2509 right: 0.25rem; 2510} 2511 2512#cboxPrevious { 2513 bottom: 0.25rem; 2514 left: 0.25rem; 2515} 2516 2517#cboxNext { 2518 bottom: 0.25rem; 2519 left: 1.5rem; 2520} 2521 2522#cboxClose { 2523 top: 0.25rem; 2524 right: 0.25rem; 2525} 2526 2527/* Stories module */ 2528.story_title { 2529 padding-top: 12px; 2530 font-size: 13px; 2531 height: 32px; 2532 font-weight: bold; 2533} 2534 2535.story_body { 2536 padding: 20px; 2537 white-space: normal; 2538} 2539 2540.story_edit { 2541 padding: 12px; 2542} 2543 2544/* ====== Charts Styles ======== */ 2545 2546#people label { 2547 display:block; 2548} 2549 2550/* Ancestry chart */ 2551.wt-ancestors-chart-list { 2552 background: transparent url(images/vline.png) left top repeat-y; 2553 margin: 0 0 0 15px; 2554 padding: 0; 2555 display: block; 2556} 2557 2558.wt-ancestors-chart-list-item { 2559 margin: 5px 0; 2560} 2561 2562.chart_common li { 2563 list-style: outside none none; 2564} 2565 2566.generations { 2567 background: transparent url(images/vline.png) repeat-y scroll left top; 2568 display: block; 2569 margin: 0 0 0 15px; 2570 padding: 0; 2571} 2572 2573.chart_common table { 2574 padding: 0; 2575 border-spacing: 0; 2576 border-collapse: collapse; 2577 margin: 5px 0; 2578} 2579 2580.chart_common td { 2581 border: 0; 2582 padding: 0; 2583} 2584 2585.chart_common span.details1 div[class^=fact_] { 2586 display: inline-block; 2587} 2588 2589.chart_common span.details1 .date { 2590 color: inherit; 2591} 2592 2593/*-- Family book --*/ 2594#familybook_chart { 2595 margin-left: 10px; 2596} 2597 2598#familybook_chart table { 2599 border-collapse: collapse; 2600 empty-cells: show; 2601} 2602 2603#familybook_chart td { 2604 margin: 0; 2605 padding: 0; 2606} 2607 2608#familybook_chart h2 { 2609 text-align: center; 2610} 2611 2612#familybook_chart .line3, 2613#familybook_chart .pvline, 2614#familybook_chart .spacer { 2615 width: 3px; 2616} 2617 2618#familybook_chart .line4 { 2619 width: 7px; 2620 vertical-align: middle; 2621} 2622 2623[ID^="vline"] { 2624 width: 3px; 2625} 2626 2627#familybook_chart h3 { 2628 color: #006; 2629 font-size: 16px; 2630 text-align: center; 2631} 2632 2633/*-- Fan chart ---- */ 2634.fan_chart_menu { 2635 position: absolute; 2636 display: none; 2637 z-index: 100; 2638} 2639 2640#fan_chart ul { 2641 list-style-type: none; 2642 margin: 0; 2643} 2644 2645/* Lifespans chart */ 2646.wt-lifespans-subtitle { 2647 text-align: center; 2648} 2649 2650.wt-lifespans-scale { 2651 white-space: nowrap; 2652} 2653 2654.wt-lifespans-decade { 2655 width: 70px; 2656 height: 60px; 2657 display: inline-block; 2658 background-image: url(images/lifespan-decade.png); 2659 background-position-y: bottom; 2660 background-repeat: no-repeat; 2661 background-size: 70px 37px; 2662} 2663 2664.wt-lifespans-individuals { 2665 background: #fafafa; 2666} 2667 2668.wt-lifespans-individual { 2669 2670} 2671 2672.wt-lifespans-summary { 2673 background: #ffffff; 2674 border: thin solid #000; 2675 z-index: 1; 2676} 2677 2678.wt-lifespans-summary-link { 2679 font-weight: bold; 2680} 2681 2682/*-- Pedigree ---- */ 2683#pedigree_chart { 2684 position: relative; 2685 margin: 20px auto; 2686} 2687 2688#pedigree_canvas { 2689 color: #81a9cb; 2690 z-index: -1000; 2691} 2692 2693#pedigree-page .shadow { 2694 position: absolute; 2695 white-space: nowrap; 2696} 2697 2698#pedigree-page .layout0 .shadow > div, 2699#pedigree-page .layout1 .shadow > div { 2700 display: inline-block; 2701 vertical-align: middle; 2702} 2703 2704#pedigree-page .spacer { 2705 background-image: url(images/spacer.png); 2706 height: 20px; 2707 width: 1px; 2708} 2709 2710#childarrow, 2711.ancestorarrow { 2712 text-align: center; 2713} 2714 2715#pedigree-page #childarrow { 2716 position: relative; 2717} 2718 2719#pedigree-page #childbox { 2720 border: 1px solid; 2721 background-color: #fff; 2722} 2723 2724#pedigree-page table.list_table { 2725 margin: 0 auto; 2726 width: 500px; 2727} 2728 2729.pedigree_chart_table { 2730 border: 0; 2731 border-collapse: collapse; 2732 padding: 0; 2733 width: 100%; 2734} 2735 2736/*-- timeline --*/ 2737#timeline_chart { 2738 position: relative; 2739 top: 0; 2740 left: 0; 2741} 2742 2743#field_table { 2744 width: 30%; 2745 min-width: 500px; 2746} 2747 2748/* Customize the default (font-awesome) icons */ 2749.wt-icon-sex-f { 2750 content: url(images/sex-F.png); 2751} 2752 2753.wt-icon-sex-m { 2754 content: url(images/sex-M.png); 2755} 2756 2757.wt-icon-sex-u { 2758 content: url(images/sex-U.png); 2759} 2760 2761.wt-icon-sex-x { 2762 content: url(images/sex-U.png); 2763} 2764 2765 2766/* ====== Common Icons ========= */ 2767[class^="icon-"], 2768[class*=" icon-"] { 2769 display: inline-block; 2770 vertical-align: text-bottom; 2771 background-repeat: no-repeat; 2772 background-size: cover; 2773} 2774 2775.icon-add { 2776 width: 14px; 2777 height: 15px; 2778 background-image: url(images/add.png); 2779} 2780 2781.icon-cfamily { 2782 width: 20px; 2783 height: 20px; 2784 background-image: url(webtrees/images/family.png); 2785} 2786 2787.icon-childless { 2788 width: 25px; 2789 height: 25px; 2790 background-image: url(webtrees/images/childless.png); 2791} 2792 2793.icon-children { 2794 width: 16px; 2795 height: 16px; 2796 background-image: url(webtrees/images/children.png); 2797} 2798 2799.icon-clippings { 2800 width: 22px; 2801 height: 22px; 2802 background-image: url(webtrees/images/clippings.png); 2803} 2804 2805.icon-edit_indi { 2806 width: 20px; 2807 height: 20px; 2808 background-image: url(webtrees/images/edit_indi.png); 2809} 2810 2811.icon-fam-list { 2812 width: 20px; 2813 height: 20px; 2814 background-image: url(webtrees/images/family.png); 2815} 2816 2817.icon-indi-list { 2818 width: 20px; 2819 height: 20px; 2820 background-image: url(webtrees/images/indis.png); 2821} 2822 2823.icon-loading-small { 2824 width: 16px; 2825 height: 16px; 2826 background-image: url(webtrees/images/indicator.gif); 2827} 2828 2829.icon-media { 2830 width: 20px; 2831 height: 20px; 2832 background-image: url(webtrees/images/media.png); 2833} 2834 2835.icon-media-list { 2836 width: 20px; 2837 height: 20px; 2838 background-image: url(webtrees/images/media.png); 2839} 2840 2841.icon-media-next { 2842 width: 20px; 2843 height: 20px; 2844 background-image: url(webtrees/images/rdarrow.png); 2845} 2846 2847.icon-media-play { 2848 width: 20px; 2849 height: 20px; 2850 background-image: url(webtrees/images/rarrow.png); 2851} 2852 2853.icon-media-stop { 2854 width: 20px; 2855 height: 20px; 2856 background-image: url(webtrees/images/stop.png); 2857} 2858 2859.icon-minus { 2860 width: 11px; 2861 height: 11px; 2862 background-image: url(webtrees/images/minus.png); 2863} 2864 2865.icon-mypage { 2866 width: 24px; 2867 height: 24px; 2868 background-image: url(webtrees/images/mypage.png); 2869} 2870 2871.icon-note { 2872 width: 20px; 2873 height: 20px; 2874 background-image: url(webtrees/icons/note.png); 2875} 2876 2877.icon-plus { 2878 width: 11px; 2879 height: 11px; 2880 background-image: url(webtrees/images/plus.png); 2881} 2882 2883.icon-reminder { 2884 width: 15px; 2885 height: 12px; 2886 background-image: url(webtrees/images/reminder.png); 2887} 2888 2889.icon-remove { 2890 width: 20px; 2891 height: 20px; 2892 background-image: url(webtrees/images/remove.png); 2893} 2894 2895.icon-resn-confidential { 2896 width: 16px; 2897 height: 16px; 2898 background-image: url(webtrees/images/resn_confidential.png); 2899} 2900 2901.icon-resn-locked { 2902 width: 16px; 2903 height: 16px; 2904 background-image: url(webtrees/images/resn_locked.png); 2905} 2906 2907.icon-resn-none { 2908 width: 16px; 2909 height: 16px; 2910 background-image: url(webtrees/images/resn_none.png); 2911} 2912 2913.icon-resn-privacy { 2914 width: 16px; 2915 height: 16px; 2916 background-image: url(webtrees/images/resn_privacy.png); 2917} 2918 2919.icon-rings { 2920 width: 9px; 2921 height: 9px; 2922 background-image: url(webtrees/images/rings.png); 2923} 2924 2925.icon-selected { 2926 width: 12px; 2927 height: 12px; 2928 background-image: url(webtrees/images/selected.png); 2929} 2930 2931.icon-source { 2932 width: 20px; 2933 height: 20px; 2934 background-image: url(webtrees/images/source.png); 2935} 2936 2937.icon-warning { 2938 width: 17px; 2939 height: 17px; 2940 background-image: url(webtrees/images/warning.png); 2941} 2942 2943.icon-zoomin { 2944 width: 25px; 2945 height: 25px; 2946 background-image: url(webtrees/images/zoomin.png); 2947} 2948 2949.icon-zoomout { 2950 width: 25px; 2951 height: 25px; 2952 background-image: url(webtrees/images/zoomout.png); 2953} 2954 2955/* Silhouettes on charts */ 2956.icon-silhouette-F { 2957 width: 37px; 2958 height: 50px; 2959 background-image: url(webtrees/images/silhouette_female_small.png); 2960} 2961 2962.icon-silhouette-M { 2963 width: 37px; 2964 height: 50px; 2965 background-image: url(webtrees/images/silhouette_male_small.png); 2966} 2967 2968.icon-silhouette-U { 2969 width: 37px; 2970 height: 50px; 2971 background-image: url(webtrees/images/silhouette_unknown_small.png); 2972} 2973 2974.wt-silhoutte { 2975 width: 200px; 2976 height: 260px; 2977} 2978 2979.wt-silhoutte::before { 2980 content: url(webtrees/images/silhouette_unknown.png); 2981} 2982 2983.wt-silhoutte-F::before { 2984 content: url(webtrees/images/silhouette_female.png); 2985} 2986 2987.wt-silhouette-M::before { 2988 content: url(webtrees/images/silhouette_male.png); 2989} 2990 2991/* 2992 * Any element that is loaded dynamically has the class wt-ajax-load. 2993 * We can provide a "loading" placeholder for empty elements with this class. 2994 */ 2995.wt-ajax-load:empty { 2996 height: 32px; 2997 background: url(images/loading-32x32.gif) no-repeat 50% 50%; 2998} 2999 3000/* Default icons are provided by FontAwesome. */ 3001.wt-icon-sex-f { 3002} 3003 3004.wt-icon-sex-m { 3005} 3006 3007.wt-icon-sex-u { 3008} 3009 3010.wt-icon-sex-x { 3011} 3012 3013.icon-indis { 3014 width: 20px; 3015 height: 20px; 3016 background-image: url(webtrees/images/indis.png); 3017} 3018 3019.icon-patriarch { 3020 width: 20px; 3021 height: 20px; 3022 background-image: url(webtrees/images/patriarch.png); 3023} 3024 3025.icon-pedigree { 3026 width: 20px; 3027 height: 20px; 3028 background-image: url(webtrees/images/pedigree.png); 3029} 3030 3031.icon-place { 3032 width: 20px; 3033 height: 20px; 3034 background-image: url(webtrees/images/place.png); 3035} 3036 3037.icon-repo-list { 3038 width: 20px; 3039 height: 20px; 3040 background-image: url(webtrees/images/repository.png); 3041} 3042 3043.icon-repository { 3044 width: 20px; 3045 height: 20px; 3046 background-image: url(webtrees/images/repository.png); 3047} 3048 3049.icon-search { 3050 width: 17px; 3051 height: 17px; 3052 background-image: url(webtrees/images/search.png); 3053} 3054 3055.icon-sfamily { 3056 width: 20px; 3057 height: 20px; 3058 background-image: url(webtrees/images/family.png); 3059} 3060 3061.icon-source-list { 3062 width: 20px; 3063 height: 20px; 3064 background-image: url(webtrees/images/source.png); 3065} 3066 3067.icon-user_add { 3068 width: 20px; 3069 height: 20px; 3070 background-image: url(webtrees/images/user_add.png); 3071} 3072 3073/* 3074 * Icons for file types 3075 * 3076 * Icons made by Zlatko Najdenovski 3077 * https://www.flaticon.com/packs/file-formats-3" 3078 * Creative Commons BY 3.0 3079 */ 3080.wt-mime { 3081 background: url(images/mime.svg); 3082 display: inline-block; 3083 width: 48px; 3084 height: 48px; 3085} 3086 3087.wt-mime-application-pdf { 3088 background: url(images/mime-application-pdf.svg); 3089} 3090 3091.wt-mime-audio { 3092 background: url(images/mime-audio.svg); 3093} 3094 3095.wt-mime-text { 3096 background: url(images/mime-text.svg); 3097} 3098 3099.wt-mime-text-html { 3100 background: url(images/mime-text-html.svg); 3101} 3102 3103.wt-mime-video { 3104 background: url(images/mime-video.svg); 3105} 3106 3107