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/* ==== Theme select block === */ 446.theme_form ul { 447 margin: -10px auto; 448} 449 450.theme_form li { 451 visibility: hidden; 452} 453 454.theme_form li ul li { 455 display: inline-block; 456 padding: 10px; 457 visibility: visible; 458} 459 460/* ==== FAQ table styles ===== */ 461table.faq { 462 background-color: #ddd; 463 margin: 5px 0 50px 5px; 464 width: 98%; 465} 466 467table.faq tr:nth-child(odd) td { 468 background-color: #fff; 469} 470 471div.faq_title { 472 background-color: #ddd; 473 margin: 1em 0; 474 padding: .25em; 475 font-weight: bold; 476 width: 98%; 477} 478 479div.faq_body { 480 clear: both; 481 padding: 0 1em; 482} 483 484.faq_top { 485 float: right; 486} 487 488/* === Positioning edit, copy, delete links === */ 489/* General use */ 490.editfacts { 491 clear: left; 492 padding-top: 15px; 493} 494 495#indi_note { 496 margin: 0 0 5px; 497} 498 499.indi_table { 500 clear: left; 501} 502 503#sex { 504 float: right; 505} 506 507#dates { 508 color: #666; 509 float: right; 510} 511 512.label { 513 font-weight: bold; 514} 515 516#individual-names .wt-icon-edit, 517#individual-names .wt-icon-delete { 518 float: right; 519} 520 521#indi_note .fact_NOTE { 522 float: left; 523 margin: 0 5px 0 0; 524} 525 526#indi_note .fact_SOUR { 527 margin: 3px 0; 528} 529 530#indi_note .fact_SOUR a { 531 font-size: 100%; 532} 533 534#indi_note .fact_NOTE, 535#indi_note .fact_SOUR { 536 clear: both; 537} 538 539/* markdown formatting */ 540 541.markdown { 542 /* Tables and pre-formatted text can break the layout. */ 543 overflow-x: auto; 544} 545 546.markdown p { 547 margin: 0 0 0.5em; 548 white-space: pre-wrap; 549} 550 551.markdown table { 552 border-collapse: collapse; 553 font-size: 10px; 554 margin-bottom: 5px; 555} 556 557.markdown th { 558 font-weight: bold; 559} 560 561.markdown td, 562.markdown th { 563 border: solid thin #000; 564 padding: 3px; 565} 566 567.odometer { 568 font-family: courier, monospace; 569 font-weight: bold; 570 background: #000; 571 color: #fff; 572} 573 574/* ======== Indi tabs ======== */ 575/* Facts & Events tab */ 576.media-display-image { 577 float: left; 578} 579 580.media-display-title { 581 float: left; 582 font-style: italic; 583 margin: 10px; 584} 585 586.upcoming_events_block button, 587.todays_events_block button { 588 margin: 0 20px; 589} 590 591/* Sidebar - Family navigator */ 592 593/* Sidebar - Descendants */ 594#sb_content_descendancy { 595 margin-top: 5px; 596} 597 598#sb_desc_content { 599 margin-left: 3px; 600 font-size: 0.8em; 601} 602 603#sb_desc_content ul { 604 padding: 0; 605 margin: 0; 606} 607 608.sb_desc_indi_li { 609 list-style-type: none; 610} 611 612/* Individuals and Families */ 613#sidebar-content-individuals, 614#sidebar-content-families { 615 margin-top: 5px; 616} 617 618.sb_indi_surname_li, 619.sb_fam_surname_li { 620 list-style-image: url(icons/plus.png); 621} 622 623.name_tree_div ul { 624 padding: 0; 625 margin: 0; 626} 627 628.name_tree_div li { 629 list-style: none; 630 margin: 0; 631 padding: 0; 632} 633 634/* Clippings */ 635#sb_clippings_content ul { 636 padding: 0; 637 margin: 0; 638} 639 640#sb_clippings_content li { 641 list-style: none; 642 margin: 0; 643 padding: 0; 644 white-space: nowrap; 645} 646 647/* Extra info */ 648#sb_content_extra_info { 649 font-size: 80%; 650 font-weight: bold; 651 margin-top: 1px; 652 overflow: hidden; 653 padding: 5px; 654} 655 656#sb_content_extra_info .editfacts { 657 float: right; 658 margin-top: -10px; 659} 660 661#sb_content_extra_info a { 662 display: block; 663} 664 665#sb_content_extra_info span { 666 font-weight: normal; 667} 668 669#sb_content_extra_info span a { 670 display: inline; 671} 672 673#sb_content_extra_info #hitcounter { 674 border-top: 1px solid #b2c7d7; 675 font-weight: bold; 676 padding-top: 5px; 677} 678 679/* http://www.jacklmoore.com/colorbox */ 680#colorbox, 681#cboxOverlay, 682#cboxWrapper { 683 position: absolute; 684 top: 0; 685 left: 0; 686 z-index: 9999; 687 overflow: hidden; 688} 689 690#cboxWrapper { 691 max-width: none; 692} 693 694#cboxOverlay { 695 position: fixed; 696 width: 100%; 697 height: 100%; 698 background: #fff; 699} 700 701#cboxContent { 702 background: #fff; 703 overflow: hidden; 704 position: relative; 705 padding: 0.5rem; 706 border: 0.25rem solid #ccc; 707} 708 709#cboxLoadingOverlay, 710#cboxLoadingGraphic { 711 position: absolute; 712 top: 0; 713 left: 0; 714 width: 100%; 715 height: 100%; 716} 717 718.cboxPhoto { 719 float: left; 720 margin: auto; 721 border: 0; 722 display: block; 723 max-width: none; 724} 725 726#colorbox, 727#cboxContent, 728#cboxLoadedContent { 729 box-sizing: content-box; 730} 731 732#cboxError { 733 padding: 50px; 734 border: 1px solid #ccc; 735} 736 737#cboxLoadedContent { 738 margin-bottom: 28px; 739} 740 741#cboxTitle { 742 background: #fff; 743 position: absolute; 744 bottom: 0.25rem; 745 left: 0; 746 margin: 0 3rem; 747 text-align: center; 748} 749 750#cboxLoadingGraphic { 751 background: url(images/loading-32x32.gif) no-repeat center center; 752} 753 754#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { 755 background: none; 756 border: 0; 757 cursor: pointer; 758 font-family: "Font Awesome\ 5 Free", sans-serif; 759 font-weight: 900; 760 overflow: visible; 761 padding: 0; 762 position: absolute; 763} 764 765#cboxSlideshow { 766 bottom: 0.25rem; 767 right: 0.25rem; 768} 769 770#cboxPrevious { 771 bottom: 0.25rem; 772 left: 0.25rem; 773} 774 775#cboxNext { 776 bottom: 0.25rem; 777 left: 1.5rem; 778} 779 780#cboxClose { 781 top: 0.25rem; 782 right: 0.25rem; 783} 784 785/* Stories module */ 786.story_title { 787 padding-top: 12px; 788 font-size: 13px; 789 height: 32px; 790 font-weight: bold; 791} 792 793.story_body { 794 padding: 20px; 795 white-space: normal; 796} 797 798.story_edit { 799 padding: 12px; 800} 801 802/* Stories module */ 803.story_title { 804 padding-top: 12px; 805 font-size: 13px; 806 height: 32px; 807 font-weight: bold; 808} 809 810.story_body { 811 padding: 20px; 812 white-space: normal; 813} 814 815.story_edit { 816 padding: 12px; 817} 818 819/* ====== Charts Styles ======== */ 820 821#people label { 822 display: block; 823} 824 825/*-- Fan chart ---- */ 826.fan_chart_menu { 827 background: #fff; 828 position: absolute; 829 display: none; 830 z-index: 100; 831} 832 833#fan_chart ul { 834 list-style-type: none; 835 margin: 0; 836} 837 838/* Lifespans chart */ 839.wt-lifespans-subtitle { 840 text-align: center; 841} 842 843.wt-lifespans-scale { 844 white-space: nowrap; 845} 846 847.wt-lifespans-decade { 848 width: 70px; 849 height: 60px; 850 display: inline-block; 851 background-image: url(images/lifespan-decade.png); 852 background-position-y: bottom; 853 background-repeat: no-repeat; 854 background-size: 70px 37px; 855} 856 857.wt-lifespans-individuals { 858 background: #fafafa; 859} 860 861.wt-lifespans-individual { 862 863} 864 865.wt-lifespans-summary { 866 background: #ffffff; 867 border: thin solid #000; 868 z-index: 1; 869} 870 871.wt-lifespans-summary-link { 872 font-weight: bold; 873} 874 875/*-- Pedigree ---- */ 876.tvertline { 877 vertical-align: bottom; 878} 879 880.optionbox, .descriptionbox { 881 border: solid #000 1px; 882 vertical-align: top; 883 padding: 3px; 884} 885 886#childbox { 887 padding: 5px; 888 position: absolute; 889 display: none; 890 text-align: start; 891 white-space: nowrap; 892 top: 20px; 893 left: 0; 894} 895 896.layout3 #childbox { 897 top: auto; 898 bottom: 20px; 899} 900 901#childbox a.name1 { 902 display: block; 903 margin-left: 5px; 904} 905 906.person0, .person1, .person2, .person3, .person4, .person5 { 907 border:outset #555 1px; 908 vertical-align:top; 909} 910.person0{ 911 background-color:#eee; 912} 913 914.person1{ 915 background-color:#bfbfbf; 916} 917 918.person2{ 919 background-color:#999; 920} 921 922.person3{ 923 background-color:#dfdfdf; 924} 925 926.person4{ 927 background-color:#eee; 928} 929 930.person5{ 931 background-color:#fefefe; 932} 933 934/*-- timeline --*/ 935#timeline_chart { 936 position: relative; 937 top: 0; 938 left: 0; 939} 940 941/* 942 * Any element that is loaded dynamically has the class wt-ajax-load. 943 * We can provide a "loading" placeholder for empty elements with this class. 944 */ 945.wt-ajax-load:empty { 946 height: 32px; 947 background: url(images/loading-32x32.gif) no-repeat 50% 50%; 948} 949 950/* 951 * Default icons are provided by FontAwesome. 952 */ 953.wt-icon-anniversary { 954} 955 956.wt-icon-arrow-down { 957} 958 959a > .wt-icon-arrow-down:hover { 960} 961 962.wt-icon-arrow-left { 963} 964 965a > .wt-icon-arrow-left:hover { 966} 967 968.wt-icon-arrow-right { 969} 970 971a > .wt-icon-arrow-right:hover { 972} 973 974.wt-icon-arrow-up { 975} 976 977a > .wt-icon-arrow-up:hover { 978} 979 980.wt-icon-bing-maps { 981} 982 983.wt-icon-calendar { 984} 985 986.wt-icon-collapse { 987} 988 989.wt-icon-coordinates { 990} 991 992.wt-icon-copy { 993} 994 995.wt-icon-delete { 996} 997 998.wt-icon-edit { 999} 1000 1001.wt-icon-expand { 1002} 1003 1004.wt-icon-family { 1005} 1006 1007.wt-icon-google-maps { 1008} 1009 1010.wt-icon-help { 1011} 1012 1013.wt-icon-individual { 1014} 1015 1016.wt-icon-keyboard { 1017} 1018 1019.wt-icon-media { 1020} 1021 1022.wt-icon-note { 1023} 1024 1025.wt-icon-openstreetmap { 1026} 1027 1028.wt-icon-preferences { 1029} 1030 1031.wt-icon-reorder { 1032} 1033 1034.wt-icon-repository { 1035} 1036 1037.wt-icon-sex-f { 1038 color: var(--sex-m-fg); 1039} 1040 1041.wt-icon-sex-m { 1042 color: var(--sex-m-fg); 1043} 1044 1045.wt-icon-sex-u { 1046 color: var(--sex-u-fg); 1047} 1048 1049.wt-icon-sex-x { 1050 color: var(--sex-u-fg); 1051} 1052 1053.wt-icon-source { 1054} 1055 1056.wt-icon-submitter { 1057} 1058 1059.wt-icon-warning { 1060} 1061 1062.wt-icon-zoom-in { 1063} 1064 1065.wt-icon-zoom-out { 1066} 1067 1068/* Miscellaneous images */ 1069.icon-cfamily { 1070} 1071 1072.icon-childless { 1073 content: url(images/childless.png); 1074} 1075 1076.icon-children { 1077 content: url(images/children.png); 1078} 1079 1080.icon-edit_indi { 1081 content: url(minimal/images/edit_indi.png); 1082} 1083 1084.icon-fam-list { 1085 content: url(minimal/images/sfamily.png); 1086} 1087 1088.icon-indi-list { 1089 content: url(minimal/images/indis.png); 1090} 1091 1092.icon-loading-small { 1093 content: url(images/indicator.gif); 1094} 1095 1096.icon-loading-large { 1097 content: url(images/loading-32x32.gif); 1098} 1099 1100.icon-minus { 1101 content: url(icons/minus.png); 1102} 1103 1104.icon-mypage { 1105 content: url(minimal/images/mypage.png); 1106} 1107 1108.icon-plus { 1109 content: url(icons/plus.png); 1110} 1111 1112.icon-resn-confidential { 1113 content: none; 1114} 1115 1116.icon-resn-locked { 1117 content: none; 1118} 1119 1120.icon-resn-none { 1121 content: none; 1122} 1123 1124.icon-resn-privacy { 1125 content: none; 1126} 1127 1128.icon-rings { 1129 content: url(images/rings.png); 1130} 1131 1132.icon-selected { 1133 content: url(minimal/images/selected.png); 1134} 1135 1136.icon-sfamily { 1137 content: url(minimal/images/sfamily.png); 1138} 1139 1140/* Silhouettes on charts */ 1141.icon-silhouette-F { 1142 content: url(minimal/images/silhouette_female_small.png); 1143} 1144 1145.icon-silhouette-M { 1146 content: url(minimal/images/silhouette_male_small.png); 1147} 1148 1149.icon-silhouette-U { 1150 content: url(minimal/images/silhouette_unknown_small.png); 1151} 1152 1153.icon-indis { 1154 content: url(minimal/images/indis.png); 1155} 1156 1157.icon-pedigree { 1158 content: url(minimal/images/pedigree.png); 1159} 1160 1161/* Census assistant */ 1162.wt-census-assistant-form-control:focus { 1163 min-width: 12rem; 1164} 1165 1166/* 1167 * Drag and drop sortable lists 1168 */ 1169.wt-sortable-list { 1170} 1171 1172.wt-sortable-item { 1173 cursor: move; 1174} 1175 1176/* Some blocks show a reduced version on the right-hand side. */ 1177.wt-side-blocks .wt-side-block-optional { 1178 display: none !important; 1179} 1180 1181/* my page chart enhancements */ 1182.wt-block-content-charts { 1183 overflow: auto; 1184} 1185 1186/* Some charts are wider than the page. */ 1187.wt-chart { 1188 overflow-x: auto; 1189 overflow-y: hidden; 1190} 1191 1192/* Fit thumbnail into parent on charts */ 1193.select2-selection.select2-selection--single { 1194 min-height: 36px; 1195 height: auto; 1196 padding: 2px 0; 1197} 1198 1199.select2-container .select2-selection--single .select2-selection__rendered { 1200 padding-left: 2px; 1201} 1202 1203.select2-selection--single .NAME { 1204 padding-left: 4px; 1205} 1206 1207/* 1208 * These selectors control how the short horizontal lines are positioned in the Charts 1209 * Optimized for Win10 and FF, Chrome and Edge browsers 1210 * Ancestors 1211 * Descendants 1212 * amily book 1213 * 1214 */ 1215 1216/* Ascentors */ 1217.wt-chart-ancestors .linea1 { 1218 margin-bottom: 4px; 1219} 1220 1221.wt-chart-ancestors .linea2 { 1222 margin-bottom: 7px; 1223} 1224 1225.wt-chart-ancestors .linea3 { 1226 margin-bottom: 4px; 1227} 1228 1229.wt-chart-ancestors .linea4 { 1230 margin-bottom: 7px; 1231} 1232 1233.wt-chart-ancestors .linea5 { 1234 vertical-align: top; 1235} 1236 1237/* Descendants */ 1238.wt-chart-descendants .lined1 { 1239 margin-bottom: 4px; 1240} 1241 1242.wt-chart-descendants .lined2 { 1243 margin-bottom: 7px; 1244} 1245 1246.wt-chart-descendants .lined3 { 1247 margin-bottom: 4px; 1248} 1249 1250.wt-chart-descendants .lined4 { 1251 margin-bottom: 7px; 1252} 1253 1254.wt-chart-descendants .linea5 { 1255 vertical-align: top; 1256} 1257 1258/* 1259 * Place hierarchy 1260 * 1261 * wt-place-hierarchy-page 1262 */ 1263 1264#place-hierarchy ul { 1265 list-style-type: none; 1266} 1267 1268.d-table-cell { 1269 padding-right: 5px; 1270} 1271 1272/* Some menus (e.g. languages) can be longer than a page */ 1273.dropdown-menu { 1274 max-height: 30rem; 1275 overflow-x: hidden; 1276} 1277 1278/* Forms */ 1279.col-form-label { 1280 font-weight: bold; 1281} 1282