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