/** * webtrees: online genealogy * Copyright (C) 2023 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 colors theme is based on the clouds theme */ @import "clouds.css"; :root { --link-color: #333; } /* Override Bootstrap formatting */ .card-header h4 { font-size: 1.2rem; } .btn.focus, .btn:focus { box-shadow: none; } .btn-link:hover, .btn-link:focus { color: #f00; text-decoration: none; } .pagination, .page-link, .page-link:hover, .page-link:focus { border-color: #e6e6e6; color: #555; } .page-item.active .page-link { background-color: #e6e6e6; color: #555; border-color: #ccc; } .form-control:focus{ border-color:#ccc; box-shadow:0 0 0 .2rem rgba(128,128,128,.25); } /* fit primary and secondary menus on mobile devices */ @media (max-width: 500px) { .wt-genealogy-menu .nav-item { padding: 0 0.45rem!important; } .wt-user-menu .nav-link { padding: 0.25rem!important; } } /* * 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-xxxxx */ ::backdrop, .wt-global { background: #fff; color: #333; } .wt-header-wrapper, .btn-primary { background: var(--color-1); border: 0; color: var(--color-5); } .btn-primary, .btn-primary:focus { background: var(--color-1); } .btn-primary:hover { background: var(--color-2); } .wt-site-title { padding: 0.75rem 0.75rem 0; } .wt-header-search { padding-bottom: 0.5rem; } .wt-user-menu .nav-link { color: inherit; /* Inherit from wt-header-container */ } .wt-user-menu .menu-color .dropdown-menu { max-height: 60rem; } .wt-primary-navigation { order: 4; flex: 0 0 100%; } .wt-genealogy-menu { background: var(--color-2); /* Extend to full page width */ flex: 0 1 100vw; /* Recalculate margins for content */ margin: 0 calc(50% - 50vw); padding: 0 calc(50vw - 50%); } .wt-genealogy-menu .dropdown-menu { max-height: 60rem; } .wt-genealogy-menu .nav-link { /* All menu icons are 40px x 40px */ height: calc(40px + 1rem); width: 40px; } .wt-genealogy-menu .nav-item::before { /* The size of the menu icons */ width: 40px; height: 40px; } .wt-page-options-label, .wt-facts-table th, .wt-facts-table .dropdown-toggle, .descriptionbox, .descriptionbox a, .topbottombar, .topbottombar a, .list_label, .list_label a { background-color: var(--color-3); color: var(--color-6); } .wt-page-options-value, .wt-block-content, .wt-facts-table td, .ui-widget-header, .optionbox, .ui-state-active a:link, .list_value, .list_value_wrap, .list_value_wrap a { background: var(--color-4); } .menu-tree .nav-link::before { content: url(colors/menu/tree.png); } .menu-tree .dropdown-item:not(:first-child)::before { content: url(colors/menu/tree-tree.png); } .menu-chart .nav-link::before { content: url(colors/menu/chart.png); } .menu-chart-ancestry::before { content: url(colors/menu/chart-ancestors.png); } .menu-chart-compact::before { content: url(colors/menu/chart-compact.png); } .menu-chart-descendants::before { content: url(colors/menu/chart-descendants.png); } .menu-chart-familybook::before { content: url(colors/menu/chart-family-book.png); } .menu-chart-fanchart::before { content: url(colors/menu/chart-fanchart.png); } .menu-chart-hourglass::before { content: url(colors/menu/chart-hourglass.png); } .menu-chart-lifespan::before { content: url(colors/menu/chart-lifespan.png); } .menu-chart-pedigree::before { content: url(colors/menu/chart-pedigree.png); } .menu-chart-pedigreemap::before { content: url(colors/menu/chart-pedigree-map.png); } .menu-chart-relationship::before { content: url(colors/menu/chart-relationship.png); } .menu-chart-statistics::before { content: url(colors/menu/chart-statistics.png); } .menu-chart-timeline::before { content: url(colors/menu/chart-timeline.png); } .menu-chart-tree::before { content: url(colors/menu/chart-tree.png); } .menu-list .nav-link::before { content: url(colors/menu/list.png); } .menu-branches::before { content: url(colors/menu/branches.png); } .menu-list-fam::before { content: url(colors/menu/list-fam.png); } .menu-list-indi::before { content: url(colors/menu/list-indi.png); } .menu-list-loc::before { content: url(colors/menu/list-plac.png); } .menu-list-note::before { content: url(colors/menu/list-note.png); } .menu-list-obje::before { content: url(colors/menu/list-obje.png); } .menu-list-plac::before { content: url(colors/menu/list-plac.png); } .menu-list-repo::before { content: url(colors/menu/list-repo.png); } .menu-list-sour::before { content: url(colors/menu/list-sour.png); } .menu-list-subm::before { content: url(colors/menu/list-indi.png); } .menu-calendar .nav-link::before { content: url(colors/menu/calendar.png); } .menu-calendar-day::before { content: url(colors/menu/calendar-calendar.png); } .menu-calendar-month::before { content: url(colors/menu/calendar-calendar.png); } .menu-calendar-year::before { content: url(colors/menu/calendar-calendar.png); } .menu-report .nav-link::before { content: url(colors/menu/report.png); } .menu-report .dropdown-item:not(:first-child)::before { content: url(colors/menu/report-report.png); } .menu-search .nav-link::before { content: url(colors/menu/search.png); } .menu-search .dropdown-item:not(:first-child)::before { content: url(colors/menu/search-search.png); } .menu-faq .nav-link::before { content: url(colors/menu/faq.png); } .menu-clippings .nav-link::before { content: url(colors/menu/clippings.png); } .menu-clippings-download::before { content: url(colors/menu/edit-gedcom.png); } .menu-clippings-empty::before { content: url(colors/menu/edit-delete.png); } .menu-story .nav-link::before { content: url(colors/menu/story.png); } .wt-page-options-value { color: #333; } .wt-footer-cookies { background: #aaa; } .wt-footer-powered-by-webtrees { content: url(colors/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-header::before { content: url(colors/images/block-header-disk.png); } /* * The individual page. * * wt-route-individual * +---wt-header-wrapper */ /* * 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-name { color: #555555; } .btn-primary.focus, .btn-primary:focus { box-shadow:none; border: 0; } table.center { margin-left: auto; margin-right: auto; } .list_label, .list_label_wrap { background-color: #81a9cb; border: 1px solid #ddd; } .list_value, .list_value_wrap { border: solid #ddd 1px; padding: 4px; } /* Table of genealogical facts */ .wt-facts-table th { border: 1px solid #ccc; } .date { color: #333; } .rtl_cal_day { color: #00f; font-weight: bold; } .descriptionbox { font-size: 1rem; color: #333; border: 1px solid #999; } .optionbox { color: #333; border: 1px solid #999; } .optionbox .list_value { background-color: #fff; border: 1px solid #999; border-radius: 3px; } /* ---Pending edits--- */ /* ==== FAQ table styles ===== */ table.faq { background-color: #e0e0e0; } table.faq tr:nth-child(odd) td { background-color: #e7eef3; } div.faq_title { background-color: #e0e0e0; } /* Sidebar - Descendants */ #sb_content_descendancy { margin-top: 2px; } /* Individuals and Families */ #sidebar-content-individuals, #sidebar-content-families { margin-top: 2px; } /*-- Fan chart ---- */ .icon-cfamily { content: url(colors/images/cfamily.png); } .icon-edit_indi { content: url(colors/images/edit_indi.png); } .icon-fam-list { content: url(colors/images/sfamily.png); } .icon-indi-list { content: url(colors/images/indis.png); } .icon-mypage { content: url(colors/images/mypage.png); } .icon-selected { content: url(colors/images/selected.png); } /* Silhouettes on charts */ .icon-silhouette-f { content: url(colors/images/silhouette_female_small.png); } .icon-silhouette-m { content: url(colors/images/silhouette_male_small.png); } .icon-silhouette-u, .icon-silhouette-x { content: url(colors/images/silhouette_unknown_small.png); } /* * Default icons are provided by FontAwesome. */ .wt-icon-arrow-down { content: url(colors/icons/arrow-down.png); } a > .wt-icon-arrow-down:hover { content: url(colors/icons/arrow-down-hover.png); } .wt-icon-arrow-left { content: url(colors/icons/arrow-left.png); } a > .wt-icon-arrow-left:hover { content: url(colors/icons/arrow-left-hover.png); } .wt-icon-arrow-right { content: url(colors/icons/arrow-right.png); } a > .wt-icon-arrow-right:hover { content: url(colors/icons/arrow-right-hover.png); } .wt-icon-arrow-up { content: url(colors/icons/arrow-up.png); } a > .wt-icon-arrow-up:hover { content: url(colors/icons/arrow-up-hover.png); } .wt-icon-help { content: url(colors/icons/help.png); } .wt-icon-zoom-in { content: url(colors/icons/zoom-in.png); } .wt-icon-zoom-out { content: url(colors/icons/zoom-out.png); } /* Miscellaneous images */ .icon-indis { content: url(colors/images/mypage.png); } .icon-patriarch { content: url(colors/images/patriarch.png); } .icon-pedigree { content: url(colors/images/pedigree.png); } .icon-sfamily { content: url(colors/images/sfamily.png); } .icon-user_add { content: url(colors/images/user_add.png); }