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