xref: /webtrees/resources/css/_block-charts.css (revision 41f309de4fcf9e448c44b57cedac2c0e0ec4b986)
1e759aebbSGreg Roach/**
2e759aebbSGreg Roach * webtrees: online genealogy
3e759aebbSGreg Roach * Copyright (C) 2019 webtrees development team
4e759aebbSGreg Roach * This program is free software: you can redistribute it and/or modify
5e759aebbSGreg Roach * it under the terms of the GNU General Public License as published by
6e759aebbSGreg Roach * the Free Software Foundation, either version 3 of the License, or
7e759aebbSGreg Roach * (at your option) any later version.
8e759aebbSGreg Roach * This program is distributed in the hope that it will be useful,
9e759aebbSGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
10e759aebbSGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11e759aebbSGreg Roach * GNU General Public License for more details.
12e759aebbSGreg Roach * You should have received a copy of the GNU General Public License
13e759aebbSGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
14e759aebbSGreg Roach */
15e759aebbSGreg Roach
16e759aebbSGreg Roach/*
17e759aebbSGreg Roach * Charts block
18e759aebbSGreg Roach */
19*41f309deSGreg Roach
20*41f309deSGreg Roach.wt-block.wt-block-charts {
21*41f309deSGreg Roach	/* This strange workaround creates a new stacking context, which allows the absolutely-positioned */
22*41f309deSGreg Roach	/* pedigree chart lines to be displayed. */
23*41f309deSGreg Roach	opacity: 0.99;
24e759aebbSGreg Roach}
25e759aebbSGreg Roach
26*41f309deSGreg Roach.wt-block-charts .wt-chart-box {
27*41f309deSGreg Roach	width: 15rem;
28*41f309deSGreg Roach	height: 3.5rem;
29*41f309deSGreg Roach}
30*41f309deSGreg Roach
311e7a7a28SGreg Roach.wt-block-charts .wt-chart-box-extra,
321e7a7a28SGreg Roach.wt-block-charts .wt-chart-box-facts {
33e759aebbSGreg Roach	display: none;
34e759aebbSGreg Roach}
35*41f309deSGreg Roach
36*41f309deSGreg Roach.wt-block-charts .wt-chart-box .wt-chart-box-lifespan {
37*41f309deSGreg Roach	display: block;
38*41f309deSGreg Roach}
39