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