1d3018248SGreg Roach/** 2d3018248SGreg Roach * webtrees: online genealogy 3d11be702SGreg Roach * Copyright (C) 2023 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 */ 33acb814cdSGreg Roach/* rtl:ignore */ 34315eb316SGreg Roach[dir=rtl] .fa-li { 35315eb316SGreg Roach right: -2rem; 36315eb316SGreg Roach} 37315eb316SGreg Roach 38315eb316SGreg Roach/* Allows twitter typeahead to work with bootstrap input groups */ 39315eb316SGreg Roach.input-group > .twitter-typeahead { 40315eb316SGreg Roach flex: 1 1; 41315eb316SGreg Roach} 42315eb316SGreg Roach 43ed09ab2bSGreg Roach/* Bootstrap carousel icons should mirror on RTL pages */ 44acb814cdSGreg Roach/* rtl:ignore */ 45ed09ab2bSGreg Roach[dir=rtl] .carousel-control-next-icon, 46ed09ab2bSGreg Roach[dir=rtl] .carousel-control-prev-icon { 47ed09ab2bSGreg Roach transform: scale(-1, 1); 48ed09ab2bSGreg Roach} 49*2342bacdSGreg Roach 50*2342bacdSGreg Roach/* Some themes set the global default to separate. We should change this. */ 51*2342bacdSGreg Roachtable.datatables { 52*2342bacdSGreg Roach border-collapse: collapse; 53*2342bacdSGreg Roach} 54*2342bacdSGreg Roach 55*2342bacdSGreg Roach/* Don't right-align column headings of numeric data. */ 56*2342bacdSGreg Roachtable.datatables > thead > tr > th.dt-type-numeric { 57*2342bacdSGreg Roach text-align: inherit; 58*2342bacdSGreg Roach} 59