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