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