xref: /webtrees/resources/css/_vendor-patches.css (revision 1270d2767576ed4a83917769b0ee3613e3b010bf)
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 <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/* rtl:ignore */
34[dir=rtl] .fa-li {
35    right: -2rem;
36}
37
38/* Allows twitter typeahead to work with bootstrap input groups */
39.input-group > .twitter-typeahead {
40    flex: 1 1;
41}
42
43/* Bootstrap carousel icons should mirror on RTL  pages */
44/* rtl:ignore */
45[dir=rtl] .carousel-control-next-icon,
46[dir=rtl] .carousel-control-prev-icon  {
47    transform: scale(-1, 1);
48}
49