Debian Codegraph @

kapidox/data/htmlresource/css/customdoxygen.css

raw
1 /**
2 * SPDX-FileCopyrightText: (c) 2016 Olivier Churlaud <[email protected]>
3 * SPDX-FileCopyrightText: (c) 2020 Carson Black <[email protected]>
4 * SPDX-FileCopyrightText: (c) 2020 Carl Schwan <[email protected]>
5 *
6 * SPDX-License-Identifier: LGPL-3.0-or-later
7 */
8 :root {
9 --base: white;
10 --on-base: black;
11 --plasma-blue: #54a3d8;
12 --on-plasma-blue: white;
13 --card: white;
14 --on-card: black;
15 --borders: rgba(0,0,0,0.3);
16 --borders-faint: rgba(0,0,0,0.1);
17 --list-header-bg: #eff0f1;
18 }
19
20 @media (prefers-color-scheme: dark) {
21 table tr:nth-child(odd) {
22 background-color: transparent !important;
23 }
24 .mdescLeft, .mdescRight, .memTemplItemLeft, .memTemplItemRight, .memTemplParams {
25 background-color: transparent !important;
26 }
27 :root {
28 --base: #232629;
29 --on-base: #eff0f1;
30 --card: rgba(255,255,255,0.02);
31 --on-card: #eff0f1;
32 --borders: rgba(255,255,255,0.2);
33 --borders-faint: rgba(255,255,255,0.05);
34 --plasma-blue: #98c8e8;
35 --on-plasma-blue: black;
36 --list-header-bg: #31363b;
37
38 background-color: var(--base);
39 }
40 .blockquote {
41 background-color: var(--card);
42 }
43 }
44 .memItemLeft, .memItemRight {
45 background-color: var(--base);
46 }
47 .memtitle {
48 display:none
49 }
50 .memdoc {
51 border:1px solid rgba(0, 0, 0, 0.4);
52 border-radius:0 0 3px 3px;
53 }
54 .memproto,
55 dl.reflist dt {
56 background:var(--plasma-blue);
57 color:var(--on-plasma-blue);
58 border-radius:0;
59 border-top-left-radius: 4px;
60 border-top-right-radius: 4px;
61 text-shadow:none
62 }
63 .memproto a.el,
64 dl.reflist dt a.el {
65 color:beige
66 }
67
68 .memname {
69 color:var(--on-plasma-blue);
70 text-shadow:none;
71 word-break: break-word;
72 }
73 @media (prefers-color-scheme:dark) {
74 table {
75 background-color:transparent!important;
76 color:var(--on-base)!important
77 }
78 .memproto,
79 dl.reflist dt {
80 background:var(--card)!important;
81 color:var(--on-card)!important
82 }
83 .memname {
84 color:var(--on-card)
85 }
86 .memproto table tr,
87 .mlabels tr,
88 table.memberdecls tr.heading,
89 table.mlabels tr,
90 table.params tr {
91 background-color:transparent!important;
92 color:var(--on-base)!important
93 }
94 div.memproto {
95 border:0
96 }
97 span.stringliteral {
98 color: #0040ff;
99 }
100 .comment {
101 color: #ff0202;
102 }
103 .keyword {
104 color: #00ff00;
105 }
106 span.lineno, span.lineno a {
107 background-color: transparent;
108 }
109 span.comment {
110 color: #fdaaaa;
111 }
112 a.code, a.code:visited, a.line, a.line:visited {
113 color: #6a9cff;
114 }
115 span.keywordtype {
116 color: #ffa143;
117 }
118 .dyncontent img {
119 filter: invert(0.85);
120 }
121 .classindex dl.odd {
122 background-color: var(--base);
123 }
124 }
125 .dyncontent img {
126 filter: invert(0.01);
127 }
128 .memdoc,
129 dl.reflist dd {
130 background:var(--card);
131 color:var(--on-card)
132 }
133 .memSeparator {
134 border-color:var(--borders)
135 }
136 @media (max-width: 900px) {
137 .td-toc {
138 height: auto;
139 }
140 }
141 .mdescLeft,
142 .mdescRight,
143 .memItemLeft,
144 .memItemRight,
145 .memTemplItemLeft,
146 .memTemplItemRight,
147 .memTemplParams {
148 background:var(--card);
149 color:var(--on-card);
150 border-color:var(--borders)
151 }
152 .memproto a.el,
153 .memproto a.elRef {
154 color:#cce;
155 font-weight:700
156 }
157 .memproto .paramtype {
158 font-weight:700
159 }
160 .memproto .paramname {
161 color:#f7800a;
162 font-weight:700
163 }
164 .paramname {
165 padding-right: 6px;
166 }
167 .memproto span.mlabel {
168 padding:6px;
169 border:0;
170 border-radius:4px;
171 background:var(--base);
172 color:var(--on-base)
173 }
174
175 /* Use div.fragment, not pre.fragment. pre.fragment is used for @verbatim blocks, which must keep their border */
176 div.fragment {
177 overflow-x: auto;
178 background-color: var(--card);
179 color: var(--on-card);
180 border: 1px solid var(--borders);
181 border-radius: 4px;
182 padding: 10px;
183 margin-top: 10px;
184 margin-bottom: 10px;
185 }
186
187 pre.fragment {
188 overflow-x: auto;
189 background-color: var(--card);
190 color: var(--on-card);
191 border-color: var(--borders);
192 white-space: pre;
193 scrollbar-width: 0;
194 }
195 pre.fragment::-webkit-scrollbar {
196 width: 0;
197 height: 0;
198 }
199
200 .td-toc a {
201 display: inline;
202 }
203
204 /**
205 * Subgroup
206 */
207
208 table.libraries {
209 width: 100%;
210 border-collapse: collapse;
211 margin-bottom: 12px;
212 }
213
214 table.libraries td, table.libraries th {
215 border: solid 1px var(--borders);
216 }
217
218 table.libraries h3 {
219 margin: 0;
220 padding: 0;
221 }
222
223 table.libraries td {
224 padding: 0.5em;
225 }
226
227 table.libraries th {
228 background: var(--plasma-blue);
229 color: var(--on-plasma-blue);
230 font-size: 1.1em;
231 line-height: 1.7em;
232 text-align: center;
233 }
234
235 @media (prefers-color-scheme: dark) {
236 table.libraries th {
237 background: var(--card);
238 color: var(--on-card);
239 }
240 }
241
242 .library-main-column {
243 vertical-align: top;
244 }
245
246 .library-detail-column {
247 text-align: center;
248 width: 120px;
249 }
250
251 .library-fancyname {
252 font-size: 120%;
253 }
254
255 .library-platforms {
256 float: right;
257 font-size: 80%;
258 }
259
260 .library-platform {
261 color: #666;
262 padding-left: 6px;
263 margin-left: 6px;
264 border-left: 1px solid #ccc;
265 }
266
267 .library-platform:first-child {
268 padding-left: 0;
269 border-left: none;
270 }
271
272 .library-platform a {
273 text-decoration: none;
274 }
275
276 .library-platform-unsupported .library-platform-text {
277 text-decoration: line-through;
278 color: #aaa;
279 }
280
281 /* Platform filtering --------------------------------*/
282 .not-available-indicator, .available-indicator {
283 display: none;
284 float: left;
285 padding-right: 0.5em;
286 }
287
288 .not-available .not-available-indicator {
289 display: inline;
290 }
291
292 .available .available-indicator {
293 display: inline;
294 }
295
296 .not-available {
297 background-color: rgba(233, 61, 87, 0.2);
298 }
299
300 .not-available .library-description {
301 display: none;
302 }
303
304 .library-platform-required .library-platform-text {
305 color: green;
306 }
307
308 .library-platform-required.library-platform-unsupported .library-platform-text {
309 color: red;
310 }
311
312 .warning-tooltip {
313 width: 15px;
314 }
315
316 .fieldtable th {
317 background: var(--plasma-blue);
318 border-radius: 0;
319 color: var(--on-plasma-blue);
320 }
321
322 /* Platform note -------------------------------------*/
323 .note-tip {
324 display: none;
325 z-index: 3000;
326 position: absolute;
327
328 background-color: #222;
329 color: white;
330 padding: 6px;
331 border-radius: 5px;
332 }
333
334 a.note-close, a.note-close:active, a.note-close:visited {
335 color: white;
336 text-decoration: none;
337 margin-left: 6px;
338 }
339
340 html, body, table, div, p, dl {
341 font: 400 5.625vw/20px Noto Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
342 }
343 @media (min-width:320px) {
344 html, body, table, div, p, dl {
345 font: 400 17px/20px Noto Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
346 }
347 }
348 @media (min-width:900px) {
349 html, body, table, div, p, dl {
350 font: 400 16px/20px Noto Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
351 }
352 }
353 @media print {
354 html, body, table, div, p, dl {
355 font: 400 14px/20px Noto Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
356 }
357 }
358
359 .memItemLeft {
360 display: flex;
361 justify-content: end;
362 }
363 .memItemRight {
364 vertical-align: middle;
365 }
366
367 dl.note {
368 margin-left: 0;
369 padding-left: 6px;
370 }
371
372 .caption {
373 margin-bottom: 2rem;
374 margin-top: 0.5rem;
375 }