xref: /webtrees/resources/css/_block-charts.css (revision d11be7027e34e3121be11cc025421873364403f9)
1e759aebbSGreg Roach/**
2e759aebbSGreg Roach * webtrees: online genealogy
3*d11be702SGreg Roach * Copyright (C) 2023 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 */
1941f309deSGreg Roach
2041f309deSGreg Roach.wt-block.wt-block-charts {
2141f309deSGreg Roach    /* This strange workaround creates a new stacking context, which allows the absolutely-positioned */
2241f309deSGreg Roach    /* pedigree chart lines to be displayed. */
2341f309deSGreg Roach    opacity: 0.99;
24e759aebbSGreg Roach}
25e759aebbSGreg Roach
2641f309deSGreg Roach.wt-block-charts .wt-chart-box {
2741f309deSGreg Roach    width: 15rem;
2841f309deSGreg Roach    height: 3.5rem;
2941f309deSGreg Roach}
3041f309deSGreg Roach
317f9d794bSGreg Roach.wt-block-charts .wt-chart-box .wt-chart-box-extra,
327f9d794bSGreg Roach.wt-block-charts .wt-chart-box .wt-chart-box-facts,
337f9d794bSGreg Roach.wt-block-charts .wt-chart-box .wt-chart-box-name-alt {
34e759aebbSGreg Roach    display: none;
35e759aebbSGreg Roach}
367f9d794bSGreg Roach
377f9d794bSGreg Roach.wt-block-charts .wt-chart-box .wt-chart-box-lifespan {
387f9d794bSGreg Roach    display: block;
397f9d794bSGreg Roach}
40