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