xref: /webtrees/resources/css/administration.css (revision d11be7027e34e3121be11cc025421873364403f9)
1ad727080SGreg Roach/**
2ad727080SGreg Roach * webtrees: online genealogy
3*d11be702SGreg 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
42ad727080SGreg Roach.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) {
54ad727080SGreg Roach    .wt-global {
55e837ff07SGreg Roach        background: url(administration/paper_fibers_@2X.png);
56ad727080SGreg Roach    }
57ad727080SGreg Roach}
58ad727080SGreg Roach
5984df6051SGreg Roach/* Location edit maps */
6084df6051SGreg Roach.wt-location-edit-map {
6184df6051SGreg Roach    height: 55vh;
6284df6051SGreg Roach}
6384df6051SGreg Roach
64ad727080SGreg Roach/* Raw GEDCOM data */
65ad727080SGreg Roach.gedcom-data {
66ad727080SGreg Roach    white-space: pre-wrap;
67ad727080SGreg Roach}
68ad727080SGreg Roach
69ad727080SGreg Roach.gedcom-data ins {
70ad727080SGreg Roach    text-decoration: none;
71ad727080SGreg Roach    background-color: #eea;
72ad727080SGreg Roach}
73ad727080SGreg Roach
74ad727080SGreg Roach/* Combine bootstrap styling with phpinfo() styling */
75ad727080SGreg Roach.php-info table {
76ad727080SGreg Roach    width: 100%;
77ad727080SGreg Roach}
78ad727080SGreg Roach.php-info .center {
79ad727080SGreg Roach    text-align: center;
80ad727080SGreg Roach}
81ad727080SGreg Roach.php-info .center table {
82ad727080SGreg Roach    margin: 1em auto;
830b563429SGreg Roach    text-align: start;
84ad727080SGreg Roach}
85ad727080SGreg Roach.php-info .center th {
86ad727080SGreg Roach    text-align: center;
87ad727080SGreg Roach}
88ad727080SGreg Roach.php-info td,
89ad727080SGreg Roach.php-info th {
90ad727080SGreg Roach    border: 1px solid #666;
91ad727080SGreg Roach    vertical-align: baseline;
92ad727080SGreg Roach    padding: 4px 5px;
93ad727080SGreg Roach}
94ad727080SGreg Roach.php-info .e {
95ad727080SGreg Roach    background-color: #ccf;
96ad727080SGreg Roach    width: 300px;
97ad727080SGreg Roach}
98ad727080SGreg Roach.php-info .h {
99ad727080SGreg Roach    background-color: #99c;
100ad727080SGreg Roach}
101ad727080SGreg Roach.php-info .v {
10251cc45a0SGreg Roach    background-color: #fff;
103ad727080SGreg Roach    max-width: 300px;
104ad727080SGreg Roach    overflow-x: auto;
105ad727080SGreg Roach    word-break: break-all;
106ad727080SGreg Roach}
107ad727080SGreg Roach.php-info img {
108ad727080SGreg Roach    float: right;
109ad727080SGreg Roach    border: 0;
110ad727080SGreg Roach}
111315eb316SGreg Roach
1120d206b61SGreg Roach/* Up/down arrows to move items in a list tr*/
1130d206b61SGreg Roachtr:first-child > td.move.up > a,
1140d206b61SGreg Roachtr:last-child > td.move.down > a {
1150d206b61SGreg Roach    display: none;
1160d206b61SGreg Roach}
117