116e8b6e8SGreg Roach/** 216e8b6e8SGreg Roach * webtrees: online genealogy 316e8b6e8SGreg Roach * Copyright (C) 2019 webtrees development team 416e8b6e8SGreg Roach * This program is free software: you can redistribute it and/or modify 516e8b6e8SGreg Roach * it under the terms of the GNU General Public License as published by 616e8b6e8SGreg Roach * the Free Software Foundation, either version 3 of the License, or 716e8b6e8SGreg Roach * (at your option) any later version. 816e8b6e8SGreg Roach * This program is distributed in the hope that it will be useful, 916e8b6e8SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of 1016e8b6e8SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1116e8b6e8SGreg Roach * GNU General Public License for more details. 1216e8b6e8SGreg Roach * You should have received a copy of the GNU General Public License 1316e8b6e8SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>. 1416e8b6e8SGreg Roach */ 1516e8b6e8SGreg Roach@import "_chart-ancestors.css"; 1616e8b6e8SGreg Roach@import "_chart-compact.css"; 1716e8b6e8SGreg Roach@import "_chart-descendants.css"; 1816e8b6e8SGreg Roach@import "_chart-family-book.css"; 1916e8b6e8SGreg Roach@import "_chart-fan.css"; 2016e8b6e8SGreg Roach@import "_chart-hourglass.css"; 2116e8b6e8SGreg Roach@import "_chart-interactive.css"; 2216e8b6e8SGreg Roach@import "_chart-lifespans.css"; 2316e8b6e8SGreg Roach@import "_chart-pedigree.css"; 2416e8b6e8SGreg Roach@import "_chart-pedigree-map.css"; 2516e8b6e8SGreg Roach@import "_chart-relationships.css"; 2616e8b6e8SGreg Roach@import "_chart-statistics.css"; 2716e8b6e8SGreg Roach@import "_chart-timeline.css"; 2816e8b6e8SGreg Roach 2916e8b6e8SGreg Roach/* Lines for "vertical" charts, such as the ancestors and descendants chart. */ 3016e8b6e8SGreg Roach.wt-chart-vertical-indent { 3116e8b6e8SGreg Roach width: 3rem; 3216e8b6e8SGreg Roach} 3316e8b6e8SGreg Roach 3416e8b6e8SGreg Roach.wt-chart-vertical-line { 3516e8b6e8SGreg Roach width: 50%; 3616e8b6e8SGreg Roach height: 100%; 3716e8b6e8SGreg Roach right: 0; 3816e8b6e8SGreg Roach border-left: var(--chart-line); 3916e8b6e8SGreg Roach} 4016e8b6e8SGreg Roach 4116e8b6e8SGreg Roach.wt-chart-vertical-last-child-line { 4216e8b6e8SGreg Roach width: 50%; 4316e8b6e8SGreg Roach right: 0; 4416e8b6e8SGreg Roach height: 2.5rem; 4516e8b6e8SGreg Roach top: 0; 4616e8b6e8SGreg Roach border-left: var(--chart-line); 4716e8b6e8SGreg Roach border-bottom: var(--chart-line); 4816e8b6e8SGreg Roach border-radius: 0 0 0 var(--chart-line-radius); 4916e8b6e8SGreg Roach} 5016e8b6e8SGreg Roach 5116e8b6e8SGreg Roach.wt-chart-vertical-child-line { 5216e8b6e8SGreg Roach width: 50%; 5316e8b6e8SGreg Roach right: 0; 5416e8b6e8SGreg Roach height: 2.5rem; 5516e8b6e8SGreg Roach top: 0; 5616e8b6e8SGreg Roach border-bottom: var(--chart-line); 5716e8b6e8SGreg Roach} 5816e8b6e8SGreg Roach 5916e8b6e8SGreg Roach/* Lines for horizontal trees, such as the family page */ 6016e8b6e8SGreg Roach.wt-chart-horizontal-spacer { 6116e8b6e8SGreg Roach width: 1rem; 6216e8b6e8SGreg Roach} 6316e8b6e8SGreg Roach 6416e8b6e8SGreg Roach.wt-chart-horizontal-line { 65*17dd427eSGreg Roach height: 50%; 66*17dd427eSGreg Roach border-bottom: var(--chart-line); 6716e8b6e8SGreg Roach} 6816e8b6e8SGreg Roach 6916e8b6e8SGreg Roach.wt-chart-horizontal-first-child { 7016e8b6e8SGreg Roach height: 50%; 71*17dd427eSGreg Roach position: relative; 72*17dd427eSGreg Roach top: 50%; 7316e8b6e8SGreg Roach border-top: var(--chart-line); 7416e8b6e8SGreg Roach border-right: var(--chart-line); 7516e8b6e8SGreg Roach border-radius: 0 var(--chart-line-radius) 0 0; 7616e8b6e8SGreg Roach} 7716e8b6e8SGreg Roach 7816e8b6e8SGreg Roach.wt-chart-horizontal-middle-child { 7916e8b6e8SGreg Roach height: 100%; 8016e8b6e8SGreg Roach border-right: var(--chart-line); 8116e8b6e8SGreg Roach} 8216e8b6e8SGreg Roach 8316e8b6e8SGreg Roach.wt-chart-horizontal-last-child { 8416e8b6e8SGreg Roach height: 50%; 8516e8b6e8SGreg Roach border-bottom: var(--chart-line); 8616e8b6e8SGreg Roach border-right: var(--chart-line); 8716e8b6e8SGreg Roach border-radius: 0 0 var(--chart-line-radius) 0; 8816e8b6e8SGreg Roach} 8916e8b6e8SGreg Roach 9016e8b6e8SGreg Roach.wt-chart-horizontal-first-parent { 9116e8b6e8SGreg Roach height: 50%; 92*17dd427eSGreg Roach position: relative; 93*17dd427eSGreg Roach top: 50%; 9416e8b6e8SGreg Roach border-top: var(--chart-line); 9516e8b6e8SGreg Roach border-left: var(--chart-line); 9616e8b6e8SGreg Roach border-radius: var(--chart-line-radius) 0 0 0; 9716e8b6e8SGreg Roach} 9816e8b6e8SGreg Roach 9916e8b6e8SGreg Roach.wt-chart-horizontal-last-parent { 10016e8b6e8SGreg Roach height: 50%; 10116e8b6e8SGreg Roach border-bottom: var(--chart-line); 10216e8b6e8SGreg Roach border-left: var(--chart-line); 10316e8b6e8SGreg Roach border-radius: 0 0 0 var(--chart-line-radius); 10416e8b6e8SGreg Roach} 10516e8b6e8SGreg Roach 10616e8b6e8SGreg Roach/* Buttons to expand/collapse other parts of the chart */ 10716e8b6e8SGreg Roach.wt-chart-expansion-control > .chart-expand { 10816e8b6e8SGreg Roach display: none; 10916e8b6e8SGreg Roach} 11016e8b6e8SGreg Roach 11116e8b6e8SGreg Roach.wt-chart-expansion-control > .chart-collapse { 11216e8b6e8SGreg Roach display: inline; 11316e8b6e8SGreg Roach} 11416e8b6e8SGreg Roach 11516e8b6e8SGreg Roach.wt-chart-expansion-control.collapsed > .chart-expand { 11616e8b6e8SGreg Roach display: inline; 11716e8b6e8SGreg Roach} 11816e8b6e8SGreg Roach 11916e8b6e8SGreg Roach.wt-chart-expansion-control.collapsed > .chart-collapse { 12016e8b6e8SGreg Roach display: none; 12116e8b6e8SGreg Roach} 12216e8b6e8SGreg Roach 12316e8b6e8SGreg Roach 124