xref: /webtrees/resources/css/_vendor-patches.css (revision d4ec5ec0fe611c85b1d77527db3e9becde7e473d)
1/**
2 * webtrees: online genealogy
3 * Copyright (C) 2021 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 <http://www.gnu.org/licenses/>.
14 */
15
16/*
17 * Temporary fixes for things that are broken upstream.
18 */
19
20/*
21 * https://github.com/fisharebest/webtrees/issues/2291
22 * Chrome 72 has problems with all cards in the control panel.
23 * Chrome 73 has problems with the family-tree card in the control panel.
24 * Chrome 76 seems OK.
25 * https://github.com/fisharebest/webtrees/issues/2813
26 * Safari 13 has the same issue.
27 */
28.wt-control-panel .card {
29    display: block;
30}
31
32/* Allow font-awesome icon lists to work on RTL pages */
33[dir=rtl] .fa-li {
34    right: -2rem;
35}
36
37/* Allows twitter typeahead to work with bootstrap input groups */
38.input-group > .twitter-typeahead {
39    flex: 1 1;
40}
41
42/* Bootstrap carousel icons should mirror on RTL  pages */
43[dir=rtl] .carousel-control-next-icon,
44[dir=rtl] .carousel-control-prev-icon  {
45    transform: scale(-1, 1);
46}
47