xref: /webtrees/resources/css/administration.css (revision 242a78626998a767db1568b24919e94ae4b38ac3)
1/**
2 * webtrees: online genealogy
3 * Copyright (C) 2019 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.wt-global {
33	background: url(administration/paper_fibers.png); /* http://www.subtlepatterns.com */
34}
35
36/* Show a placeholder for slow ajax responses. */
37.wt-ajax-load:empty {
38	height: 32px;
39	width: 32px;
40	background: url(images/loading-32x32.gif) no-repeat;
41}
42
43@media (min-device-pixel-ratio: 2) {
44	.wt-global {
45		background: url(administration/paper_fibers_@2X.png);
46	}
47}
48
49/* Raw GEDCOM data */
50.gedcom-data {
51	white-space: pre-wrap;
52}
53
54.gedcom-data ins {
55	text-decoration: none;
56	background-color: #eea;
57}
58
59/* Combine bootstrap styling with phpinfo() styling */
60.php-info table {
61	width: 100%;
62}
63.php-info .center {
64	text-align: center;
65}
66.php-info .center table {
67	margin: 1em auto;
68	text-align: left;
69}
70.php-info .center th {
71	text-align: center;
72}
73.php-info td,
74.php-info th {
75	border: 1px solid #666;
76	vertical-align: baseline;
77	padding: 4px 5px;
78}
79.php-info .e {
80	background-color: #ccf;
81	width: 300px;
82}
83.php-info .h {
84	background-color: #99c;
85}
86.php-info .v {
87	background-color: #ddd;
88	max-width: 300px;
89	overflow-x: auto;
90	word-break: break-all;
91}
92.php-info .v i {
93	color: #999;
94}
95.php-info img {
96	float: right;
97	border: 0;
98}
99