blob: 947cfe7397f81410fcc0938c24e52271d6cc9efd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
/**
* webtrees: online genealogy
* Copyright (C) 2026 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 <http://www.gnu.org/licenses/>.
*/
@import "_chart-ancestors.css";
@import "_chart-compact.css";
@import "_chart-descendants.css";
@import "_chart-family-book.css";
@import "_chart-fan.css";
@import "_chart-hourglass.css";
@import "_chart-interactive.css";
@import "_chart-lifespans.css";
@import "_chart-pedigree.css";
@import "_chart-pedigree-map.css";
@import "_chart-relationships.css";
@import "_chart-statistics.css";
@import "_chart-timeline.css";
/* Lines for "vertical" charts, such as the ancestors and descendants chart. */
.wt-chart-horizontal-indent {
width: 3rem;
}
.wt-chart-vertical-line {
width: 50%;
height: 100%;
right: 0;
border-left: var(--chart-line);
}
.wt-chart-vertical-last-child-line {
width: 50%;
right: 0;
height: 2.5rem;
top: 0;
border-left: var(--chart-line);
border-bottom: var(--chart-line);
border-radius: 0 0 0 var(--chart-line-radius);
}
.wt-chart-vertical-child-line {
width: 50%;
right: 0;
height: 2.5rem;
top: 0;
border-bottom: var(--chart-line);
}
/* Lines for horizontal trees, such as the family page */
.wt-chart-horizontal-spacer {
width: 1rem;
}
.wt-chart-horizontal-line {
width: 1rem;
height: 50%;
border-bottom: var(--chart-line);
}
.wt-chart-horizontal-first-child {
height: 50%;
position: relative;
top: 50%;
border-top: var(--chart-line);
border-right: var(--chart-line);
border-radius: 0 var(--chart-line-radius) 0 0;
}
.wt-chart-horizontal-middle-child {
height: 100%;
border-right: var(--chart-line);
}
.wt-chart-horizontal-last-child {
height: 50%;
border-bottom: var(--chart-line);
border-right: var(--chart-line);
border-radius: 0 0 var(--chart-line-radius) 0;
}
.wt-chart-horizontal-first-parent {
height: 50%;
position: relative;
top: 50%;
border-top: var(--chart-line);
border-left: var(--chart-line);
border-radius: var(--chart-line-radius) 0 0 0;
}
.wt-chart-horizontal-last-parent {
height: 50%;
border-bottom: var(--chart-line);
border-left: var(--chart-line);
border-radius: 0 0 0 var(--chart-line-radius);
}
/* Buttons to expand/collapse other parts of the chart */
.wt-chart-expansion-control > .chart-expand {
display: none;
}
.wt-chart-expansion-control > .chart-collapse {
display: inline;
}
.wt-chart-expansion-control.collapsed > .chart-expand {
display: inline;
}
.wt-chart-expansion-control.collapsed > .chart-collapse {
display: none;
}
.wt-chart-box-name {
font-weight: bold;
}
|