xref: /webtrees/resources/css/administration.css (revision 0b5634292998ac2d68fb415a56a0dea6573b9262)
1ad727080SGreg Roach/**
2ad727080SGreg Roach * webtrees: online genealogy
3242a7862SGreg Roach * Copyright (C) 2019 webtrees development team
4ad727080SGreg Roach * This program is free software: you can redistribute it and/or modify
5ad727080SGreg Roach * it under the terms of the GNU General Public License as published by
6ad727080SGreg Roach * the Free Software Foundation, either version 3 of the License, or
7ad727080SGreg Roach * (at your option) any later version.
8ad727080SGreg Roach * This program is distributed in the hope that it will be useful,
9ad727080SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
10ad727080SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11ad727080SGreg Roach * GNU General Public License for more details.
12ad727080SGreg Roach * You should have received a copy of the GNU General Public License
13ad727080SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
14ad727080SGreg Roach */
15ad727080SGreg Roach
16ad727080SGreg Roach/* The administration theme is mostly vanilla bootstrap. */
17a3c95e78SGreg Roach@import "_base.css";
18ad727080SGreg Roach
19ad727080SGreg Roach/* Tree Preferences - fit thumbnail into parent for Default Individual*/
20ad727080SGreg Roach.select2-selection.select2-selection--single {
21ad727080SGreg Roach	min-height: 36px;
22ad727080SGreg Roach	height: auto;
23ad727080SGreg Roach	padding: 2px 0;
24ad727080SGreg Roach}
25ad727080SGreg Roach
26ad727080SGreg Roach.select2-container .select2-selection--single .select2-selection__rendered {
27ad727080SGreg Roach    padding-left: 2px;
28ad727080SGreg Roach}
29ad727080SGreg Roach.select2-selection--single .NAME {
30ad727080SGreg Roach    padding-left: 4px;
31ad727080SGreg Roach}
32ad727080SGreg Roach
33ad727080SGreg Roach.wt-global {
34e837ff07SGreg Roach	background: url(administration/paper_fibers.png); /* http://www.subtlepatterns.com */
35ad727080SGreg Roach}
36ad727080SGreg Roach
37ad727080SGreg Roach/* Show a placeholder for slow ajax responses. */
38ad727080SGreg Roach.wt-ajax-load:empty {
39ad727080SGreg Roach	height: 32px;
40ad727080SGreg Roach	width: 32px;
41ad727080SGreg Roach	background: url(images/loading-32x32.gif) no-repeat;
42ad727080SGreg Roach}
43ad727080SGreg Roach
44ad727080SGreg Roach@media (min-device-pixel-ratio: 2) {
45ad727080SGreg Roach	.wt-global {
46e837ff07SGreg Roach		background: url(administration/paper_fibers_@2X.png);
47ad727080SGreg Roach	}
48ad727080SGreg Roach}
49ad727080SGreg Roach
50ad727080SGreg Roach/* Raw GEDCOM data */
51ad727080SGreg Roach.gedcom-data {
52ad727080SGreg Roach	white-space: pre-wrap;
53ad727080SGreg Roach}
54ad727080SGreg Roach
55ad727080SGreg Roach.gedcom-data ins {
56ad727080SGreg Roach	text-decoration: none;
57ad727080SGreg Roach	background-color: #eea;
58ad727080SGreg Roach}
59ad727080SGreg Roach
60ad727080SGreg Roach/* Combine bootstrap styling with phpinfo() styling */
61ad727080SGreg Roach.php-info table {
62ad727080SGreg Roach	width: 100%;
63ad727080SGreg Roach}
64ad727080SGreg Roach.php-info .center {
65ad727080SGreg Roach	text-align: center;
66ad727080SGreg Roach}
67ad727080SGreg Roach.php-info .center table {
68ad727080SGreg Roach	margin: 1em auto;
69*0b563429SGreg Roach	text-align: start;
70ad727080SGreg Roach}
71ad727080SGreg Roach.php-info .center th {
72ad727080SGreg Roach	text-align: center;
73ad727080SGreg Roach}
74ad727080SGreg Roach.php-info td,
75ad727080SGreg Roach.php-info th {
76ad727080SGreg Roach	border: 1px solid #666;
77ad727080SGreg Roach	vertical-align: baseline;
78ad727080SGreg Roach	padding: 4px 5px;
79ad727080SGreg Roach}
80ad727080SGreg Roach.php-info .e {
81ad727080SGreg Roach	background-color: #ccf;
82ad727080SGreg Roach	width: 300px;
83ad727080SGreg Roach}
84ad727080SGreg Roach.php-info .h {
85ad727080SGreg Roach	background-color: #99c;
86ad727080SGreg Roach}
87ad727080SGreg Roach.php-info .v {
88ad727080SGreg Roach	background-color: #ddd;
89ad727080SGreg Roach	max-width: 300px;
90ad727080SGreg Roach	overflow-x: auto;
91ad727080SGreg Roach	word-break: break-all;
92ad727080SGreg Roach}
93ad727080SGreg Roach.php-info .v i {
94ad727080SGreg Roach	color: #999;
95ad727080SGreg Roach}
96ad727080SGreg Roach.php-info img {
97ad727080SGreg Roach	float: right;
98ad727080SGreg Roach	border: 0;
99ad727080SGreg Roach}
100