1/** 2 * webtrees: online genealogy 3 * Copyright (C) 2018 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/* The administration theme is mostly vanilla bootstrap. */ 17 18/* Tree Preferences - fit thumbnail into parent for Default Individual*/ 19.select2-selection.select2-selection--single { 20 min-height: 36px; 21 height: auto; 22 padding: 2px 0; 23} 24 25.select2-container .select2-selection--single .select2-selection__rendered { 26 padding-left: 2px; 27} 28.select2-selection--single .NAME { 29 padding-left: 4px; 30} 31 32.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered { 33 padding-right: 2px; 34} 35 36.select2-container[dir="rtl"] .select2-selection--single .NAME { 37 padding-right: 4px; 38} 39 40.wt-global { 41 background: url(paper_fibers.png); /* http://www.subtlepatterns.com */ 42} 43 44/* Show a placeholder for slow ajax responses. */ 45.wt-ajax-load:empty { 46 height: 32px; 47 width: 32px; 48 background: url(images/loading-32x32.gif) no-repeat; 49} 50 51@media (min-device-pixel-ratio: 2) { 52 .wt-global { 53 background: url(paper_fibers_@2X.png); 54 } 55} 56 57/* Raw GEDCOM data */ 58.gedcom-data { 59 white-space: pre-wrap; 60} 61 62.gedcom-data ins { 63 text-decoration: none; 64 background-color: #eea; 65} 66 67/* Combine bootstrap styling with phpinfo() styling */ 68.php-info table { 69 width: 100%; 70} 71.php-info .center { 72 text-align: center; 73} 74.php-info .center table { 75 margin: 1em auto; 76 text-align: left; 77} 78.php-info .center th { 79 text-align: center; 80} 81.php-info td, 82.php-info th { 83 border: 1px solid #666; 84 vertical-align: baseline; 85 padding: 4px 5px; 86} 87.php-info .e { 88 background-color: #ccf; 89 width: 300px; 90} 91.php-info .h { 92 background-color: #99c; 93} 94.php-info .v { 95 background-color: #ddd; 96 max-width: 300px; 97 overflow-x: auto; 98 word-break: break-all; 99} 100.php-info .v i { 101 color: #999; 102} 103.php-info img { 104 float: right; 105 border: 0; 106} 107