merge
[themes.git] / LCARStrek / global / aboutSupport.css
CommitLineData
9099c61d
RK
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6bcac19c
RK
4
5html {
ed351b91
RK
6 --aboutSupport-table-background: #000000;
7 background-color: var(--in-content-page-background);
6bcac19c
RK
8}
9
10body {
ed351b91 11 margin: 40px 48px;
6bcac19c
RK
12}
13
ed351b91 14a:link, a:visited {
42f50429 15 border-radius: 3px;
ed351b91
RK
16 color: var(--in-content-link-color);
17 background-color: var(--in-content-page-background);
42f50429
RK
18 text-decoration: none;
19 -moz-padding-start: 1px;
20 -moz-padding-end: 1px;
21}
22
ed351b91 23/* on hover and active, behave like buttons */
42f50429 24a:hover {
ed351b91
RK
25 color: var(--in-content-selected-text);
26 background-color: var(--in-content-box-background-hover);
27}
28
29a:active {
30 color: var(--in-content-selected-text);
31 background-color: var(--in-content-box-background-active);
42f50429
RK
32}
33
6bcac19c
RK
34.page-subtitle {
35 margin-bottom: 3em;
36}
37
38.major-section {
39 margin-top: 2em;
40 margin-bottom: 1em;
41 font-size: large;
42 text-align: start;
43 font-weight: bold;
44}
45
ed351b91
RK
46button {
47 -moz-margin-start: 0;
48 -moz-margin-end: 8px;
49}
50
6bcac19c 51table {
ed351b91
RK
52 background-color: var(--aboutSupport-table-background);
53 color: var(--in-content-text-color);
6bcac19c
RK
54 text-align: start;
55 width: 100%;
42f50429 56 border-radius: 10px;
ed351b91 57 border: 1px solid var(--in-content-border-color);
6bcac19c
RK
58 border-spacing: 0px;
59}
60
f0eab82c
RK
61table + table {
62 margin-top: 1em;
63}
64
6bcac19c 65th, td {
6bcac19c
RK
66 padding: 3px;
67}
68
f0eab82c
RK
69th:not(:first-child),
70td:not(:first-child) {
ed351b91
RK
71 border-left: 1px dotted var(--in-content-border-color);
72}
73
74thead th {
75 text-align: center;
76}
77
78th {
79 text-align: start;
80 background-color: var(--in-content-table-header-background);
81 color: var(--in-content-selected-text);
42f50429
RK
82}
83
f0eab82c
RK
84/* adjustments for not painting outside of table border */
85thead:first-child > th:first-child, /* prefs table misses a tr in thead */
86thead:first-child > tr:first-child > th:first-child,
87thead:first-child > tr:first-child > td:first-child,
88tbody:first-child > tr:first-child > th:first-child,
89tbody:first-child > tr:first-child > td:first-child {
90 border-top-left-radius: 9px;
91}
92
93thead:first-child > th:last-child, /* prefs table misses a tr in thead */
94thead:first-child > tr:first-child > th:last-child,
95thead:first-child > tr:first-child > td:last-child,
96tbody:first-child > tr:first-child > th:last-child,
97tbody:first-child > tr:first-child > td:last-child {
98 border-top-right-radius: 9px;
99}
100
101thead:last-child > tr:last-child > th:first-child,
102thead:last-child > tr:last-child > td:first-child,
103tbody:last-child > tr:last-child > th:first-child,
104tbody:last-child > tr:last-child > td:first-child {
105 border-bottom-left-radius: 9px;
106}
107
108thead:last-child > tr:last-child > th:last-child,
109thead:last-child > tr:last-child > td:last-child,
110tbody:last-child > tr:last-child > th:last-child,
111tbody:last-child > tr:last-child > td:last-child {
112 border-bottom-right-radius: 9px;
113}
114
6bcac19c
RK
115th.column {
116 white-space: nowrap;
117 width: 0px;
118}
119
f0eab82c
RK
120tr:not(:first-child) > td,
121tr:not(:first-child) > th,
122tbody:not(:first-child) > tr > td,
123tbody:not(:first-child) > tr > th {
ed351b91 124 border-top: 1px dotted var(--in-content-table-border-dark-color);
f0eab82c
RK
125}
126
6bcac19c
RK
127td {
128 text-align: start;
6bcac19c
RK
129}
130
131.prefs-table {
132 width: 100%;
133 table-layout: fixed;
134}
135
136.pref-name {
137 width: 70%;
138 white-space: nowrap;
139 overflow: hidden;
140}
141
142.pref-value {
143 width: 30%;
144 white-space: nowrap;
145 overflow: hidden;
146}
a62af8a9 147
e6947267 148#action-box {
ed351b91
RK
149 background-color: var(--aboutSupport-table-background);
150 border: 1px solid var(--in-content-border-color);
151 color: var(--in-content-text-color);
a62af8a9
RK
152 float: right;
153 margin-top: 2em;
154 margin-bottom: 20px;
155 -moz-margin-start: 20px;
156 -moz-margin-end: 0;
157 padding: 16px;
158 width: 30%;
159}
160
e6947267
RK
161#action-box,
162#reset-box,
163#safe-mode-box {
164 display: none;
165}
166
167#action-box:-moz-dir(rtl) {
a62af8a9
RK
168 float: left;
169}
170
171#reset-box > h3 {
172 margin-top: 0;
173}
174
e6947267 175#action-box > button {
a62af8a9 176 display: block;
a62af8a9 177}
2e88f3cc
RK
178
179.block {
180 display: block;
181}
182
183.hidden {
184 display: none;
185}