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/* Sidebar - Family navigator */ 1035.wt-family-navigator-dropdown-heading { 1036 font-weight: bold; 1037 font-size: inherit; 1038 color: inherit; 1039} 1040 1041/* Sidebar - Descendants */ 1042#sb_content_descendancy { 1043 margin-top: 2px; 1044} 1045 1046#sb_desc_content { 1047 margin-left: 3px; 1048 font-size: 0.8em; 1049} 1050 1051#sb_desc_content ul { 1052 padding: 0; 1053 margin: 0; 1054} 1055 1056.sb_desc_indi_li { 1057 list-style-type: none; 1058} 1059 1060/* Individuals and Families */ 1061#sidebar-content-individuals, 1062#sidebar-content-families { 1063 margin-top: 2px; 1064} 1065 1066.sb_indi_surname_li, 1067.sb_fam_surname_li { 1068 list-style-image: url(icons/plus.png); 1069} 1070 1071.name_tree_div ul { 1072 padding: 0; 1073 margin: 0; 1074} 1075 1076.name_tree_div li { 1077 list-style: none; 1078 margin: 0; 1079 padding: 0; 1080} 1081 1082/* Clippings */ 1083#sb_clippings_content ul { 1084 padding: 0; 1085 margin: 0; 1086} 1087 1088#sb_clippings_content li { 1089 list-style: none; 1090 margin: 0; 1091 padding: 0; 1092 white-space: nowrap; 1093} 1094 1095/* Stories module */ 1096.story_title { 1097 padding-top: 12px; 1098 font-size: 13px; 1099 height: 32px; 1100 font-weight: bold; 1101} 1102 1103.story_body { 1104 padding: 20px; 1105 white-space: normal; 1106} 1107 1108.story_edit { 1109 padding: 12px; 1110} 1111 1112/*-- Fan chart ---- */ 1113.fan_chart_menu { 1114 background: #fff; 1115 position: absolute; 1116 display: none; 1117 z-index: 100; 1118} 1119 1120#fan_chart ul { 1121 list-style-type: none; 1122 margin: 0; 1123} 1124 1125/* Lifespans chart */ 1126.wt-lifespans-subtitle { 1127 text-align: center; 1128} 1129 1130.wt-lifespans-scale { 1131 white-space: nowrap; 1132} 1133 1134.wt-lifespans-decade { 1135 width: 70px; 1136 height: 60px; 1137 display: inline-block; 1138 background-image: url(images/lifespan-decade.png); 1139 background-position-y: bottom; 1140 background-repeat: no-repeat; 1141 background-size: 70px 37px; 1142} 1143 1144.wt-lifespans-individuals { 1145 background: #fafafa; 1146} 1147 1148.wt-lifespans-individual { 1149 1150} 1151 1152.wt-lifespans-summary { 1153 background: #ffffff; 1154 border: thin solid #000; 1155 z-index: 1; 1156} 1157 1158.wt-lifespans-summary-link { 1159 font-weight: bold; 1160} 1161 1162/*-- timeline --*/ 1163#timeline_chart { 1164 position: relative; 1165 top: 0; 1166 left: 0; 1167} 1168 1169[class^="icon-"], 1170[class*=" icon-"] { 1171 display: inline-block; 1172 vertical-align: middle; 1173 background-repeat: no-repeat; 1174} 1175 1176.icon-cfamily { 1177 content: url(colors/images/cfamily.png); 1178} 1179 1180.icon-childless { 1181 content: url(images/childless.png); 1182} 1183 1184.icon-children { 1185 content: url(images/children.png); 1186} 1187 1188.icon-edit_indi { 1189 content: url(colors/images/edit_indi.png); 1190} 1191 1192.icon-fam-list { 1193 content: url(colors/images/sfamily.png); 1194} 1195 1196.icon-indi-list { 1197 content: url(colors/images/indis.png); 1198} 1199 1200.icon-loading-small { 1201 content: url(images/indicator.gif); 1202} 1203 1204.icon-minus { 1205 content: url(icons/minus.png); 1206} 1207 1208.icon-mypage { 1209 content: url(colors/images/mypage.png); 1210} 1211 1212.icon-plus { 1213 content: url(icons/plus.png); 1214} 1215 1216.icon-resn-confidential { 1217 content: url(images/resn_confidential.png); 1218} 1219 1220.icon-resn-locked { 1221 content: url(images/resn_locked.png); 1222} 1223 1224.icon-resn-none { 1225 content: url(images/resn_none.png); 1226} 1227 1228.icon-resn-privacy { 1229 content: url(images/resn_privacy.png); 1230} 1231 1232.icon-rings { 1233 content: url(images/rings.png); 1234} 1235 1236.icon-selected { 1237 content: url(colors/images/selected.png); 1238} 1239 1240/* Silhouettes on charts */ 1241.icon-silhouette-F { 1242 content: url(colors/images/silhouette_female_small.png); 1243} 1244 1245.icon-silhouette-M { 1246 content: url(colors/images/silhouette_male_small.png); 1247} 1248 1249.icon-silhouette-U { 1250 content: url(colors/images/silhouette_unknown_small.png); 1251} 1252 1253/* 1254 * Any element that is loaded dynamically has the class wt-ajax-load. 1255 * We can provide a "loading" placeholder for empty elements with this class. 1256 */ 1257.wt-ajax-load:empty { 1258} 1259 1260/* 1261 * Default icons are provided by FontAwesome. 1262 */ 1263.wt-icon-anniversary { 1264} 1265 1266.wt-icon-arrow-down { 1267 content: url(colors/icons/arrow-down.png); 1268} 1269 1270a > .wt-icon-arrow-down:hover { 1271 content: url(colors/icons/arrow-down-hover.png); 1272} 1273 1274.wt-icon-arrow-left { 1275 content: url(colors/icons/arrow-left.png); 1276} 1277 1278a > .wt-icon-arrow-left:hover { 1279 content: url(colors/icons/arrow-left-hover.png); 1280} 1281 1282.wt-icon-arrow-right { 1283 content: url(colors/icons/arrow-right.png); 1284} 1285 1286a > .wt-icon-arrow-right:hover { 1287 content: url(colors/icons/arrow-right-hover.png); 1288} 1289 1290.wt-icon-arrow-up { 1291 content: url(colors/icons/arrow-up.png); 1292} 1293 1294a > .wt-icon-arrow-up:hover { 1295 content: url(colors/icons/arrow-up-hover.png); 1296} 1297 1298.wt-icon-bing-maps { 1299} 1300 1301.wt-icon-calendar { 1302} 1303 1304.wt-icon-collapse { 1305} 1306 1307.wt-icon-coordinates { 1308} 1309 1310.wt-icon-copy { 1311} 1312 1313.wt-icon-delete { 1314} 1315 1316.wt-icon-edit { 1317} 1318 1319.wt-icon-expand { 1320} 1321 1322.wt-icon-family { 1323} 1324 1325.wt-icon-google-maps { 1326} 1327 1328.wt-icon-help { 1329 content: url(colors/icons/help.png); 1330} 1331 1332.wt-icon-individual { 1333} 1334 1335.wt-icon-keyboard { 1336} 1337 1338.wt-icon-media { 1339} 1340 1341.wt-icon-note { 1342} 1343 1344.wt-icon-openstreetmap { 1345} 1346 1347.wt-icon-preferences { 1348} 1349 1350.wt-icon-reorder { 1351} 1352 1353.wt-icon-repository { 1354} 1355 1356.wt-icon-sex-f { 1357} 1358 1359.wt-icon-sex-m { 1360} 1361 1362.wt-icon-sex-u { 1363} 1364 1365.wt-icon-sex-x { 1366} 1367 1368.wt-icon-source { 1369} 1370 1371.wt-icon-submitter { 1372} 1373 1374.wt-icon-warning { 1375} 1376 1377.wt-icon-zoom-in { 1378 content: url(colors/icons/zoom-in.png); 1379} 1380 1381.wt-icon-zoom-out { 1382 content: url(colors/icons/zoom-out.png); 1383} 1384 1385/* Miscellaneous images */ 1386.icon-indis { 1387 content: url(colors/images/mypage.png); 1388} 1389 1390.icon-patriarch { 1391 content: url(colors/images/patriarch.png); 1392} 1393 1394.icon-pedigree { 1395 content: url(colors/images/pedigree.png); 1396} 1397 1398.icon-sfamily { 1399 content: url(colors/images/sfamily.png); 1400} 1401 1402.icon-user_add { 1403 content: url(colors/images/user_add.png); 1404} 1405 1406/* Census assistant */ 1407.wt-census-assistant-form-control:focus { 1408} 1409 1410/* Some blocks show a reduced version on the right-hand side. */ 1411.wt-side-blocks .wt-side-block-optional { 1412 display: none !important; 1413} 1414 1415/* my page chart enhancements */ 1416.wt-block-content-charts { 1417 overflow: auto; 1418} 1419 1420/* Some charts are wider than the page. */ 1421.wt-chart { 1422 overflow-x: auto; 1423 overflow-y: hidden; 1424} 1425 1426/* Fit thumbnail into parent on charts */ 1427.select2-selection.select2-selection--single { 1428 min-height: 36px; 1429 height: auto; 1430 padding: 2px 0; 1431} 1432 1433.select2-container .select2-selection--single .select2-selection__rendered { 1434 padding-left: 2px; 1435} 1436 1437.select2-selection--single .NAME { 1438 padding-left: 4px; 1439} 1440 1441/* Some menus (e.g. languages) can be longer than a page */ 1442.dropdown-menu { 1443 max-height: 30rem; 1444 overflow-x: hidden; 1445} 1446 1447/* Forms */ 1448.col-form-label { 1449 font-weight: bold; 1450} 1451