xref: /webtrees/resources/css/_chart-pedigree-map.css (revision d9ea0e86582fe4bcb21969eb1dafa8be7d592091)
1/**
2 * webtrees: online genealogy
3 * Copyright (C) 2023 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 <https://www.gnu.org/licenses/>.
14 */
15
16/*
17 * Pedigree map
18 *
19 * wt-chart, wt-chart-pedigree-map
20 */
21:root {
22    --wt-pedigree-map-gen-0: red;
23    --wt-pedigree-map-gen-1: orange;
24    --wt-pedigree-map-gen-2: gold;
25    --wt-pedigree-map-gen-3: lightgreen;
26    --wt-pedigree-map-gen-4: green;
27    --wt-pedigree-map-gen-5: limegreen;
28    --wt-pedigree-map-gen-6: cyan;
29    --wt-pedigree-map-gen-7: blue;
30    --wt-pedigree-map-gen-8: cornflowerblue;
31    --wt-pedigree-map-gen-9: pink;
32    --wt-pedigree-map-gen-10: magenta;
33    --wt-pedigree-map-gen-11: maroon;
34    --wt-pedigree-map-height: 70vh;
35}
36
37.wt-pedigree-map-gen-0 {
38    color: var(--wt-pedigree-map-gen-0);
39}
40
41.wt-pedigree-map-gen-1 {
42    color: var(--wt-pedigree-map-gen-1);
43}
44
45.wt-pedigree-map-gen-2 {
46    color: var(--wt-pedigree-map-gen-2);
47}
48
49.wt-pedigree-map-gen-3 {
50    color: var(--wt-pedigree-map-gen-3);
51}
52
53.wt-pedigree-map-gen-4 {
54    color: var(--wt-pedigree-map-gen-4);
55}
56
57.wt-pedigree-map-gen-5 {
58    color: var(--wt-pedigree-map-gen-5);
59}
60
61.wt-pedigree-map-gen-6 {
62    color: var(--wt-pedigree-map-gen-6);
63}
64
65.wt-pedigree-map-gen-7 {
66    color: var(--wt-pedigree-map-gen-7);
67}
68
69.wt-pedigree-map-gen-8 {
70    color: var(--wt-pedigree-map-gen-8);
71}
72
73.wt-pedigree-map-gen-9 {
74    color: var(--wt-pedigree-map-gen-9);
75}
76
77.wt-pedigree-map-gen-10 {
78    color: var(--wt-pedigree-map-gen-10);
79}
80
81.wt-pedigree-map-gen-11 {
82    color: var(--wt-pedigree-map-gen-11);
83}
84
85.wt-pedigree-map-map {
86    height: var(--wt-pedigree-map-height);
87}
88
89.wt-pedigree-map-sidebar {
90    height: var(--wt-pedigree-map-height);
91    overflow-y: auto;
92}
93