/** * webtrees: online genealogy * Copyright (C) 2019 webtrees development team * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ /* The webtrees theme */ @import "_base.css"; @import "_block-charts.css"; @import "_charts.css"; @import "_list-branches.css"; @import "_list-individuals.css"; @import "_list-media.css"; @import "_list-notes.css"; @import "_list-places.css"; @import "_list-repositories.css"; @import "_list-sources.css"; @import "_mime-type-icons.css"; @import "_on-screen-keyboard.css"; @import "_tab-relatives.css"; /* Colors for chart boxes, etc. */ :root { --sex-f-fg: #ff2080; --sex-m-fg: #81a9cb; --sex-u-fg: #81a9cb; --sex-f-bg: #e9daf1; --sex-m-bg: #edf7fd; --sex-u-bg: #ffffff; --chart-line: solid gray thin; --chart-line-radius: 1rem; } /* Override Bootstrap formatting */ .btn-link { padding-left: 0.25rem; padding-right: 0.25rem; } .table-given-name { overflow-x: hidden; } .container-fluid { padding-left: 5px; padding-right: 5px; } table { border-collapse: separate; } /* * Pages have the following high-level structure: * * wt-global wt-theme- wt-route- * +---wt-header-wrapper * | +---wt-header-container * | +---wt-header-content * | +---wt-accessibility-links * | +---wt-site-logo * | +---wt-site-title * | +---wt-header-search * | | +---wt-header-search-form * | | +---wt-header-search-field * | | +---wt-header-search-button * | +---wt-secondary-navigation * | | +---wt-user-menu * | +---wt-primary-navigation * | +---wt-genealogy-menu * +---wt-main-wrapper * | +---wt-main-container * | +---wt-main-content * | +---wt-messages * | +---wt-page-title * | +---wt-page-options wt-page-options-xxxxx * | +---wt-page-content * +---wt-footers * +---wt-footer wt-footer-contact * +---wt-footer wt-footer-cookies * +---wt-footer wt-footer-page-views * +---wt-footer wt-footer-powered-by */ .wt-global { color: #555; } .wt-header-wrapper { } .wt-header-container { } .wt-header-content { } .wt-accessibility-links { } .wt-site-logo { order: 1; flex: 0 0 272px; } .wt-site-logo:after { height: 50px; width: 242px; content: url(webtrees/images/webtrees.png); } .wt-site-title { order: 3; flex: 0 0 calc(100% - 15rem); font-size: 1.5rem; font-weight: normal; } .wt-header-search { order: 4; flex: 0 0 15rem; position: relative; top: -0.75rem; } .wt-header-search-form { } .wt-header-search-field { } .wt-header-search-button { } .wt-secondary-navigation { order: 2; white-space: nowrap; margin-bottom: 15px; } .wt-user-menu { flex-wrap: nowrap; justify-content: flex-end; } .wt-user-menu .nav-link { display: inline-block; padding: 0.5rem; } .wt-user-menu .nav-item + .nav-item::before { content: "|"; } .wt-user-menu .dropdown-toggle::after { display: none; } .wt-primary-navigation { order: 5; /* Extend to full page width */ flex: 0 0 100vw; max-width: 100vw; /* Recalculate margins for content */ margin: 0 calc(50% - 50vw); padding: 0 calc(50vw - 50%); border-bottom: 2px solid #81a9cb; border-top: 2px solid #81a9cb; } .wt-genealogy-menu { justify-content: center; } .wt-genealogy-menu .nav-item { text-align: center; min-width: 5rem; } .wt-genealogy-menu .nav-link::before { display: block; } .wt-genealogy-menu .dropdown-toggle::after { display: none; } .wt-genealogy-menu .dropdown-menu { border-radius: 0; border: thin solid #aaa; } .wt-genealogy-menu .dropdown-item { /* Space between icons and align with submenu icons */ padding: 0 5px 0 0; line-height: 1.0; } .wt-genealogy-menu .dropdown-item::before { vertical-align: text-top; line-height: 2.4; padding: 0 .25rem; } .menu-tree .nav-link::before { content: url(webtrees/menu/tree.png); } .menu-tree .dropdown-item::before { content: url(webtrees/menu/tree-tree.png); } .menu-chart .nav-link::before { content: url(webtrees/menu/chart.png); } .menu-chart-ancestry::before { content: url(webtrees/menu/chart-ancestors.png); } .menu-chart-compact::before { content: url(webtrees/menu/chart-compact.png); } .menu-chart-descendants::before { content: url(webtrees/menu/chart-descendants.png); } .menu-chart-familybook::before { content: url(webtrees/menu/chart-family-book.png); } .menu-chart-fanchart::before { content: url(webtrees/menu/chart-fanchart.png); } .menu-chart-hourglass::before { content: url(webtrees/menu/chart-hourglass.png); } .menu-chart-lifespan::before { content: url(webtrees/menu/chart-lifespan.png); } .menu-chart-pedigree::before { content: url(webtrees/menu/chart-pedigree.png); } .menu-chart-pedigreemap::before { content: url(webtrees/menu/chart-pedigree-map.png); } .menu-chart-relationship::before { content: url(webtrees/menu/chart-relationship.png); } .menu-chart-statistics::before { content: url(webtrees/menu/chart-statistics.png); } .menu-chart-timeline::before { content: url(webtrees/menu/chart-timeline.png); } .menu-chart-tree::before { content: url(webtrees/menu/chart-tree.png); } .menu-list .nav-link::before { content: url(webtrees/menu/list.png); } .menu-branches::before { content: url(webtrees/menu/branches.png); } .menu-list-fam::before { content: url(webtrees/menu/list-fam.png); } .menu-list-indi::before { content: url(webtrees/menu/list-indi.png); } .menu-list-note::before { content: url(webtrees/menu/list-note.png); } .menu-list-obje::before { content: url(webtrees/menu/list-obje.png); } .menu-list-plac::before { content: url(webtrees/menu/list-plac.png); } .menu-list-repo::before { content: url(webtrees/menu/list-repo.png); } .menu-list-sour::before { content: url(webtrees/menu/list-sour.png); } .menu-calendar .nav-link::before { content: url(webtrees/menu/calendar.png); } .menu-calendar-day::before { content: url(webtrees/menu/calendar-calendar.png); } .menu-calendar-month::before { content: url(webtrees/menu/calendar-calendar.png); } .menu-calendar-year::before { content: url(webtrees/menu/calendar-calendar.png); } .menu-report .nav-link::before { content: url(webtrees/menu/report.png); } .menu-report .dropdown-item::before { content: url(webtrees/menu/report-report.png); } .menu-search .nav-link::before { content: url(webtrees/menu/search.png); } .menu-search .dropdown-item::before { content: url(webtrees/menu/search-search.png); } .menu-help .nav-link::before { content: url(webtrees/menu/help.png); } .menu-clippings .nav-link::before { content: url(webtrees/menu/clippings.png); } .menu-clippings-add::before { content: url(webtrees/menu/clippings-add.png); } .menu-clippings-cart::before { content: url(webtrees/menu/clippings-cart.png); } .menu-clippings-download::before { content: url(webtrees/menu/edit-preferences.png); } .menu-clippings-empty::before { content: url(webtrees/menu/edit-delete.png); } .menu-story .nav-link::before { content: url(webtrees/menu/story.png); } .wt-main-container { /* Space between the header/footer and the main content. */ padding-top: 1rem; padding-bottom: 1rem; } .wt-main { } .wt-messages { } .wt-page-title { color: #006; font-size: 1.5rem; font-weight: bold; text-align: center; } .wt-page-options { } .wt-page-content { } .wt-page-options .form-group { margin-bottom: 2px; } .wt-page-options-label { color: #fff; background-color: #81a9cb; font-weight: bold; border-left: 2px solid transparent; border-right: 2px solid transparent; } .wt-page-options-value { background-color: #edf7f9; border: solid #81a9cb 1px; padding: 0.25rem 0.75rem; } .wt-page-content { margin-top: 1rem; } .wt-footers { } .wt-footer { } .wt-footer-contact { } .wt-footer-cookies { background: #aaa; color: #fff; transition: height 0.5s; } .wt-footer-page-views { } .wt-footer-powered-by { } .wt-footer-powered-by-webtrees { width: 100px; height: 21px; content: url(images/powered-by-webtrees.png); } /* * The tree/user home pages * * wt-home-page / wt-user-page * +---wt-main-blocks * | +---wt-block, wt-block-AAA * | +---wt-block, wt-block-BBB * | +---wt-block, wt-block-CCC * +---wt-side-blocks * +---wt-block, wt-block-XXX * +---wt-block, wt-block-YYY * +---wt-block, wt-block-ZZZ * * Each block as the structure * wt-block, wt-block-XXX * +---wt-block-header, wt-block-header-XXX * +---wt-block-content, wt-block-content-XXX */ .wt-block { background-color: #edf7fd; border: solid #81a9cb 1px; } .wt-block-header { background-color: #edf7fd; border-bottom: none; font-weight: bold; } .wt-block-content { } .wt-block-content .list_table { border-spacing: 1px; border: solid #81a9cb 1px; border-right: 0; } .wt-block-content .list_value, .wt-block-content .list_value_wrap { border: 0; border-top: solid #81a9cb 1px; border-right: solid #81a9cb 1px; } /* * The individual page. * * wt-route-individual * +---wt-header-wrapper */ .wt-individual-silhouette { content: url(images/individual-silhouette-unknown.png); } .wt-individual-silhouette-f { content: url(images/individual-silhouette-female.png); } .wt-individual-silhouette-m { content: url(images/individual-silhouette-male.png); } /* * Chart-boxes are used to build the various charts. * Each type of chart will set its own size and hide/show content. * * wt-chart-box * +--- wt-chart-box-thumbnail * +--- wt-chart-box-extra * +--- wt-chart-box-zoom * +--- wt-chart-box-icon * +--- wt-chart-box-dropdown wt-chart-box-zoom-dropdown * +--- wt-chart-box-links * +--- wt-chart-box-icon * +--- wt-chart-box-dropdown wt-chart-box-links-dropdown * +--- wt-chart-box-name * +--- wt-chart-box-lifespan * +--- wt-chart-box-facts * +--- wt-chart-box-fact */ .wt-chart-box, .wt-chart-box-menu { background: var(--sex-u-bg); border: dashed var(--sex-u-fg) thin; } .wt-chart-box { height: 5rem; padding: 2px; line-height: 1.1; } .wt-chart-box-f, .wt-chart-box-f .wt-chart-box-dropdown { background: var(--sex-f-bg); border: solid var(--sex-f-fg) thin; } .wt-chart-box-m, .wt-chart-box-m .wt-chart-box-dropdown { background: var(--sex-m-bg); border: solid var(--sex-m-fg) thin; } a { color: #555; text-decoration: none; } a:hover { color: #f00; text-decoration: none; } :focus { outline-style: none; } .flash-messages { clear: both; text-align: center; } img { border: 0; } legend img { height: 20px; vertical-align: middle; width: 20px; } img.block, #mycart img { border: 0; height: 25px; vertical-align: middle; } .topbottombar { background-color: #81a9cb; color: #fff; font-weight: bold; padding: 4px; text-align: center; } #mycart a img { height: 15px; } .button { width: 60px; } .alpha_index { color: #999; } .news_box:target, #gedcom_stats:target { background-color: #ffc; } /* families tab person box */ table.center { margin-left: auto; margin-right: auto; } .list_table { margin: 0 auto; } .list_label, .list_label_wrap { color: #fff; background-color: #81a9cb; font-weight: bold; text-align: center; } .list_value, .list_value_wrap { background-color: #edf7f9; border: solid #81a9cb 1px; vertical-align: top; padding: 4px; } .list_label, .list_value { white-space: nowrap; } .list_label_wrap, .list_value_wrap { white-space: normal; } div.fact_SHARED_NOTE { clear: both; } /* Table of genealogical facts */ .wt-facts-table caption { caption-side: top; } .wt-facts-table th { background-color: #81a9cb; border: solid #81a9cb 1px; text-align: center; font-weight: normal; min-width: 20%; } .wt-facts-table td { background-color: #edf7fd; border: solid #81a9cb 1px; } .wt-facts-table .wt-gender-M td { background-color: #edf7fd; border-color: #81a9cb; } .wt-facts-table .wt-gender-F td { background-color: #e9daf1; border-color: #ff2080; } .name1 { font-weight: bold; font-size: 12px; } .name2 { font-size: 16px; } a:hover .name1, a:hover .name2 { color: #f00; font-weight: bold; font-size: 12px; } .details0, .details1 { font-size: 11px; } .details2 { font-size: 12px; } .details_label { font-weight: bold; } .name_head { color: #555; font-size: 16px; font-weight: bold; line-height: 2; padding: 0 5px; } .date { color: #337; } .label { font-weight: bold; } .error { color: #d00; font-weight: bold; } .largeError { color: #d00; font-size: large; font-weight: bold; } .warning { color: #f00; font-weight: bold; } .indent { padding-left: 20px; } .image { height: 150px; padding: 5px; margin: 2px; } .thumbnail { height: auto; padding: 3px; } .icon { border: 0; padding: 0 5px; } .subheaders { font-weight: bold; font-size: 15px; margin-top: 15px; vertical-align: bottom; } .parentdeath { border: thin solid #888; padding: 1px; } .source_citations { display: none; } .selected-option { background-color: #edf7fd; } .border1 { border: solid #000 1px; } .journal_box { padding: 3pt; border: thin solid #aaa; overflow: visible; } .news_box { background-color: #edf7fd; border-top: solid #81a9cb 1px; } .news_title { font-weight: bold; } .news_date { margin-bottom: 12px; } .current_day { font-weight: bold; font-size: 16px; } .cal_day { float: left; font-weight: bold; } .rtl_cal_day { direction: rtl; float: right; color: #00f; font-weight: bold; } .helpcontent { margin-left: 10px; margin-right: 10px; } .helpcontent dt { clear: both; } #user-page h1 { margin: 0.25em auto 0.6em; } .tvertline { vertical-align: bottom; } #childbox { padding: 5px; position: absolute; display: none; text-align: start; white-space: nowrap; top: 20px; left: 0; } .layout3 #childbox { top: auto; bottom: 20px; } #childbox a.name1 { display: block; margin-left: 5px; } .person0 { background-color: #aaf; border: outset #aaf 1px; vertical-align: top; } .person1 { background-color: #afa; border: outset #afa 1px; vertical-align: top; } .person2 { background-color: #faa; border: outset #faa 1px; vertical-align: top; } .person3 { background-color: #55f; border: outset #55f 1px; vertical-align: top; } .person4 { background-color: #f55; border: outset #f55 1px; vertical-align: top; } .person5 { background-color: #5f5; border: outset #5f5 1px; vertical-align: top; } .listlog { line-height: 20pt; } .starredname { text-decoration: underline; } .search_hit { background-color: #ff0; } .search_item { font-weight: 600; } .descriptionbox { color: #fff; font-size: 12px; background-color: #81a9cb; border: solid #81a9cb 1px; vertical-align: top; padding: 3px; } .optionbox { background-color: #d1d9ef; font-size: 1rem; border: solid #81a9cb 1px; vertical-align: top; white-space: nowrap; padding: 3px; } .vmiddle { vertical-align: middle; } .red { color: #f00; } .wt-relation-fact, .wt-historic-fact { opacity: 0.8; } .font9 { font-size: 9px; } .font11 { font-size: 11px; } .messagebox { background-color: #c2ceef; border: solid #81a9cb 1px; } /* ---Pending edits--- */ .wt-new { outline: solid blue 1px; } .wt-old { outline: solid red 1px; } .tag_cloud { text-align: center; } .tag_cloud a { white-space: nowrap; } .nowrap { white-space: nowrap; } .wrap { white-space: normal; } .statistics-page { text-align: center; } .gchart { border: solid #81a9cb 1px; } #facts_content dd { float: left; width: 70%; } td.descriptionbox a { color: #fff; } /* this keeps the tag color the same when it is a link as when not */ .place { padding-top: 5px; } #pending h2 { text-align: center; margin-bottom: 20px; } #pending h3 { text-align: center; margin-top: 20px; } #pending a { font-weight: 700; color: #555; } #pending a:hover { color: #f00; } #pending .list_value { padding: 3px; text-align: center; vertical-align: middle; white-space: nowrap; } #pending .indent { padding: 0; } /* --- reportengine.php --- */ #reportengine-page table { margin: 20px auto; } #reportengine-page .report-type { overflow: hidden; margin: auto; width: 180px; } #reportengine-page .report-type div { float: left; margin: 0 20px; } #reportengine-page .report-type p { margin: 0; text-align: center; } /* ======== List styles ====== */ .surname-list, .givn-list { margin: 5px auto; } .source-list table, .note-list table, .repo-list table, .media-list table, .indi-list table, .fam-list table { width: 100%; } .source-list td, .note-list td, .repo-list td, .media-list td, .indi-list td, .fam-list td, .surname-list td, .givn-list td { padding: 2px 5px; } .surname-list td { vertical-align: top; } .indi-list .stats, .fam-list .stats { margin: 0 auto; width: auto; } .source-list th, .note-list th, .repo-list th, .media-list th, .indi-list th, .fam-list th, .wt-table-changes th, .wt-table-events th, .wt-table-tasks th, .wt-table-yahrzeits th, .surname-list th, .givn-list th { cursor: pointer; font-weight: 600; padding: 2px 4px; white-space: nowrap; } .source-list th:last-child, .note-list th:last-child, .repo-list th:last-child { margin: 0 -2px 1px 1px; padding: 3px 0 4px; width: 24px; } .givn-list th { cursor: pointer; white-space: nowrap; padding: 2px; text-align: center; } #source-details h2, #sourcelist-page h2, #note-details h2, #notelist-page h2, #repo-details h2, #repolist-page h2, #media-details h2, #statistics-page h2 { margin-bottom: 20px; text-align: center; } #source-edit, #note-edit, #repo-edit, #media-edit { overflow-x: auto; } .media-list td img { display: block; height: 40px; width: auto; margin: 3px auto; } .filtersH, .filtersF { margin: 4px; } .filtersH img { margin-bottom: 2px; } .list-charts { text-align: center; } #search-result-tabs h3 { text-align: center; } #searchAccordion-indi, #searchAccordion-fam, #searchAccordion-source, #searchAccordion-note { margin: auto; width: 99%; } #place-hierarchy h2, #place-hierarchy h4 { text-align: center; } #main_select, #available_select, #right_select { min-width: 150px; } /* === Who is online block === */ .logged_in_list { margin: 5px 0 0; padding: 0; line-height: 20px; } /* ==== Theme select block === */ .theme_form ul { margin: -10px auto; } .theme_form li { visibility: hidden; } .theme_form li ul li { display: inline-block; padding: 10px; visibility: visible; } /* ==== FAQ table styles ===== */ table.faq { background-color: #e0e0e0; margin: 5px 0 50px 5px; width: 98%; } table.faq tr:nth-child(odd) td { background-color: #e7eef3; } div.faq_title { background-color: #e0e0e0; margin: 1em 0; padding: .25em; font-weight: bold; width: 98%; } div.faq_body { clear: both; padding: 0 1em; } .faq_top { float: right; } /* === Positioning edit, copy, delete links === */ /* General use */ .editfacts { clear: left; padding-top: 15px; } /* ======== Indi header ====== */ #indi_header { overflow: hidden; border-radius: 3px; border: 1px solid #b2c7d7; margin: 0 0 5px; padding: 10px 0; } #indi_header h3 { font-size: 90%; font-weight: bold; margin: 0; padding: 0 10px 0 30px; text-align: left; overflow: hidden; position: relative; } #indi_header .name_one { font-size: 1.5em; } #indi_header h3 .details1 { font-size: 1.0em; } #indi_header h3 .header_age { padding: 5px 0 5px 5px; float: right; font-weight: normal; font-size: 65%; } #indi_header h3 a { display: inline; } #indi_header a { color: #337; font-size: 0.75em; font-weight: normal; } #indi_header a:hover { color: #f00; } #indi_mainimage { float: left; padding: 0 10px; } #header_accordion1 { padding: 0 10px 0 0; overflow: hidden; } #header_accordion1 .indi_name_details { margin: 0; overflow: hidden; padding: 5px; } .indi_name_details .name1 { font-weight: normal; padding-top: 5px; font-size: inherit; } #indi_header a.warning { color: #f00; font-size: 1em; } #indi_note { margin: 0 0 5px; } .indi_table { clear: left; } #sex { float: right; } #dates { float: right; } #individual-names .wt-icon-edit, #individual-names .wt-icon-delete { float: right; } #indi_note .fact_NOTE { float: left; margin: 0 5px 0 0; } #indi_note .fact_SOUR { margin: 3px 0; } #indi_note .fact_SOUR a { font-size: 100%; } #indi_note .fact_NOTE, #indi_note .fact_SOUR { clear: both; } /* markdown formatting */ .markdown { /* Tables and pre-formatted text can break the layout. */ overflow-x: auto; } .markdown p { margin: 0 0 0.5em; white-space: pre-wrap; } .markdown table { border-collapse: collapse; margin-bottom: 5px; } .markdown th { font-weight: bold; } .markdown td, .markdown th { border: solid thin #000; padding: 3px; } .odometer { font-family: courier, monospace; font-weight: bold; background: #000; color: #fff; } /* ======== Indi tabs ======== */ /* Facts & Events tab */ .media-display-image { float: left; } .media-display-title { float: left; font-style: italic; margin: 10px; } /* Sidebar - Family navigator */ .wt-family-navigator-dropdown { background: #edf7fd; } .wt-family-navigator-dropdown-heading { font-weight: bold; font-size: inherit; color: inherit; } /* Sidebar - Descendants */ #sb_content_descendancy { margin-top: 5px; } #sb_desc_content { margin-left: 3px; font-size: 0.8em; } #sb_desc_content ul { padding: 0; margin: 0; } .sb_desc_indi_li { list-style-type: none; } /* Individuals and Families */ #sidebar-content-individuals, #sidebar-content-families { margin-top: 5px; } .sb_indi_surname_li, .sb_fam_surname_li { list-style-image: url(webtrees/images/plus.png); } .name_tree_div ul { padding: 0; margin: 0; } .name_tree_div li { list-style: none; margin: 0; padding: 0; } /* Clippings */ #sb_clippings_content ul { padding: 0; margin: 0; } #sb_clippings_content li { list-style: none; margin: 0; padding: 0; white-space: nowrap; } /* Extra info */ #sb_content_extra_info { font-size: 80%; font-weight: bold; margin-top: 1px; overflow: hidden; padding: 5px; } #sb_content_extra_info .editfacts { float: right; margin-top: -30px; } #sb_content_extra_info a { display: block; } #sb_content_extra_info span { font-weight: normal; } #sb_content_extra_info span a { display: inline; } #sb_content_extra_info #hitcounter { border-top: 1px solid #b2c7d7; font-weight: bold; padding-top: 5px; } /* http://www.jacklmoore.com/colorbox */ #colorbox, #cboxOverlay, #cboxWrapper { position: absolute; top: 0; left: 0; z-index: 9999; overflow: hidden; } #cboxWrapper { max-width: none; } #cboxOverlay { position: fixed; width: 100%; height: 100%; background: #fff; } #cboxContent { background: #fff; overflow: hidden; position: relative; padding: 0.5rem; border: 0.25rem solid #ccc; } #cboxLoadingOverlay, #cboxLoadingGraphic { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .cboxPhoto { float: left; margin: auto; border: 0; display: block; max-width: none; } #colorbox, #cboxContent, #cboxLoadedContent { box-sizing: content-box; } #cboxError { padding: 50px; border: 1px solid #ccc; } #cboxLoadedContent { margin-bottom: 28px; } #cboxTitle { background: #fff; position: absolute; bottom: 0.25rem; left: 0; margin: 0 3rem; text-align: center; } #cboxLoadingGraphic { background: url(images/loading-32x32.gif) no-repeat center center; } #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { background: none; border: 0; cursor: pointer; font-family: "Font Awesome\ 5 Free", sans-serif; font-weight: 900; overflow: visible; padding: 0; position: absolute; } #cboxSlideshow { bottom: 0.25rem; right: 0.25rem; } #cboxPrevious { bottom: 0.25rem; left: 0.25rem; } #cboxNext { bottom: 0.25rem; left: 1.5rem; } #cboxClose { top: 0.25rem; right: 0.25rem; } /* Stories module */ .story_title { padding-top: 12px; font-size: 13px; height: 32px; font-weight: bold; } .story_body { padding: 20px; white-space: normal; } .story_edit { padding: 12px; } /*-- Fan chart ---- */ .fan_chart_menu { background: #fff; position: absolute; display: none; z-index: 100; } #fan_chart ul { list-style-type: none; margin: 0; } /* Lifespans chart */ .wt-lifespans-subtitle { text-align: center; } .wt-lifespans-scale { white-space: nowrap; } .wt-lifespans-decade { width: 70px; height: 60px; display: inline-block; background-image: url(images/lifespan-decade.png); background-position-y: bottom; background-repeat: no-repeat; background-size: 70px 37px; } .wt-lifespans-individuals { background: #fafafa; } .wt-lifespans-individual { } .wt-lifespans-summary { background: #ffffff; border: thin solid #000; z-index: 1; } .wt-lifespans-summary-link { font-weight: bold; } /*-- timeline --*/ #timeline_chart { position: relative; top: 0; left: 0; } #field_table { width: 30%; min-width: 500px; } /* * Any element that is loaded dynamically has the class wt-ajax-load. * We can provide a "loading" placeholder for empty elements with this class. */ .wt-ajax-load:empty { height: 32px; background: url(images/loading-32x32.gif) no-repeat 50% 50%; } /* * Default icons are provided by FontAwesome. * Some icons get mirrored on RTL pages. Typiclly arrows */ [dir=rtl] .wt-flip-rtl { transform: scale(-1, 1); } .wt-icon-anniversary { content: url(images/anniversary.png); } .wt-icon-arrow-down { content: url(webtrees/icons/arrow-down.png); } a > .wt-icon-arrow-down:hover { content: url(webtrees/icons/arrow-down-hover.png); } .wt-icon-arrow-left { content: url(webtrees/icons/arrow-left.png); } a > .wt-icon-arrow-left:hover { content: url(webtrees/icons/arrow-left-hover.png); } .wt-icon-arrow-right { content: url(webtrees/icons/arrow-right.png); } a > .wt-icon-arrow-right:hover { content: url(webtrees/icons/arrow-right-hover.png); } .wt-icon-arrow-up { content: url(webtrees/icons/arrow-up.png); } a > .wt-icon-arrow-up:hover { content: url(webtrees/icons/arrow-up-hover.png); } .wt-icon-collapse { } .wt-icon-coordinates { content: url(images/coordinates.png) } .wt-icon-expand{ } .wt-icon-reorder { content: url(images/reorder.png); } .wt-icon-sex-f { content: url(images/sex-female.png); } .wt-icon-sex-m { content: url(images/sex-male.png); } .wt-icon-sex-u { content: url(images/sex-unknown.png); } .wt-icon-sex-x { content: url(images/sex-unknown.png); } .wt-icon-warning { content: url(images/warning.png); } .wt-icon-zoom-in { content: url(webtrees/images/zoomin.png); } .wt-icon-zoom-out { content: url(webtrees/images/zoomout.png); } /* * .wt-icon-bing-maps * .wt-icon-calendar * .wt-icon-copy * .wt-icon-delete * .wt-icon-edit * .wt-icon-email * .wt-icon-family * .wt-icon-help * .wt-icon-individual * .wt-icon-google-maps * .wt-icon-keyboard * .wt-icon-media * .wt-icon-note * .wt-icon-openstreetmap * .wt-icon-preferences * .wt-icon-repository * .wt-icon-source * .wt-icon-submitter */ .wt-icon-bing-maps::before { width: 16px; height: 16px; content: url(webtrees/icons/bing-maps.png); } .wt-icon-calendar::before { width: 19px; height: 15px; content: url(webtrees/icons/calendar.png) } .wt-icon-copy::before { width: 16px; height: 16px; content: url(webtrees/icons/copy.png) } .wt-icon-delete::before { width: 16px; height: 16px; content: url(webtrees/icons/delete.png); } .wt-icon-edit::before { width: 16px; height: 16px; content: url(webtrees/icons/edit.png); } .wt-icon-family::before { width: 14px; height: 15px; content: url(webtrees/icons/family.png); } .wt-icon-help::before { width: 16px; height: 16px; content: url(webtrees/icons/help.png); } .wt-icon-google-maps::before { width: 16px; height: 16px; content: url(webtrees/icons/google-maps.png); } .wt-icon-individual::before { width: 11px; height: 15px; content: url(webtrees/icons/individual.png); } .wt-icon-keyboard::before { width: 30px; height: 15px; content: url(webtrees/icons/keyboard.png); } .wt-icon-media::before { width: 18px; height: 16px; content: url(webtrees/icons/media.png); } .wt-icon-note::before { width: 20px; height: 20px; content: url(webtrees/icons/note.png); } .wt-icon-openstreetmap::before { width: 16px; height: 16px; content: url(webtrees/icons/openstreetmap.png); } .wt-icon-preferences::before { width: 25px; height: 25px; content: url(webtrees/icons/preferences.png); } .wt-icon-repository::before { width: 15px; height: 15px; content: url(webtrees/icons/repository.png); } .wt-icon-source::before { width: 18px; height: 16px; content: url(webtrees/icons/source.png); } .wt-icon-submitter::before { width: 11px; height: 15px; content: url(webtrees/icons/individual.png); } [class^="icon-"], [class*=" icon-"] { display: inline-block; vertical-align: text-bottom; background-repeat: no-repeat; background-size: cover; } .icon-add { width: 14px; height: 15px; background-image: url(images/add.png); } .icon-cfamily { width: 20px; height: 20px; background-image: url(webtrees/images/family.png); } .icon-childless { width: 25px; height: 25px; background-image: url(webtrees/images/childless.png); } .icon-children { width: 16px; height: 16px; background-image: url(webtrees/images/children.png); } .icon-clippings { width: 22px; height: 22px; background-image: url(webtrees/images/clippings.png); } .icon-edit_indi { width: 20px; height: 20px; background-image: url(webtrees/images/edit_indi.png); } .icon-fam-list { width: 20px; height: 20px; background-image: url(webtrees/images/family.png); } .icon-indi-list { width: 20px; height: 20px; background-image: url(webtrees/images/indis.png); } .icon-loading-small { width: 16px; height: 16px; background-image: url(webtrees/images/indicator.gif); } .icon-media { width: 20px; height: 20px; background-image: url(webtrees/images/media.png); } .icon-media-list { width: 20px; height: 20px; background-image: url(webtrees/images/media.png); } .icon-media-next { width: 20px; height: 20px; background-image: url(webtrees/images/rdarrow.png); } .icon-media-play { width: 20px; height: 20px; background-image: url(webtrees/images/rarrow.png); } .icon-media-stop { width: 20px; height: 20px; background-image: url(webtrees/images/stop.png); } .icon-minus { width: 11px; height: 11px; background-image: url(webtrees/images/minus.png); } .icon-mypage { width: 24px; height: 24px; background-image: url(webtrees/images/mypage.png); } .icon-note { width: 20px; height: 20px; background-image: url(webtrees/icons/note.png); } .icon-plus { width: 11px; height: 11px; background-image: url(webtrees/images/plus.png); } .icon-remove { width: 20px; height: 20px; background-image: url(webtrees/images/remove.png); } .icon-resn-confidential { width: 16px; height: 16px; background-image: url(webtrees/images/resn_confidential.png); } .icon-resn-locked { width: 16px; height: 16px; background-image: url(webtrees/images/resn_locked.png); } .icon-resn-none { width: 16px; height: 16px; background-image: url(webtrees/images/resn_none.png); } .icon-resn-privacy { width: 16px; height: 16px; background-image: url(webtrees/images/resn_privacy.png); } .icon-rings { width: 9px; height: 9px; background-image: url(webtrees/images/rings.png); } .icon-selected { width: 12px; height: 12px; background-image: url(webtrees/images/selected.png); } .icon-source { width: 20px; height: 20px; background-image: url(webtrees/images/source.png); } /* Silhouettes on charts */ .icon-silhouette-F { width: 37px; height: 50px; background-image: url(webtrees/images/silhouette_female_small.png); } .icon-silhouette-M { width: 37px; height: 50px; background-image: url(webtrees/images/silhouette_male_small.png); } .icon-silhouette-U { width: 37px; height: 50px; background-image: url(webtrees/images/silhouette_unknown_small.png); } .icon-indis { width: 20px; height: 20px; background-image: url(webtrees/images/indis.png); } .icon-patriarch { width: 20px; height: 20px; background-image: url(webtrees/images/patriarch.png); } .icon-pedigree { width: 20px; height: 20px; background-image: url(webtrees/images/pedigree.png); } .icon-place { width: 20px; height: 20px; background-image: url(webtrees/images/place.png); } .icon-repo-list { width: 20px; height: 20px; background-image: url(webtrees/images/repository.png); } .icon-repository { width: 20px; height: 20px; background-image: url(webtrees/images/repository.png); } .icon-search { width: 17px; height: 17px; background-image: url(webtrees/images/search.png); } .icon-sfamily { width: 20px; height: 20px; background-image: url(webtrees/images/family.png); } .icon-source-list { width: 20px; height: 20px; background-image: url(webtrees/images/source.png); } .icon-user_add { width: 20px; height: 20px; background-image: url(webtrees/images/user_add.png); } /* Census assistant */ .wt-census-assistant-form-control:focus { min-width: 12rem; } /* * Drag and drop sortable lists */ .wt-sortable-list { } .wt-sortable-item { cursor: move; } /* Some blocks show a reduced version on the right-hand side. */ .wt-side-blocks .wt-side-block-optional { display: none !important; } /* my page chart enhancements */ .wt-block-content-charts { flex-flow: column-reverse; overflow: auto; } .wt-block-content-todays-events-block { padding: .25rem; } /* Some charts are wider than the page. */ .wt-chart { overflow-x: auto; overflow-y: hidden; } /* Fit thumbnail into parent on charts */ .select2-selection.select2-selection--single { min-height: 36px; height: auto; padding: 2px 0; } .select2-container .select2-selection--single .select2-selection__rendered { padding-left: 2px; } .select2-selection--single .NAME { padding-left: 4px; } /* * Place hierarchy * * wt-place-hierarchy-page */ #place-hierarchy ul { list-style-type: none; } .d-table-cell { padding-right: 5px; } /* Some menus (e.g. languages) can be longer than a page */ .dropdown-menu { max-height: 30rem; overflow-x: hidden; } /* Forms */ .col-form-label { font-weight: bold; }