xref: /webtrees/resources/css/administration.css (revision 75f2a4831adecfe14c5b50312beb437d05654f96)
1ad727080SGreg Roach/**
2ad727080SGreg Roach * webtrees: online genealogy
3d11be702SGreg Roach * Copyright (C) 2023 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
216d87742cSGreg Roach:root {
226d87742cSGreg Roach    --link-color-hover: #0a58ca;
236d87742cSGreg Roach    --link-color: #0d6efd;
246d87742cSGreg Roach    --link-decoration-hover: underline;
256d87742cSGreg Roach    --link-decoration: none;
266d87742cSGreg Roach}
276d87742cSGreg 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
42*75f2a483SDavid Drury::backdrop, .wt-global {
43e837ff07SGreg Roach    background: url(administration/paper_fibers.png); /* http://www.subtlepatterns.com */
44ad727080SGreg Roach}
45ad727080SGreg Roach
46ad727080SGreg Roach/* Show a placeholder for slow ajax responses. */
47ad727080SGreg Roach.wt-ajax-load:empty {
48ad727080SGreg Roach    height: 32px;
49ad727080SGreg Roach    width: 32px;
50ad727080SGreg Roach    background: url(images/loading-32x32.gif) no-repeat;
51ad727080SGreg Roach}
52ad727080SGreg Roach
53ad727080SGreg Roach@media (min-device-pixel-ratio: 2) {
54*75f2a483SDavid Drury    ::backdrop, .wt-global {
55e837ff07SGreg Roach        background: url(administration/paper_fibers_@2X.png);
56ad727080SGreg Roach    }
57ad727080SGreg Roach}
58ad727080SGreg Roach
59ad727080SGreg Roach/* Raw GEDCOM data */
60ad727080SGreg Roach.gedcom-data {
61ad727080SGreg Roach    white-space: pre-wrap;
62ad727080SGreg Roach}
63ad727080SGreg Roach
64ad727080SGreg Roach.gedcom-data ins {
65ad727080SGreg Roach    text-decoration: none;
66ad727080SGreg Roach    background-color: #eea;
67ad727080SGreg Roach}
68ad727080SGreg Roach
69ad727080SGreg Roach/* Combine bootstrap styling with phpinfo() styling */
70ad727080SGreg Roach.php-info table {
71ad727080SGreg Roach    width: 100%;
72ad727080SGreg Roach}
73ad727080SGreg Roach.php-info .center {
74ad727080SGreg Roach    text-align: center;
75ad727080SGreg Roach}
76ad727080SGreg Roach.php-info .center table {
77ad727080SGreg Roach    margin: 1em auto;
780b563429SGreg Roach    text-align: start;
79ad727080SGreg Roach}
80ad727080SGreg Roach.php-info .center th {
81ad727080SGreg Roach    text-align: center;
82ad727080SGreg Roach}
83ad727080SGreg Roach.php-info td,
84ad727080SGreg Roach.php-info th {
85ad727080SGreg Roach    border: 1px solid #666;
86ad727080SGreg Roach    vertical-align: baseline;
87ad727080SGreg Roach    padding: 4px 5px;
88ad727080SGreg Roach}
89ad727080SGreg Roach.php-info .e {
90ad727080SGreg Roach    background-color: #ccf;
91ad727080SGreg Roach    width: 300px;
92ad727080SGreg Roach}
93ad727080SGreg Roach.php-info .h {
94ad727080SGreg Roach    background-color: #99c;
95ad727080SGreg Roach}
96ad727080SGreg Roach.php-info .v {
9751cc45a0SGreg Roach    background-color: #fff;
98ad727080SGreg Roach    max-width: 300px;
99ad727080SGreg Roach    overflow-x: auto;
100ad727080SGreg Roach    word-break: break-all;
101ad727080SGreg Roach}
102ad727080SGreg Roach.php-info img {
103ad727080SGreg Roach    float: right;
104ad727080SGreg Roach    border: 0;
105ad727080SGreg Roach}
106315eb316SGreg Roach
1070d206b61SGreg Roach/* Up/down arrows to move items in a list tr*/
1080d206b61SGreg Roachtr:first-child > td.move.up > a,
1090d206b61SGreg Roachtr:last-child > td.move.down > a {
1100d206b61SGreg Roach    display: none;
1110d206b61SGreg Roach}
112