xref: /webtrees/resources/css/_vendor-patches.css (revision 5bfc689774bb9a6401271c4ed15a6d50652c991b)
1d3018248SGreg Roach/**
2d3018248SGreg Roach * webtrees: online genealogy
3*5bfc6897SGreg Roach * Copyright (C) 2022 webtrees development team
4d3018248SGreg Roach * This program is free software: you can redistribute it and/or modify
5d3018248SGreg Roach * it under the terms of the GNU General Public License as published by
6d3018248SGreg Roach * the Free Software Foundation, either version 3 of the License, or
7d3018248SGreg Roach * (at your option) any later version.
8d3018248SGreg Roach * This program is distributed in the hope that it will be useful,
9d3018248SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
10d3018248SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11d3018248SGreg Roach * GNU General Public License for more details.
12d3018248SGreg Roach * You should have received a copy of the GNU General Public License
13d3018248SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
14d3018248SGreg Roach */
15d3018248SGreg Roach
16d3018248SGreg Roach/*
17d3018248SGreg Roach * Temporary fixes for things that are broken upstream.
18d3018248SGreg Roach */
19315eb316SGreg Roach
20315eb316SGreg Roach/*
21315eb316SGreg Roach * https://github.com/fisharebest/webtrees/issues/2291
22315eb316SGreg Roach * Chrome 72 has problems with all cards in the control panel.
23315eb316SGreg Roach * Chrome 73 has problems with the family-tree card in the control panel.
24315eb316SGreg Roach * Chrome 76 seems OK.
25315eb316SGreg Roach * https://github.com/fisharebest/webtrees/issues/2813
26315eb316SGreg Roach * Safari 13 has the same issue.
27315eb316SGreg Roach */
28315eb316SGreg Roach.wt-control-panel .card {
29315eb316SGreg Roach    display: block;
30315eb316SGreg Roach}
31315eb316SGreg Roach
32315eb316SGreg Roach/* Allow font-awesome icon lists to work on RTL pages */
33315eb316SGreg Roach[dir=rtl] .fa-li {
34315eb316SGreg Roach    right: -2rem;
35315eb316SGreg Roach}
36315eb316SGreg Roach
37315eb316SGreg Roach/* Allows twitter typeahead to work with bootstrap input groups */
38315eb316SGreg Roach.input-group > .twitter-typeahead {
39315eb316SGreg Roach    flex: 1 1;
40315eb316SGreg Roach}
41315eb316SGreg Roach
42ed09ab2bSGreg Roach/* Bootstrap carousel icons should mirror on RTL  pages */
43ed09ab2bSGreg Roach[dir=rtl] .carousel-control-next-icon,
44ed09ab2bSGreg Roach[dir=rtl] .carousel-control-prev-icon  {
45ed09ab2bSGreg Roach    transform: scale(-1, 1);
46ed09ab2bSGreg Roach}
47