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