summaryrefslogtreecommitdiff
path: root/resources/css/administration.css
blob: 556606dc4b0494cacdb266e4776d7a6a5fbe7978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/**
 * webtrees: online genealogy
 * Copyright (C) 2018 webtrees development team
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

/* The administration theme is mostly vanilla bootstrap. */

/* Tree Preferences - fit thumbnail into parent for Default Individual*/
.select2-selection.select2-selection--single {
	min-height: 36px;
	height: auto;
	padding: 2px 0;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 2px;
}
.select2-selection--single .NAME {
    padding-left: 4px;
}

.wt-global {
	background: url(administration/paper_fibers.png); /* http://www.subtlepatterns.com */
}

/* Show a placeholder for slow ajax responses. */
.wt-ajax-load:empty {
	height: 32px;
	width: 32px;
	background: url(images/loading-32x32.gif) no-repeat;
}

@media (min-device-pixel-ratio: 2) {
	.wt-global {
		background: url(administration/paper_fibers_@2X.png);
	}
}

/* Raw GEDCOM data */
.gedcom-data {
	white-space: pre-wrap;
}

.gedcom-data ins {
	text-decoration: none;
	background-color: #eea;
}

/* Combine bootstrap styling with phpinfo() styling */
.php-info table {
	width: 100%;
}
.php-info .center {
	text-align: center;
}
.php-info .center table {
	margin: 1em auto;
	text-align: left;
}
.php-info .center th {
	text-align: center;
}
.php-info td,
.php-info th {
	border: 1px solid #666;
	vertical-align: baseline;
	padding: 4px 5px;
}
.php-info .e {
	background-color: #ccf;
	width: 300px;
}
.php-info .h {
	background-color: #99c;
}
.php-info .v {
	background-color: #ddd;
	max-width: 300px;
	overflow-x: auto;
	word-break: break-all;
}
.php-info .v i {
	color: #999;
}
.php-info img {
	float: right;
	border: 0;
}