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