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