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