Fossil SCM

Add Refined Dark and Refined Light skins.

dmestas 2026-11-17 22:39 UTC trunk
Commit 64db2ffb995f3fb7aff1a2b38b71beaf4645e9708b91c57e38eba6ee6a661a37
--- a/skins/refined-dark/css.txt
+++ b/skins/refined-dark/css.txt
@@ -0,0 +1,991 @@
1
+/* Refined Dark skin
2
+ A dark rendering of Fossil's default skin: same layout, same sizes, same
3
+ menu band and submenu row. Colors are chosen for WCAG AA contrast on a
4
+ near-black page: body text 13:1, muted text 7:1, links 7:1.
5
+ Functional dark-theme overrides for Fossil's hardcoded light colors
6
+ (timeline graph, diffs, chat, forum, tickets) are kept at the end.
7
+ Uses system fonts; no external font resources are needed. */
8
+
9
+
10
+:root {
11
+ --bg: #1c1e22; /* page */
12
+ --surface: #272a30; /* menu band, cards, code blocks */
13
+ --surface2: #31353d; /* hover states, selected rows */
14
+ --border: #41454e;
15
+ --text: #e8e9eb; /* 13:1 on --bg */
16
+ --muted: #b3b8c0; /* 7.3:1 on --bg */
17
+ --link: #7fb6ef; /* 7.2:1 on --bg; Fossil default's #3779BF, lightened */
18
+ --link-hover: #a3cbf5;
19
+ --link-on-tint: var(--link); /* links on Fossil's colored rows */
20
+ --title: #8cbdf0; /* project title, like the default's #4183C4 */
21
+ --active: #f08a3c; /* active menu underline; default's #D26911, lightened */
22
+ --green: #6fd48f;
23
+ --red: #f08a7e;
24
+ --yellow: #f2c94c;
25
+ --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
26
+ --mono: ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
27
+ color-scheme: dark;
28
+ --input-bg: #15171a; --on-accent: #0b0d10; --visited: #a6b8e8;
29
+ --sel-bg: #4a3a2a; --sec-bg: #2a3a4a; --stripe: #2b2e34; --rule: #2c2f35;
30
+ --btn-hover: #3b4049; --band-top: #2d3037; --warn-bg: #3a2f12; --err-bg: #3a2220;
31
+ --green-rgb: 111 212 143; --red-rgb: 240 138 126; --yellow-rgb: 242 201 76;
32
+ --link-rgb: 127 182 239; --teal-rgb: 79 209 197; --violet-rgb: 140 150 240;
33
+ --muted-rgb: 179 184 192; --veil-rgb: 28 30 34; --lift-rgb: 255 255 255; --shadow-rgb: 0 0 0;
34
+ --tint-rgb: 39 42 48; --tint-mute: 0.4; --chat-mute: 0.3; --bubble-shadow: 0.35; --popup-shadow: 0.5;
35
+}
36
+
37
+/* Base, matching the default skin's sizing */
38
+body {
39
+ margin: 0 auto;
40
+ background-color: var(--bg);
41
+ color: var(--text);
42
+ font-family: var(--font);
43
+ font-size: 16px;
44
+ line-height: 1.45;
45
+}
46
+a { color: var(--link); text-decoration: none; }
47
+a:hover { color: var(--link-hover); text-decoration: underline; }
48
+a:visited { color: var(--visited); }
49
+code, pre, tt, kbd, samp, var { font-family: var(--mono); }
50
+code, tt, kbd, samp { font-size: 0.94em; }
51
+pre { font-size: 0.92em; line-height: 1.35; overflow-x: auto; }
52
+hr { border: none; border-top: 1px solid var(--border); }
53
+blockquote { border-left: 3px solid var(--border); margin: 0.5em 0; padding: 0.1em 1em; }
54
+img { max-width: 100%; }
55
+
56
+/* Title area above the menu bar */
57
+header { display: flex; align-items: center; gap: 14px; padding: 14px 0 12px; }
58
+.skip-nav {
59
+ position: absolute; top: -100%; left: 0;
60
+ background: var(--link); color: var(--on-accent);
61
+ padding: 0.5rem 1.25rem; font-weight: 600; z-index: 9999;
62
+ border-radius: 0 0 6px 0;
63
+}
64
+.skip-nav:focus { top: 0; outline: 2px solid #fff; outline-offset: -4px; }
65
+
66
+div.logo { display: flex; flex-shrink: 0; }
67
+div.logo img, img.logo-mark { width: 48px; height: 48px; object-fit: cover; display: block; border-radius: 6px; }
68
+.hub-link:hover img { opacity: 0.85; }
69
+
70
+.title { min-width: 0; color: var(--title); line-height: 1.2; }
71
+.title h1, .title .project-name {
72
+ display: inline;
73
+ font-size: 2.2em;
74
+ font-weight: bold;
75
+ color: var(--title);
76
+ text-decoration: none;
77
+}
78
+.title .project-name:hover { color: var(--link-hover); text-decoration: none; }
79
+.title h1:after, .title .project-name:after {
80
+ content: " / "; color: var(--muted); font-weight: normal;
81
+}
82
+span.page-title { font-size: 18px; color: var(--text); }
83
+/* Hidden from view but not display:none: Fossil's forum script sizes its
84
+ expand control from the height of the first h1 on the page, and loops
85
+ forever if that height is 0. This also keeps the heading for screen readers. */
86
+h1.page-title {
87
+ font-size: 1.6em; color: var(--text);
88
+ display: block; position: absolute; width: 1px; margin: 0; padding: 0;
89
+ overflow: hidden; clip-path: inset(50%); white-space: nowrap;
90
+}
91
+/* Home pages carry their own heading; Fossil's "index" / "Home" title is noise */
92
+h1.page-title.home-title { display: none !important; }
93
+/* Long document titles go in the body instead of the title bar */
94
+.artifact h1.page-title, .dir h1.page-title, .doc h1.page-title, .wiki h1.page-title {
95
+ position: static; width: auto; overflow: visible; clip-path: none; white-space: normal;
96
+ margin: revert; margin-bottom: 0;
97
+}
98
+.artifact .title > .page-title, .dir .title > .page-title,
99
+.doc .title > .page-title, .wiki .title > .page-title { display: none; }
100
+/* ...unless the page opens with a heading of its own (a wiki page's first
101
+ heading, "History of ...", "Files in ..."): the title would say it twice */
102
+body:has(div.content > :is(h1, h2):first-child, div.content > span:first-child + :is(h1, h2),
103
+ div.content > :is(.markdown, .fossil-doc) > :is(h1, h2):first-child,
104
+ div.content > span:first-child + :is(.markdown, .fossil-doc) > :is(h1, h2):first-child) h1.page-title {
105
+ position: absolute; width: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
106
+}
107
+.artifact .title h1:after, .dir .title h1:after, .doc .title h1:after, .wiki .title h1:after,
108
+.artifact .title .project-name:after, .dir .title .project-name:after,
109
+.doc .title .project-name:after, .wiki .title .project-name:after { content: ""; }
110
+
111
+.status { margin-left: auto; font-size: 0.9em; }
112
+.status a { color: var(--muted); }
113
+.status a:hover { color: var(--text); }
114
+
115
+/* Main menu band */
116
+.mainmenu {
117
+ clear: both;
118
+ background: var(--surface) linear-gradient(var(--band-top), var(--surface)) repeat-x;
119
+ border: 1px solid var(--border);
120
+ border-radius: 5px;
121
+ overflow-x: auto;
122
+ overflow-y: hidden;
123
+ white-space: nowrap;
124
+ z-index: 21;
125
+}
126
+.mainmenu a {
127
+ display: inline-block;
128
+ line-height: 1.4;
129
+ color: var(--muted);
130
+ text-decoration: none;
131
+ border-right: 1px solid var(--border);
132
+ font-weight: 500;
133
+}
134
+.mainmenu a.active, .mainmenu a:hover {
135
+ color: var(--text);
136
+ border-bottom: 2px solid var(--active);
137
+ text-decoration: none;
138
+}
139
+#hbbtn { font-size: 1.15em; min-width: 44px; text-align: center; }
140
+#hbbtn[aria-expanded="true"] { color: var(--text); background: var(--surface2); }
141
+
142
+/* Hamburger dropdown (hbmenu.js toggles display; a11y.js sets --nav-bottom) */
143
+nav#hbdrop {
144
+ background-color: var(--surface);
145
+ border: 1px solid var(--border);
146
+ border-top: none;
147
+ border-radius: 0 0 0.5em 0.5em;
148
+ display: none;
149
+ font-size: 0.95em;
150
+ position: fixed;
151
+ top: var(--nav-bottom, 88px);
152
+ left: 0; right: 0;
153
+ z-index: 200;
154
+ box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / 0.5);
155
+ overflow-x: hidden;
156
+ max-height: 75vh;
157
+ overflow-y: auto;
158
+}
159
+ul#sitemap {
160
+ padding: 1.25rem 1.5rem 1.5rem;
161
+ margin: 0;
162
+ list-style: none;
163
+ column-width: 14em;
164
+ column-gap: 2.5rem;
165
+}
166
+ul#sitemap > li {
167
+ list-style: none;
168
+ margin: 0 0 1.1rem;
169
+ break-inside: avoid;
170
+}
171
+ul#sitemap > li > a {
172
+ display: inline-block;
173
+ font-size: 0.78em;
174
+ font-weight: 600;
175
+ letter-spacing: 0.06em;
176
+ text-transform: uppercase;
177
+ color: var(--muted);
178
+ padding: 0.3rem 0;
179
+}
180
+ul#sitemap > li > a:hover { color: var(--text); text-decoration: none; }
181
+ul#sitemap ul { margin: 0.15rem 0 0; padding: 0; list-style: none; }
182
+ul#sitemap ul li { list-style: none; }
183
+ul#sitemap ul li a {
184
+ display: flex; align-items: center; box-sizing: border-box; /* text stays centered at any row height */
185
+ color: var(--text);
186
+ padding: 0.3rem 0.6rem;
187
+ margin-left: -0.6rem;
188
+ border-radius: 4px;
189
+ min-height: 36px;
190
+}
191
+ul#sitemap ul li a:hover { background: var(--surface2); color: var(--link-hover); text-decoration: none; }
192
+nav#hbdrop ul#sitemap { column-width: 14em; }
193
+ul#sitemap.columns { overflow-x: hidden; }
194
+
195
+/* Submenu row, like the default: a horizontal strip under the menu band */
196
+.submenu, .sectionmenu {
197
+ font-size: 0.9em;
198
+ padding: 8px 0;
199
+ margin-bottom: 4px;
200
+ border-bottom: 1px solid var(--border);
201
+ display: flex;
202
+ flex-wrap: wrap;
203
+ align-items: center;
204
+ gap: 0.25rem 0.5rem;
205
+}
206
+.submenu a, .submenu label, .sectionmenu a {
207
+ padding: 6px 10px;
208
+ text-decoration: none;
209
+ color: var(--link);
210
+ border: 1px solid transparent;
211
+ border-radius: 5px;
212
+ white-space: nowrap;
213
+}
214
+.submenu > a:first-child { margin-left: -10px; }
215
+.submenu a:hover, .submenu label:hover, .sectionmenu a:hover {
216
+ border-color: var(--border);
217
+ background: var(--surface);
218
+ color: var(--text);
219
+ text-decoration: none;
220
+}
221
+span.submenuctrl, span.submenuctrl input, select.submenuctrl { color: var(--muted); }
222
+span.submenuctrl { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.35rem; }
223
+.submenuckbox { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--text); cursor: pointer; }
224
+.submenu select, .submenu input[type=text], .sectionmenu select, .sectionmenu input[type=text] {
225
+ width: auto;
226
+ font-size: 0.95em;
227
+ padding: 0.3em 0.5em;
228
+}
229
+.submenu select, .sectionmenu select { padding-right: 1.9em; }
230
+.section {
231
+ font-size: 1em; font-weight: bold;
232
+ background-color: var(--surface);
233
+ border: 1px solid var(--border);
234
+ border-radius: 3px 3px 0 0;
235
+ padding: 9px 10px 10px;
236
+ margin: 10px 0;
237
+}
238
+.sectionmenu {
239
+ border: 1px solid var(--border);
240
+ border-radius: 0 0 3px 3px;
241
+ border-top: 0;
242
+ margin-top: -10px;
243
+ margin-bottom: 10px;
244
+}
245
+
246
+/* Content */
247
+.content { padding: 12px 0; color: var(--text); }
248
+.content h1 { font-size: 1.60em; color: var(--text); }
249
+.content h2 { font-size: 1.45em; color: var(--text); }
250
+.content h3 { font-size: 1.15em; color: var(--text); }
251
+.content h4 { font-size: 1.05em; color: var(--text); }
252
+.content h5 { font-size: 1.00em; color: var(--text); }
253
+.content pre, table.numbered-lines > tbody > tr { hyphens: none; line-height: 1.3; }
254
+.content ul:not(.browser) > li { list-style-type: disc; }
255
+div.filetree ul li.dir, div.filetree ul li.subdir, div.filetree ul li.file { list-style-type: none; }
256
+th { text-align: left; }
257
+
258
+/* User content: wiki, embedded docs, forum posts */
259
+.markdown blockquote, p.blockquote, .sidebar {
260
+ background-color: var(--surface);
261
+ border-left: 4px solid var(--link);
262
+}
263
+div.sidebar { outline: 1em solid var(--bg); }
264
+.artifact > .content > p > code, .artifact > .content > .markdown > p > code, .artifact > .content > .fossil-doc > p > code,
265
+.dir > .content > p > code, .dir > .content > .markdown > p > code,
266
+.doc > .content > p > code, .doc > .content > .markdown > p > code, .doc > .content > .fossil-doc > p > code,
267
+.forum > .content .markdown > p > code,
268
+.wiki > .content > p > code, .wiki > .content > .markdown > p > code, .wiki > .content > .fossil-doc > p > code,
269
+.content li > code, .content td > code {
270
+ background-color: var(--surface);
271
+ border: 1px solid var(--border);
272
+ border-radius: 3px;
273
+ padding: 0 4px;
274
+}
275
+.artifact > .content > pre, .artifact > .content > .markdown > pre, .artifact > .content > .fossil-doc > pre,
276
+.dir > .content > pre, .dir > .content > .markdown > pre,
277
+.doc > .content > pre, .doc > .content > .markdown > pre, .doc > .content > .fossil-doc > pre,
278
+.forum > .content .markdown > pre,
279
+.wiki > .content > pre, .wiki > .content > .markdown > pre, .wiki > .content > .fossil-doc > pre,
280
+pre.verbatim, pre.textPlain {
281
+ background-color: var(--surface);
282
+ border: 1px solid var(--border);
283
+ border-radius: 4px;
284
+ padding: 8px 10px;
285
+}
286
+pre.verbatim { white-space: pre-wrap; }
287
+.artifact > .content table, .dir > .content table, .doc > .content table, .wiki > .content table,
288
+.forum > .content .markdown table {
289
+ background-color: var(--surface);
290
+ border: 1px solid var(--border);
291
+ border-radius: 0.5em;
292
+ border-spacing: 0;
293
+ padding: 6px;
294
+}
295
+.artifact > .content th, .dir > .content th, .doc > .content th, .wiki > .content th,
296
+.forum > .content .markdown th {
297
+ border-bottom: 1px solid var(--border);
298
+ background-color: var(--surface2);
299
+ padding: 4px 6px;
300
+}
301
+.artifact > .content tr:nth-child(odd) td, .dir > .content tr:nth-child(odd) td,
302
+.doc > .content tr:nth-child(odd) td, .wiki > .content tr:nth-child(odd) td {
303
+ background-color: var(--stripe);
304
+}
305
+.artifact > .content td, .dir > .content td, .doc > .content td, .wiki > .content td,
306
+.forum Footer */
307
+footer {
308
+ border-top: 1px solid var(--border);
309
+ padding: 10px;
310
+ font-size: 0.85em;
311
+ margin-top: 10px;
312
+ color: var(--muted);
313
+ display: flex;
314
+ justify-content: space-between;
315
+ flex-wrap: wrap;
316
+ gap: 0.5rem;
317
+}
318
+
319
+/* Forum */
320
+.forum a:visited { color: var(--visited); }
321
+div.forumSel {
322
+ animation: 1s linear 0s sel-fade;
323
+ background-color: var(--bg);
324
+ border-left: 4px solid var(--link);
325
+}
326
+@keyframes sel-fade { from { background-color: var(--surface2); } to { background-color: var(--bg); } }
327
+.forum form input { margin: 0.5em 0; }
328
+div.forumTime, div.forumHier, div.forumHierRoot {
329
+ background: var(--surface) !important;
330
+ border: 1px solid var(--border) !important;
331
+ border-radius: 4px;
332
+ color: var(--text) !important;
333
+}
334
+div.forumTime.forumSel, div.forumHier.forumSel { border-color: var(--link) !important; }
335
+div.forumObs { opacity: 0.75; }
336
+div.forumPostBody, div.forumPostBody h1, div.forumPostBody h2, div.forumPostBody h3 { color: var(--text) !important; }
337
+.forum-post-collapser {
338
+ border-color: var(--border) !important;
339
+ background: var(--surface) !important;
340
+ color: var(--muted) !important;
341
+}
342
+.forum-post-collapser:hover { background: var(--surface2) !important; color: var(--text) !important; }
343
+div.searchForm { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1em 0; }
344
+
345
+/* Tickets and reports */
346
+table.report { cursor: auto; border: 1px solid var(--border); border-radius: 0.5em; margin: 1em 0; }
347
+.report td, .report th { border: 0; font-size: 0.9em; padding: 8px 10px; }
348
+.report th { cursor: pointer; background: var(--surface); }
349
+.report thead + tbody tr:hover { background-color: var(--surface2) !important; }
350
+body.report table.report tr td { color: var(--text) !important; }
351
+body.report table.report a { color: var(--link) !important; }
352
+td.tktDspLabel { width: 70px; text-align: right; overflow: hidden; color: var(--muted) !important; }
353
+td.tktDspValue {
354
+ text-align: left; vertical-align: top;
355
+ background-color: var(--surface) !important;
356
+ border: 1px solid var(--border) !important;
357
+ color: var(--text) !important;
358
+}
359
+td.tktDspValue pre { white-space: pre-wrap; }
360
+
361
+/* Timeline */
362
+span.timelineDetail { font-size: 90%; }
363
+div.timelineDate { font-weight: bold; white-space: nowrap; color: var(--muted); }
364
+table.timelineTable { padding: 0 3px; }
365
+table.timelineTable tr { border-radius: 1em; }
366
+.timelineModernCell, .timelineColumnarCell, .timelineDetailCell { border-radius: 0.5em; }
367
+.timelineModernCell[id], .timelineColumnarCell[id], .timelineDetailCell[id] { background-color: var(--surface); }
368
+.timelineModernDetail { opacity: 1; color: var(--muted); font-size: 0.9em; }
369
+.timelineModernComment { color: var(--text); }
370
+td.timelineTime { color: var(--muted); font-family: var(--mono); font-size: 0.9em; white-space: nowrap; }
371
+span.timelineHash { font-family: var(--mono); }
372
+tr.timelineSelected, tr.timelineSecondary { background-color: unset; }
373
+tr.timelineSelected td, span.timelineSelected { background-color: var(--sel-bg) !important; }
374
+tr.timelineSecondary td, span.timelineSecondary { background-color: var(--sec-bg) !important; }
375
+tr.timelineCurrent td:first-child, tr.timelineSecondary td:first-child, tr.timelineSelected td:first-child {
376
+ border-top-left-radius: 1em; border-bottom-left-radius: 1em;
377
+}
378
+tr.timelineCurrent td:last-child, tr.timelineSecondary td:last-child, tr.timelineSelected td:last-child {
379
+ border-top-right-radius: 1em; border-bottom-right-radius: 1em;
380
+}
381
+tr.timelineCurrent td { border-top: 1px dashed var(--muted); border-bottom: 1px dashed var(--muted); }
382
+tr.timelineCurrent td:first-child { border-left: 1px dashed var(--muted); }
383
+tr.timelineCurrent td:last-child { border-right: 1px dashed var(--muted); }
384
+
385
+/* Timeline graph: Fossil hardcodes black lines and white nodes */
386
+.tl-node { background: var(--link) !important; border-color: var(--text) !important; }
387
+.tl-node.leaf:after { background: var(--bg) !important; }
388
+.tl-node.closed-leaf svg { color: var(--bg) !important; }
389
+.tl-line { background-color: var(--muted); }
390
+.tl-line.warp { background: var(--yellow) !important; }
391
+.tl-line.cherrypick.h { border-top-color: var(--muted) !important; background: transparent !important; }
392
+.tl-line.cherrypick.v, .tl-line.dotted.v { border-left-color: var(--muted) !important; background: transparent !important; }
393
+.tl-arrow.u, .tl-arrow.u.sm { border-bottom-color: var(--muted) !important; }
394
+.tl-arrow.merge.l, .tl-arrow.cherrypick.l { border-right-color: var(--muted) !important; }
395
+.tl-arrow.merge.r, .tl-arrow.cherrypick.r { border-left-color: var(--muted) !important; }
396
+.tl-arrow.warp { border-left-color: var(--yellow) !important; }
397
+/* Branch colors are pastel inline backgrounds; darken them so text stays readable */
398
+/* Branch and user tints come from Fossil, already sized for this foreground */
399
+.tl-tooltip {
400
+ background: var(--surface2) !important; color: var(--text) !important;
401
+ border-color: var(--border) !important; box-shadow: 0 4px 16px rgb(var(--shadow-rgb) / 0.5) !important;
402
+}
403
+
404
+/* Lists and tables Fossil generates */
405
+table.sortable th, table.filelistTable th, .fileage th {
406
+ text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); cursor: pointer;
407
+}
408
+table.sortable td, table.filelistTable td, .fileage td { padding: 5px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
409
+table.sortable tr:hover td, .fileage tr:hover, div.filetreeline:hover { background: var(--surface) !important; }
410
+body.branch .brlist > table > tbody > tr:hover:not(.selected) { background: var(--surface) !important; }
411
+body.branch .brlist > table > tbody > tr.selected { background: var(--surface2) !important; }
412
+.branch-name, span.tagDsp {
413
+ display: inline-block; background: var(--surface2); border: 1px solid var(--border);
414
+ border-radius: 3px; color: var(--link); font-family: var(--mono); font-size: 0.85em; padding: 0 0.3em;
415
+}
416
+
417
+/* Diffs: Fossil's built-in colors are pale pastels */
418
+table.diff { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.9em; }
419
+td.difflnc, td.difflna, td.difflnb { color: var(--muted); padding: 0 0.5em; text-align: right; user-select: none; border-right: 1px solid var(--border); }
420
+td.difftext { padding: 0 0.5em; white-space: pre; }
421
+tr.diffskip, tr.diffskip.jchunk { background: var(--surface) !important; }
422
+tr.diffskip > td.chunkctrl .jcbutton { background: var(--surface2) !important; color: var(--muted) !important; border-radius: 3px; }
423
+tr.diffskip > td.chunkctrl .jcbutton:hover { color: var(--text) !important; }
424
+td.diffmkrl, td.diffmkrr, td.diffmkru { color: var(--muted); }
425
+tr.diffadd td { background: rgb(var(--green-rgb) / 0.10); }
426
+tr.diffrm td { background: rgb(var(--red-rgb) / 0.10); }
427
+tr.diffchng td { background: rgb(var(--yellow-rgb) / 0.07); }
428
+span.diffadd { color: var(--green); }
429
+span.diffrm { color: var(--red); }
430
+span.diffchng { color: var(--yellow); }
431
+td.diffln ins, td.difftxt ins, table.diff pre > ins { background-color: rgb(var(--green-rgb) / 0.16) !important; }
432
+td.diffln del, td.difftxt del, table.diff pre > del { background-color: rgb(var(--red-rgb) / 0.16) !important; }
433
+td.difftxt del > del, table.diff pre > del > del { background-color: rgb(var(--red-rgb) / 0.32) !important; }
434
+td.difftxt ins > ins, table.diff pre > ins > ins { background-color: rgb(var(--green-rgb) / 0.32) !important; }
435
+td.difftxt del > del.edit, td.difftxt ins > ins.edit,
436
+table.diff pre > del > del.edit, table.diff pre > ins > ins.edit { background-color: rgb(var(--link-rgb) / 0.25) !important; }
437
+
438
+/* Annotate / blame: inline pastel backgrounds from Fossil JS */
439
+td.annotateDate, td.annotateUser { color: var(--muted); font-family: var(--mono); font-size: 0.85em; padding: 0 0.5em; white-space: nowrap; border-right: 1px solid var(--border); }
440
+pre span[style*="background"], li span[style*="background"] {
441
+ background-image: linear-gradient(rgb(var(--veil-rgb) / 0.7), rgb(var(--veil-rgb) / 0.7)) !important;
442
+ border-radius: 3px; padding: 0.1em 0.25em;
443
+}
444
+
445
+/* Any inline pastel background Fossil emits (ticket reports and their key,
446
+ ticket pages, annotate legends, branch lists): darken it, keep the hue */
447
+tr[style*="background-color"], td[style*="background-color"], th[style*="background-color"],
448
+span[style*="background-color"], div[style*="background-color"], p[style*="background-color"] {
449
+ background-image: linear-gradient(rgb(var(--veil-rgb) / var(--veil, 0.35)), rgb(var(--veil-rgb) / var(--veil, 0.35))) !important;
450
+ color: var(--text);
451
+}
452
+tr[style*="background-color"] a, td[style*="background-color"] a, p[style*="background-color"] a { color: var(--link); }
453
+/* @dark-only: the light skin keeps Fossil's own ticket colors */
454
+/* Fossil's standard ticket status colors, mapped to tints instead of the generic overlay:
455
+ active / review / fixed / tested / deferred / closed / key label */
456
+tr[style*="#f2dcdc" i], td[style*="#f2dcdc" i], th[style*="#f2dcdc" i] { background-image: none !important; background-color: rgb(var(--red-rgb) / 0.22) !important; }
457
+tr[style*="#e8e8bd" i], td[style*="#e8e8bd" i], th[style*="#e8e8bd" i] { background-image: none !important; background-color: rgb(var(--yellow-rgb) / 0.20) !important; }
458
+tr[style*="#e8e8e8" i], td[style*="#e8e8e8" i], th[style*="#e8e8e8" i] { background-image: none !important; background-color: rgb(var(--yellow-rgb) / 0.14) !important; }
459
+tr[style*="#cfe8bd" i], td[style*="#cfe8bd" i], th[style*="#cfe8bd" i] { background-image: none !important; background-color: rgb(var(--green-rgb) / 0.20) !important; }
460
+tr[style*="#bde5d6" i], td[style*="#bde5d6" i], th[style*="#bde5d6" i] { background-image: none !important; background-color: rgb(var(--teal-rgb) / 0.20) !important; }
461
+tr[style*="#cacae5" i], td[style*="#cacae5" i], th[style*="#cacae5" i] { background-image: none !important; background-color: rgb(var(--violet-rgb) / 0.24) !important; }
462
+tr[style*="#c8c8c8" i], td[style*="#c8c8c8" i], th[style*="#c8c8c8" i] { background-image: none !important; background-color: rgb(var(--lift-rgb) / 0.05) !important; }
463
+tr[style*="#ffffff" i], td[style*="#ffffff" i], th[style*="#ffffff" i] { background-image: none !important; background-color: transparent !important; }
464
+table.report tr[style*="background-color"]:hover td { background-image: linear-gradient(rgb(var(--lift-rgb) / 0.05), rgb(var(--lift-rgb) / 0.05)) !important; }
465
+table.report td[style*="#ffffff" i], table.report tr[style*="#ffffff" i] td { color: var(--muted); }
466
+/* @end-dark-only */
467
+p[style*="border:1px solid"] { border-color: var(--border) !important; border-radius: 4px; padding: 0.6em 0.8em; }
468
+/* Pikchr: Fossil already draws white defaults because skin-detail is white-foreground; leave diagrams alone */
469
+
470
+/* Fossil's user and branch colors, muted toward the surface so they sit with the skin */
471
+table.timelineTable td[style*="background"] {
472
+ background-image: linear-gradient(rgb(var(--tint-rgb) / var(--tint-mute)), rgb(var(--tint-rgb) / var(--tint-mute))) !important;
473
+}
474
+body.chat .message-widget-content[style*="background"] {
475
+ background-image: linear-gradient(rgb(var(--tint-rgb) / var(--chat-mute)), rgb(var(--tint-rgb) / var(--chat-mute))) !important;
476
+}
477
+body.chat .message-widget-tab[style*="background"] { background-image: none !important; }
478
+body.chat .message-widget-content { box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / var(--bubble-shadow)) !important; }
479
+
480
+/* Misc Fossil UI elements with hardcoded light colors */
481
+div.debug { background: var(--surface) !important; border: 1px solid var(--border) !important; color: var(--muted) !important; padding: 0.75rem; }
482
+/* Inline debug markers, e.g. "(artifact-NNN)" on forum posts for admins: just quieter text */
483
+span.debug { background: none !important; border: none !important; padding: 0 !important; color: var(--muted) !important; font-size: 0.85em; }
484
+span.debug a { color: var(--muted); }
485
+span.debug a:hover { color: var(--link); }
486
+span.error { background: rgb(var(--yellow-rgb) / 0.18) !important; color: var(--yellow) !important; padding: 0.1em 0.25em; border-radius: 3px; }
487
+mark { background: rgb(var(--yellow-rgb) / 0.25); color: var(--text); padding: 0.1em 0.25em; border-radius: 3px; }
488
+div.sideboxTitle { color: var(--title); font-weight: 600; }
489
+div.sidebox { background: var(--surface); border: 1px solid var(--border) !important; border-radius: 4px; margin: 0 0 1em 1.5em; padding: 0.75em; }
490
+.disabled { color: var(--red); }
491
+.modpending { color: var(--yellow); }
492
+.fossil-tooltip.help-buttonlet-content { background-color: var(--surface2); color: var(--text); border: 1px solid var(--border); }
493
+.fossil-tooltip { background: var(--surface2) !important; color: var(--text) !important; border-color: var(--border) !important; }
494
+td.capsumRead { background: rgb(var(--green-rgb) / 0.15) !important; color: var(--green); }
495
+td.capsumWrite { background: rgb(var(--yellow-rgb) / 0.15) !important; color: var(--yellow); }
496
+td.capsumOff { background: rgb(var(--muted-rgb) / 0.1) !important; color: var(--muted); }
497
+table.login_out { margin: 1em 0; }
498
+td.login_out_label { color: var(--muted); padding: 0.4em 0.75em 0.4em 0; }
499
+.help-buttonlet { color: var(--link); cursor: pointer; }
500
+
501
+/* Status text Fossil colors pure red / blue / black */
502
+span.disabled, span.wikiError, span.loginError, span.tktError, span.brokenlink, span.thTrace,
503
+p.generalError, p.tktsetupError, p.xfersetupError, p.thmainError, p.reportError, blockquote.reportError,
504
+pre.th1error, span.ueditInheritDeveloper, td.tktTlOpen,
505
+div.markdown ol.footnotes > li.fn-misreference > span, div.markdown ol.footnotes > li.fn-unreferenced > code,
506
+div.markdown sup.noteref.misref, div.markdown sup.noteref.misref > a { color: var(--red) !important; }
507
+span.ueditInheritAnonymous, p.missingPriv, p.noMoreShun, p.shunned { color: var(--link) !important; }
508
+span.ueditInheritReader { color: var(--text) !important; }
509
+blockquote.reportError, p.generalError { background: rgb(var(--red-rgb) / 0.1); border: 1px solid rgb(var(--red-rgb) / 0.4); border-radius: 4px; padding: 0.6em 0.8em; }
510
+/* Fossil also puts class="error" on <body> and colors it yellow; keep the page as it is */
511
+body.error, body.warning { background: var(--bg) !important; color: var(--text) !important; }
512
+.error:not(body), .warning:not(body) { background: rgb(var(--yellow-rgb) / 0.18) !important; color: var(--yellow) !important; border-radius: 3px; padding: 0.1em 0.3em; }
513
+table.numbered-lines td.line-numbers span.selected-line { color: var(--text) !important; background-color: rgb(var(--link-rgb) / 0.22) !important; }
514
+.fossil-toast-message { background: var(--surface2) !important; color: var(--text) !important; border: 1px solid var(--border) !important; border-radius: 6px !important; box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / 0.5) !important; }
515
+.fossil-toast-message.error, .fossil-toast-message.warning { background: var(--warn-bg) !important; color: var(--yellow) !important; border-color: var(--yellow) !important; }
516
+.fossil-toast-message.error { color: var(--red) !important; border-color: var(--red) !important; background: var(--err-bg) !important; }
517
+
518
+/* Wiki / file editor tabs */
519
+.tab-container .tab-bar { display: flex; flex-wrap: wrap; gap: 0.25rem; border-bottom: 1px solid var(--border); }
520
+.tab-container .tab-button {
521
+ padding: 0.4em 0.9em; border: 1px solid transparent; border-bottom: none; border-radius: 5px 5px 0 0;
522
+ background: transparent; color: var(--muted); font-family: var(--font); font-size: 0.95em; cursor: pointer; margin-bottom: -1px;
523
+}
524
+.tab-container .tab-button:hover { color: var(--text); background: var(--surface); }
525
+.tab-container .tab-button.selected { color: var(--text); background: var(--surface); border-color: var(--border); border-bottom-color: var(--surface); }
526
+#fossil-status-bar { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; color: var(--muted); font-family: var(--mono); font-size: 0.85em; padding: 0.4em 0.75em; margin: 0.5em 0; }
527
+.wikiedit-options, .fileedit-options { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; padding: 0.5em; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; margin-bottom: 0.5em; }
528
+.wikiedit-options .input-with-label, .fileedit-options .input-with-label { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
529
+#wikiedit-tab-content textarea, #fileedit-tab-content textarea { min-height: 300px; width: 100%; }
530
+.tab-container fieldset { border: 1px solid var(--border); border-radius: 4px; }
531
+.tab-container fieldset legend { color: var(--muted); }
532
+button.wikiedit-content-reload, button.fileedit-content-reload { min-width: unset !important; max-width: unset !important; }
533
+
534
+/* Chat: Fossil sets inline pastel backgrounds per user */
535
+/* Each message keeps the user's color, which Fossil already picks for this
536
+ skin's foreground (white-foreground); only messages without one get --surface. */
537
+body.chat .message-widget-content {
538
+ background-color: var(--surface); border: 1px solid var(--border) !important;
539
+ border-radius: 6px !important; color: var(--text) !important; padding: 0.5em 0.75em !important;
540
+}
541
+body.chat .message-widget-tab { background: transparent !important; color: var(--muted) !important; border: none !important; font-size: 0.9em !important; }
542
+body.chat .message-widget-tab[style*="background"] { background-image: none !important; }
543
+body.chat .message-widget-tab .xfrom { color: var(--link) !important; font-weight: 600 !important; }
544
+body.chat #chat-input-line-wrapper { border: 1px solid var(--border) !important; border-radius: 6px !important; background: var(--input-bg) !important; }
545
+body.chat #chat-input-line-wrapper:focus-within { border-color: var(--link) !important; }
546
+body.chat .chat-input-field { border: none !important; background: transparent !important; color: var(--text) !important; font-family: var(--font) !important; font-size: 1em !important; }
547
+body.chat .cbutton { border: 1px solid var(--border) !important; background: var(--surface) !important; border-radius: 4px !important; }
548
+body.chat .cbutton:hover { background: var(--surface2) !important; }
549
+body.chat fieldset { border: 1px solid var(--border) !important; border-radius: 4px !important; background: var(--surface) !important; }
550
+body.chat .menu-entry { background: var(--surface) !important; border: 1px solid var(--border) !important; color: var(--text) !important; }
551
+body.chat .menu-entry:hover, body.chat .menu-entry.parent { background: var(--surface2) !important; }
552
+body.chat .message-widget .match { background: rgb(var(--yellow-rgb) / 0.25) !important; color: var(--text) !important; }
553
+body.chat .chat-message-popup { background: var(--surface2) !important; border: 1px solid var(--border) !important; color: var(--text) !important; }
554
+body.chat .message-widget-content img { max-width: 100% !important; border-radius: 4px !important; }
555
+
556
+/* Chat toolbar: Fossil renders the buttons as emoji; mask them with icons, keep the spans intact */
557
+body.chat #chat-buttons-wrapper > .cbutton {
558
+ position: relative !important;
559
+ font-size: 0 !important;
560
+ color: transparent !important;
561
+ min-width: 44px !important; max-width: 44px !important;
562
+ min-height: 36px !important; height: 36px !important;
563
+ background: var(--surface) !important;
564
+ border: 1px solid var(--border) !important;
565
+ border-radius: 6px !important;
566
+}
567
+body.chat #chat-buttons-wrapper > .cbutton::after {
568
+ content: ""; position: absolute; inset: 0; margin: auto;
569
+ width: 22px; height: 22px;
570
+ background-color: var(--muted);
571
+ -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
572
+}
573
+body.chat #chat-buttons-wrapper > .cbutton:hover { background: var(--surface2) !important; border-color: var(--muted) !important; }
574
+body.chat #chat-buttons-wrapper > .cbutton:hover::after { background-color: var(--text); }
575
+body.chat #chat-buttons-wrapper > #chat-button-submit { background: var(--link) !important; border-color: var(--link) !important; min-width: 64px !important; max-width: 64px !important; }
576
+body.chat #chat-buttons-wrapper > #chat-button-submit::after { background-color: var(--on-accent); }
577
+body.chat #chat-buttons-wrapper > #chat-button-submit:hover { background: var(--link-hover) !important; }
578
+body.chat #chat-button-preview { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z%22/%3E%3C/svg%3E"); }
579
+body.chat #chat-button-search { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z%22/%3E%3C/svg%3E"); }
580
+body.chat #chat-button-attach { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M209.66,122.34a8,8,0,0,1,0,11.32l-82.05,82a56,56,0,0,1-79.2-79.21L147.67,35.73a40,40,0,1,1,56.61,56.55L105,193A24,24,0,1,1,71,159L154.3,74.38A8,8,0,1,1,165.7,85.6L82.39,170.31a8,8,0,1,0,11.27,11.36L192.93,81A24,24,0,1,0,159,47L59.76,147.68a40,40,0,1,0,56.53,56.62l82.06-82A8,8,0,0,1,209.66,122.34Z%22/%3E%3C/svg%3E"); }
581
+body.chat #chat-button-settings { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z%22/%3E%3C/svg%3E"); }
582
+body.chat #chat-button-submit { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z%22/%3E%3C/svg%3E"); }
583
+
584
+/* Screen sizes, as in the default skin */
585
+@media screen and (max-width: 600px) {
586
+ body { padding-left: 12px; padding-right: 12px; }
587
+ .content { font-size: 0.95em; }
588
+ header { gap: 10px; padding: 10px 0 8px; }
589
+ div.logo img, img.logo-mark { width: 36px; height: 36px; }
590
+ .title h1, .title .project-name { font-size: 1.5em; }
591
+ .title > .page-title { display: inline; }
592
+ .artifact .title > .page-title, .dir .title > .page-title,
593
+ .doc .title > .page-title, .wiki .title > .page-title { display: none; }
594
+ .mainmenu a { padding: 10px 12px; }
595
+ .mainmenu { padding: 0; }
596
+ nav#hbdrop ul#sitemap, ul#sitemap.columns { columns: 1 !important; column-width: auto !important; }
597
+ .submenu { padding: 6px 0; }
598
+ td.timelineTime { font-size: 0.8em; }
599
+}
600
+@media screen and (min-width: 600px) {
601
+ body { padding-left: 20px; padding-right: 20px; }
602
+ .mainmenu a { padding: 12px 20px; }
603
+ .mainmenu { padding: 0; }
604
+ .content dd, .content dt, .content div, .content li, .content p, .content table { line-height: 1.45em; }
605
+ /* Keep running text a comfortabd Dark skin
606
+ A dark rendering of Fossil's default skin: same layout, same sizes, same
607
+ menu band and submenu row. Colors are chosen for WCAG AA contrast on a
608
+ near-black page: body text 13:1, muted text 7:1, links 7:1.
609
+ Functional dark-theme overrides for Fossil's hardcoded light colors
610
+ (timeline graph, diffs, chat, forum, tickets) are kept at the end.
611
+ Uses system fonts; no external font resources are needed. */
612
+
613
+
614
+:root {
615
+ --bg: #1c1e22; /* page */
616
+ --surface: #272a30; /* menu band, cards, code blocks */
617
+ --surface2: #31353d; /* hover states, selected rows */
618
+ --border: #41454e;
619
+ --text: #e8e9eb; /* 13:1 on --bg */
620
+ --muted: #b3b8c0; /* 7.3:1 on --bg */
621
+ --link: #7fb6ef; /* 7.2:1 on --bg; Fossil default's #3779BF, lightened */
622
+ --link-hover: #a3cbf5;
623
+ --link-on-tint: var(--link); /* links on Fossil's colored rows */
624
+ --title: #8cbdf0; /* project title, like the default's #4183C4 */
625
+ --active: #f08a3c; /* active menu underline; default's #D26911, lightened */
626
+ --green: #6fd48f;
627
+ --red: #f08a7e;
628
+ --yellow: #f2c94c;
629
+ --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
630
+ --mono: ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
631
+ color-scheme: dark;
632
+ --input-bg: #15171a; --on-accent: #0b0d10; --visited: #a6b8e8;
633
+ --sel-bg: #4a3a2a; --sec-bg: #2a3a4a; --stripe: #2b2e34; --rule: #2c2f35;
634
+ --btn-hover: #3b4049; --band-top: #2d3037; --warn-bg: #3a2f12; --err-bg: #3a2220;
635
+ --green-rgb: 111 212 143; --red-rgb: 240 138 126; --yellow-rgb: 242 201 76;
636
+ --link-rgb: 127 182 239; --teal-rgb: 79 209 197; --violet-rgb: 140 150 240;
637
+ --muted-rgb: 179 184 192; --veil-rgb: 28 30 34; --lift-rgb: 255 255 255; --shadow-rgb: 0 0 0;
638
+ --tint-rgb: 39 42 48; --tint-mute: 0.4; --chat-mute: 0.3; --bubble-shadow: 0.35; --popup-shadow: 0.5;
639
+}
640
+
641
+/* Base, matching the default skin's sizing */
642
+body {
643
+ box-sizing: border-box;
644
+ min-height: 100vh;
645
+ min-height: 100dvh;
646
+ display: flex;
647
+ flex-direction: column;
648
+ margin: 0 auto;
649
+ background-color: var(--bg);
650
+ color: var(--text);
651
+ font-family: var(--font);
652
+ font-size: 16px;
653
+ line-height: 1.45;
654
+}
655
+a { color: var(--link); text-decoration: none; }
656
+a:hover { color: var(--link-hover); text-decoration: underline; }
657
+a:visited { color: var(--visited); }
658
+code, pre, tt, kbd, samp, var { font-family: var(--mono); }
659
+code, tt, kbd, samp { font-size: 0.94em; }
660
+pre { font-size: 0.92em; line-height: 1.35; overflow-x: auto; }
661
+hr { border: none; border-top: 1px solid var(--border); }
662
+blockquote { border-left: 3px solid var(--border); margin: 0.5em 0; padding: 0.1em 1em; }
663
+img { max-width: 100%; }
664
+
665
+/* Title area above the menu bar */
666
+header { display: flex; align-items: center; gap: 14px; padding: 14px 0 12px; }
667
+.skip-nav {
668
+ position: absolute; top: -100%; left: 0;
669
+ background: var(--link); color: var(--on-accent);
670
+ padding: 0.5rem 1.25rem; font-weight: 600; z-index: 9999;
671
+ border-radius: 0 0 6px 0;
672
+}
673
+.skip-nav:focus { top: 0; outline: 2px solid #fff; outline-offset: -4px; }
674
+
675
+div.logo { display: flex; flex-shrink: 0; }
676
+div.logo img, img.logo-mark { width: 48px; height: 48px; object-fit: cover; display: block; border-radius: 6px; }
677
+.hub-link:hover img { opacity: 0.85; }
678
+
679
+.title { min-width: 0; color: var(--title); line-height: 1.2; }
680
+.title h1, .title .project-name {
681
+ display: inline;
682
+ font-size: 2.2em;
683
+ font-weight: bold;
684
+ color: var(--title);
685
+ text-decoration: none;
686
+}
687
+.title .project-name:hover { color: var(--link-hover); text-decoration: none; }
688
+.title h1:after, .title .project-name:after {
689
+ content: " / "; color: var(--muted); font-weight: normal;
690
+}
691
+span.page-title { font-size: 18px; color: var(--text); }
692
+/* Hidden from view but not display:none: Fossil's forum script sizes its
693
+ expand control from the height of the first h1 on the page, and loops
694
+ forever if that height is 0. This also keeps the heading for screen readers. */
695
+h1.page-title {
696
+ font-size: 1.6em; color: var(--text);
697
+ display: block; position: absolute; widthrendering of Fossi, .forum > .contentsvg%3E"); }
698
+
699
+/* Screen { max-width: 70emainmenu { padding: 0; > p,ay: none; }
700
+ .mage/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z%22/%3E%3C/svg%3E"); }
701
+
702
+/* Screen sizes, as in the default skin */
703
+@media screen and (max-width: 600px) {
704
+ body { padding-left: 12px; padding-right: 12px; }
705
+ .content { font-size: 0.95em; }
706
+ header { gap: 10px; padding: 10px 0 8px; }
707
+ div.logo img, img.logo-mark { width: 36px; height: 36px; }
708
+ .title h1, .title .project-name { font-size: 1.5em; }
709
+ .title > .page-title { display: inline; }
710
+ .artifact .title > .page-title, .dir .title > .page-title,
711
+ .doc .title > .page-title, .wiki .title > .page-title { display: none; }
712
+ .mainmenu a { padding: 10px 12px; }
713
+ .mainmenu { padding: 0; }
714
+ nav#hbdrop ul#sitemap, ul#sitemap.columns { columns: 1 !important; column-width: auto !important; }
715
+ .submenu { padding: 6px 0; }
716
+ td.timelineTime { font-size: 0.8em; }
717
+}
718
+@media screen and (min-width: 600px) {
719
+ body { padding-left: 20px; padding-right: 20px; }
720
+ .mainmenu a { padding: 12px 20px; }
721
+ .mainmenu { padding: 0; }
722
+ .content dd, .content dt, .content div, .content li, .content p, .content table { line-height: 1.45em; }
723
+ /* Fossil renders a document's title outside .content. Match its h1 inset. */
724
+ body.doc > h1.page-title {
725
+ box-sizing: border-box;
726
+ width: 100%;
727
+ margin-inline: 0;
728
+ padding-inline: 10pt;
729
+ }
730
+ .doc > .content > p, .doc > .content > .markdown > p, .doc > .content > .fossil-doc > p,
731
+ .doc > .content > ol, .doc > .content > ul, .doc > .content > .markdown > ol, .doc > .content > .markdown > ul,
732
+ .wiki > .content > p, .wiki > .content > .markdown > p, .wiki > .content > .fossil-doc > p,
733
+ .wiki > .content > ol, .wiki > .content > ul, .wiki > .content > .markdown > ol, .wiki > .content > .markdown > ul,
734
+ .artifact > .content > .markdown > p, .artifact > .content > .markdown > ol, .artifact > .content > .markdown > ul,
735
+ .doc > .content > .markdown > table, .wiki > .content > .markdown > table, .artifact > .content > .markdown > table {
736
+ margin-left: 30pt; margin-right: 30pt;
737
+ }
738
+ .doc > .content > pre, .doc > .content > .markdown > pre, .doc > .content > .fossil-doc > pre,
739
+ .wiki > .content > pre, .wiki > .content > .markdown > pre,
740
+ .artifact > .content > .markdown > pre { margin-left: 40pt; margin-right: 30pt; }
741
+ .forum > .content .markdown > pre { margin-left: 20pt; }
742
+ .doc > .content h1, .wiki .content h1, .artifact .content h1 { margin-left: 10pt; }
743
+ .doc > .content h2, .wiki .content h2, .artifact .content h2 { margin-left: 15pt; }
744
+ .doc > .content h3, .wiki .content h3, .artifact .content h3 { margin-left: 20pt; }
745
+ .doc > .content > blockquote, .wiki > .content > blockquote { margin-left: 50pt; }
746
+ .doc > .content > .markdown > blockquote, .wiki > .content > .markdown > blockquote { margin-left: 40pt; }
747
+ .content .pikchr-wrapper, div.pikchr-wrapper.indent:not(.source) { margin-left: 40pt; }
748
+ div.pikchr-wrapper.center:not(.source), div.pikchr-wrapper.float-right:not(.source) { margin-left: 0; }
749
+}
750
+
751
+/* Chat bubbles: messaging-app corners; your own messages, when Fossil puts
752
+ them on the right (its my-messages-right layout, the default in tall
753
+ windows), point the other way */
754
+body.chat .message-widget:not(.notification) .message-widget-content { border-radius: 12px 12px 12px 4px !important; }
755
+body.chat.my-messages-right .message-widget.mine .message-widget-content { border-radius: 12px 12px 4px 12px !important; }
756
+body.chat.my-messages-right .message-widget.mine .message-widget-tab { text-align: right; }
757
+
758
+/* Message options popup (click a message's header): one card, quiet
759
+ timestamps, buttons sized for touch */
760
+body.chat .chat-message-popup {
761
+ font-family: var(--font) !important; font-size: 0.9em !important;
762
+ background: var(--surface2) !important; border: 1px solid var(--border) !important;
763
+ border-radius: 10px !important; padding: 0.65em !important; gap: 0.45em;
764
+ box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / var(--popup-shadow)) !important;
765
+ max-width: min(26rem, calc(100vw - 2rem));
766
+}
767
+body.chat .chat-message-popup > span { font-family: var(--mono); font-size: 0.85em; color: var(--muted); white-space: normal; }
768
+body.chat .chat-message-popup > .toolbar { border: none !important; gap: 0.4em; margin: 0 !important; flex-wrap: wrap; }
769
+body.chat .chat-message-popup > .toolbar > * { margin: 0 !important; }
770
+body.chat .chat-message-popup > .toolbar > button,
771
+body.chat .chat-message-popup > .toolbar > a {
772
+ flex: 1 1 auto; min-height: 36px; display: inline-flex; align-items: center; justify-content: center;
773
+ padding: 0.35em 0.8em; border: 1px solid var(--border); border-radius: 6px;
774
+ background: var(--surface); color: var(--text); font-family: var(--font); font-size: 1em; text-decoration: none;
775
+}
776
+body.chat .chat-message-popup > .toolbar > a { color: var(--link); }
777
+body.chat .chat-message-popup > .toolbar > button:hover,
778
+body.chat .chat-message-popup > .toolbar > a:hover { background: var(--btn-hover); border-color: var(--muted); text-decoration: none; }
779
+/* "Delete globally" removes the message for everyone */
780
+body.chat .chat-message-popup > div.toolbar:nth-of-type(1) > button:nth-child(2) { color: var(--red); }
781
+@media (pointer: coarse), (max-width: 600px) {
782
+ body.chat .chat-message-popup > .toolbar > button,
783
+ body.chat .chat-message-popup > .toolbar > a { min-height: 44px; }
784
+}
785
+
786
+/* Phones: the page itself never scrolls sideways */
787
+body.chat .chat-message-popup { z-index: 200 !important; }
788
+@media screen and (max-width: 600px) {
789
+ table.label-value td { white-space: normal !important; overflow-wrap: anywhere; }
790
+ table.label-value td .nobr, table.label-value td .nobr *,
791
+ td.tktDspValue .nobr, td.tktDspValue .nobr * { white-space: normal !important; word-break: break-all; }
792
+ .content table.sortable, .content table.report, .content table.userTable {
793
+ display: block; max-width: 100%; overflow-x: auto;
794
+ }
795
+ .title h1, .title .project-name { font-size: 1.3em; }
796
+}
797
+
798
+/* Hamburger menu. hbmenu.js toggles it instantly (data-anim-ms="0" in the
799
+ header); the skin slides it in. */
800
+@keyframes hb-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
801
+nav#hbdrop { animation: hb-in 160ms ease-out; top: var(--nav-bottom, 88px); }
802
+@media screen and (max-width: 600px), (pointer: coarse) {
803
+ /* A sheet from under the nav bar to the bottom of the screen, scrolling
804
+ on its own, with the page behind it held still */
805
+ nav#hbdrop {
806
+ bottom: 0; max-height: none; border-radius: 0; border-left: 0; border-right: 0;
807
+ overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
808
+ }
809
+ html:has(#hbdrop[style*="display: block"]) { overflow: hidden; }
810
+ /* Keep the nav bar, and its close button, on screen while the menu is open */
811
+ html:has(#hbdrop[style*="display: block"]) nav.mainmenu { position: sticky; top: 0; }
812
+ ul#sitemap ul li a { min-height: 44px; display: flex; align-items: center; }
813
+}
814
+@media (prefers-reduced-motion: reduce) { nav#hbdrop { animation: none; } }
815
+
816
+/* Menu bar: every item carries the 2px underline slot, transparent until
817
+ hover or active, so highlighting never changes any item's or the bar's height */
818
+.mainmenu a { border-bottom: 2px solid transparent; }
819
+.mainmenu a.active, .mainmenu a:hover { border-bottom-color: var(--active); }
820
+#hbbtn { line-height: 1.4; font-size: 1em; }
821
+
822
+/* Logo: show any repository's logo whole in the same 48px box (36px on
823
+ phones); a square logo looks exactly as before */
824
+div.logo img, img.logo-mark { object-fit: contain; }
825
+
826
+/* Menu bar as a flex row: the whitespace between items in the header no
827
+ longer leaves 4px gaps, so each underline meets the divider beside it */
828
+.mainmenu { display: flex; }
829
+.mainmenu a { flex: 0 0 auto; }
830
+
831
+/* Weekday above each timeline date. The line is reserved here, before any
832
+ script runs, so the rows already have their final height when Fossil
833
+ draws the timeline jumped.) */
834
+div.timelineDate::before {
835
+ content: attr(data-dow); display: block; min-height: 1.2em;
836
+ font-size: 0.8em; font-weight: 400; opacity: 0.85; line-height: 1.2; margin-bottom: 0.1em;
837
+}
838
+
839
+
840
+/* The chat's "Load..." bar: a small label over one row of buttons, without
841
+ the box Fossil's fieldset would draw around them */
842
+body.chat fieldset#load-msg-toolbar {
843
+ border: none !important; background: transparent !important;
844
+ padding: 0.5em 0 0 !important; margin: 0 0 1em !important;
845
+}
846
+body.chat #load-msg-toolbar > legend { font-size: 0.85em; color: var(--muted); padding: 0 0 0.35em; }
847
+body.chat #load-msg-toolbar > div { gap: 0.5em; }
848
+body.chat #load-msg-toolbar > div > button { border-radius: 6px; }
849
+
850
+
851
+/* ── Fixes from the page-by-page audit ─────────────────────────────────── */
852
+
853
+/* Fields Fossil emits with no type, or type="input" (forum title, ticket
854
+ e-mail), which the input[type=text] rule above does not match */
855
+input:not([type]), input[type=input] {
856
+ background: var(--input-bg); border: 1px solid var(--border); border-radius: 4px;
857
+ color: var(--text); font-family: var(--font); font-size: 1em; padding: 0.35em 0.6em;
858
+}
859
+input[type=file]::file-selector-button {
860
+ background: var(--surface2); border: 1px solid var(--border); border-radius: 4px;
861
+ color: var(--text); font-family: var(--font); font-size: 0.95em; padding: 0.35em 0.8em;
862
+ margin-right: 0.6em; cursor: pointer;
863
+}
864
+input[type=file]::file-selector-button:hover { background: var(--btn-hover); border-color: var(--muted); }
865
+
866
+/* Forum subjects may shrink below a long word on narrow screens. */
867
+@media screen and (max-width: 600px) {
868
+ body.forum td.subject { overflow-wrap: anywhere; }
869
+}
870
+
871
+/* Long hashes in titles and headings wrap instead of widening the page */
872
+.title, span.page-title, .content h1, .content h2, .content h3 { overflow-wrap: anywhere; }
873
+.title { min-width: 0; }
874
+.content :not(pre) > code { overflow-wrap: break-word; }
875
+.markdown p, .markdown li { overflow-wrap: break-word; }
876
+
877
+/* Rendered markdown looks the same wherever it appears (the wiki editor's
878
+ preview nests it deeper than the page does) */
879
+.markdown pre {
880
+ background-color: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 8px 10px;
881
+}
882
+.markdown p > code, .markdown li > code, .markdown td > code {
883
+ background-color: var(--surface); border: 1px solid var(--border); border-radius: 3px; padding: 0 4px;
884
+}
885
+
886
+/* Chat: a bubble holding an attachment stays inside its column */
887
+body.chat .message-widget-content { box-sizing: border-box; max-width: 100%; }
888
+body.chat .chat-message-popup > .toolbar { align-items: stretch; }
889
+body.chat .chat-message-popup > .toolbar > a { display: inline-flex; align-items: center; }
890
+
891
+/* Activity-report charts: a11y.js gives them a viewBox so they can shrink */
892
+.content svg.fit { max-width: 100%; height: auto; }
893
+
894
+/* Contrast: links on Fossil's colored rows, closed tickets in the timeline,
895
+ the fourth capability marker */
896
+body.report table.report tr[style*="background-color"] a,
897
+table.timelineTable td[style*="background"] a { color: var(--link-on-tint) !important; }
898
+td.tktTlClosed { color: var(--muted); }
899
+span.ueditInheritNobody { color: var(--green) !important; }
900
+
901
+/* Ticket view: a label alone in its row ("Description:") sits at the left,
902
+ like "User Comments:" below it */
903
+td.tktDspLabel:only-child { text-align: left; }
904
+
905
+/* Bare <table border="1"> (user categories, unversioned files) */
906
+.content table[border="1"] { border-collapse: collapse; border-color: var(--border); }
907
+.content table[border="1"] > * > tr > td, .content table[border="1"] > * > tr > th { border: 1px solid var(--border); padding: 4px 8px; }
908
+
909
+/* Lists Fossil marks list-style:none keep no bullets */
910
+.content ul[style*="list-style"] > li { list-style-type: inherit; }
911
+
912
+/* Main menu: the full bar on every screen. The menu button stays pinned at
913
+ the left while the entries scroll sideways beneath it, and a fade at the
914
+ right edge shows there is more. (Fossil would hide entries marked
915
+ desktoponly / wideonly on small screens; the display set on ".mainmenu a"
916
+ above keeps them, on purpose.) */
917
+#hbbtn {
918
+ position: sticky; left: 0; z-index: 2;
919
+ background: var(--surface) linear-gradient(var(--band-top), var(--surface));
920
+}
921
+.mainmenu::after {
922
+ content: ""; flex: 0 0 28px; position: sticky; right: 0; pointer-events: none;
923
+ background: var(--surface) linear-gradient(var(--band-top), var(--surface));
924
+ -webkit-mask-image: linear-gradient(to right, transparent, #000 85%); mask-image: linear-gradient(to right, transparent, #000 85%);
925
+}
926
+
927
+/* Phone menu sheet: top-level entries are destinations, so they read as
928
+ links in 44px rows */
929
+@media screen and (max-width: 600px), (pointer: coarse) {
930
+ ul#sitemap { padding: 0.5rem 1rem 1.5rem; }
931
+ ul#sitemap > li { margin: 0; border-bottom: 1px solid var(--rule); }
932
+ ul#sitemap > li > a {
933
+ display: flex; align-items: center; min-height: 44px; box-sizing: border-box;
934
+ font-size: 1em; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text);
935
+ }
936
+ ul#sitemap ul { margin: 0 0 0.4rem; }
937
+ ul#sitemap ul li a { box-sizing: border-box; min-height: 44px; padding-left: 1rem; color: var(--link); }
938
+
939
+ /* Touch targets */
940
+ .submenu a, .submenu label, .sectionmenu a { min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
941
+ input[type=text], input[type=password], input[type=email], input[type=search], input[type=number],
942
+ input:not([type]), input[type=input], select, input[type=submit], input[type=button], button {
943
+ min-height: 44px; box-sizing: border-box;
944
+ }
945
+ input[type=checkbox], input[type=radio] { width: 20px; height: 20px; }
946
+}
947
+
948
+@media screen and (max-width: 600px) {
949
+ /* A long unbroken word in a timeline row (a mirrored e-mail address as the
950
+ login, a path in the comment) wraps instead of widening the page */
951
+ table.timelineTable td.timelineModernCell, table.timelineTable td.timelineDetailCell,
952
+ .timelineModernComment, .timelineModernDetail,
953
+ .content table.timelineTable td.timelineModernCell * { overflow-wrap: anywhere; }
954
+
955
+ /* Forms and their fields never exceed the screen */
956
+ .content form { max-width: 100%; }
957
+ .content textarea, .content input:not([type=checkbox]):not([type=radio]), .content select { max-width: 100%; box-sizing: border-box; }
958
+ body.forum .content form { display: block; }
959
+
960
+ /* Markdown tables scroll inside themselves, like sortable tables */
961
+ .content table.md-table, .markdown table { display: block; max-width: 100%; overflow-x: auto; }
962
+
963
+ /* Ticket reports: one line per row inside the scrolling table */
964
+ .content table.report td { white-space: nowrap; }
965
+ .content table.report td:last-child { white-space: normal; min-width: 12em; max-width: 18em; }
966
+
967
+ /* Tickets: Fossil's label | value tables become label above value */
968
+ body.tkt .content form > table, body.tkt .content > table[cellpadding],
969
+ body.tkt .content form > table > tbody, body.tkt .content > table[cellpadding] > tbody,
970
+ body.tkt .content form > table > tbody > tr, body.tkt .content > table[cellpadding] > tbody > tr { display: block; }
971
+ body.tkt .content form > table > tbody > tr > td, body.tkt .content > table[cellpadding] > tbody > tr > td {
972
+ display: block; width: auto; text-align: left; padding: 2px 0;
973
+ }
974
+ body.tkt .content > table[cellpadding] > tbody > tr > td.tktDspLabel { padding: 12px 0 3px; font-size: 0.9em; color: var(--muted); }
975
+ body.tkt .content > table[cellpadding] > tbody > tr > td.tktDspValue { padding: 6px 10px; border-radius: 4px; min-height: 1.4em; overflow-wrap: anywhere; }
976
+ body.tkt .content form > table > tbody > tr > td:nth-child(3) { color: var(--muted); font-size: 0.9em; }
977
+ body.tkt .content form > table > tbody > tr > td[align=right] { padding-top: 12px; color: var(--muted); }
978
+
979
+ /* File ages: age and file on one line, the check-in below */
980
+ body.fileage .content table:not(.timelineTable), body.fileage .content table:not(.timelineTable) > * { display: block; }
981
+ body.fileage .content table:not(.timelineTable) tr { display: grid; grid-template-columns: 6.5em 1fr; border-bottom: 1px solid var(--rule); }
982
+ body.fileage .content table:not(.timelineTable) td { border: 0; overflow-wrap: anywhere; }
983
+ body.fileage .content table:not(.timelineTable) td:nth-child(3), body.fileage .content table:not(.timelineTable) th:nth-child(3) {
984
+ grid-column: 1 / -1; max-width: none; padding-top: 0; color: var(--muted); font-size: 0.9em;
985
+ }
986
+
987
+ /* Admin forms: tables that hold fields stack their cells */
988
+ body.setup .content table:not(.sortable):not([border]):has(input, textarea, select),
989
+ body.setup .content table:not(.sortable):not([border]):has(input, textarea, select) > tbody,
990
+ body.setup .content table:not(.sortable):not([border]):has(input, textarea, select) > tbody > tr,
991
+ body.setup .content table:not(.sortable):not([border]):has(input, textarea, select) > tbody
--- a/skins/refined-dark/css.txt
+++ b/skins/refined-dark/css.txt
@@ -0,0 +1,991 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/skins/refined-dark/css.txt
+++ b/skins/refined-dark/css.txt
@@ -0,0 +1,991 @@
1 /* Refined Dark skin
2 A dark rendering of Fossil's default skin: same layout, same sizes, same
3 menu band and submenu row. Colors are chosen for WCAG AA contrast on a
4 near-black page: body text 13:1, muted text 7:1, links 7:1.
5 Functional dark-theme overrides for Fossil's hardcoded light colors
6 (timeline graph, diffs, chat, forum, tickets) are kept at the end.
7 Uses system fonts; no external font resources are needed. */
8
9
10 :root {
11 --bg: #1c1e22; /* page */
12 --surface: #272a30; /* menu band, cards, code blocks */
13 --surface2: #31353d; /* hover states, selected rows */
14 --border: #41454e;
15 --text: #e8e9eb; /* 13:1 on --bg */
16 --muted: #b3b8c0; /* 7.3:1 on --bg */
17 --link: #7fb6ef; /* 7.2:1 on --bg; Fossil default's #3779BF, lightened */
18 --link-hover: #a3cbf5;
19 --link-on-tint: var(--link); /* links on Fossil's colored rows */
20 --title: #8cbdf0; /* project title, like the default's #4183C4 */
21 --active: #f08a3c; /* active menu underline; default's #D26911, lightened */
22 --green: #6fd48f;
23 --red: #f08a7e;
24 --yellow: #f2c94c;
25 --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
26 --mono: ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
27 color-scheme: dark;
28 --input-bg: #15171a; --on-accent: #0b0d10; --visited: #a6b8e8;
29 --sel-bg: #4a3a2a; --sec-bg: #2a3a4a; --stripe: #2b2e34; --rule: #2c2f35;
30 --btn-hover: #3b4049; --band-top: #2d3037; --warn-bg: #3a2f12; --err-bg: #3a2220;
31 --green-rgb: 111 212 143; --red-rgb: 240 138 126; --yellow-rgb: 242 201 76;
32 --link-rgb: 127 182 239; --teal-rgb: 79 209 197; --violet-rgb: 140 150 240;
33 --muted-rgb: 179 184 192; --veil-rgb: 28 30 34; --lift-rgb: 255 255 255; --shadow-rgb: 0 0 0;
34 --tint-rgb: 39 42 48; --tint-mute: 0.4; --chat-mute: 0.3; --bubble-shadow: 0.35; --popup-shadow: 0.5;
35 }
36
37 /* Base, matching the default skin's sizing */
38 body {
39 margin: 0 auto;
40 background-color: var(--bg);
41 color: var(--text);
42 font-family: var(--font);
43 font-size: 16px;
44 line-height: 1.45;
45 }
46 a { color: var(--link); text-decoration: none; }
47 a:hover { color: var(--link-hover); text-decoration: underline; }
48 a:visited { color: var(--visited); }
49 code, pre, tt, kbd, samp, var { font-family: var(--mono); }
50 code, tt, kbd, samp { font-size: 0.94em; }
51 pre { font-size: 0.92em; line-height: 1.35; overflow-x: auto; }
52 hr { border: none; border-top: 1px solid var(--border); }
53 blockquote { border-left: 3px solid var(--border); margin: 0.5em 0; padding: 0.1em 1em; }
54 img { max-width: 100%; }
55
56 /* Title area above the menu bar */
57 header { display: flex; align-items: center; gap: 14px; padding: 14px 0 12px; }
58 .skip-nav {
59 position: absolute; top: -100%; left: 0;
60 background: var(--link); color: var(--on-accent);
61 padding: 0.5rem 1.25rem; font-weight: 600; z-index: 9999;
62 border-radius: 0 0 6px 0;
63 }
64 .skip-nav:focus { top: 0; outline: 2px solid #fff; outline-offset: -4px; }
65
66 div.logo { display: flex; flex-shrink: 0; }
67 div.logo img, img.logo-mark { width: 48px; height: 48px; object-fit: cover; display: block; border-radius: 6px; }
68 .hub-link:hover img { opacity: 0.85; }
69
70 .title { min-width: 0; color: var(--title); line-height: 1.2; }
71 .title h1, .title .project-name {
72 display: inline;
73 font-size: 2.2em;
74 font-weight: bold;
75 color: var(--title);
76 text-decoration: none;
77 }
78 .title .project-name:hover { color: var(--link-hover); text-decoration: none; }
79 .title h1:after, .title .project-name:after {
80 content: " / "; color: var(--muted); font-weight: normal;
81 }
82 span.page-title { font-size: 18px; color: var(--text); }
83 /* Hidden from view but not display:none: Fossil's forum script sizes its
84 expand control from the height of the first h1 on the page, and loops
85 forever if that height is 0. This also keeps the heading for screen readers. */
86 h1.page-title {
87 font-size: 1.6em; color: var(--text);
88 display: block; position: absolute; width: 1px; margin: 0; padding: 0;
89 overflow: hidden; clip-path: inset(50%); white-space: nowrap;
90 }
91 /* Home pages carry their own heading; Fossil's "index" / "Home" title is noise */
92 h1.page-title.home-title { display: none !important; }
93 /* Long document titles go in the body instead of the title bar */
94 .artifact h1.page-title, .dir h1.page-title, .doc h1.page-title, .wiki h1.page-title {
95 position: static; width: auto; overflow: visible; clip-path: none; white-space: normal;
96 margin: revert; margin-bottom: 0;
97 }
98 .artifact .title > .page-title, .dir .title > .page-title,
99 .doc .title > .page-title, .wiki .title > .page-title { display: none; }
100 /* ...unless the page opens with a heading of its own (a wiki page's first
101 heading, "History of ...", "Files in ..."): the title would say it twice */
102 body:has(div.content > :is(h1, h2):first-child, div.content > span:first-child + :is(h1, h2),
103 div.content > :is(.markdown, .fossil-doc) > :is(h1, h2):first-child,
104 div.content > span:first-child + :is(.markdown, .fossil-doc) > :is(h1, h2):first-child) h1.page-title {
105 position: absolute; width: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
106 }
107 .artifact .title h1:after, .dir .title h1:after, .doc .title h1:after, .wiki .title h1:after,
108 .artifact .title .project-name:after, .dir .title .project-name:after,
109 .doc .title .project-name:after, .wiki .title .project-name:after { content: ""; }
110
111 .status { margin-left: auto; font-size: 0.9em; }
112 .status a { color: var(--muted); }
113 .status a:hover { color: var(--text); }
114
115 /* Main menu band */
116 .mainmenu {
117 clear: both;
118 background: var(--surface) linear-gradient(var(--band-top), var(--surface)) repeat-x;
119 border: 1px solid var(--border);
120 border-radius: 5px;
121 overflow-x: auto;
122 overflow-y: hidden;
123 white-space: nowrap;
124 z-index: 21;
125 }
126 .mainmenu a {
127 display: inline-block;
128 line-height: 1.4;
129 color: var(--muted);
130 text-decoration: none;
131 border-right: 1px solid var(--border);
132 font-weight: 500;
133 }
134 .mainmenu a.active, .mainmenu a:hover {
135 color: var(--text);
136 border-bottom: 2px solid var(--active);
137 text-decoration: none;
138 }
139 #hbbtn { font-size: 1.15em; min-width: 44px; text-align: center; }
140 #hbbtn[aria-expanded="true"] { color: var(--text); background: var(--surface2); }
141
142 /* Hamburger dropdown (hbmenu.js toggles display; a11y.js sets --nav-bottom) */
143 nav#hbdrop {
144 background-color: var(--surface);
145 border: 1px solid var(--border);
146 border-top: none;
147 border-radius: 0 0 0.5em 0.5em;
148 display: none;
149 font-size: 0.95em;
150 position: fixed;
151 top: var(--nav-bottom, 88px);
152 left: 0; right: 0;
153 z-index: 200;
154 box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / 0.5);
155 overflow-x: hidden;
156 max-height: 75vh;
157 overflow-y: auto;
158 }
159 ul#sitemap {
160 padding: 1.25rem 1.5rem 1.5rem;
161 margin: 0;
162 list-style: none;
163 column-width: 14em;
164 column-gap: 2.5rem;
165 }
166 ul#sitemap > li {
167 list-style: none;
168 margin: 0 0 1.1rem;
169 break-inside: avoid;
170 }
171 ul#sitemap > li > a {
172 display: inline-block;
173 font-size: 0.78em;
174 font-weight: 600;
175 letter-spacing: 0.06em;
176 text-transform: uppercase;
177 color: var(--muted);
178 padding: 0.3rem 0;
179 }
180 ul#sitemap > li > a:hover { color: var(--text); text-decoration: none; }
181 ul#sitemap ul { margin: 0.15rem 0 0; padding: 0; list-style: none; }
182 ul#sitemap ul li { list-style: none; }
183 ul#sitemap ul li a {
184 display: flex; align-items: center; box-sizing: border-box; /* text stays centered at any row height */
185 color: var(--text);
186 padding: 0.3rem 0.6rem;
187 margin-left: -0.6rem;
188 border-radius: 4px;
189 min-height: 36px;
190 }
191 ul#sitemap ul li a:hover { background: var(--surface2); color: var(--link-hover); text-decoration: none; }
192 nav#hbdrop ul#sitemap { column-width: 14em; }
193 ul#sitemap.columns { overflow-x: hidden; }
194
195 /* Submenu row, like the default: a horizontal strip under the menu band */
196 .submenu, .sectionmenu {
197 font-size: 0.9em;
198 padding: 8px 0;
199 margin-bottom: 4px;
200 border-bottom: 1px solid var(--border);
201 display: flex;
202 flex-wrap: wrap;
203 align-items: center;
204 gap: 0.25rem 0.5rem;
205 }
206 .submenu a, .submenu label, .sectionmenu a {
207 padding: 6px 10px;
208 text-decoration: none;
209 color: var(--link);
210 border: 1px solid transparent;
211 border-radius: 5px;
212 white-space: nowrap;
213 }
214 .submenu > a:first-child { margin-left: -10px; }
215 .submenu a:hover, .submenu label:hover, .sectionmenu a:hover {
216 border-color: var(--border);
217 background: var(--surface);
218 color: var(--text);
219 text-decoration: none;
220 }
221 span.submenuctrl, span.submenuctrl input, select.submenuctrl { color: var(--muted); }
222 span.submenuctrl { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.35rem; }
223 .submenuckbox { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--text); cursor: pointer; }
224 .submenu select, .submenu input[type=text], .sectionmenu select, .sectionmenu input[type=text] {
225 width: auto;
226 font-size: 0.95em;
227 padding: 0.3em 0.5em;
228 }
229 .submenu select, .sectionmenu select { padding-right: 1.9em; }
230 .section {
231 font-size: 1em; font-weight: bold;
232 background-color: var(--surface);
233 border: 1px solid var(--border);
234 border-radius: 3px 3px 0 0;
235 padding: 9px 10px 10px;
236 margin: 10px 0;
237 }
238 .sectionmenu {
239 border: 1px solid var(--border);
240 border-radius: 0 0 3px 3px;
241 border-top: 0;
242 margin-top: -10px;
243 margin-bottom: 10px;
244 }
245
246 /* Content */
247 .content { padding: 12px 0; color: var(--text); }
248 .content h1 { font-size: 1.60em; color: var(--text); }
249 .content h2 { font-size: 1.45em; color: var(--text); }
250 .content h3 { font-size: 1.15em; color: var(--text); }
251 .content h4 { font-size: 1.05em; color: var(--text); }
252 .content h5 { font-size: 1.00em; color: var(--text); }
253 .content pre, table.numbered-lines > tbody > tr { hyphens: none; line-height: 1.3; }
254 .content ul:not(.browser) > li { list-style-type: disc; }
255 div.filetree ul li.dir, div.filetree ul li.subdir, div.filetree ul li.file { list-style-type: none; }
256 th { text-align: left; }
257
258 /* User content: wiki, embedded docs, forum posts */
259 .markdown blockquote, p.blockquote, .sidebar {
260 background-color: var(--surface);
261 border-left: 4px solid var(--link);
262 }
263 div.sidebar { outline: 1em solid var(--bg); }
264 .artifact > .content > p > code, .artifact > .content > .markdown > p > code, .artifact > .content > .fossil-doc > p > code,
265 .dir > .content > p > code, .dir > .content > .markdown > p > code,
266 .doc > .content > p > code, .doc > .content > .markdown > p > code, .doc > .content > .fossil-doc > p > code,
267 .forum > .content .markdown > p > code,
268 .wiki > .content > p > code, .wiki > .content > .markdown > p > code, .wiki > .content > .fossil-doc > p > code,
269 .content li > code, .content td > code {
270 background-color: var(--surface);
271 border: 1px solid var(--border);
272 border-radius: 3px;
273 padding: 0 4px;
274 }
275 .artifact > .content > pre, .artifact > .content > .markdown > pre, .artifact > .content > .fossil-doc > pre,
276 .dir > .content > pre, .dir > .content > .markdown > pre,
277 .doc > .content > pre, .doc > .content > .markdown > pre, .doc > .content > .fossil-doc > pre,
278 .forum > .content .markdown > pre,
279 .wiki > .content > pre, .wiki > .content > .markdown > pre, .wiki > .content > .fossil-doc > pre,
280 pre.verbatim, pre.textPlain {
281 background-color: var(--surface);
282 border: 1px solid var(--border);
283 border-radius: 4px;
284 padding: 8px 10px;
285 }
286 pre.verbatim { white-space: pre-wrap; }
287 .artifact > .content table, .dir > .content table, .doc > .content table, .wiki > .content table,
288 .forum > .content .markdown table {
289 background-color: var(--surface);
290 border: 1px solid var(--border);
291 border-radius: 0.5em;
292 border-spacing: 0;
293 padding: 6px;
294 }
295 .artifact > .content th, .dir > .content th, .doc > .content th, .wiki > .content th,
296 .forum > .content .markdown th {
297 border-bottom: 1px solid var(--border);
298 background-color: var(--surface2);
299 padding: 4px 6px;
300 }
301 .artifact > .content tr:nth-child(odd) td, .dir > .content tr:nth-child(odd) td,
302 .doc > .content tr:nth-child(odd) td, .wiki > .content tr:nth-child(odd) td {
303 background-color: var(--stripe);
304 }
305 .artifact > .content td, .dir > .content td, .doc > .content td, .wiki > .content td,
306 .forum Footer */
307 footer {
308 border-top: 1px solid var(--border);
309 padding: 10px;
310 font-size: 0.85em;
311 margin-top: 10px;
312 color: var(--muted);
313 display: flex;
314 justify-content: space-between;
315 flex-wrap: wrap;
316 gap: 0.5rem;
317 }
318
319 /* Forum */
320 .forum a:visited { color: var(--visited); }
321 div.forumSel {
322 animation: 1s linear 0s sel-fade;
323 background-color: var(--bg);
324 border-left: 4px solid var(--link);
325 }
326 @keyframes sel-fade { from { background-color: var(--surface2); } to { background-color: var(--bg); } }
327 .forum form input { margin: 0.5em 0; }
328 div.forumTime, div.forumHier, div.forumHierRoot {
329 background: var(--surface) !important;
330 border: 1px solid var(--border) !important;
331 border-radius: 4px;
332 color: var(--text) !important;
333 }
334 div.forumTime.forumSel, div.forumHier.forumSel { border-color: var(--link) !important; }
335 div.forumObs { opacity: 0.75; }
336 div.forumPostBody, div.forumPostBody h1, div.forumPostBody h2, div.forumPostBody h3 { color: var(--text) !important; }
337 .forum-post-collapser {
338 border-color: var(--border) !important;
339 background: var(--surface) !important;
340 color: var(--muted) !important;
341 }
342 .forum-post-collapser:hover { background: var(--surface2) !important; color: var(--text) !important; }
343 div.searchForm { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1em 0; }
344
345 /* Tickets and reports */
346 table.report { cursor: auto; border: 1px solid var(--border); border-radius: 0.5em; margin: 1em 0; }
347 .report td, .report th { border: 0; font-size: 0.9em; padding: 8px 10px; }
348 .report th { cursor: pointer; background: var(--surface); }
349 .report thead + tbody tr:hover { background-color: var(--surface2) !important; }
350 body.report table.report tr td { color: var(--text) !important; }
351 body.report table.report a { color: var(--link) !important; }
352 td.tktDspLabel { width: 70px; text-align: right; overflow: hidden; color: var(--muted) !important; }
353 td.tktDspValue {
354 text-align: left; vertical-align: top;
355 background-color: var(--surface) !important;
356 border: 1px solid var(--border) !important;
357 color: var(--text) !important;
358 }
359 td.tktDspValue pre { white-space: pre-wrap; }
360
361 /* Timeline */
362 span.timelineDetail { font-size: 90%; }
363 div.timelineDate { font-weight: bold; white-space: nowrap; color: var(--muted); }
364 table.timelineTable { padding: 0 3px; }
365 table.timelineTable tr { border-radius: 1em; }
366 .timelineModernCell, .timelineColumnarCell, .timelineDetailCell { border-radius: 0.5em; }
367 .timelineModernCell[id], .timelineColumnarCell[id], .timelineDetailCell[id] { background-color: var(--surface); }
368 .timelineModernDetail { opacity: 1; color: var(--muted); font-size: 0.9em; }
369 .timelineModernComment { color: var(--text); }
370 td.timelineTime { color: var(--muted); font-family: var(--mono); font-size: 0.9em; white-space: nowrap; }
371 span.timelineHash { font-family: var(--mono); }
372 tr.timelineSelected, tr.timelineSecondary { background-color: unset; }
373 tr.timelineSelected td, span.timelineSelected { background-color: var(--sel-bg) !important; }
374 tr.timelineSecondary td, span.timelineSecondary { background-color: var(--sec-bg) !important; }
375 tr.timelineCurrent td:first-child, tr.timelineSecondary td:first-child, tr.timelineSelected td:first-child {
376 border-top-left-radius: 1em; border-bottom-left-radius: 1em;
377 }
378 tr.timelineCurrent td:last-child, tr.timelineSecondary td:last-child, tr.timelineSelected td:last-child {
379 border-top-right-radius: 1em; border-bottom-right-radius: 1em;
380 }
381 tr.timelineCurrent td { border-top: 1px dashed var(--muted); border-bottom: 1px dashed var(--muted); }
382 tr.timelineCurrent td:first-child { border-left: 1px dashed var(--muted); }
383 tr.timelineCurrent td:last-child { border-right: 1px dashed var(--muted); }
384
385 /* Timeline graph: Fossil hardcodes black lines and white nodes */
386 .tl-node { background: var(--link) !important; border-color: var(--text) !important; }
387 .tl-node.leaf:after { background: var(--bg) !important; }
388 .tl-node.closed-leaf svg { color: var(--bg) !important; }
389 .tl-line { background-color: var(--muted); }
390 .tl-line.warp { background: var(--yellow) !important; }
391 .tl-line.cherrypick.h { border-top-color: var(--muted) !important; background: transparent !important; }
392 .tl-line.cherrypick.v, .tl-line.dotted.v { border-left-color: var(--muted) !important; background: transparent !important; }
393 .tl-arrow.u, .tl-arrow.u.sm { border-bottom-color: var(--muted) !important; }
394 .tl-arrow.merge.l, .tl-arrow.cherrypick.l { border-right-color: var(--muted) !important; }
395 .tl-arrow.merge.r, .tl-arrow.cherrypick.r { border-left-color: var(--muted) !important; }
396 .tl-arrow.warp { border-left-color: var(--yellow) !important; }
397 /* Branch colors are pastel inline backgrounds; darken them so text stays readable */
398 /* Branch and user tints come from Fossil, already sized for this foreground */
399 .tl-tooltip {
400 background: var(--surface2) !important; color: var(--text) !important;
401 border-color: var(--border) !important; box-shadow: 0 4px 16px rgb(var(--shadow-rgb) / 0.5) !important;
402 }
403
404 /* Lists and tables Fossil generates */
405 table.sortable th, table.filelistTable th, .fileage th {
406 text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); cursor: pointer;
407 }
408 table.sortable td, table.filelistTable td, .fileage td { padding: 5px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
409 table.sortable tr:hover td, .fileage tr:hover, div.filetreeline:hover { background: var(--surface) !important; }
410 body.branch .brlist > table > tbody > tr:hover:not(.selected) { background: var(--surface) !important; }
411 body.branch .brlist > table > tbody > tr.selected { background: var(--surface2) !important; }
412 .branch-name, span.tagDsp {
413 display: inline-block; background: var(--surface2); border: 1px solid var(--border);
414 border-radius: 3px; color: var(--link); font-family: var(--mono); font-size: 0.85em; padding: 0 0.3em;
415 }
416
417 /* Diffs: Fossil's built-in colors are pale pastels */
418 table.diff { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.9em; }
419 td.difflnc, td.difflna, td.difflnb { color: var(--muted); padding: 0 0.5em; text-align: right; user-select: none; border-right: 1px solid var(--border); }
420 td.difftext { padding: 0 0.5em; white-space: pre; }
421 tr.diffskip, tr.diffskip.jchunk { background: var(--surface) !important; }
422 tr.diffskip > td.chunkctrl .jcbutton { background: var(--surface2) !important; color: var(--muted) !important; border-radius: 3px; }
423 tr.diffskip > td.chunkctrl .jcbutton:hover { color: var(--text) !important; }
424 td.diffmkrl, td.diffmkrr, td.diffmkru { color: var(--muted); }
425 tr.diffadd td { background: rgb(var(--green-rgb) / 0.10); }
426 tr.diffrm td { background: rgb(var(--red-rgb) / 0.10); }
427 tr.diffchng td { background: rgb(var(--yellow-rgb) / 0.07); }
428 span.diffadd { color: var(--green); }
429 span.diffrm { color: var(--red); }
430 span.diffchng { color: var(--yellow); }
431 td.diffln ins, td.difftxt ins, table.diff pre > ins { background-color: rgb(var(--green-rgb) / 0.16) !important; }
432 td.diffln del, td.difftxt del, table.diff pre > del { background-color: rgb(var(--red-rgb) / 0.16) !important; }
433 td.difftxt del > del, table.diff pre > del > del { background-color: rgb(var(--red-rgb) / 0.32) !important; }
434 td.difftxt ins > ins, table.diff pre > ins > ins { background-color: rgb(var(--green-rgb) / 0.32) !important; }
435 td.difftxt del > del.edit, td.difftxt ins > ins.edit,
436 table.diff pre > del > del.edit, table.diff pre > ins > ins.edit { background-color: rgb(var(--link-rgb) / 0.25) !important; }
437
438 /* Annotate / blame: inline pastel backgrounds from Fossil JS */
439 td.annotateDate, td.annotateUser { color: var(--muted); font-family: var(--mono); font-size: 0.85em; padding: 0 0.5em; white-space: nowrap; border-right: 1px solid var(--border); }
440 pre span[style*="background"], li span[style*="background"] {
441 background-image: linear-gradient(rgb(var(--veil-rgb) / 0.7), rgb(var(--veil-rgb) / 0.7)) !important;
442 border-radius: 3px; padding: 0.1em 0.25em;
443 }
444
445 /* Any inline pastel background Fossil emits (ticket reports and their key,
446 ticket pages, annotate legends, branch lists): darken it, keep the hue */
447 tr[style*="background-color"], td[style*="background-color"], th[style*="background-color"],
448 span[style*="background-color"], div[style*="background-color"], p[style*="background-color"] {
449 background-image: linear-gradient(rgb(var(--veil-rgb) / var(--veil, 0.35)), rgb(var(--veil-rgb) / var(--veil, 0.35))) !important;
450 color: var(--text);
451 }
452 tr[style*="background-color"] a, td[style*="background-color"] a, p[style*="background-color"] a { color: var(--link); }
453 /* @dark-only: the light skin keeps Fossil's own ticket colors */
454 /* Fossil's standard ticket status colors, mapped to tints instead of the generic overlay:
455 active / review / fixed / tested / deferred / closed / key label */
456 tr[style*="#f2dcdc" i], td[style*="#f2dcdc" i], th[style*="#f2dcdc" i] { background-image: none !important; background-color: rgb(var(--red-rgb) / 0.22) !important; }
457 tr[style*="#e8e8bd" i], td[style*="#e8e8bd" i], th[style*="#e8e8bd" i] { background-image: none !important; background-color: rgb(var(--yellow-rgb) / 0.20) !important; }
458 tr[style*="#e8e8e8" i], td[style*="#e8e8e8" i], th[style*="#e8e8e8" i] { background-image: none !important; background-color: rgb(var(--yellow-rgb) / 0.14) !important; }
459 tr[style*="#cfe8bd" i], td[style*="#cfe8bd" i], th[style*="#cfe8bd" i] { background-image: none !important; background-color: rgb(var(--green-rgb) / 0.20) !important; }
460 tr[style*="#bde5d6" i], td[style*="#bde5d6" i], th[style*="#bde5d6" i] { background-image: none !important; background-color: rgb(var(--teal-rgb) / 0.20) !important; }
461 tr[style*="#cacae5" i], td[style*="#cacae5" i], th[style*="#cacae5" i] { background-image: none !important; background-color: rgb(var(--violet-rgb) / 0.24) !important; }
462 tr[style*="#c8c8c8" i], td[style*="#c8c8c8" i], th[style*="#c8c8c8" i] { background-image: none !important; background-color: rgb(var(--lift-rgb) / 0.05) !important; }
463 tr[style*="#ffffff" i], td[style*="#ffffff" i], th[style*="#ffffff" i] { background-image: none !important; background-color: transparent !important; }
464 table.report tr[style*="background-color"]:hover td { background-image: linear-gradient(rgb(var(--lift-rgb) / 0.05), rgb(var(--lift-rgb) / 0.05)) !important; }
465 table.report td[style*="#ffffff" i], table.report tr[style*="#ffffff" i] td { color: var(--muted); }
466 /* @end-dark-only */
467 p[style*="border:1px solid"] { border-color: var(--border) !important; border-radius: 4px; padding: 0.6em 0.8em; }
468 /* Pikchr: Fossil already draws white defaults because skin-detail is white-foreground; leave diagrams alone */
469
470 /* Fossil's user and branch colors, muted toward the surface so they sit with the skin */
471 table.timelineTable td[style*="background"] {
472 background-image: linear-gradient(rgb(var(--tint-rgb) / var(--tint-mute)), rgb(var(--tint-rgb) / var(--tint-mute))) !important;
473 }
474 body.chat .message-widget-content[style*="background"] {
475 background-image: linear-gradient(rgb(var(--tint-rgb) / var(--chat-mute)), rgb(var(--tint-rgb) / var(--chat-mute))) !important;
476 }
477 body.chat .message-widget-tab[style*="background"] { background-image: none !important; }
478 body.chat .message-widget-content { box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / var(--bubble-shadow)) !important; }
479
480 /* Misc Fossil UI elements with hardcoded light colors */
481 div.debug { background: var(--surface) !important; border: 1px solid var(--border) !important; color: var(--muted) !important; padding: 0.75rem; }
482 /* Inline debug markers, e.g. "(artifact-NNN)" on forum posts for admins: just quieter text */
483 span.debug { background: none !important; border: none !important; padding: 0 !important; color: var(--muted) !important; font-size: 0.85em; }
484 span.debug a { color: var(--muted); }
485 span.debug a:hover { color: var(--link); }
486 span.error { background: rgb(var(--yellow-rgb) / 0.18) !important; color: var(--yellow) !important; padding: 0.1em 0.25em; border-radius: 3px; }
487 mark { background: rgb(var(--yellow-rgb) / 0.25); color: var(--text); padding: 0.1em 0.25em; border-radius: 3px; }
488 div.sideboxTitle { color: var(--title); font-weight: 600; }
489 div.sidebox { background: var(--surface); border: 1px solid var(--border) !important; border-radius: 4px; margin: 0 0 1em 1.5em; padding: 0.75em; }
490 .disabled { color: var(--red); }
491 .modpending { color: var(--yellow); }
492 .fossil-tooltip.help-buttonlet-content { background-color: var(--surface2); color: var(--text); border: 1px solid var(--border); }
493 .fossil-tooltip { background: var(--surface2) !important; color: var(--text) !important; border-color: var(--border) !important; }
494 td.capsumRead { background: rgb(var(--green-rgb) / 0.15) !important; color: var(--green); }
495 td.capsumWrite { background: rgb(var(--yellow-rgb) / 0.15) !important; color: var(--yellow); }
496 td.capsumOff { background: rgb(var(--muted-rgb) / 0.1) !important; color: var(--muted); }
497 table.login_out { margin: 1em 0; }
498 td.login_out_label { color: var(--muted); padding: 0.4em 0.75em 0.4em 0; }
499 .help-buttonlet { color: var(--link); cursor: pointer; }
500
501 /* Status text Fossil colors pure red / blue / black */
502 span.disabled, span.wikiError, span.loginError, span.tktError, span.brokenlink, span.thTrace,
503 p.generalError, p.tktsetupError, p.xfersetupError, p.thmainError, p.reportError, blockquote.reportError,
504 pre.th1error, span.ueditInheritDeveloper, td.tktTlOpen,
505 div.markdown ol.footnotes > li.fn-misreference > span, div.markdown ol.footnotes > li.fn-unreferenced > code,
506 div.markdown sup.noteref.misref, div.markdown sup.noteref.misref > a { color: var(--red) !important; }
507 span.ueditInheritAnonymous, p.missingPriv, p.noMoreShun, p.shunned { color: var(--link) !important; }
508 span.ueditInheritReader { color: var(--text) !important; }
509 blockquote.reportError, p.generalError { background: rgb(var(--red-rgb) / 0.1); border: 1px solid rgb(var(--red-rgb) / 0.4); border-radius: 4px; padding: 0.6em 0.8em; }
510 /* Fossil also puts class="error" on <body> and colors it yellow; keep the page as it is */
511 body.error, body.warning { background: var(--bg) !important; color: var(--text) !important; }
512 .error:not(body), .warning:not(body) { background: rgb(var(--yellow-rgb) / 0.18) !important; color: var(--yellow) !important; border-radius: 3px; padding: 0.1em 0.3em; }
513 table.numbered-lines td.line-numbers span.selected-line { color: var(--text) !important; background-color: rgb(var(--link-rgb) / 0.22) !important; }
514 .fossil-toast-message { background: var(--surface2) !important; color: var(--text) !important; border: 1px solid var(--border) !important; border-radius: 6px !important; box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / 0.5) !important; }
515 .fossil-toast-message.error, .fossil-toast-message.warning { background: var(--warn-bg) !important; color: var(--yellow) !important; border-color: var(--yellow) !important; }
516 .fossil-toast-message.error { color: var(--red) !important; border-color: var(--red) !important; background: var(--err-bg) !important; }
517
518 /* Wiki / file editor tabs */
519 .tab-container .tab-bar { display: flex; flex-wrap: wrap; gap: 0.25rem; border-bottom: 1px solid var(--border); }
520 .tab-container .tab-button {
521 padding: 0.4em 0.9em; border: 1px solid transparent; border-bottom: none; border-radius: 5px 5px 0 0;
522 background: transparent; color: var(--muted); font-family: var(--font); font-size: 0.95em; cursor: pointer; margin-bottom: -1px;
523 }
524 .tab-container .tab-button:hover { color: var(--text); background: var(--surface); }
525 .tab-container .tab-button.selected { color: var(--text); background: var(--surface); border-color: var(--border); border-bottom-color: var(--surface); }
526 #fossil-status-bar { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; color: var(--muted); font-family: var(--mono); font-size: 0.85em; padding: 0.4em 0.75em; margin: 0.5em 0; }
527 .wikiedit-options, .fileedit-options { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; padding: 0.5em; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; margin-bottom: 0.5em; }
528 .wikiedit-options .input-with-label, .fileedit-options .input-with-label { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
529 #wikiedit-tab-content textarea, #fileedit-tab-content textarea { min-height: 300px; width: 100%; }
530 .tab-container fieldset { border: 1px solid var(--border); border-radius: 4px; }
531 .tab-container fieldset legend { color: var(--muted); }
532 button.wikiedit-content-reload, button.fileedit-content-reload { min-width: unset !important; max-width: unset !important; }
533
534 /* Chat: Fossil sets inline pastel backgrounds per user */
535 /* Each message keeps the user's color, which Fossil already picks for this
536 skin's foreground (white-foreground); only messages without one get --surface. */
537 body.chat .message-widget-content {
538 background-color: var(--surface); border: 1px solid var(--border) !important;
539 border-radius: 6px !important; color: var(--text) !important; padding: 0.5em 0.75em !important;
540 }
541 body.chat .message-widget-tab { background: transparent !important; color: var(--muted) !important; border: none !important; font-size: 0.9em !important; }
542 body.chat .message-widget-tab[style*="background"] { background-image: none !important; }
543 body.chat .message-widget-tab .xfrom { color: var(--link) !important; font-weight: 600 !important; }
544 body.chat #chat-input-line-wrapper { border: 1px solid var(--border) !important; border-radius: 6px !important; background: var(--input-bg) !important; }
545 body.chat #chat-input-line-wrapper:focus-within { border-color: var(--link) !important; }
546 body.chat .chat-input-field { border: none !important; background: transparent !important; color: var(--text) !important; font-family: var(--font) !important; font-size: 1em !important; }
547 body.chat .cbutton { border: 1px solid var(--border) !important; background: var(--surface) !important; border-radius: 4px !important; }
548 body.chat .cbutton:hover { background: var(--surface2) !important; }
549 body.chat fieldset { border: 1px solid var(--border) !important; border-radius: 4px !important; background: var(--surface) !important; }
550 body.chat .menu-entry { background: var(--surface) !important; border: 1px solid var(--border) !important; color: var(--text) !important; }
551 body.chat .menu-entry:hover, body.chat .menu-entry.parent { background: var(--surface2) !important; }
552 body.chat .message-widget .match { background: rgb(var(--yellow-rgb) / 0.25) !important; color: var(--text) !important; }
553 body.chat .chat-message-popup { background: var(--surface2) !important; border: 1px solid var(--border) !important; color: var(--text) !important; }
554 body.chat .message-widget-content img { max-width: 100% !important; border-radius: 4px !important; }
555
556 /* Chat toolbar: Fossil renders the buttons as emoji; mask them with icons, keep the spans intact */
557 body.chat #chat-buttons-wrapper > .cbutton {
558 position: relative !important;
559 font-size: 0 !important;
560 color: transparent !important;
561 min-width: 44px !important; max-width: 44px !important;
562 min-height: 36px !important; height: 36px !important;
563 background: var(--surface) !important;
564 border: 1px solid var(--border) !important;
565 border-radius: 6px !important;
566 }
567 body.chat #chat-buttons-wrapper > .cbutton::after {
568 content: ""; position: absolute; inset: 0; margin: auto;
569 width: 22px; height: 22px;
570 background-color: var(--muted);
571 -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
572 }
573 body.chat #chat-buttons-wrapper > .cbutton:hover { background: var(--surface2) !important; border-color: var(--muted) !important; }
574 body.chat #chat-buttons-wrapper > .cbutton:hover::after { background-color: var(--text); }
575 body.chat #chat-buttons-wrapper > #chat-button-submit { background: var(--link) !important; border-color: var(--link) !important; min-width: 64px !important; max-width: 64px !important; }
576 body.chat #chat-buttons-wrapper > #chat-button-submit::after { background-color: var(--on-accent); }
577 body.chat #chat-buttons-wrapper > #chat-button-submit:hover { background: var(--link-hover) !important; }
578 body.chat #chat-button-preview { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z%22/%3E%3C/svg%3E"); }
579 body.chat #chat-button-search { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z%22/%3E%3C/svg%3E"); }
580 body.chat #chat-button-attach { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M209.66,122.34a8,8,0,0,1,0,11.32l-82.05,82a56,56,0,0,1-79.2-79.21L147.67,35.73a40,40,0,1,1,56.61,56.55L105,193A24,24,0,1,1,71,159L154.3,74.38A8,8,0,1,1,165.7,85.6L82.39,170.31a8,8,0,1,0,11.27,11.36L192.93,81A24,24,0,1,0,159,47L59.76,147.68a40,40,0,1,0,56.53,56.62l82.06-82A8,8,0,0,1,209.66,122.34Z%22/%3E%3C/svg%3E"); }
581 body.chat #chat-button-settings { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z%22/%3E%3C/svg%3E"); }
582 body.chat #chat-button-submit { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z%22/%3E%3C/svg%3E"); }
583
584 /* Screen sizes, as in the default skin */
585 @media screen and (max-width: 600px) {
586 body { padding-left: 12px; padding-right: 12px; }
587 .content { font-size: 0.95em; }
588 header { gap: 10px; padding: 10px 0 8px; }
589 div.logo img, img.logo-mark { width: 36px; height: 36px; }
590 .title h1, .title .project-name { font-size: 1.5em; }
591 .title > .page-title { display: inline; }
592 .artifact .title > .page-title, .dir .title > .page-title,
593 .doc .title > .page-title, .wiki .title > .page-title { display: none; }
594 .mainmenu a { padding: 10px 12px; }
595 .mainmenu { padding: 0; }
596 nav#hbdrop ul#sitemap, ul#sitemap.columns { columns: 1 !important; column-width: auto !important; }
597 .submenu { padding: 6px 0; }
598 td.timelineTime { font-size: 0.8em; }
599 }
600 @media screen and (min-width: 600px) {
601 body { padding-left: 20px; padding-right: 20px; }
602 .mainmenu a { padding: 12px 20px; }
603 .mainmenu { padding: 0; }
604 .content dd, .content dt, .content div, .content li, .content p, .content table { line-height: 1.45em; }
605 /* Keep running text a comfortabd Dark skin
606 A dark rendering of Fossil's default skin: same layout, same sizes, same
607 menu band and submenu row. Colors are chosen for WCAG AA contrast on a
608 near-black page: body text 13:1, muted text 7:1, links 7:1.
609 Functional dark-theme overrides for Fossil's hardcoded light colors
610 (timeline graph, diffs, chat, forum, tickets) are kept at the end.
611 Uses system fonts; no external font resources are needed. */
612
613
614 :root {
615 --bg: #1c1e22; /* page */
616 --surface: #272a30; /* menu band, cards, code blocks */
617 --surface2: #31353d; /* hover states, selected rows */
618 --border: #41454e;
619 --text: #e8e9eb; /* 13:1 on --bg */
620 --muted: #b3b8c0; /* 7.3:1 on --bg */
621 --link: #7fb6ef; /* 7.2:1 on --bg; Fossil default's #3779BF, lightened */
622 --link-hover: #a3cbf5;
623 --link-on-tint: var(--link); /* links on Fossil's colored rows */
624 --title: #8cbdf0; /* project title, like the default's #4183C4 */
625 --active: #f08a3c; /* active menu underline; default's #D26911, lightened */
626 --green: #6fd48f;
627 --red: #f08a7e;
628 --yellow: #f2c94c;
629 --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
630 --mono: ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
631 color-scheme: dark;
632 --input-bg: #15171a; --on-accent: #0b0d10; --visited: #a6b8e8;
633 --sel-bg: #4a3a2a; --sec-bg: #2a3a4a; --stripe: #2b2e34; --rule: #2c2f35;
634 --btn-hover: #3b4049; --band-top: #2d3037; --warn-bg: #3a2f12; --err-bg: #3a2220;
635 --green-rgb: 111 212 143; --red-rgb: 240 138 126; --yellow-rgb: 242 201 76;
636 --link-rgb: 127 182 239; --teal-rgb: 79 209 197; --violet-rgb: 140 150 240;
637 --muted-rgb: 179 184 192; --veil-rgb: 28 30 34; --lift-rgb: 255 255 255; --shadow-rgb: 0 0 0;
638 --tint-rgb: 39 42 48; --tint-mute: 0.4; --chat-mute: 0.3; --bubble-shadow: 0.35; --popup-shadow: 0.5;
639 }
640
641 /* Base, matching the default skin's sizing */
642 body {
643 box-sizing: border-box;
644 min-height: 100vh;
645 min-height: 100dvh;
646 display: flex;
647 flex-direction: column;
648 margin: 0 auto;
649 background-color: var(--bg);
650 color: var(--text);
651 font-family: var(--font);
652 font-size: 16px;
653 line-height: 1.45;
654 }
655 a { color: var(--link); text-decoration: none; }
656 a:hover { color: var(--link-hover); text-decoration: underline; }
657 a:visited { color: var(--visited); }
658 code, pre, tt, kbd, samp, var { font-family: var(--mono); }
659 code, tt, kbd, samp { font-size: 0.94em; }
660 pre { font-size: 0.92em; line-height: 1.35; overflow-x: auto; }
661 hr { border: none; border-top: 1px solid var(--border); }
662 blockquote { border-left: 3px solid var(--border); margin: 0.5em 0; padding: 0.1em 1em; }
663 img { max-width: 100%; }
664
665 /* Title area above the menu bar */
666 header { display: flex; align-items: center; gap: 14px; padding: 14px 0 12px; }
667 .skip-nav {
668 position: absolute; top: -100%; left: 0;
669 background: var(--link); color: var(--on-accent);
670 padding: 0.5rem 1.25rem; font-weight: 600; z-index: 9999;
671 border-radius: 0 0 6px 0;
672 }
673 .skip-nav:focus { top: 0; outline: 2px solid #fff; outline-offset: -4px; }
674
675 div.logo { display: flex; flex-shrink: 0; }
676 div.logo img, img.logo-mark { width: 48px; height: 48px; object-fit: cover; display: block; border-radius: 6px; }
677 .hub-link:hover img { opacity: 0.85; }
678
679 .title { min-width: 0; color: var(--title); line-height: 1.2; }
680 .title h1, .title .project-name {
681 display: inline;
682 font-size: 2.2em;
683 font-weight: bold;
684 color: var(--title);
685 text-decoration: none;
686 }
687 .title .project-name:hover { color: var(--link-hover); text-decoration: none; }
688 .title h1:after, .title .project-name:after {
689 content: " / "; color: var(--muted); font-weight: normal;
690 }
691 span.page-title { font-size: 18px; color: var(--text); }
692 /* Hidden from view but not display:none: Fossil's forum script sizes its
693 expand control from the height of the first h1 on the page, and loops
694 forever if that height is 0. This also keeps the heading for screen readers. */
695 h1.page-title {
696 font-size: 1.6em; color: var(--text);
697 display: block; position: absolute; widthrendering of Fossi, .forum > .contentsvg%3E"); }
698
699 /* Screen { max-width: 70emainmenu { padding: 0; > p,ay: none; }
700 .mage/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z%22/%3E%3C/svg%3E"); }
701
702 /* Screen sizes, as in the default skin */
703 @media screen and (max-width: 600px) {
704 body { padding-left: 12px; padding-right: 12px; }
705 .content { font-size: 0.95em; }
706 header { gap: 10px; padding: 10px 0 8px; }
707 div.logo img, img.logo-mark { width: 36px; height: 36px; }
708 .title h1, .title .project-name { font-size: 1.5em; }
709 .title > .page-title { display: inline; }
710 .artifact .title > .page-title, .dir .title > .page-title,
711 .doc .title > .page-title, .wiki .title > .page-title { display: none; }
712 .mainmenu a { padding: 10px 12px; }
713 .mainmenu { padding: 0; }
714 nav#hbdrop ul#sitemap, ul#sitemap.columns { columns: 1 !important; column-width: auto !important; }
715 .submenu { padding: 6px 0; }
716 td.timelineTime { font-size: 0.8em; }
717 }
718 @media screen and (min-width: 600px) {
719 body { padding-left: 20px; padding-right: 20px; }
720 .mainmenu a { padding: 12px 20px; }
721 .mainmenu { padding: 0; }
722 .content dd, .content dt, .content div, .content li, .content p, .content table { line-height: 1.45em; }
723 /* Fossil renders a document's title outside .content. Match its h1 inset. */
724 body.doc > h1.page-title {
725 box-sizing: border-box;
726 width: 100%;
727 margin-inline: 0;
728 padding-inline: 10pt;
729 }
730 .doc > .content > p, .doc > .content > .markdown > p, .doc > .content > .fossil-doc > p,
731 .doc > .content > ol, .doc > .content > ul, .doc > .content > .markdown > ol, .doc > .content > .markdown > ul,
732 .wiki > .content > p, .wiki > .content > .markdown > p, .wiki > .content > .fossil-doc > p,
733 .wiki > .content > ol, .wiki > .content > ul, .wiki > .content > .markdown > ol, .wiki > .content > .markdown > ul,
734 .artifact > .content > .markdown > p, .artifact > .content > .markdown > ol, .artifact > .content > .markdown > ul,
735 .doc > .content > .markdown > table, .wiki > .content > .markdown > table, .artifact > .content > .markdown > table {
736 margin-left: 30pt; margin-right: 30pt;
737 }
738 .doc > .content > pre, .doc > .content > .markdown > pre, .doc > .content > .fossil-doc > pre,
739 .wiki > .content > pre, .wiki > .content > .markdown > pre,
740 .artifact > .content > .markdown > pre { margin-left: 40pt; margin-right: 30pt; }
741 .forum > .content .markdown > pre { margin-left: 20pt; }
742 .doc > .content h1, .wiki .content h1, .artifact .content h1 { margin-left: 10pt; }
743 .doc > .content h2, .wiki .content h2, .artifact .content h2 { margin-left: 15pt; }
744 .doc > .content h3, .wiki .content h3, .artifact .content h3 { margin-left: 20pt; }
745 .doc > .content > blockquote, .wiki > .content > blockquote { margin-left: 50pt; }
746 .doc > .content > .markdown > blockquote, .wiki > .content > .markdown > blockquote { margin-left: 40pt; }
747 .content .pikchr-wrapper, div.pikchr-wrapper.indent:not(.source) { margin-left: 40pt; }
748 div.pikchr-wrapper.center:not(.source), div.pikchr-wrapper.float-right:not(.source) { margin-left: 0; }
749 }
750
751 /* Chat bubbles: messaging-app corners; your own messages, when Fossil puts
752 them on the right (its my-messages-right layout, the default in tall
753 windows), point the other way */
754 body.chat .message-widget:not(.notification) .message-widget-content { border-radius: 12px 12px 12px 4px !important; }
755 body.chat.my-messages-right .message-widget.mine .message-widget-content { border-radius: 12px 12px 4px 12px !important; }
756 body.chat.my-messages-right .message-widget.mine .message-widget-tab { text-align: right; }
757
758 /* Message options popup (click a message's header): one card, quiet
759 timestamps, buttons sized for touch */
760 body.chat .chat-message-popup {
761 font-family: var(--font) !important; font-size: 0.9em !important;
762 background: var(--surface2) !important; border: 1px solid var(--border) !important;
763 border-radius: 10px !important; padding: 0.65em !important; gap: 0.45em;
764 box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / var(--popup-shadow)) !important;
765 max-width: min(26rem, calc(100vw - 2rem));
766 }
767 body.chat .chat-message-popup > span { font-family: var(--mono); font-size: 0.85em; color: var(--muted); white-space: normal; }
768 body.chat .chat-message-popup > .toolbar { border: none !important; gap: 0.4em; margin: 0 !important; flex-wrap: wrap; }
769 body.chat .chat-message-popup > .toolbar > * { margin: 0 !important; }
770 body.chat .chat-message-popup > .toolbar > button,
771 body.chat .chat-message-popup > .toolbar > a {
772 flex: 1 1 auto; min-height: 36px; display: inline-flex; align-items: center; justify-content: center;
773 padding: 0.35em 0.8em; border: 1px solid var(--border); border-radius: 6px;
774 background: var(--surface); color: var(--text); font-family: var(--font); font-size: 1em; text-decoration: none;
775 }
776 body.chat .chat-message-popup > .toolbar > a { color: var(--link); }
777 body.chat .chat-message-popup > .toolbar > button:hover,
778 body.chat .chat-message-popup > .toolbar > a:hover { background: var(--btn-hover); border-color: var(--muted); text-decoration: none; }
779 /* "Delete globally" removes the message for everyone */
780 body.chat .chat-message-popup > div.toolbar:nth-of-type(1) > button:nth-child(2) { color: var(--red); }
781 @media (pointer: coarse), (max-width: 600px) {
782 body.chat .chat-message-popup > .toolbar > button,
783 body.chat .chat-message-popup > .toolbar > a { min-height: 44px; }
784 }
785
786 /* Phones: the page itself never scrolls sideways */
787 body.chat .chat-message-popup { z-index: 200 !important; }
788 @media screen and (max-width: 600px) {
789 table.label-value td { white-space: normal !important; overflow-wrap: anywhere; }
790 table.label-value td .nobr, table.label-value td .nobr *,
791 td.tktDspValue .nobr, td.tktDspValue .nobr * { white-space: normal !important; word-break: break-all; }
792 .content table.sortable, .content table.report, .content table.userTable {
793 display: block; max-width: 100%; overflow-x: auto;
794 }
795 .title h1, .title .project-name { font-size: 1.3em; }
796 }
797
798 /* Hamburger menu. hbmenu.js toggles it instantly (data-anim-ms="0" in the
799 header); the skin slides it in. */
800 @keyframes hb-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
801 nav#hbdrop { animation: hb-in 160ms ease-out; top: var(--nav-bottom, 88px); }
802 @media screen and (max-width: 600px), (pointer: coarse) {
803 /* A sheet from under the nav bar to the bottom of the screen, scrolling
804 on its own, with the page behind it held still */
805 nav#hbdrop {
806 bottom: 0; max-height: none; border-radius: 0; border-left: 0; border-right: 0;
807 overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
808 }
809 html:has(#hbdrop[style*="display: block"]) { overflow: hidden; }
810 /* Keep the nav bar, and its close button, on screen while the menu is open */
811 html:has(#hbdrop[style*="display: block"]) nav.mainmenu { position: sticky; top: 0; }
812 ul#sitemap ul li a { min-height: 44px; display: flex; align-items: center; }
813 }
814 @media (prefers-reduced-motion: reduce) { nav#hbdrop { animation: none; } }
815
816 /* Menu bar: every item carries the 2px underline slot, transparent until
817 hover or active, so highlighting never changes any item's or the bar's height */
818 .mainmenu a { border-bottom: 2px solid transparent; }
819 .mainmenu a.active, .mainmenu a:hover { border-bottom-color: var(--active); }
820 #hbbtn { line-height: 1.4; font-size: 1em; }
821
822 /* Logo: show any repository's logo whole in the same 48px box (36px on
823 phones); a square logo looks exactly as before */
824 div.logo img, img.logo-mark { object-fit: contain; }
825
826 /* Menu bar as a flex row: the whitespace between items in the header no
827 longer leaves 4px gaps, so each underline meets the divider beside it */
828 .mainmenu { display: flex; }
829 .mainmenu a { flex: 0 0 auto; }
830
831 /* Weekday above each timeline date. The line is reserved here, before any
832 script runs, so the rows already have their final height when Fossil
833 draws the timeline jumped.) */
834 div.timelineDate::before {
835 content: attr(data-dow); display: block; min-height: 1.2em;
836 font-size: 0.8em; font-weight: 400; opacity: 0.85; line-height: 1.2; margin-bottom: 0.1em;
837 }
838
839
840 /* The chat's "Load..." bar: a small label over one row of buttons, without
841 the box Fossil's fieldset would draw around them */
842 body.chat fieldset#load-msg-toolbar {
843 border: none !important; background: transparent !important;
844 padding: 0.5em 0 0 !important; margin: 0 0 1em !important;
845 }
846 body.chat #load-msg-toolbar > legend { font-size: 0.85em; color: var(--muted); padding: 0 0 0.35em; }
847 body.chat #load-msg-toolbar > div { gap: 0.5em; }
848 body.chat #load-msg-toolbar > div > button { border-radius: 6px; }
849
850
851 /* ── Fixes from the page-by-page audit ─────────────────────────────────── */
852
853 /* Fields Fossil emits with no type, or type="input" (forum title, ticket
854 e-mail), which the input[type=text] rule above does not match */
855 input:not([type]), input[type=input] {
856 background: var(--input-bg); border: 1px solid var(--border); border-radius: 4px;
857 color: var(--text); font-family: var(--font); font-size: 1em; padding: 0.35em 0.6em;
858 }
859 input[type=file]::file-selector-button {
860 background: var(--surface2); border: 1px solid var(--border); border-radius: 4px;
861 color: var(--text); font-family: var(--font); font-size: 0.95em; padding: 0.35em 0.8em;
862 margin-right: 0.6em; cursor: pointer;
863 }
864 input[type=file]::file-selector-button:hover { background: var(--btn-hover); border-color: var(--muted); }
865
866 /* Forum subjects may shrink below a long word on narrow screens. */
867 @media screen and (max-width: 600px) {
868 body.forum td.subject { overflow-wrap: anywhere; }
869 }
870
871 /* Long hashes in titles and headings wrap instead of widening the page */
872 .title, span.page-title, .content h1, .content h2, .content h3 { overflow-wrap: anywhere; }
873 .title { min-width: 0; }
874 .content :not(pre) > code { overflow-wrap: break-word; }
875 .markdown p, .markdown li { overflow-wrap: break-word; }
876
877 /* Rendered markdown looks the same wherever it appears (the wiki editor's
878 preview nests it deeper than the page does) */
879 .markdown pre {
880 background-color: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 8px 10px;
881 }
882 .markdown p > code, .markdown li > code, .markdown td > code {
883 background-color: var(--surface); border: 1px solid var(--border); border-radius: 3px; padding: 0 4px;
884 }
885
886 /* Chat: a bubble holding an attachment stays inside its column */
887 body.chat .message-widget-content { box-sizing: border-box; max-width: 100%; }
888 body.chat .chat-message-popup > .toolbar { align-items: stretch; }
889 body.chat .chat-message-popup > .toolbar > a { display: inline-flex; align-items: center; }
890
891 /* Activity-report charts: a11y.js gives them a viewBox so they can shrink */
892 .content svg.fit { max-width: 100%; height: auto; }
893
894 /* Contrast: links on Fossil's colored rows, closed tickets in the timeline,
895 the fourth capability marker */
896 body.report table.report tr[style*="background-color"] a,
897 table.timelineTable td[style*="background"] a { color: var(--link-on-tint) !important; }
898 td.tktTlClosed { color: var(--muted); }
899 span.ueditInheritNobody { color: var(--green) !important; }
900
901 /* Ticket view: a label alone in its row ("Description:") sits at the left,
902 like "User Comments:" below it */
903 td.tktDspLabel:only-child { text-align: left; }
904
905 /* Bare <table border="1"> (user categories, unversioned files) */
906 .content table[border="1"] { border-collapse: collapse; border-color: var(--border); }
907 .content table[border="1"] > * > tr > td, .content table[border="1"] > * > tr > th { border: 1px solid var(--border); padding: 4px 8px; }
908
909 /* Lists Fossil marks list-style:none keep no bullets */
910 .content ul[style*="list-style"] > li { list-style-type: inherit; }
911
912 /* Main menu: the full bar on every screen. The menu button stays pinned at
913 the left while the entries scroll sideways beneath it, and a fade at the
914 right edge shows there is more. (Fossil would hide entries marked
915 desktoponly / wideonly on small screens; the display set on ".mainmenu a"
916 above keeps them, on purpose.) */
917 #hbbtn {
918 position: sticky; left: 0; z-index: 2;
919 background: var(--surface) linear-gradient(var(--band-top), var(--surface));
920 }
921 .mainmenu::after {
922 content: ""; flex: 0 0 28px; position: sticky; right: 0; pointer-events: none;
923 background: var(--surface) linear-gradient(var(--band-top), var(--surface));
924 -webkit-mask-image: linear-gradient(to right, transparent, #000 85%); mask-image: linear-gradient(to right, transparent, #000 85%);
925 }
926
927 /* Phone menu sheet: top-level entries are destinations, so they read as
928 links in 44px rows */
929 @media screen and (max-width: 600px), (pointer: coarse) {
930 ul#sitemap { padding: 0.5rem 1rem 1.5rem; }
931 ul#sitemap > li { margin: 0; border-bottom: 1px solid var(--rule); }
932 ul#sitemap > li > a {
933 display: flex; align-items: center; min-height: 44px; box-sizing: border-box;
934 font-size: 1em; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text);
935 }
936 ul#sitemap ul { margin: 0 0 0.4rem; }
937 ul#sitemap ul li a { box-sizing: border-box; min-height: 44px; padding-left: 1rem; color: var(--link); }
938
939 /* Touch targets */
940 .submenu a, .submenu label, .sectionmenu a { min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
941 input[type=text], input[type=password], input[type=email], input[type=search], input[type=number],
942 input:not([type]), input[type=input], select, input[type=submit], input[type=button], button {
943 min-height: 44px; box-sizing: border-box;
944 }
945 input[type=checkbox], input[type=radio] { width: 20px; height: 20px; }
946 }
947
948 @media screen and (max-width: 600px) {
949 /* A long unbroken word in a timeline row (a mirrored e-mail address as the
950 login, a path in the comment) wraps instead of widening the page */
951 table.timelineTable td.timelineModernCell, table.timelineTable td.timelineDetailCell,
952 .timelineModernComment, .timelineModernDetail,
953 .content table.timelineTable td.timelineModernCell * { overflow-wrap: anywhere; }
954
955 /* Forms and their fields never exceed the screen */
956 .content form { max-width: 100%; }
957 .content textarea, .content input:not([type=checkbox]):not([type=radio]), .content select { max-width: 100%; box-sizing: border-box; }
958 body.forum .content form { display: block; }
959
960 /* Markdown tables scroll inside themselves, like sortable tables */
961 .content table.md-table, .markdown table { display: block; max-width: 100%; overflow-x: auto; }
962
963 /* Ticket reports: one line per row inside the scrolling table */
964 .content table.report td { white-space: nowrap; }
965 .content table.report td:last-child { white-space: normal; min-width: 12em; max-width: 18em; }
966
967 /* Tickets: Fossil's label | value tables become label above value */
968 body.tkt .content form > table, body.tkt .content > table[cellpadding],
969 body.tkt .content form > table > tbody, body.tkt .content > table[cellpadding] > tbody,
970 body.tkt .content form > table > tbody > tr, body.tkt .content > table[cellpadding] > tbody > tr { display: block; }
971 body.tkt .content form > table > tbody > tr > td, body.tkt .content > table[cellpadding] > tbody > tr > td {
972 display: block; width: auto; text-align: left; padding: 2px 0;
973 }
974 body.tkt .content > table[cellpadding] > tbody > tr > td.tktDspLabel { padding: 12px 0 3px; font-size: 0.9em; color: var(--muted); }
975 body.tkt .content > table[cellpadding] > tbody > tr > td.tktDspValue { padding: 6px 10px; border-radius: 4px; min-height: 1.4em; overflow-wrap: anywhere; }
976 body.tkt .content form > table > tbody > tr > td:nth-child(3) { color: var(--muted); font-size: 0.9em; }
977 body.tkt .content form > table > tbody > tr > td[align=right] { padding-top: 12px; color: var(--muted); }
978
979 /* File ages: age and file on one line, the check-in below */
980 body.fileage .content table:not(.timelineTable), body.fileage .content table:not(.timelineTable) > * { display: block; }
981 body.fileage .content table:not(.timelineTable) tr { display: grid; grid-template-columns: 6.5em 1fr; border-bottom: 1px solid var(--rule); }
982 body.fileage .content table:not(.timelineTable) td { border: 0; overflow-wrap: anywhere; }
983 body.fileage .content table:not(.timelineTable) td:nth-child(3), body.fileage .content table:not(.timelineTable) th:nth-child(3) {
984 grid-column: 1 / -1; max-width: none; padding-top: 0; color: var(--muted); font-size: 0.9em;
985 }
986
987 /* Admin forms: tables that hold fields stack their cells */
988 body.setup .content table:not(.sortable):not([border]):has(input, textarea, select),
989 body.setup .content table:not(.sortable):not([border]):has(input, textarea, select) > tbody,
990 body.setup .content table:not(.sortable):not([border]):has(input, textarea, select) > tbody > tr,
991 body.setup .content table:not(.sortable):not([border]):has(input, textarea, select) > tbody
--- a/skins/refined-dark/details.txt
+++ b/skins/refined-dark/details.txt
@@ -0,0 +1,4 @@
1
+timeline-arrowheads: 1
2
+timeline-circle-nodes: 1
3
+timeline-color-graph-lines: 1
4
+white-foreground: 1
--- a/skins/refined-dark/details.txt
+++ b/skins/refined-dark/details.txt
@@ -0,0 +1,4 @@
 
 
 
 
--- a/skins/refined-dark/details.txt
+++ b/skins/refined-dark/details.txt
@@ -0,0 +1,4 @@
1 timeline-arrowheads: 1
2 timeline-circle-nodes: 1
3 timeline-color-graph-lines: 1
4 white-foreground: 1
--- a/skins/refined-dark/footer.txt
+++ b/skins/refined-dark/footer.txt
@@ -0,0 +1,7 @@
1
+<footer>
2
+ <span class="footer-project">$<project_name></span>
3
+ <span class="footer-meta">
4
+ fossil $release_version &middot;
5
+ <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s
6
+ </span>
7
+</footer>
--- a/skins/refined-dark/footer.txt
+++ b/skins/refined-dark/footer.txt
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
--- a/skins/refined-dark/footer.txt
+++ b/skins/refined-dark/footer.txt
@@ -0,0 +1,7 @@
1 <footer>
2 <span class="footer-project">$<project_name></span>
3 <span class="footer-meta">
4 fossil $release_version &middot;
5 <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s
6 </span>
7 </footer>
--- a/skins/refined-dark/header.txt
+++ b/skins/refined-dark/header.txt
@@ -0,0 +1,44 @@
1
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
2
+<script defer src="$home/script.js"></script>
3
+<a class="skip-nav" href="#main-content">Skip to content</a>
4
+<header>
5
+ <div class="title">
6
+ <a href="$home/home" class="project-name">$<project_name></a>
7
+ <span class="page-title">$<title></span>
8
+ </div>
9
+ <div class="status">
10
+ <th1>
11
+ if {[info exists login]} {
12
+ html "<a href='$home/login'>$login</a>\n"
13
+ } else {
14
+ html "<a href='$home/login'>Login</a>\n"
15
+ }
16
+ </th1>
17
+ </div>
18
+</header>
19
+<nav class="mainmenu" aria-label="Main menu">
20
+ <th1>
21
+ html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map' aria-expanded='false' aria-controls='hbdrop'>&#9776;</a>"
22
+ builtin_request_js hbmenu.js
23
+ foreach {name url expr class} $mainmenu {
24
+ if {![capexpr $expr]} continue
25
+ if {[string match /* $url]} {
26
+ if {[string match $url\[/?#\]* /$current_page/]} {
27
+ set class "active $class"
28
+ }
29
+ set url $home$url
30
+ }
31
+ html "<a href='$url' class='$class'>$name</a>\n"
32
+ }
33
+ </th1>
34
+</nav>
35
+<nav id="hbdrop" class='hbdrop' aria-label="Site map" data-anim-ms="0"></nav>
36
+<div id="main-content" tabindex="-1" style="height:0;overflow:hidden;position:absolute"></div>
37
+<th1>
38
+ if {[string compare $title index]==0 || [string compare $title Home]==0} {
39
+ html "<h1 class='page-title home-title'>[htmlize $title]</h1>\n"
40
+ } else {
41
+ html "<h1 class='page-title'>[htmlize $title]</h1>\n"
42
+ }
43
+</th1>
44
+
--- a/skins/refined-dark/header.txt
+++ b/skins/refined-dark/header.txt
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/skins/refined-dark/header.txt
+++ b/skins/refined-dark/header.txt
@@ -0,0 +1,44 @@
1 <meta name="viewport" content="width=device-width, initial-scale=1.0">
2 <script defer src="$home/script.js"></script>
3 <a class="skip-nav" href="#main-content">Skip to content</a>
4 <header>
5 <div class="title">
6 <a href="$home/home" class="project-name">$<project_name></a>
7 <span class="page-title">$<title></span>
8 </div>
9 <div class="status">
10 <th1>
11 if {[info exists login]} {
12 html "<a href='$home/login'>$login</a>\n"
13 } else {
14 html "<a href='$home/login'>Login</a>\n"
15 }
16 </th1>
17 </div>
18 </header>
19 <nav class="mainmenu" aria-label="Main menu">
20 <th1>
21 html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map' aria-expanded='false' aria-controls='hbdrop'>&#9776;</a>"
22 builtin_request_js hbmenu.js
23 foreach {name url expr class} $mainmenu {
24 if {![capexpr $expr]} continue
25 if {[string match /* $url]} {
26 if {[string match $url\[/?#\]* /$current_page/]} {
27 set class "active $class"
28 }
29 set url $home$url
30 }
31 html "<a href='$url' class='$class'>$name</a>\n"
32 }
33 </th1>
34 </nav>
35 <nav id="hbdrop" class='hbdrop' aria-label="Site map" data-anim-ms="0"></nav>
36 <div id="main-content" tabindex="-1" style="height:0;overflow:hidden;position:absolute"></div>
37 <th1>
38 if {[string compare $title index]==0 || [string compare $title Home]==0} {
39 html "<h1 class='page-title home-title'>[htmlize $title]</h1>\n"
40 } else {
41 html "<h1 class='page-title'>[htmlize $title]</h1>\n"
42 }
43 </th1>
44
--- a/skins/refined-dark/js.txt
+++ b/skins/refined-dark/js.txt
@@ -0,0 +1,338 @@
1
+document.addEventListener('DOMContentLoaded', function () {
2
+(function () {
3
+ 'use strict';
4
+
5
+ /* ─────────────────────────────────────────────────────────────────────
6
+ 1. isDark patch
7
+ Fossil's C code hard-codes isDark:false for all custom skins,
8
+ ignoring the skin-detail config key. Patch it here after Fossil's
9
+ inline scripts have already run (guaranteed by defer).
10
+ ───────────────────────────────────────────────────────────────────── */
11
+ function patchIsDark() {
12
+ /* Only for the dark variant: the light build of this skin embeds the
13
+ same script, and its stylesheet declares color-scheme: light. */
14
+ if (getComputedStyle(document.documentElement).colorScheme.indexOf('dark') < 0) return;
15
+ if (window.fossil && window.fossil.config && window.fossil.config.skin) {
16
+ window.fossil.config.skin.isDark = true;
17
+ }
18
+ document.body.classList.add('fossil-dark-style');
19
+ }
20
+
21
+ /* ─────────────────────────────────────────────────────────────────────
22
+ 2. Main landmark
23
+ div.content is Fossil's primary content wrapper but has no landmark
24
+ role. Adding role="main" lets screen reader users jump to content.
25
+ ───────────────────────────────────────────────────────────────────── */
26
+ function addMainLandmark() {
27
+ var content = document.querySelector('div.content');
28
+ if (content && !content.getAttribute('role')) {
29
+ content.setAttribute('role', 'main');
30
+ }
31
+ }
32
+
33
+ /* ─────────────────────────────────────────────────────────────────────
34
+ 3. Hamburger menu — the worst accessibility failure in the skin
35
+ ----------------------------------------------------------------
36
+ What Fossil gives us:
37
+ <a id="hbbtn" href="/repo/sitemap" aria-label="Site Map">☰</a>
38
+ <nav id="hbdrop" class="hbdrop" title="sitemap"></nav>
39
+
40
+ Problems:
41
+ - No aria-expanded: screen readers can't tell if the menu is open
42
+ - No aria-controls: no programmatic link between button and panel
43
+ - hbdrop has no role or accessible name beyond an unhelpful title
44
+ - When the menu opens, focus stays on hbbtn — user cannot reach
45
+ the menu links by keyboard without realising the menu opened
46
+ - Escape key does not close the menu
47
+ - hbmenu.js controls visibility via style.display; we use
48
+ MutationObserver to stay in sync rather than patching the JS
49
+
50
+ Fixes applied:
51
+ - aria-expanded / aria-controls on hbbtn
52
+ - role="navigation" + aria-label on hbdrop
53
+ - MutationObserver: sync aria-expanded on every show/hide
54
+ - On open: move focus to the first link in the dropdown
55
+ - On Escape inside dropdown: close panel, return focus to hbbtn
56
+ ───────────────────────────────────────────────────────────────────── */
57
+ function fixHamburgerMenu() {
58
+ var btn = document.getElementById('hbbtn');
59
+ var drop = document.getElementById('hbdrop');
60
+ if (!btn || !drop) return;
61
+
62
+ var nav = btn.closest('nav.mainmenu') || btn.parentNode;
63
+ if (!nav) return;
64
+
65
+ /* Position the dropdown using position:fixed so it overlays content
66
+ regardless of DOM structure. We set --nav-bottom as a CSS variable
67
+ so the dropdown's top edge tracks the nav bar's bottom edge. */
68
+ function setNavBottom() {
69
+ var bottom = Math.max(0, nav.getBoundingClientRect().bottom);
70
+ document.documentElement.style.setProperty('--nav-bottom', bottom + 'px');
71
+ }
72
+ setNavBottom();
73
+ window.addEventListener('resize', setNavBottom);
74
+ /* Measure again on every open (capture: before hbmenu.js shows the
75
+ panel), so the menu opens under the nav bar wherever the page is. */
76
+ btn.addEventListener('click', setNavBottom, true);
77
+ /* Open by touch or mouse vs keyboard: only the keyboard gets focus moved */
78
+ var openedByPointer = false;
79
+ btn.addEventListener('pointerdown', function () { openedByPointer = true; });
80
+ btn.addEventListener('keydown', function () { openedByPointer = false; });
81
+
82
+ /* Static button semantics (JS will keep aria-expanded in sync) */
83
+ btn.setAttribute('aria-expanded', 'false');
84
+ btn.setAttribute('aria-controls', 'hbdrop');
85
+
86
+ /* Panel semantics */
87
+ drop.setAttribute('role', 'navigation');
88
+ drop.setAttribute('aria-label', 'Site map');
89
+
90
+ /* Sync aria-expanded whenever hbmenu.js toggles panel visibility.
91
+ hbmenu.js uses style.display to show/hide — observe that attribute. */
92
+ var menuObserver = new MutationObserver(function () {
93
+ var open = getComputedStyle(drop).display !== 'none';
94
+ btn.setAttribute('aria-expanded', open ? 'true' : 'false');
95
+
96
+ /* Move focus into the panel when it opens so keyboard users
97
+ can immediately navigate the links without guessing. */
98
+ if (open) {
99
+ /* The nav bar may now be stuck to the top (see the skin CSS) */
100
+ requestAnimationFrame(setNavBottom);
101
+ if (!openedByPointer) {
102
+ var firstLink = drop.querySelector('a');
103
+ if (firstLink) firstLink.focus({ preventScroll: true });
104
+ }
105
+ }
106
+ });
107
+ menuObserver.observe(drop, { attributes: true, attributeFilter: ['style'] });
108
+
109
+ /* Escape inside the dropdown: close the panel and return focus.
110
+ We set display directly — this also triggers the MutationObserver
111
+ which will update aria-expanded to 'false'. */
112
+ drop.addEventListener('keydown', function (e) {
113
+ if (e.key === 'Escape' || e.keyCode === 27) {
114
+ drop.style.display = 'none';
115
+ btn.focus();
116
+ }
117
+ });
118
+ }
119
+
120
+ /* ─────────────────────────────────────────────────────────────────────
121
+ 4. Timeline table
122
+ ----------------------------------------------------------------
123
+ Structure Fossil generates:
124
+
125
+ <table class="timelineTable">
126
+ <tr class="timelineDateRow">
127
+ <td><div class="timelineDate">2026-03-14</div></td>
128
+ <td></td> <- empty filler for graph column
129
+ <td></td> <- empty filler for comment column
130
+ </tr>
131
+ <tr>
132
+ <td class="timelineTime">20:16</td>
133
+ <td class="timelineGraph">
134
+ <div class="tl-nodemark"></div> <- JS draws SVG here later
135
+ </td>
136
+ <td class="timelineModernCell" id="mc1">
137
+ <span class="timelineModernComment">commit message</span>
138
+ <span class="timelineModernDetail">...</span>
139
+ </td>
140
+ </tr>
141
+ </table>
142
+
143
+ Fixes applied:
144
+ - aria-label="Commit timeline" on each .timelineTable
145
+ - aria-hidden="true" on all td.timelineGraph cells
146
+ - aria-hidden="true" on filler cells in timelineDateRow rows
147
+ - aria-label="Time: HH:MM" on timelineTime cells
148
+
149
+ Run at defer-time AND on window.load because Fossil's timeline JS
150
+ inserts SVG canvas elements into the graph cells on window.load.
151
+ ───────────────────────────────────────────────────────────────────── */
152
+ function fixTimeline() {
153
+ /* Label each timeline table */
154
+ document.querySelectorAll('table.timelineTable').forEach(function (tbl) {
155
+ if (!tbl.getAttribute('aria-label') && !tbl.querySelector('caption')) {
156
+ tbl.setAttribute('aria-label', 'Commit timeline');
157
+ }
158
+ });
159
+
160
+ /* Hide the graph column — purely visual SVG/canvas drawn by Fossil JS */
161
+ document.querySelectorAll('td.timelineGraph').forEach(function (td) {
162
+ td.setAttribute('aria-hidden', 'true');
163
+ });
164
+
165
+ /* Hide filler cells in date-separator rows */
166
+ document.querySelectorAll('tr.timelineDateRow').forEach(function (tr) {
167
+ tr.querySelectorAll('td + td').forEach(function (td) {
168
+ td.setAttribute('aria-hidden', 'true');
169
+ });
170
+ });
171
+
172
+ /* Give bare time cells a descriptive label.
173
+ Strip stray </a> text artefact Fossil emits in anonymous mode. */
174
+ document.querySelectorAll('td.timelineTime').forEach(function (td) {
175
+ var text = td.textContent.trim();
176
+ if (text && !td.getAttribute('aria-label')) {
177
+ td.setAttribute('aria-label', 'Time: ' + text);
178
+ }
179
+ });
180
+ }
181
+
182
+ /* ─────────────────────────────────────────────────────────────────────
183
+ 5. Sortable table headers — add scope="col"
184
+ Fossil generates <th> elements in branch, tag, file, and ticket
185
+ tables but never includes scope. Screen readers cannot correctly
186
+ associate header text with the cells in each column.
187
+ ───────────────────────────────────────────────────────────────────── */
188
+ function fixTableHeaders() {
189
+ var selector = [
190
+ 'table.sortable th',
191
+ 'table.filelistTable th',
192
+ 'table.branchlistTable th',
193
+ 'table.taglistTable th',
194
+ 'table.userlistTable th',
195
+ 'table.report th',
196
+ ].join(', ');
197
+ document.querySelectorAll(selector).forEach(function (th) {
198
+ if (!th.getAttribute('scope')) {
199
+ th.setAttribute('scope', 'col');
200
+ }
201
+ });
202
+ }
203
+
204
+ /* ─────────────────────────────────────────────────────────────────────
205
+ 6. Submenu select labels
206
+ Fossil renders <select> controls in the page submenu with no
207
+ associated <label>. We add aria-label from the preceding sibling
208
+ label text, falling back to a class-name lookup table.
209
+ ───────────────────────────────────────────────────────────────────── */
210
+ var SELECT_LABELS = {
211
+ 'smc-ss': 'View style',
212
+ 'smc-ci': 'Check-in',
213
+ 'smc-v': 'Version',
214
+ 'smc-r': 'Repository',
215
+ 'smc-b': 'Branch',
216
+ 'smc-t': 'Tag',
217
+ 'smc-u': 'User',
218
+ };
219
+
220
+ /* Charts Fossil draws as <svg width= height=> with no viewBox cannot be
221
+ scaled by CSS. Give them one; the skin's "svg.fit" rule does the rest. */
222
+ function fitCharts() {
223
+ document.querySelectorAll('.content svg[width][height]:not([viewBox])').forEach(function (s) {
224
+ var w = parseFloat(s.getAttribute('width')), h = parseFloat(s.getAttribute('height'));
225
+ if (!(w > 0 && h > 0)) return;
226
+ s.setAttribute('viewBox', '0 0 ' + w + ' ' + h);
227
+ s.classList.add('fit');
228
+ });
229
+ }
230
+
231
+ /* Sortable column headers respond to clicks only. Put them in the tab
232
+ order and let Enter or Space do what a click does. */
233
+ function fixSortableHeaders() {
234
+ document.querySelectorAll('table.sortable th').forEach(function (th) {
235
+ if (th.hasAttribute('tabindex')) return;
236
+ th.setAttribute('tabindex', '0');
237
+ th.addEventListener('keydown', function (e) {
238
+ if (e.key === 'Enter' || e.key === ' ') { e.preventDefault(); th.click(); }
239
+ });
240
+ });
241
+ }
242
+
243
+ /* The menu bar scrolls sideways on narrow screens. Bring the current
244
+ page's entry into view, without moving the page itself. */
245
+ function showActiveMenuItem() {
246
+ var nav = document.querySelector('nav.mainmenu');
247
+ var a = nav && nav.querySelector('a.active');
248
+ var hb = document.getElementById('hbbtn');
249
+ if (!a || a === hb || nav.scrollWidth <= nav.clientWidth) return;
250
+ var left = a.offsetLeft - nav.offsetLeft, pinned = hb ? hb.offsetWidth : 0;
251
+ if (left - pinned < nav.scrollLeft || left + a.offsetWidth > nav.scrollLeft + nav.clientWidth - 28) {
252
+ nav.scrollLeft = Math.max(0, left - pinned - 12);
253
+ }
254
+ }
255
+
256
+ function fixSubmenuSelects() {
257
+ document.querySelectorAll('div.submenu select, div.sectionmenu select').forEach(function (sel) {
258
+ if (sel.getAttribute('aria-label') || sel.getAttribute('aria-labelledby')) return;
259
+
260
+ /* Walk backwards through siblings to find a .label text node */
261
+ var prev = sel.previousElementSibling;
262
+ while (prev) {
263
+ if (prev.classList.contains('label') && prev.textContent.trim()) {
264
+ sel.setAttribute('aria-label', prev.textContent.trim());
265
+ return;
266
+ }
267
+ prev = prev.previousElementSibling;
268
+ }
269
+
270
+ /* Class-name lookup */
271
+ var classes = Array.from(sel.classList);
272
+ for (var i = 0; i < classes.length; i++) {
273
+ if (SELECT_LABELS[classes[i]]) {
274
+ sel.setAttribute('aria-label', SELECT_LABELS[classes[i]]);
275
+ return;
276
+ }
277
+ }
278
+
279
+ sel.setAttribute('aria-label', 'Filter');
280
+ });
281
+ }
282
+
283
+ /* ─────────────────────────────────────────────────────────────────────
284
+ 7. Day of week on each timeline date
285
+ Fossil's date rows carry only the date ("2026-11-11"). This puts the
286
+ full weekday on a small line above it. The weekday comes from Ben
287
+ Joffe's branchless method (benjoffe.com/fast-day-of-week), as zit
288
+ uses it: one multiply and two shifts, exact for every 32-bit day
289
+ number. It is read from the date Fossil prints, so it always matches
290
+ that date whether the timeline shows UTC or local time. The skin CSS
291
+ reserves the line before this runs, so setting the name moves nothing.
292
+ ───────────────────────────────────────────────────────────────────── */
293
+ var WEEKDAYS = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
294
+ function weekdayOf(dayNumber) { /* days since 1970-01-01 -> 0 = Sunday */
295
+ return ((Math.imul(dayNumber, 613566756) + 0x95000000 +
296
+ (dayNumber >> 1) + (dayNumber >> 4)) >>> 0) >>> 29;
297
+ }
298
+ function addWeekdays() {
299
+ var rows = document.querySelectorAll('div.timelineDate');
300
+ for (var i = 0; i < rows.length; i++) {
301
+ if (rows[i].hasAttribute('data-dow')) continue;
302
+ var m = /^(\d{4})-(\d\d)-(\d\d)$/.exec(rows[i].textContent.trim());
303
+ if (!m) continue;
304
+ /* The skin CSS shows this in a line it reserves above the date */
305
+ rows[i].setAttribute('data-dow', WEEKDAYS[weekdayOf(Date.UTC(+m[1], m[2] - 1, +m[3]) / 864e5)]);
306
+ }
307
+ }
308
+
309
+ /* ─────────────────────────────────────────────────────────────────────
310
+ Execute all fixes
311
+ The script is deferred so the DOM is fully parsed when this runs.
312
+ Fossil's inline config scripts have already executed, so
313
+ window.fossil exists and we can patch isDark immediately.
314
+ ───────────────────────────────────────────────────────────────────── */
315
+ patchIsDark();
316
+ addMainLandmark();
317
+ fixHamburgerMenu();
318
+ fixTimeline();
319
+ fixTableHeaders();
320
+ fixSubmenuSelects();
321
+ fitCharts();
322
+ showActiveMenuItem();
323
+ fixSortableHeaders();
324
+ addWeekdays();
325
+
326
+ /* Re-run after window.load: Fossil's timeline renderer inserts
327
+ .tl-canvas SVG elements into td.timelineGraph on load, and
328
+ Fossil's own load handlers may reset isDark. */
329
+ window.addEventListener('load', function () {
330
+ patchIsDark();
331
+ fixTimeline();
332
+ fixTableHeaders();
333
+ fixSubmenuSelects();
334
+ });
335
+
336
+}());
337
+
338
+});
--- a/skins/refined-dark/js.txt
+++ b/skins/refined-dark/js.txt
@@ -0,0 +1,338 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/skins/refined-dark/js.txt
+++ b/skins/refined-dark/js.txt
@@ -0,0 +1,338 @@
1 document.addEventListener('DOMContentLoaded', function () {
2 (function () {
3 'use strict';
4
5 /* ─────────────────────────────────────────────────────────────────────
6 1. isDark patch
7 Fossil's C code hard-codes isDark:false for all custom skins,
8 ignoring the skin-detail config key. Patch it here after Fossil's
9 inline scripts have already run (guaranteed by defer).
10 ───────────────────────────────────────────────────────────────────── */
11 function patchIsDark() {
12 /* Only for the dark variant: the light build of this skin embeds the
13 same script, and its stylesheet declares color-scheme: light. */
14 if (getComputedStyle(document.documentElement).colorScheme.indexOf('dark') < 0) return;
15 if (window.fossil && window.fossil.config && window.fossil.config.skin) {
16 window.fossil.config.skin.isDark = true;
17 }
18 document.body.classList.add('fossil-dark-style');
19 }
20
21 /* ─────────────────────────────────────────────────────────────────────
22 2. Main landmark
23 div.content is Fossil's primary content wrapper but has no landmark
24 role. Adding role="main" lets screen reader users jump to content.
25 ───────────────────────────────────────────────────────────────────── */
26 function addMainLandmark() {
27 var content = document.querySelector('div.content');
28 if (content && !content.getAttribute('role')) {
29 content.setAttribute('role', 'main');
30 }
31 }
32
33 /* ─────────────────────────────────────────────────────────────────────
34 3. Hamburger menu — the worst accessibility failure in the skin
35 ----------------------------------------------------------------
36 What Fossil gives us:
37 <a id="hbbtn" href="/repo/sitemap" aria-label="Site Map">☰</a>
38 <nav id="hbdrop" class="hbdrop" title="sitemap"></nav>
39
40 Problems:
41 - No aria-expanded: screen readers can't tell if the menu is open
42 - No aria-controls: no programmatic link between button and panel
43 - hbdrop has no role or accessible name beyond an unhelpful title
44 - When the menu opens, focus stays on hbbtn — user cannot reach
45 the menu links by keyboard without realising the menu opened
46 - Escape key does not close the menu
47 - hbmenu.js controls visibility via style.display; we use
48 MutationObserver to stay in sync rather than patching the JS
49
50 Fixes applied:
51 - aria-expanded / aria-controls on hbbtn
52 - role="navigation" + aria-label on hbdrop
53 - MutationObserver: sync aria-expanded on every show/hide
54 - On open: move focus to the first link in the dropdown
55 - On Escape inside dropdown: close panel, return focus to hbbtn
56 ───────────────────────────────────────────────────────────────────── */
57 function fixHamburgerMenu() {
58 var btn = document.getElementById('hbbtn');
59 var drop = document.getElementById('hbdrop');
60 if (!btn || !drop) return;
61
62 var nav = btn.closest('nav.mainmenu') || btn.parentNode;
63 if (!nav) return;
64
65 /* Position the dropdown using position:fixed so it overlays content
66 regardless of DOM structure. We set --nav-bottom as a CSS variable
67 so the dropdown's top edge tracks the nav bar's bottom edge. */
68 function setNavBottom() {
69 var bottom = Math.max(0, nav.getBoundingClientRect().bottom);
70 document.documentElement.style.setProperty('--nav-bottom', bottom + 'px');
71 }
72 setNavBottom();
73 window.addEventListener('resize', setNavBottom);
74 /* Measure again on every open (capture: before hbmenu.js shows the
75 panel), so the menu opens under the nav bar wherever the page is. */
76 btn.addEventListener('click', setNavBottom, true);
77 /* Open by touch or mouse vs keyboard: only the keyboard gets focus moved */
78 var openedByPointer = false;
79 btn.addEventListener('pointerdown', function () { openedByPointer = true; });
80 btn.addEventListener('keydown', function () { openedByPointer = false; });
81
82 /* Static button semantics (JS will keep aria-expanded in sync) */
83 btn.setAttribute('aria-expanded', 'false');
84 btn.setAttribute('aria-controls', 'hbdrop');
85
86 /* Panel semantics */
87 drop.setAttribute('role', 'navigation');
88 drop.setAttribute('aria-label', 'Site map');
89
90 /* Sync aria-expanded whenever hbmenu.js toggles panel visibility.
91 hbmenu.js uses style.display to show/hide — observe that attribute. */
92 var menuObserver = new MutationObserver(function () {
93 var open = getComputedStyle(drop).display !== 'none';
94 btn.setAttribute('aria-expanded', open ? 'true' : 'false');
95
96 /* Move focus into the panel when it opens so keyboard users
97 can immediately navigate the links without guessing. */
98 if (open) {
99 /* The nav bar may now be stuck to the top (see the skin CSS) */
100 requestAnimationFrame(setNavBottom);
101 if (!openedByPointer) {
102 var firstLink = drop.querySelector('a');
103 if (firstLink) firstLink.focus({ preventScroll: true });
104 }
105 }
106 });
107 menuObserver.observe(drop, { attributes: true, attributeFilter: ['style'] });
108
109 /* Escape inside the dropdown: close the panel and return focus.
110 We set display directly — this also triggers the MutationObserver
111 which will update aria-expanded to 'false'. */
112 drop.addEventListener('keydown', function (e) {
113 if (e.key === 'Escape' || e.keyCode === 27) {
114 drop.style.display = 'none';
115 btn.focus();
116 }
117 });
118 }
119
120 /* ─────────────────────────────────────────────────────────────────────
121 4. Timeline table
122 ----------------------------------------------------------------
123 Structure Fossil generates:
124
125 <table class="timelineTable">
126 <tr class="timelineDateRow">
127 <td><div class="timelineDate">2026-03-14</div></td>
128 <td></td> <- empty filler for graph column
129 <td></td> <- empty filler for comment column
130 </tr>
131 <tr>
132 <td class="timelineTime">20:16</td>
133 <td class="timelineGraph">
134 <div class="tl-nodemark"></div> <- JS draws SVG here later
135 </td>
136 <td class="timelineModernCell" id="mc1">
137 <span class="timelineModernComment">commit message</span>
138 <span class="timelineModernDetail">...</span>
139 </td>
140 </tr>
141 </table>
142
143 Fixes applied:
144 - aria-label="Commit timeline" on each .timelineTable
145 - aria-hidden="true" on all td.timelineGraph cells
146 - aria-hidden="true" on filler cells in timelineDateRow rows
147 - aria-label="Time: HH:MM" on timelineTime cells
148
149 Run at defer-time AND on window.load because Fossil's timeline JS
150 inserts SVG canvas elements into the graph cells on window.load.
151 ───────────────────────────────────────────────────────────────────── */
152 function fixTimeline() {
153 /* Label each timeline table */
154 document.querySelectorAll('table.timelineTable').forEach(function (tbl) {
155 if (!tbl.getAttribute('aria-label') && !tbl.querySelector('caption')) {
156 tbl.setAttribute('aria-label', 'Commit timeline');
157 }
158 });
159
160 /* Hide the graph column — purely visual SVG/canvas drawn by Fossil JS */
161 document.querySelectorAll('td.timelineGraph').forEach(function (td) {
162 td.setAttribute('aria-hidden', 'true');
163 });
164
165 /* Hide filler cells in date-separator rows */
166 document.querySelectorAll('tr.timelineDateRow').forEach(function (tr) {
167 tr.querySelectorAll('td + td').forEach(function (td) {
168 td.setAttribute('aria-hidden', 'true');
169 });
170 });
171
172 /* Give bare time cells a descriptive label.
173 Strip stray </a> text artefact Fossil emits in anonymous mode. */
174 document.querySelectorAll('td.timelineTime').forEach(function (td) {
175 var text = td.textContent.trim();
176 if (text && !td.getAttribute('aria-label')) {
177 td.setAttribute('aria-label', 'Time: ' + text);
178 }
179 });
180 }
181
182 /* ─────────────────────────────────────────────────────────────────────
183 5. Sortable table headers — add scope="col"
184 Fossil generates <th> elements in branch, tag, file, and ticket
185 tables but never includes scope. Screen readers cannot correctly
186 associate header text with the cells in each column.
187 ───────────────────────────────────────────────────────────────────── */
188 function fixTableHeaders() {
189 var selector = [
190 'table.sortable th',
191 'table.filelistTable th',
192 'table.branchlistTable th',
193 'table.taglistTable th',
194 'table.userlistTable th',
195 'table.report th',
196 ].join(', ');
197 document.querySelectorAll(selector).forEach(function (th) {
198 if (!th.getAttribute('scope')) {
199 th.setAttribute('scope', 'col');
200 }
201 });
202 }
203
204 /* ─────────────────────────────────────────────────────────────────────
205 6. Submenu select labels
206 Fossil renders <select> controls in the page submenu with no
207 associated <label>. We add aria-label from the preceding sibling
208 label text, falling back to a class-name lookup table.
209 ───────────────────────────────────────────────────────────────────── */
210 var SELECT_LABELS = {
211 'smc-ss': 'View style',
212 'smc-ci': 'Check-in',
213 'smc-v': 'Version',
214 'smc-r': 'Repository',
215 'smc-b': 'Branch',
216 'smc-t': 'Tag',
217 'smc-u': 'User',
218 };
219
220 /* Charts Fossil draws as <svg width= height=> with no viewBox cannot be
221 scaled by CSS. Give them one; the skin's "svg.fit" rule does the rest. */
222 function fitCharts() {
223 document.querySelectorAll('.content svg[width][height]:not([viewBox])').forEach(function (s) {
224 var w = parseFloat(s.getAttribute('width')), h = parseFloat(s.getAttribute('height'));
225 if (!(w > 0 && h > 0)) return;
226 s.setAttribute('viewBox', '0 0 ' + w + ' ' + h);
227 s.classList.add('fit');
228 });
229 }
230
231 /* Sortable column headers respond to clicks only. Put them in the tab
232 order and let Enter or Space do what a click does. */
233 function fixSortableHeaders() {
234 document.querySelectorAll('table.sortable th').forEach(function (th) {
235 if (th.hasAttribute('tabindex')) return;
236 th.setAttribute('tabindex', '0');
237 th.addEventListener('keydown', function (e) {
238 if (e.key === 'Enter' || e.key === ' ') { e.preventDefault(); th.click(); }
239 });
240 });
241 }
242
243 /* The menu bar scrolls sideways on narrow screens. Bring the current
244 page's entry into view, without moving the page itself. */
245 function showActiveMenuItem() {
246 var nav = document.querySelector('nav.mainmenu');
247 var a = nav && nav.querySelector('a.active');
248 var hb = document.getElementById('hbbtn');
249 if (!a || a === hb || nav.scrollWidth <= nav.clientWidth) return;
250 var left = a.offsetLeft - nav.offsetLeft, pinned = hb ? hb.offsetWidth : 0;
251 if (left - pinned < nav.scrollLeft || left + a.offsetWidth > nav.scrollLeft + nav.clientWidth - 28) {
252 nav.scrollLeft = Math.max(0, left - pinned - 12);
253 }
254 }
255
256 function fixSubmenuSelects() {
257 document.querySelectorAll('div.submenu select, div.sectionmenu select').forEach(function (sel) {
258 if (sel.getAttribute('aria-label') || sel.getAttribute('aria-labelledby')) return;
259
260 /* Walk backwards through siblings to find a .label text node */
261 var prev = sel.previousElementSibling;
262 while (prev) {
263 if (prev.classList.contains('label') && prev.textContent.trim()) {
264 sel.setAttribute('aria-label', prev.textContent.trim());
265 return;
266 }
267 prev = prev.previousElementSibling;
268 }
269
270 /* Class-name lookup */
271 var classes = Array.from(sel.classList);
272 for (var i = 0; i < classes.length; i++) {
273 if (SELECT_LABELS[classes[i]]) {
274 sel.setAttribute('aria-label', SELECT_LABELS[classes[i]]);
275 return;
276 }
277 }
278
279 sel.setAttribute('aria-label', 'Filter');
280 });
281 }
282
283 /* ─────────────────────────────────────────────────────────────────────
284 7. Day of week on each timeline date
285 Fossil's date rows carry only the date ("2026-11-11"). This puts the
286 full weekday on a small line above it. The weekday comes from Ben
287 Joffe's branchless method (benjoffe.com/fast-day-of-week), as zit
288 uses it: one multiply and two shifts, exact for every 32-bit day
289 number. It is read from the date Fossil prints, so it always matches
290 that date whether the timeline shows UTC or local time. The skin CSS
291 reserves the line before this runs, so setting the name moves nothing.
292 ───────────────────────────────────────────────────────────────────── */
293 var WEEKDAYS = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
294 function weekdayOf(dayNumber) { /* days since 1970-01-01 -> 0 = Sunday */
295 return ((Math.imul(dayNumber, 613566756) + 0x95000000 +
296 (dayNumber >> 1) + (dayNumber >> 4)) >>> 0) >>> 29;
297 }
298 function addWeekdays() {
299 var rows = document.querySelectorAll('div.timelineDate');
300 for (var i = 0; i < rows.length; i++) {
301 if (rows[i].hasAttribute('data-dow')) continue;
302 var m = /^(\d{4})-(\d\d)-(\d\d)$/.exec(rows[i].textContent.trim());
303 if (!m) continue;
304 /* The skin CSS shows this in a line it reserves above the date */
305 rows[i].setAttribute('data-dow', WEEKDAYS[weekdayOf(Date.UTC(+m[1], m[2] - 1, +m[3]) / 864e5)]);
306 }
307 }
308
309 /* ─────────────────────────────────────────────────────────────────────
310 Execute all fixes
311 The script is deferred so the DOM is fully parsed when this runs.
312 Fossil's inline config scripts have already executed, so
313 window.fossil exists and we can patch isDark immediately.
314 ───────────────────────────────────────────────────────────────────── */
315 patchIsDark();
316 addMainLandmark();
317 fixHamburgerMenu();
318 fixTimeline();
319 fixTableHeaders();
320 fixSubmenuSelects();
321 fitCharts();
322 showActiveMenuItem();
323 fixSortableHeaders();
324 addWeekdays();
325
326 /* Re-run after window.load: Fossil's timeline renderer inserts
327 .tl-canvas SVG elements into td.timelineGraph on load, and
328 Fossil's own load handlers may reset isDark. */
329 window.addEventListener('load', function () {
330 patchIsDark();
331 fixTimeline();
332 fixTableHeaders();
333 fixSubmenuSelects();
334 });
335
336 }());
337
338 });
--- a/skins/refined-light/css.txt
+++ b/skins/refined-light/css.txt
@@ -0,0 +1,921 @@
1
+/* Refined Light skin
2
+ A light rendering of Fossil's default skin: same layout, same sizes, same
3
+ menu band and submenu row. Colors are chosen for WCAG AA contrast on a
4
+ near-black page: body text 13:1, muted text 7:1, links 7:1.
5
+ Functional dark-theme overrides for Fossil's hardcoded light colors
6
+ (timeline graph, diffs, chat, forum, tickets) are kept at the end.
7
+ Uses system fonts; no external font resources are needed. */
8
+
9
+
10
+:root {
11
+ --bg: #ffffff;
12
+ --surface: #f4f5f7;
13
+ --surface2: #e8ebef;
14
+ --border: #d3d7dd;
15
+ --text: #1c1e22; /* 16:1 on --bg */
16
+ --muted: #565e68; /* 6.6:1 on --bg */
17
+ --link: #2b67a8; /* 5.8:1 on --bg; near Fossil default's #3779BF */
18
+ --link-hover: #1d4f86;
19
+ --link-on-tint: #1d4f86; /* 5.0-6.4:1 on Fossil's pastel rows */
20
+ --title: #3a7bc0; /* large text; Fossil default's #4183C4 */
21
+ --active: #d26911; /* Fossil default's menu accent */
22
+ --green: #1d7a3c;
23
+ --red: #b3372a;
24
+ --yellow: #8a6100;
25
+ --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
26
+ --mono: ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
27
+ color-scheme: light;
28
+ --input-bg: #ffffff; --on-accent: #ffffff; --visited: #5a4fa8;
29
+ --sel-bg: #f7e3cc; --sec-bg: #d9e7f6; --stripe: #f7f8fa; --rule: #e5e8ec;
30
+ --btn-hover: #dde1e6; --band-top: #fafbfc; --warn-bg: #fbf0d0; --err-bg: #fbe1dc;
31
+ --green-rgb: 29 122 60; --red-rgb: 179 55 42; --yellow-rgb: 190 140 0;
32
+ --link-rgb: 43 103 168; --teal-rgb: 20 140 130; --violet-rgb: 90 90 200;
33
+ --muted-rgb: 86 94 104; --veil-rgb: 255 255 255; --lift-rgb: 0 0 0; --shadow-rgb: 0 0 0;
34
+ --tint-rgb: 255 255 255; --tint-mute: 0; --chat-mute: 0; --bubble-shadow: 0.10; --popup-shadow: 0.16;
35
+ --veil: 0;
36
+}
37
+
38
+/* Base, matching the default skin's sizing */
39
+body {
40
+ margin: 0 auto;
41
+ background-color: var(--bg);
42
+ color: var(--text);
43
+ font-family: var(--font);
44
+ font-size: 16px;
45
+ line-height: 1.45;
46
+}
47
+a { color: var(--link); text-decoration: none; }
48
+a:hover { color: var(--link-hover); text-decoration: underline; }
49
+a:visited { color: var(--visited); }
50
+code, pre, tt, kbd, samp, var { font-family: var(--mono); }
51
+code, tt, kbd, samp { font-size: 0.94em; }
52
+pre { font-size: 0.92em; line-height: 1.35; overflow-x: auto; }
53
+hr { border: none; border-top: 1px solid var(--border); }
54
+blockquote { border-left: 3px solid var(--border); margin: 0.5em 0; padding: 0.1em 1em; }
55
+img { max-width: 100%; }
56
+
57
+/* Title area above the menu bar */
58
+header { display: flex; align-items: center; gap: 14px; padding: 14px 0 12px; }
59
+.skip-nav {
60
+ position: absolute; top: -100%; left: 0;
61
+ background: var(--link); color: var(--on-accent);
62
+ padding: 0.5rem 1.25rem; font-weight: 600; z-index: 9999;
63
+ border-radius: 0 0 6px 0;
64
+}
65
+.skip-nav:focus { top: 0; outline: 2px solid #fff; outline-offset: -4px; }
66
+
67
+div.logo { display: flex; flex-shrink: 0; }
68
+div.logo img, img.logo-mark { width: 48px; height: 48px; object-fit: cover; display: block; border-radius: 6px; }
69
+.hub-link:hover img { opacity: 0.85; }
70
+
71
+.title { min-width: 0; color: var(--title); line-height: 1.2; }
72
+.title h1, .title .project-name {
73
+ display: inline;
74
+ font-size: 2.2em;
75
+ font-weight: bold;
76
+ color: var(--title);
77
+ text-decoration: none;
78
+}
79
+.title .project-name:hover { color: var(--link-hover); text-decoration: none; }
80
+.title h1:after, .title .project-name:after {
81
+ content: " / "; color: var(--muted); font-weight: normal;
82
+}
83
+span.page-title { font-size: 18px; color: var(--text); }
84
+/* Hidden from view but not display:none: Fossil's forum script sizes its
85
+ expand control from the height of the first h1 on the page, and loops
86
+ forever if that height is 0. This also keeps the heading for screen readers. */
87
+h1.page-title {
88
+ font-size: 1.6em; color: var(--text);
89
+ display: block; position: absolute; width: 1px; margin: 0; padding: 0;
90
+ overflow: hidden; clip-path: inset(50%); white-space: nowrap;
91
+}
92
+/* Home pages carry their own heading; Fossil's "index" / "Home" title is noise */
93
+h1.page-title.home-title { display: none !important; }
94
+/* Long document titles go in the body instead of the title bar */
95
+.artifact h1.page-title, .dir h1.page-title, .doc h1.page-title, .wiki h1.page-title {
96
+ position: static; width: auto; overflow: visible; clip-path: none; white-space: normal;
97
+ margin: revert; margin-bottom: 0;
98
+}
99
+.artifact .title > .page-title, .dir .title > .page-title,
100
+.doc .title > .page-title, .wiki .title > .page-title { display: none; }
101
+/* ...unless the page opens with a heading of its own (a wiki page's first
102
+ heading, "History of ...", "Files in ..."): the title would say it twice */
103
+body:has(div.content > :is(h1, h2):first-child, div.content > span:first-child + :is(h1, h2),
104
+ div.content > :is(.markdown, .fossil-doc) > :is(h1, h2):first-child,
105
+ div.content > span:first-child + :is(.markdown, .fossil-doc) > :is(h1, h2):first-child) h1.page-title {
106
+ position: absolute; width: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
107
+}
108
+.artifact .title h1:after, .dir .title h1:after, .doc .title h1:after, .wiki .title h1:after,
109
+.artifact .title .project-name:after, .dir .title .project-name:after,
110
+.doc .title .project-name:after, .wiki .title .project-name:after { content: ""; }
111
+
112
+.status { margin-left: auto; font-size: 0.9em; }
113
+.status a { color: var(--muted); }
114
+.status a:hover { color: var(--text); }
115
+
116
+/* Main menu band */
117
+.mainmenu {
118
+ clear: both;
119
+ background: var(--surface) linear-gradient(var(--band-top), var(--surface)) repeat-x;
120
+ border: 1px solid var(--border);
121
+ border-radius: 5px;
122
+ overflow-x: auto;
123
+ overflow-y: hidden;
124
+ white-space: nowrap;
125
+ z-index: 21;
126
+}
127
+.mainmenu a {
128
+ display: inline-block;
129
+ line-height: 1.4;
130
+ color: var(--muted);
131
+ text-decoration: none;
132
+ border-right: 1px solid var(--border);
133
+ font-weight: 500;
134
+}
135
+.mainmenu a.active, .mainmenu a:hover {
136
+ color: var(--text);
137
+ border-bottom: 2px solid var(--active);
138
+ text-decoration: none;
139
+}
140
+#hbbtn { font-size: 1.15em; min-width: 44px; text-align: center; }
141
+#hbbtn[aria-expanded="true"] { color: var(--text); background: var(--surface2); }
142
+
143
+/* Hamburger dropdown (hbmenu.js toggles display; a11y.js sets --nav-bottom) */
144
+nav#hbdrop {
145
+ background-color: var(--surface);
146
+ border: 1px solid var(--border);
147
+ border-top: none;
148
+ border-radius: 0 0 0.5em 0.5em;
149
+ display: none;
150
+ font-size: 0.95em;
151
+ position: fixed;
152
+ top: var(--nav-bottom, 88px);
153
+ left: 0; right: 0;
154
+ z-index: 200;
155
+ box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / 0.5);
156
+ overflow-x: hidden;
157
+ max-height: 75vh;
158
+ overflow-y: auto;
159
+}
160
+ul#sitemap {
161
+ padding: 1.25rem 1.5rem 1.5rem;
162
+ margin: 0;
163
+ list-style: none;
164
+ column-width: 14em;
165
+ column-gap: 2.5rem;
166
+}
167
+ul#sitemap > li {
168
+ list-style: none;
169
+ margin: 0 0 1.1rem;
170
+ break-inside: avoid;
171
+}
172
+ul#sitemap > li > a {
173
+ display: inline-block;
174
+ font-size: 0.78em;
175
+ font-weight: 600;
176
+ letter-spacing: 0.06em;
177
+ text-transform: uppercase;
178
+ color: var(--muted);
179
+ padding: 0.3rem 0;
180
+}
181
+ul#sitemap > li > a:hover { color: var(--text); text-decoration: none; }
182
+ul#sitemap ul { margin: 0.15rem 0 0; padding: 0; list-style: none; }
183
+ul#sitemap ul li { list-style: none; }
184
+ul#sitemap ul li a {
185
+ display: flex; align-items: center; box-sizing: border-box; /* text stays centered at any row height */
186
+ color: var(--text);
187
+ padding: 0.3rem 0.6rem;
188
+ margin-left: -0.6rem;
189
+ border-radius: 4px;
190
+ min-height: 36px;
191
+}
192
+ul#sitemap ul li a:hover { background: var(--surface2); color: var(--link-hover); text-decoration: none; }
193
+nav#hbdrop ul#sitemap { column-width: 14em; }
194
+ul#sitemap.columns { overflow-x: hidden; }
195
+
196
+/* Submenu row, like the default: a horizontal strip under the menu band */
197
+.submenu, .sectionmenu {
198
+ font-size: 0.9em;
199
+ padding: 8px 0;
200
+ margin-bottom: 4px;
201
+ border-bottom: 1px solid var(--border);
202
+ display: flex;
203
+ flex-wrap: wrap;
204
+ align-items: center;
205
+ gap: 0.25rem 0.5rem;
206
+}
207
+.submenu a, .submenu label, .sectionmenu a {
208
+ padding: 6px 10px;
209
+ text-decoration: none;
210
+ color: var(--link);
211
+ border: 1px solid transparent;
212
+ border-radius: 5px;
213
+ white-space: nowrap;
214
+}
215
+.submenu > a:first-child { margin-left: -10px; }
216
+.submenu a:hover, .submenu label:hover, .sectionmenu a:hover {
217
+ border-color: var(--border);
218
+ background: var(--surface);
219
+ color: var(--text);
220
+ text-decoration: none;
221
+}
222
+span.submenuctrl, span.submenuctrl input, select.submenuctrl { color: var(--muted); }
223
+span.submenuctrl { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.35rem; }
224
+.submenuckbox { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--text); cursor: pointer; }
225
+.submenu select, .submenu input[type=text], .sectionmenu select, .sectionmenu input[type=text] {
226
+ width: auto;
227
+ font-size: 0.95em;
228
+ padding: 0.3em 0.5em;
229
+}
230
+.submenu select, .sectionmenu select { padding-right: 1.9em; }
231
+.section {
232
+ font-size: 1em; font-weight: bold;
233
+ background-color: var(--surface);
234
+ border: 1px solid var(--border);
235
+ border-radius: 3px 3px 0 0;
236
+ padding: 9px 10px 10px;
237
+ margin: 10px 0;
238
+}
239
+.sectionmenu {
240
+ border: 1px solid var(--border);
241
+ border-radius: 0 0 3px 3px;
242
+ border-top: 0;
243
+ margin-top: -10px;
244
+ margin-bottom: 10px;
245
+}
246
+
247
+/* Content */
248
+.content { padding: 12px 0; color: var(--text); }
249
+.content h1 { font-size: 1.60em; color: var(--text); }
250
+.content h2 { font-size: 1.45em; color: var(--text); }
251
+.content h3 { font-size: 1.15em; color: var(--text); }
252
+.content h4 { font-size: 1.05em; color: var(--text); }
253
+.content h5 { font-size: 1.00em; color: var(--text); }
254
+.content pre, table.numbered-lines > tbody > tr { hyphens: none; line-height: 1.3; }
255
+.content ul:not(.browser) > li { list-style-type: disc; }
256
+div.filetree ul li.dir, div.filetree ul li.subdir, div.filetree ul li.file { list-style-type: none; }
257
+th { text-align: left; }
258
+
259
+/* User content: wiki, embedded docs, forum posts */
260
+.markdown blockquote, p.blockquote, .sidebar {
261
+ background-color: var(--surface);
262
+ border-left: 4px solid var(--link);
263
+}
264
+div.sidebar { outline: 1em solid var(--bg); }
265
+.artifact > .content > p > code, .artifact > .content > .markdown > p > code, .artifact > .content > .fossil-doc > p > code,
266
+.dir > .content > p > code, .dir > .content > .markdown > p > code,
267
+.doc > .content > p > code, .doc > .content > .markdown > p > code, .doc > .content > .fossil-doc > p > code,
268
+.forum > .content .markdown > p > code,
269
+.wiki > .content > p > code, .wiki > .content > .markdown > p > code, .wiki > .content > .fossil-doc > p > code,
270
+.content li > code, .content td > code {
271
+ background-color: var(--surface);
272
+ border: 1px solid var(--border);
273
+ border-radius: 3px;
274
+ padding: 0 4px;
275
+}
276
+.artifact > .content > pre, .artifact > .content > .markdown > pre, .artifact > .content > .fossil-doc > pre,
277
+.dir > .content > pre, .dir > .content > .markdown > pre,
278
+.doc > .content > pre, .doc > .content > .markdown > pre, .doc > .content > .fossil-doc > pre,
279
+.forum > .content .markdown > pre,
280
+.wiki > .content > pre, .wiki > .content > .markdown > pre, .wiki > .content > .fossil-doc > pre,
281
+pre.verbatim, pre.textPlain {
282
+ background-color: var(--surface);
283
+ border: 1px solid var(--border);
284
+ border-radius: 4px;
285
+ padding: 8px 10px;
286
+}
287
+pre.verbatim { white-space: pre-wrap; }
288
+.artifact > .content table, .dir > .content table, .doc > .content table, .wiki > .content table,
289
+.forum > .content .markdown table {
290
+ background-color: var(--surface);
291
+ border: 1px solid var(--border);
292
+ border-radius: 0.5em;
293
+ border-spacing: 0;
294
+ padding: 6px;
295
+}
296
+.artifact > .content th, .dir > .content th, .doc > .content th, .wiki > .content th,
297
+.forum > .content .markdown th {
298
+ border-bottom: 1px solid var(--border);
299
+ background-color: var(--surface2);
300
+ padding: 4px 6px;
301
+}
302
+.artifact > .content tr:nth-child(odd) td, .dir > .content tr:nth-child(odd) td,
303
+.doc > .content tr:nth-child(odd) td, .wiki > .content tr:nth-child(odd) td {
304
+ background-color: var(--stripe);
305
+}
306
+.artifact > .content td, .dir > .content td, .doc > .content td, .wiki > .content td,
307
+.forum er { flex-shrink: 0; }
308
+
309
+/* Footer */
310
+footer {
311
+ border-top: 1px solid var(--border);
312
+ padding: 10px;
313
+ font-size: 0.85em;
314
+ margin-top: 10px;
315
+ color: var(--muted);
316
+ display: flex;
317
+ justify-content: space-between;
318
+ flex-wrap: wrap;
319
+ gap: 0.5rem;
320
+}
321
+
322
+/* Forum */
323
+.forum a:visited { color: var(--visited); }
324
+div.forumSel {
325
+ animation: 1s linear 0s sel-fade;
326
+ background-color: var(--bg);
327
+ border-left: 4px solid var(--link);
328
+}
329
+@keyframes sel-fade { from { background-color: var(--surface2); } to { background-color: var(--bg); } }
330
+.forum form input { margin: 0.5em 0; }
331
+div.forumTime, div.forumHier, div.forumHierRoot {
332
+ background: var(--surface) !important;
333
+ border: 1px solid var(--border) !important;
334
+ border-radius: 4px;
335
+ color: var(--text) !important;
336
+}
337
+div.forumTime.forumSel, div.forumHier.forumSel { border-color: var(--link) !important; }
338
+div.forumObs { opacity: 0.75; }
339
+div.forumPostBody, div.forumPostBody h1, div.forumPostBody h2, div.forumPostBody h3 { color: var(--text) !important; }
340
+.forum-post-collapser {
341
+ border-color: var(--border) !important;
342
+ background: var(--surface) !important;
343
+ color: var(--muted) !important;
344
+}
345
+.forum-post-collapser:hover { background: var(--surface2) !important; color: var(--text) !important; }
346
+div.searchForm { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1em 0; }
347
+
348
+/* Tickets and reports */
349
+table.report { cursor: auto; border: 1px solid var(--border); border-radius: 0.5em; margin: 1em 0; }
350
+.report td, .report th { border: 0; font-size: 0.9em; padding: 8px 10px; }
351
+.report th { cursor: pointer; background: var(--surface); }
352
+.report thead + tbody tr:hover { background-color: var(--surface2) !important; }
353
+body.report table.report tr td { color: var(--text) !important; }
354
+body.report table.report a { color: var(--link) !important; }
355
+td.tktDspLabel { width: 70px; text-align: right; overflow: hidden; color: var(--muted) !important; }
356
+td.tktDspValue {
357
+ text-align: left; vertical-align: top;
358
+ background-color: var(--surface) !important;
359
+ border: 1px solid var(--border) !important;
360
+ color: var(--text) !important;
361
+}
362
+td.tktDspValue pre { white-space: pre-wrap; }
363
+
364
+/* Timeline */
365
+span.timelineDetail { font-size: 90%; }
366
+div.timelineDate { font-weight: bold; white-space: nowrap; color: var(--muted); }
367
+table.timelineTable { padding: 0 3px; }
368
+table.timelineTable tr { border-radius: 1em; }
369
+.timelineModernCell, .timelineColumnarCell, .timelineDetailCell { border-radius: 0.5em; }
370
+.timelineModernCell[id], .timelineColumnarCell[id], .timelineDetailCell[id] { background-color: var(--surface); }
371
+.timelineModernDetail { opacity: 1; color: var(--muted); font-size: 0.9em; }
372
+.timelineModernComment { color: var(--text); }
373
+td.timelineTime { color: var(--muted); font-family: var(--mono); font-size: 0.9em; white-space: nowrap; }
374
+span.timelineHash { font-family: var(--mono); }
375
+tr.timelineSelected, tr.timelineSecondary { background-color: unset; }
376
+tr.timelineSelected td, span.timelineSelected { background-color: var(--sel-bg) !important; }
377
+tr.timelineSecondary td, span.timelineSecondary { background-color: var(--sec-bg) !important; }
378
+tr.timelineCurrent td:first-child, tr.timelineSecondary td:first-child, tr.timelineSelected td:first-child {
379
+ border-top-left-radius: 1em; border-bottom-left-radius: 1em;
380
+}
381
+tr.timelineCurrent td:last-child, tr.timelineSecondary td:last-child, tr.timelineSelected td:last-child {
382
+ border-top-right-radius: 1em; border-bottom-right-radius: 1em;
383
+}
384
+tr.timelineCurrent td { border-top: 1px dashed var(--muted); border-bottom: 1px dashed var(--muted); }
385
+tr.timelineCurrent td:first-child { border-left: 1px dashed var(--muted); }
386
+tr.timelineCurrent td:last-child { border-right: 1px dashed var(--muted); }
387
+
388
+/* Timeline graph: Fossil hardcodes black lines and white nodes */
389
+.tl-node { background: var(--link) !important; border-color: var(--text) !important; }
390
+.tl-node.leaf:after { background: var(--bg) !important; }
391
+.tl-node.closed-leaf svg { color: var(--bg) !important; }
392
+.tl-line { background-color: var(--muted); }
393
+.tl-line.warp { background: var(--yellow) !important; }
394
+.tl-line.cherrypick.h { border-top-color: var(--muted) !important; background: transparent !important; }
395
+.tl-line.cherrypick.v, .tl-line.dotted.v { border-left-color: var(--muted) !important; background: transparent !important; }
396
+.tl-arrow.u, .tl-arrow.u.sm { border-bottom-color: var(--muted) !important; }
397
+.tl-arrow.merge.l, .tl-arrow.cherrypick.l { border-right-color: var(--muted) !important; }
398
+.tl-arrow.merge.r, .tl-arrow.cherrypick.r { border-left-color: var(--muted) !important; }
399
+.tl-arrow.warp { border-left-color: var(--yellow) !important; }
400
+/* Branch colors are pastel inline backgrounds; darken them so text stays readable */
401
+/* Branch and user tints come from Fossil, already sized for this foreground */
402
+.tl-tooltip {
403
+ background: var(--surface2) !important; color: var(--text) !important;
404
+ border-color: var(--border) !important; box-shadow: 0 4px 16px rgb(var(--shadow-rgb) / 0.5) !important;
405
+}
406
+
407
+/* Lists and tables Fossil generates */
408
+table.sortable th, table.filelistTable th, .fileage th {
409
+ text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); cursor: pointer;
410
+}
411
+table.sortable td, table.filelistTable td, .fileage td { padding: 5px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
412
+table.sortable tr:hover td, .fileage tr:hover, div.filetreeline:hover { background: var(--surface) !important; }
413
+body.branch .brlist > table > tbody > tr:hover:not(.selected) { background: var(--surface) !important; }
414
+body.branch .brlist > table > tbody > tr.selected { background: var(--surface2) !important; }
415
+.branch-name, span.tagDsp {
416
+ display: inline-block; background: var(--surface2); border: 1px solid var(--border);
417
+ border-radius: 3px; color: var(--link); font-family: var(--mono); font-size: 0.85em; padding: 0 0.3em;
418
+}
419
+
420
+/* Diffs: Fossil's built-in colors are pale pastels */
421
+table.diff { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.9em; }
422
+td.difflnc, td.difflna, td.difflnb { color: var(--muted); padding: 0 0.5em; text-align: right; user-select: none; border-right: 1px solid var(--border); }
423
+td.difftext { padding: 0 0.5em; white-space: pre; }
424
+tr.diffskip, tr.diffskip.jchunk { background: var(--surface) !important; }
425
+tr.diffskip > td.chunkctrl .jcbutton { background: var(--surface2) !important; color: var(--muted) !important; border-radius: 3px; }
426
+tr.diffskip > td.chunkctrl .jcbutton:hover { color: var(--text) !important; }
427
+td.diffmkrl, td.diffmkrr, td.diffmkru { color: var(--muted); }
428
+tr.diffadd td { background: rgb(var(--green-rgb) / 0.10); }
429
+tr.diffrm td { background: rgb(var(--red-rgb) / 0.10); }
430
+tr.diffchng td { background: rgb(var(--yellow-rgb) / 0.07); }
431
+span.diffadd { color: var(--green); }
432
+span.diffrm { color: var(--red); }
433
+span.diffchng { color: var(--yellow); }
434
+td.diffln ins, td.difftxt ins, table.diff pre > ins { background-color: rgb(var(--green-rgb) / 0.16) !important; }
435
+td.diffln del, td.difftxt del, table.diff pre > del { background-color: rgb(var(--red-rgb) / 0.16) !important; }
436
+td.difftxt del > del, table.diff pre > del > del { background-color: rgb(var(--red-rgb) / 0.32) !important; }
437
+td.difftxt ins > ins, table.diff pre > ins > ins { background-color: rgb(var(--green-rgb) / 0.32) !important; }
438
+td.difftxt del > del.edit, td.difftxt ins > ins.edit,
439
+table.diff pre > del > del.edit, table.diff pre > ins > ins.edit { background-color: rgb(var(--link-rgb) / 0.25) !important; }
440
+
441
+/* Annotate / blame: inline pastel backgrounds from Fossil JS */
442
+td.annotateDate, td.annotateUser { color: var(--muted); font-family: var(--mono); font-size: 0.85em; padding: 0 0.5em; white-space: nowrap; border-right: 1px solid var(--border); }
443
+pre span[style*="background"], li span[style*="background"] {
444
+ background-image: linear-gradient(rgb(var(--veil-rgb) / 0.7), rgb(var(--veil-rgb) / 0.7)) !important;
445
+ border-radius: 3px; padding: 0.1em 0.25em;
446
+}
447
+
448
+/* Any inline pastel background Fossil emits (ticket reports and their key,
449
+ ticket pages, annotate legends, branch lists): darken it, keep the hue */
450
+tr[style*="background-color"], td[style*="background-color"], th[style*="background-color"],
451
+span[style*="background-color"], div[style*="background-color"], p[style*="background-color"] {
452
+ background-image: linear-gradient(rgb(var(--veil-rgb) / var(--veil, 0.35)), rgb(var(--veil-rgb) / var(--veil, 0.35))) !important;
453
+ color: var(--text);
454
+}
455
+tr[style*="background-color"] a, td[style*="background-color"] a, p[style*="background-color"] a { color: var(--link); }
456
+p[style*="border:1px solid"] { border-color: var(--border) !important; border-radius: 4px; padding: 0.6em 0.8em; }
457
+/* Pikchr: Fossil already draws white defaults because skin-detail is white-foreground; leave diagrams alone */
458
+
459
+/* Fossil's user and branch colors, muted toward the surface so they sit with the skin */
460
+table.timelineTable td[style*="background"] {
461
+ background-image: linear-gradient(rgb(var(--tint-rgb) / var(--tint-mute)), rgb(var(--tint-rgb) / var(--tint-mute))) !important;
462
+}
463
+body.chat .message-widget-content[style*="background"] {
464
+ background-image: linear-gradient(rgb(var(--tint-rgb) / var(--chat-mute)), rgb(var(--tint-rgb) / var(--chat-mute))) !important;
465
+}
466
+body.chat .message-widget-tab[style*="background"] { background-image: none !important; }
467
+body.chat .message-widget-content { box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / var(--bubble-shadow)) !important; }
468
+
469
+/* Misc Fossil UI elements with hardcoded light colors */
470
+div.debug { background: var(--surface) !important; border: 1px solid var(--border) !important; color: var(--muted) !important; padding: 0.75rem; }
471
+/* Inline debug markers, e.g. "(artifact-NNN)" on forum posts for admins: just quieter text */
472
+span.debug { background: none !important; border: none !important; padding: 0 !important; color: var(--muted) !important; font-size: 0.85em; }
473
+span.debug a { color: var(--muted); }
474
+span.debug a:hover { color: var(--link); }
475
+span.error { background: rgb(var(--yellow-rgb) / 0.18) !important; color: var(--yellow) !important; padding: 0.1em 0.25em; border-radius: 3px; }
476
+mark { background: rgb(var(--yellow-rgb) / 0.25); color: var(--text); padding: 0.1em 0.25em; border-radius: 3px; }
477
+div.sideboxTitle { color: var(--title); font-weight: 600; }
478
+div.sidebox { background: var(--surface); border: 1px solid var(--border) !important; border-radius: 4px; margin: 0 0 1em 1.5em; padding: 0.75em; }
479
+.disabled { color: var(--red); }
480
+.modpending { color: var(--yellow); }
481
+.fossil-tooltip.help-buttonlet-content { background-color: var(--surface2); color: var(--text); border: 1px solid var(--border); }
482
+.fossil-tooltip { background: var(--surface2) !important; color: var(--text) !important; border-color: var(--border) !important; }
483
+td.capsumRead { background: rgb(var(--green-rgb) / 0.15) !important; color: var(--green); }
484
+td.capsumWrite { background: rgb(var(--yellow-rgb) / 0.15) !important; color: var(--yellow); }
485
+td.capsumOff { background: rgb(var(--muted-rgb) / 0.1) !important; color: var(--muted); }
486
+table.login_out { margin: 1em 0; }
487
+td.login_out_label { color: var(--muted); padding: 0.4em 0.75em 0.4em 0; }
488
+.help-buttonlet { color: var(--link); cursor: pointer; }
489
+
490
+/* Status text Fossil colors pure red / blue / black */
491
+span.disabled, span.wikiError, span.loginError, span.tktError, span.brokenlink, span.thTrace,
492
+p.generalError, p.tktsetupError, p.xfersetupError, p.thmainError, p.reportError, blockquote.reportError,
493
+pre.th1error, span.ueditInheritDeveloper, td.tktTlOpen,
494
+div.markdown ol.footnotes > li.fn-misreference > span, div.markdown ol.footnotes > li.fn-unreferenced > code,
495
+div.markdown sup.noteref.misref, div.markdown sup.noteref.misref > a { color: var(--red) !important; }
496
+span.ueditInheritAnonymous, p.missingPriv, p.noMoreShun, p.shunned { color: var(--link) !important; }
497
+span.ueditInheritReader { color: var(--text) !important; }
498
+blockquote.reportError, p.generalError { background: rgb(var(--red-rgb) / 0.1); border: 1px solid rgb(var(--red-rgb) / 0.4); border-radius: 4px; padding: 0.6em 0.8em; }
499
+/* Fossil also puts class="error" on <body> and colors it yellow; keep the page as it is */
500
+body.error, body.warning { background: var(--bg) !important; color: var(--text) !important; }
501
+.error:not(body), .warning:not(body) { background: rgb(var(--yellow-rgb) / 0.18) !important; color: var(--yellow) !important; border-radius: 3px; padding: 0.1em 0.3em; }
502
+table.numbered-lines td.line-numbers span.selected-line { color: var(--text) !important; background-color: rgb(var(--link-rgb) / 0.22) !important; }
503
+.fossil-toast-message { background: var(--surface2) !important; color: var(--text) !important; border: 1px solid var(--border) !important; border-radius: 6px !important; box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / 0.5) !important; }
504
+.fossil-toast-message.error, .fossil-toast-message.warning { background: var(--warn-bg) !important; color: var(--yellow) !important; border-color: var(--yellow) !important; }
505
+.fossil-toast-message.error { color: var(--red) !important; border-color: var(--red) !important; background: var(--err-bg) !important; }
506
+
507
+/* Wiki / file editor tabs */
508
+.tab-container .tab-bar { display: flex; flex-wrap: wrap; gap: 0.25rem; border-bottom: 1px solid var(--border); }
509
+.tab-container .tab-button {
510
+ padding: 0.4em 0.9em; border: 1px solid transparent; border-bottom: none; border-radius: 5px 5px 0 0;
511
+ background: transparent; color: var(--muted); font-family: var(--font); font-size: 0.95em; cursor: pointer; margin-bottom: -1px;
512
+}
513
+.tab-container .tab-button:hover { color: var(--text); background: var(--surface); }
514
+.tab-container .tab-button.selected { color: var(--text); background: var(--surface); border-color: var(--border); border-bottom-color: var(--surface); }
515
+#fossil-status-bar { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; color: var(--muted); font-family: var(--mono); font-size: 0.85em; padding: 0.4em 0.75em; margin: 0.5em 0; }
516
+.wikiedit-options, .fileedit-options { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; padding: 0.5em; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; margin-bottom: 0.5em; }
517
+.wikiedit-options .input-with-label, .fileedit-options .input-with-label { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
518
+#wikiedit-tab-content textarea, #fileedit-tab-content textarea { min-height: 300px; width: 100%; }
519
+.tab-container fieldset { border: 1px solid var(--border); border-radius: 4px; }
520
+.tab-container fieldset legend { color: var(--muted); }
521
+button.wikiedit-content-reload, button.fileedit-content-reload { min-width: unset !important; max-width: unset !important; }
522
+
523
+/* Chat: Fossil sets inline pastel backgrounds per user */
524
+/* Each message keeps the user's color, which Fossil already picks for this
525
+ skin's foreground (white-foreground); only messages without one get --surface. */
526
+body.chat .message-widget-content {
527
+ background-color: var(--surface); border: 1px solid var(--border) !important;
528
+ border-radius: 6px !important; color: var(--text) !important; padding: 0.5em 0.75em !important;
529
+}
530
+body.chat .message-widget-tab { background: transparent !important; color: var(--muted) !important; border: none !important; font-size: 0.9em !important; }
531
+body.chat .message-widget-tab[style*="background"] { background-image: none !important; }
532
+body.chat .message-widget-tab .xfrom { color: var(--link) !important; font-weight: 600 !important; }
533
+body.chat #chat-input-line-wrapper { border: 1px solid var(--border) !important; border-radius: 6px !important; background: var(--input-bg) !important; }
534
+body.chat #chat-input-line-wrapper:focus-within { border-color: var(--link) !important; }
535
+body.chat .chat-input-field { border: none !important; background: transparent !important; color: var(--text) !important; font-family: var(--font) !important; font-size: 1em !important; }
536
+body.chat .cbutton { border: 1px solid var(--border) !important; background: var(--surface) !important; border-radius: 4px !important; }
537
+body.chat .cbutton:hover { background: var(--surface2) !important; }
538
+body.chat fieldset { border: 1px solid var(--border) !important; border-radius: 4px !important; background: var(--surface) !important; }
539
+body.chat .menu-entry { background: var(--surface) !important; border: 1px solid var(--border) !important; color: var(--text) !important; }
540
+body.chat .menu-entry:hover, body.chat .menu-entry.parent { background: var(--surface2) !important; }
541
+body.chat .message-widget .match { background: rgb(var(--yellow-rgb) / 0.25) !important; color: var(--text) !important; }
542
+body.chat .chat-message-popup { background: var(--surface2) !important; border: 1px solid var(--border) !important; color: var(--text) !important; }
543
+body.chat .message-widget-content img { max-width: 100% !important; border-radius: 4px !important; }
544
+
545
+/* Chat toolbar: Fossil renders the buttons as emoji; mask them with icons, keep the spans intact */
546
+body.chat #chat-buttons-wrapper > .cbutton {
547
+ position: relative !important;
548
+ font-size: 0 !important;
549
+ color: transparent !important;
550
+ min-width: 44px !important; max-width: 44px !important;
551
+ min-height: 36px !important; height: 36px !important;
552
+ background: var(--surface) !important;
553
+ border: 1px solid var(--border) !important;
554
+ border-radius: 6px !important;
555
+}
556
+body.chat #chat-buttons-wrapper > .cbutton::after {
557
+ content: ""; position: absolute; inset: 0; margin: auto;
558
+ width: 22px; height: 22px;
559
+ background-color: var(--muted);
560
+ -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
561
+}
562
+body.chat #chat-buttons-wrapper > .cbutton:hover { background: var(--surface2) !important; border-color: var(--muted) !important; }
563
+body.chat #chat-buttons-wrapper > .cbutton:hover::after { background-color: var(--text); }
564
+body.chat #chat-buttons-wrapper > #chat-button-submit { background: var(--link) !important; border-color: var(--link) !important; min-width: 64px !important; max-width: 64px !important; }
565
+body.chat #chat-buttons-wrapper > #chat-button-submit::after { background-color: var(--on-accent); }
566
+body.chat #chat-buttons-wrapper > #chat-button-submit:hover { background: var(--link-hover) !important; }
567
+body.chat #chat-button-preview { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z%22/%3E%3C/svg%3E"); }
568
+body.chat #chat-button-search { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z%22/%3E%3C/svg%3E"); }
569
+body.chat #chat-button-attach { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M209.66,122.34a8,8,0,0,1,0,11.32l-82.05,82a56,56,0,0,1-79.2-79.21L147.67,35.73a40,40,0,1,1,56.61,56.55L105,193A24,24,0,1,1,71,159L154.3,74.38A8,8,0,1,1,165.7,85.6L82.39,170.31a8,8,0,1,0,11.27,11.36L192.93,81A24,24,0,1,0,159,47L59.76,147.68a40,40,0,1,0,56.53,56.62l82.06-82A8,8,0,0,1,209.66,122.34Z%22/%3E%3C/svg%3E"); }
570
+body.chat #chat-button-settings { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.Keep running text a comfortab
571
+ .doc > .content h3, .wiki .content h3, .artifact .content h3 { margin-left: 20pt; }
572
+ .doc > .content > blockquote, .wiki > .content > blockquote { margin-left: 50pt; }
573
+ .doc > .content > .markdown > blockquote, .wiki > .content > .markdown > blockquote { margin-left: 40pt; }
574
+ .content .pikchr-wrapper, div.pikchr-wrapper.indent:not(.source) { margin-left: 40pt; }
575
+ div.pikchr-wrapper.center:not(.source), div.pikchr-wrapper.float-right:not(.source) { margin-left: 0; }
576
+}
577
+
578
+/* Chat bubbles: messaging-app corners; your own messages, when Fossil puts
579
+ them on the right (its my-messages-right layout, the default in tall
580
+ windows), point the other way */
581
+body.chat .message-widget:not(.notification) .message-widget-content { border-radius: 12px 12px 12px 4px !important; }
582
+body.chat.my-messages-right .message-widget.mine .message-widget-content { border-radius: 12px 12px 4px 12px !important; }
583
+body.chat.my-messages-right .message-widget.mine .message-widget-tab { text-align: right; }
584
+
585
+/* Message options popup (click a message's header): one card, quiet
586
+ timestamps, buttons sized for touch */
587
+body.chat .chat-message-popup {
588
+ font-family: var(--font) !important; font-size: 0.9em !important;
589
+ background: var(--surface2) !important; border: 1px solid var(--border) !important;
590
+ border-radius: 10px !important; padding: 0.65em !important; gap: 0.45em;
591
+ box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / var(--popup-shadow)) !important;
592
+ max-width: min(26rem, calc(100vw - 2rem));
593
+}
594
+body.chat .chat-message-popup > span { font-family: var(--mono); font-size: 0.85em; color: var(--muted); white-space: normal; }
595
+body.chat .chat-message-popup > .toolbar { border: none !important; gap: 0.4em; margin: 0 !important; flex-wrap: wrap; }
596
+body.chat .chat-message-popup > .toolbar > * { margin: 0 !important; }
597
+body.chat .chat-message-popup > .toolbar > button,
598
+body.chat .chat-message-popup > .toolbar > a {
599
+ flex: 1 1 auto; min-height: 36px; display: inline-flex; align-items: center; justify-content: center;
600
+ padding: 0.35em 0.8em; border: 1px solid var(--border); border-radius: 6px;
601
+ background: var(--surface); color: var(--text); font-family: var(--font); font-size: 1em; text-decoration: none;
602
+}
603
+body.chat .chat-message-popup > .toolbar > a { color: var(--link); }
604
+body.chat .chat-message-popup > .toolbar > button:hover,
605
+body.chat .chat-message-popup > .toolbar > a:hover { background: var(--btn-hover); border-color: var(--muted); text-decoration: none; }
606
+/* "Delete globally" removes the message for everyone */
607
+body.chat .chat-message-popup > div.toolbar:nth-of-type(1) > button:nth-child(2) { color: var(--red); }
608
+@media (pointer: coarse), (max-width: 600px) {
609
+ body.chat .chat-message-popup > .toolbar > button,
610
+ body.chat .chat-message-popup > .toolbar > a { min-height: 44px; }
611
+}
612
+
613
+/* Phones: the page itself never scrolls sideways */
614
+body.chat .chat-message-popup { z-index: 200 !important; }
615
+@media screen and (max-width: 600px) {
616
+ table.label-value td { white-space: normal !important; overflow-wrap: anywhere; }
617
+ table.label-value td .nobr, table.label-value td .nobr *,
618
+ td.tktDspValue .nobr, td.tktDspValue .nobr * { white-space: normal !important; word-break: break-all; }
619
+ .content table.sortable, .content table.report, .content table.userTable {
620
+ display: block; max-width: 100%; overflow-x: auto;
621
+ }
622
+ .title h1, .title .project-name { font-size: 1.3em; }
623
+}
624
+
625
+/* Hamburger menu. hbmenu.js toggles it instantly (data-anim-ms="0" in the
626
+ header); the skin slides it in. */
627
+@keyframes hb-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
628
+nav#hbdrop { animation: hb-in 160ms ease-out; top: var(--nav-bottom, 88px); }
629
+@media screen and (max-width: 600px), (pointer: coarse) {
630
+ /* A sheet from under the nav bar to the bottom of the screen, scrolling
631
+ on its own, with the page behind it held still */
632
+ nav#hbdrop {
633
+ bottom: 0; max-height: none; border-radius: 0; border-left: 0; border-right: 0;
634
+ overscroll-behavior: contain; -webkit-overflow-scroll, .wiki > .content, .forum > .content, .artifact > .content {isplay: bloc70emn > pre { margin-left:> p> .content > .markdown > ol, .dop> .content > .markdowfossil-doc > p,
635
+ .doc > .content > ol, .doc > .content > ul, .doc > .content > .markdown > ol, .doc > .content > .markdown > ul,
636
+ .wiki > .content > p, .wiki > .content > .markdown > p, .wiki > .content > .fossil-doc > p,
637
+ .wiki > .content > ol, .wiki > .content > ul, .wiki > .content > .markdown > ol, .wiki > .content > .markdown > ul,
638
+ .artifact > .content > .markdown > p, .artifact > .content > .markdown > ol, .artifact > .content > .markdown > ul,
639
+ .doc > .content > .markdown > table, .wiki > .content > .markdown > table, .artifact > .content > .markdown > table {
640
+ margin-left: 30pt; margin-right: 30pt;
641
+ }
642
+ .doc > .content > pre, .doc > .content > .markdown > pre, .doc > .content > .fossil-doc > pre,
643
+ .wiki > .content > pre, .wiki > .content > .markdown > pre,
644
+ .artifact > .content > .markdown > pre { margin-left: 40pt; margin-right: 30pt; }
645
+ .forum > .content .markdown > pre { margin-left: 20pt; }
646
+ .doc > .content h1, .wiki .content h1, .artifact .content h1 { margin-left: 10pt; }
647
+ .doc > .content h2, .wiki .content h2, .artifact .content h2 { margin-left: 15pt; }
648
+ .doc > .content h3, .wiki .content h3, .artifact .content h3 { margin-left: 20pt; }
649
+ .doc > .content > blockquote, .wiki > .content > blockquote { margin-left: 50pt; }
650
+ .doc > .content > .markdown > blockquote, .wiki > .content > .markdown > blockquote { margin-left: 40pt; }
651
+ .content .pikchr-wrapper, div.pikchr-wrapper.indent:not(.source) { margin-left: 40pt; }
652
+ div.pikchr-wrapper.center:not(.source), div.pikchr-wrapper.float-right:not(.source) { margin-left: 0; }
653
+}
654
+
655
+/* Chat bubbles: messaging-app corners; your own messages, when Fossil puts
656
+ them on the right (its my-messages-right layout, the default in tall
657
+ windows), point the other way */
658
+body.chat .message-widget:not(.notification) .message-widget-content { border-radius: 12px 12px 12px 4px !important; }
659
+body.chat.my-messages-right .message-widget.mine .message-widget-content { border-radius: 12px 12px 4px 12px !important; }
660
+body.chat.my-messages-right .message-widget.mine .message-widget-tab { text-align: right; }
661
+
662
+/* Message options popup (click a message's header): one card, quiet
663
+ timestamps, buttons sized for touch */
664
+body.chat .chat-message-popup {
665
+ font-family: var(--font) !important; font-size: 0.9em !important;
666
+ background: var(--surface2) !important; border: 1px solid var(--border) !important;
667
+ border-radius: 10px !important; padding: 0.65em !important; gap: 0.45em;
668
+ box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / var(--popup-shadow)) !important;
669
+ max-width: min(26rem, calc(100vw - 2rem));
670
+}
671
+body.chat .chat-message-popup > span { font-family: var(--mono); font-size: 0.85em; color: var(--muted); white-space: normal; }
672
+body.chat .chat-message-popup > .toolbar { border: none !important; gap: 0.4em; margin: 0 !important; flex-wrap: wrap; }
673
+body.chat .chat-message-popup > .toolbar > * { margin: 0 !important; }
674
+body.chat .chat-message-popup > .toolbar > button,
675
+body.chat .chat-message-popup > .toolbar > a {
676
+ flex: 1 1 auto; min-height: 36px; display: inline-flex; align-items: center; justify-content: center;
677
+ padding: 0.35em 0.8em; border: 1px solid var(--border); border-radius: 6px;
678
+ background: var(--surface); color: var(--text); font-family: var(--font); font-size: 1em; text-decoration: none;
679
+}
680
+body.chat .chat-message-popup > .toolbar > a { color: var(--link); }
681
+body.chat .chat-message-popup > .toolbar > button:hover,
682
+body.chat .chat-message-popup > .toolbar > a:hover { background: var(--btn-hover); border-color: var(--muted); text-decoration: none; }
683
+/* "Delete globally" removes the message for everyone */
684
+body.chat .chat-message-popup > div.toolbar:nth-of-type(1) > button:nth-child(2) { color: var(--red); }
685
+@media (pointer: coarse), (max-width: 600px) {
686
+ body.chat .chat-message-popup > .toolbar > button,
687
+ body.chat .chat-message-popup > .toolbar > a { min-height: 44px; }
688
+}
689
+
690
+/* Phones: the page itself never scrolls sideways */
691
+body.chat .chat-message-popup { z-index: 200 !important; }
692
+@media screen and (max-width: 600px) {
693
+ table.label-value td { white-space: normal !important; overflow-wrap: anywhere; }
694
+ table.label-value td .nobr, table.label-value td .nobr *,
695
+ td.tktDspValue .nobr, td.tktDspValue .nobr * { white-space: normal !important; word-break: break-all; }
696
+ .content table.sortable, .content table.report, .content table.userTable {
697
+ display: block; max-width: 100%; overflow-x: auto;
698
+ }
699
+ .title h1, .title .project-name { font-size: 1.3em; }
700
+}
701
+
702
+/* Hamburger menu. hbmenu.js toggles it instantly (data-anim-ms="0" in the
703
+ header); the skin slides it in. */
704
+@keyframes hb-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
705
+nav#hbdrop { animation: hb-in 160ms ease-out; top: var(--nav-bottom, 88px); }
706
+@media screen and (max-width: 600px), (pointer: coarse) {
707
+ /* A sheet from under the nav bar to the bottom of the screen, scrolling
708
+ on its own, with the page behind it held still */
709
+ nav#hbdrop {
710
+ bottom: 0; max-height: none; border-radius: 0; border-left: 0; border-right: 0;
711
+ overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
712
+ }
713
+ html:has(#hbdrop[style*="display: block"]) { overflow: hidden; }
714
+ /* Keep the nav bar, and its close button, on screen while the menu is open */
715
+ html:has(#hbdrop[style*="display: block"]) nav.mainmenu { position: sticky; top: 0; }
716
+ ul#sitemap ul li a { min-height: 44px; display: flex; align-items: center; }
717
+}
718
+@media (prefers-reduced-motion: reduce) { nav#hbdrop { animation: none; } }
719
+
720
+/* Menu bar: every item carries the 2px underline slot, transparent until
721
+ hover or active, so highlighting never changes any item's or the bar's height */
722
+.mainmenu a { border-bottom: 2px solid transparent; }
723
+.mainmenu a.active, .mainmenu a:hover { border-bottom-color: var(--active); }
724
+#hbbtn { line-height: 1.4; font-size: 1em; }
725
+
726
+/* Logo: show any repository's logo whole in the same 48px box (36px on
727
+ phones); a square logo looks exactly as before */
728
+div.logo img, img.logo-mark { object-fit: contain; }
729
+
730
+/* Menu bar as a flex row: the whitespace between items in the header no
731
+ longer leaves 4px gaps, so each underline meets the divider beside it */
732
+.mainmenu { display: flex; }
733
+.mainmenu a { flex: 0 0 auto; }
734
+
735
+/* Weekday above each timeline date. The line is reserved here, before any
736
+ script runs, so the rows already have their final height when Fossil
737
+ draws the timeline graph; a11y.js only fills in the name through
738
+ data-dow. (Inserting a line afterwards moved every row, and Fossil
739
+ redrew the graph a second later, so the nodes jumped.) */
740
+div.timelineDate::before {
741
+ content: attr(data-dow); display: block; min-height: 1.2em;
742
+ font-size: 0.8em; font-weight: 400; opacity: 0.85; line-height: 1.2; margin-bottom: 0.1em;
743
+}
744
+
745
+
746
+/* The chat's "Load..." bar: a small label over one row of buttons, without
747
+ the box Fossil's fieldset would draw around them */
748
+body.chat fieldset#load-msg-toolbar {
749
+ border: none !important; background: transparent !important;
750
+ padding: 0.5em 0 0 !important; margin: 0 0 1em !important;
751
+}
752
+body.chat #load-msg-toolbar > legend { font-size: 0.85em; color: var(--muted); padding: 0 0 0.35em; }
753
+body.chat #load-msg-toolbar > div { gap: 0.5em; }
754
+body.chat #load-msg-toolbar > div > button { border-radius: 6px; }
755
+
756
+
757
+/* ── Fixes from the page-by-page audit ─────────────────────────────────── */
758
+
759
+/* Fields Fossil emits with no type, or type="input" (forum title, ticket
760
+ e-mail), which the input[type=text] rule above does not match */
761
+input:not([type]), input[type=input] {
762
+ background: var(--input-bg); border: 1px solid var(--border); border-radius: 4px;
763
+ color: var(--text); font-family: var(--font); font-size: 1em; padding: 0.35em 0.6em;
764
+}
765
+input[type=file]::file-selector-button {
766
+ background: var(--surface2); border: 1px solid var(--border); border-radius: 4px;
767
+ color: var(--text); font-family: var(--font); font-size: 0.95em; padding: 0.35em 0.8em;
768
+ margin-right: 0.6em; cursor: pointer;
769
+}
770
+input[type=file]::file-selector-button:hover { background: var(--btn-hover); border-color: var(--muted); }
771
+
772
+/* Long hashes in titles and headings wrap instead of widening the page */
773
+.title, span.page-title, .content h1, .content h2, .content h3 { overflow-wrap: anywhere; }
774
+.title { min-width: 0; }
775
+.content :not(pre) > code { overflow-wrap: break-word; }
776
+.markdown p, .markdown li { overflow-wrap: break-word; }
777
+
778
+/* Rendered markdown looks the same wherever it appears (the wiki editor's
779
+ preview nests it deeper than the page does) */
780
+.markdown pre {
781
+ background-color: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 8px 10px;
782
+}
783
+.markdown p > code, .markdown li > code, .markdown td > code {
784
+ background-color: var(--surface); border: 1px solid var(--border); border-radius: 3px; padding: 0 4px;
785
+}
786
+
787
+/* Chat: a bubble holding an attachment stays inside its column */
788
+body.chat .message-widget-content { box-sizing: border-box; max-width: 100%; }
789
+body.chat .chat-message-popup > .toolbar { align-items: stretch; }
790
+body.chat .chat-message-popup > .toolbar > a { display: inline-flex; align-items: center; }
791
+
792
+/* Activity-report charts: a11y.js gives them a viewBox so they can shrink */
793
+.content svg.fit { max-width: 100%; height: auto; }
794
+
795
+/* Contrast: links on Fossil's colored rows, closed tickets in the timeline,
796
+ the fourth capability marker */
797
+body.report table.report tr[style*="background-color"] a,
798
+table.timelineTable td[style*="background"] a { color: var(--link-on-tint) !important; }
799
+td.tktTlClosed { color: var(--muted); }
800
+span.ueditInheritNobody { color: var(--green) !important; }
801
+
802
+/* Ticket view: a label alone in its row ("Description:") sits at the left,
803
+ like "User Comments:" below it */
804
+td.tktDspLabel:only-child { text-align: left; }
805
+
806
+/* Bare <table border="1"> (user categories, unversioned files) */
807
+.content table[border="1"] { border-collapse: collapse; border-color: var(--border); }
808
+.content table[border="1"] > * > tr > td, .content table[border="1"] > * > tr > th { border: 1px solid var(--border); padding: 4px 8px; }
809
+
810
+/* Lists Fossil marks list-style:none keep no bullets */
811
+.content ul[style*="list-style"] > li { list-style-type: inherit; }
812
+
813
+/* Main menu: the full bar on every screen. The menu button stays pinned at
814
+ the left while the entries scroll sideways beneath it, and a fade at the
815
+ right edge shows there is more. (Fossil would hide entries marked
816
+ desktoponly / wideonly on small screens; the display set on ".mainmenu a"
817
+ above keeps them, on purpose.) */
818
+#hbbtn {
819
+ position: sticky; left: 0; z-index: 2;
820
+ background: var(--surface) linear-gradient(var(--band-top), var(--surface));
821
+}
822
+.mainmenu::after {
823
+ content: ""; flex: 0 0 28px; position: sticky; right: 0; pointer-events: none;
824
+ background: var(--surface) linear-gradient(var(--band-top), var(--surface));
825
+ -webkit-mask-image: linear-gradient(to right, transparent, #000 85%); mask-image: linear-gradient(to right, transparent, #000 85%);
826
+}
827
+
828
+/* Phone menu sheet: top-level entries are destinations, so they read as
829
+ links in 44px rows */
830
+@media screen and (max-width: 600px), (pointer: coarse) {
831
+ ul#sitemap { padding: 0.5rem 1rem 1.5rem; }
832
+ ul#sitemap > li { margin: 0; border-bottom: 1px solid var(--rule); }
833
+ ul#sitemap > li > a {
834
+ display: flex; align-items: center; min-height: 44px; box-sizing: border-box;
835
+ font-size: 1em; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text);
836
+ }
837
+ ul#sitemap ul { margin: 0 0 0.4rem; }
838
+ ul#sitemap ul li a { box-sizing: border-box; min-height: 44px; padding-left: 1rem; color: var(--link); }
839
+
840
+ /* Touch targets */
841
+ .submenu a, .submenu label, .sectionmenu a { min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
842
+ input[type=text], input[type=password], input[type=email], input[type=search], input[type=number],
843
+ input:not([type]), input[type=input], select, input[type=submit], input[type=button], button {
844
+ min-height: 44px; box-sizing: border-box;
845
+ }
846
+ input[type=checkbox], input[type=radio] { width: 20px; height: 20px; }
847
+}
848
+
849
+@media screen and (max-width: 600px) {
850
+ /* A long unbroken word in a timeline row (a mirrored e-mail address as the
851
+ login, a path in the comment) wraps instead of widening the page */
852
+ table.timelineTable td.timelineModernCell, table.timelineTable td.timelineDetailCell,
853
+ .timelineModernComment, .timelineModernDetail,
854
+ .content table.timelineTable td.timelineModernCell * { overflow-wrap: anywhere; }
855
+
856
+ /* Forms and their fields never exceed the screen */
857
+ .content form { max-width: 100%; }
858
+ .content textarea, .content input:not([type=checkbox]):not([type=radio]), .content select { max-width: 100%; box-sizing: border-box; }
859
+ body.forum .content form { display: block; }
860
+
861
+ /* Markdown tables scroll inside themselves, like sortable tables */
862
+ .content table.md-table, .markdown table { display: block; max-width: 100%; overflow-x: auto; }
863
+
864
+ /* Ticket reports: one line per row inside the scrolling table */
865
+ .content table.report td { white-space: nowrap; }
866
+ .content table.report td:last-child { white-space: normal; min-width: 12em; max-width: 18em; }
867
+
868
+ /* Tickets: Fossil's label | value tables become label above value */
869
+ body.tkt .content form > table, body.tkt .content > table[cellpadding],
870
+ body.tkt .content form > table > tbody, body.tkt .content > table[cellpadding] > tbody,
871
+ body.tkt .content form > table > tbody > tr, body.tkt .content > table[cellpadding] > tbody > tr { display: block; }
872
+ body.tkt .content form > table > tbody > tr > td, body.tkt .content > table[cellpadding] > tbody > tr > td {
873
+ display: block; width: auto; text-align: left; padding: 2px 0;
874
+ }
875
+ body.tkt .content > table[cellpadding] > tbody > tr > td.tktDspLabel { padding: 12px 0 3px; font-size: 0.9em; color: var(--muted); }
876
+ body.tkt .content > table[cellpadding] > tbody > tr > td.tktDspValue { padding: 6px 10px; border-radius: 4px; min-height: 1.4em; overflow-wrap: anywhere; }
877
+ body.tkt .content form > table > tbody > tr > td:nth-child(3) { color: var(--muted); font-size: 0.9em; }
878
+ body.tkt .content form > table > tbody > tr > td[align=right] { padding-top: 12px; color: var(--muted); }
879
+
880
+ /* File ages: age and file on one line, the check-in below */
881
+ body.fileage .content table:not(.timelineTable), body.fileage .content table:not(.timelineTable) > * { display: block; }
882
+ body.fileage .content table:not(.timelineTable) tr { display: grid; grid-template-columns: 6.5em 1fr; border-bottom: 1px solid var(--rule); }
883
+ body.fileage .content table:not(.timelineTable) td { border: 0; overflow-wrap: anywhere; }
884
+ body.fileage .content table:not(.timelineTable) td:nth-child(3), body.fileage .content table:not(.timelineTable) th:nth-child(3) {
885
+ grid-column: 1 / -1; max-width: none; padding-top: 0; color: var(--muted); font-size: 0.9em;
886
+ }
887
+
888
+ /* Admin forms: tables that hold fields stack their cells */
889
+ body.setup .content table:not(.sortable):not([border]):has(input, textarea, select),
890
+ body.setup .content table:not(.sortable):not([border]):has(input, textarea, select) > tbody,
891
+ body.setup .content table:not(.sortable):not([border]):has(input, textarea, select) > tbody > tr,
892
+ body.setup .content table:not(.sortable):not([border]):has(input, textarea, select) > tbody > tr > td {
893
+ display: block; width: auto; max-width: 100%; text-align: left;
894
+ }
895
+ body.setup .content textarea { width: 100%; }
896
+ body.setup .content label { white-space: normal; }
897
+
898
+ /* Other wide admin tables scroll inside themselves; long option lists wrap */
899
+ .content table#capabilitySummary, .cpage-rcvfromlist .content > table { display: block; max-width: 100%; overflow-x: auto; }
900
+ .content tt, .cpage-secaudit0 .content li { overflow-wrap: anywhere; }
901
+
902
+ /* Forum replies: 10px a level instead of Fossil's 4ex, so deep threads keep
903
+ their shape and their width. Every level up to ten stays distinct. */
904
+ div.forumTime[style*="margin-left:"] { margin-left: 100px !important; }
905
+ div.forumTime[style*="left:4ex"] { margin-left: 10px !important; }
906
+ div.forumTime[style*="left:8ex"] { margin-left: 20px !important; }
907
+ div.forumTime[style*="left:12ex"] { margin-left: 30px !important; }
908
+ div.forumTime[style*="left:16ex"] { margin-left: 40px !important; }
909
+ div.forumTime[style*="left:20ex"] { margin-left: 50px !important; }
910
+ div.forumTime[style*="left:24ex"] { margin-left: 60px !important; }
911
+ div.forumTime[style*="left:28ex"] { margin-left: 70px !important; }
912
+ div.forumTime[style*="left:32ex"] { margin-left: 80px !important; }
913
+ div.forumTime[style*="left:36ex"] { margin-left: 90px !important; }
914
+ div.forumTime[style*="left:40ex"] { margin-left: 100px !important; }
915
+}
916
+
917
+/* Windows between phone and desktop width (a half-screen browser, a tablet):
918
+ the page never scrolls sideways there either. The same measures as on
919
+ phones, without the phone-only layout changes. */
920
+@media screen and (min-width: 601px) and (max-width: 1100px) {
921
+ table.label-value td { white-space: normal !important; overf
--- a/skins/refined-light/css.txt
+++ b/skins/refined-light/css.txt
@@ -0,0 +1,921 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/skins/refined-light/css.txt
+++ b/skins/refined-light/css.txt
@@ -0,0 +1,921 @@
1 /* Refined Light skin
2 A light rendering of Fossil's default skin: same layout, same sizes, same
3 menu band and submenu row. Colors are chosen for WCAG AA contrast on a
4 near-black page: body text 13:1, muted text 7:1, links 7:1.
5 Functional dark-theme overrides for Fossil's hardcoded light colors
6 (timeline graph, diffs, chat, forum, tickets) are kept at the end.
7 Uses system fonts; no external font resources are needed. */
8
9
10 :root {
11 --bg: #ffffff;
12 --surface: #f4f5f7;
13 --surface2: #e8ebef;
14 --border: #d3d7dd;
15 --text: #1c1e22; /* 16:1 on --bg */
16 --muted: #565e68; /* 6.6:1 on --bg */
17 --link: #2b67a8; /* 5.8:1 on --bg; near Fossil default's #3779BF */
18 --link-hover: #1d4f86;
19 --link-on-tint: #1d4f86; /* 5.0-6.4:1 on Fossil's pastel rows */
20 --title: #3a7bc0; /* large text; Fossil default's #4183C4 */
21 --active: #d26911; /* Fossil default's menu accent */
22 --green: #1d7a3c;
23 --red: #b3372a;
24 --yellow: #8a6100;
25 --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
26 --mono: ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
27 color-scheme: light;
28 --input-bg: #ffffff; --on-accent: #ffffff; --visited: #5a4fa8;
29 --sel-bg: #f7e3cc; --sec-bg: #d9e7f6; --stripe: #f7f8fa; --rule: #e5e8ec;
30 --btn-hover: #dde1e6; --band-top: #fafbfc; --warn-bg: #fbf0d0; --err-bg: #fbe1dc;
31 --green-rgb: 29 122 60; --red-rgb: 179 55 42; --yellow-rgb: 190 140 0;
32 --link-rgb: 43 103 168; --teal-rgb: 20 140 130; --violet-rgb: 90 90 200;
33 --muted-rgb: 86 94 104; --veil-rgb: 255 255 255; --lift-rgb: 0 0 0; --shadow-rgb: 0 0 0;
34 --tint-rgb: 255 255 255; --tint-mute: 0; --chat-mute: 0; --bubble-shadow: 0.10; --popup-shadow: 0.16;
35 --veil: 0;
36 }
37
38 /* Base, matching the default skin's sizing */
39 body {
40 margin: 0 auto;
41 background-color: var(--bg);
42 color: var(--text);
43 font-family: var(--font);
44 font-size: 16px;
45 line-height: 1.45;
46 }
47 a { color: var(--link); text-decoration: none; }
48 a:hover { color: var(--link-hover); text-decoration: underline; }
49 a:visited { color: var(--visited); }
50 code, pre, tt, kbd, samp, var { font-family: var(--mono); }
51 code, tt, kbd, samp { font-size: 0.94em; }
52 pre { font-size: 0.92em; line-height: 1.35; overflow-x: auto; }
53 hr { border: none; border-top: 1px solid var(--border); }
54 blockquote { border-left: 3px solid var(--border); margin: 0.5em 0; padding: 0.1em 1em; }
55 img { max-width: 100%; }
56
57 /* Title area above the menu bar */
58 header { display: flex; align-items: center; gap: 14px; padding: 14px 0 12px; }
59 .skip-nav {
60 position: absolute; top: -100%; left: 0;
61 background: var(--link); color: var(--on-accent);
62 padding: 0.5rem 1.25rem; font-weight: 600; z-index: 9999;
63 border-radius: 0 0 6px 0;
64 }
65 .skip-nav:focus { top: 0; outline: 2px solid #fff; outline-offset: -4px; }
66
67 div.logo { display: flex; flex-shrink: 0; }
68 div.logo img, img.logo-mark { width: 48px; height: 48px; object-fit: cover; display: block; border-radius: 6px; }
69 .hub-link:hover img { opacity: 0.85; }
70
71 .title { min-width: 0; color: var(--title); line-height: 1.2; }
72 .title h1, .title .project-name {
73 display: inline;
74 font-size: 2.2em;
75 font-weight: bold;
76 color: var(--title);
77 text-decoration: none;
78 }
79 .title .project-name:hover { color: var(--link-hover); text-decoration: none; }
80 .title h1:after, .title .project-name:after {
81 content: " / "; color: var(--muted); font-weight: normal;
82 }
83 span.page-title { font-size: 18px; color: var(--text); }
84 /* Hidden from view but not display:none: Fossil's forum script sizes its
85 expand control from the height of the first h1 on the page, and loops
86 forever if that height is 0. This also keeps the heading for screen readers. */
87 h1.page-title {
88 font-size: 1.6em; color: var(--text);
89 display: block; position: absolute; width: 1px; margin: 0; padding: 0;
90 overflow: hidden; clip-path: inset(50%); white-space: nowrap;
91 }
92 /* Home pages carry their own heading; Fossil's "index" / "Home" title is noise */
93 h1.page-title.home-title { display: none !important; }
94 /* Long document titles go in the body instead of the title bar */
95 .artifact h1.page-title, .dir h1.page-title, .doc h1.page-title, .wiki h1.page-title {
96 position: static; width: auto; overflow: visible; clip-path: none; white-space: normal;
97 margin: revert; margin-bottom: 0;
98 }
99 .artifact .title > .page-title, .dir .title > .page-title,
100 .doc .title > .page-title, .wiki .title > .page-title { display: none; }
101 /* ...unless the page opens with a heading of its own (a wiki page's first
102 heading, "History of ...", "Files in ..."): the title would say it twice */
103 body:has(div.content > :is(h1, h2):first-child, div.content > span:first-child + :is(h1, h2),
104 div.content > :is(.markdown, .fossil-doc) > :is(h1, h2):first-child,
105 div.content > span:first-child + :is(.markdown, .fossil-doc) > :is(h1, h2):first-child) h1.page-title {
106 position: absolute; width: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
107 }
108 .artifact .title h1:after, .dir .title h1:after, .doc .title h1:after, .wiki .title h1:after,
109 .artifact .title .project-name:after, .dir .title .project-name:after,
110 .doc .title .project-name:after, .wiki .title .project-name:after { content: ""; }
111
112 .status { margin-left: auto; font-size: 0.9em; }
113 .status a { color: var(--muted); }
114 .status a:hover { color: var(--text); }
115
116 /* Main menu band */
117 .mainmenu {
118 clear: both;
119 background: var(--surface) linear-gradient(var(--band-top), var(--surface)) repeat-x;
120 border: 1px solid var(--border);
121 border-radius: 5px;
122 overflow-x: auto;
123 overflow-y: hidden;
124 white-space: nowrap;
125 z-index: 21;
126 }
127 .mainmenu a {
128 display: inline-block;
129 line-height: 1.4;
130 color: var(--muted);
131 text-decoration: none;
132 border-right: 1px solid var(--border);
133 font-weight: 500;
134 }
135 .mainmenu a.active, .mainmenu a:hover {
136 color: var(--text);
137 border-bottom: 2px solid var(--active);
138 text-decoration: none;
139 }
140 #hbbtn { font-size: 1.15em; min-width: 44px; text-align: center; }
141 #hbbtn[aria-expanded="true"] { color: var(--text); background: var(--surface2); }
142
143 /* Hamburger dropdown (hbmenu.js toggles display; a11y.js sets --nav-bottom) */
144 nav#hbdrop {
145 background-color: var(--surface);
146 border: 1px solid var(--border);
147 border-top: none;
148 border-radius: 0 0 0.5em 0.5em;
149 display: none;
150 font-size: 0.95em;
151 position: fixed;
152 top: var(--nav-bottom, 88px);
153 left: 0; right: 0;
154 z-index: 200;
155 box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / 0.5);
156 overflow-x: hidden;
157 max-height: 75vh;
158 overflow-y: auto;
159 }
160 ul#sitemap {
161 padding: 1.25rem 1.5rem 1.5rem;
162 margin: 0;
163 list-style: none;
164 column-width: 14em;
165 column-gap: 2.5rem;
166 }
167 ul#sitemap > li {
168 list-style: none;
169 margin: 0 0 1.1rem;
170 break-inside: avoid;
171 }
172 ul#sitemap > li > a {
173 display: inline-block;
174 font-size: 0.78em;
175 font-weight: 600;
176 letter-spacing: 0.06em;
177 text-transform: uppercase;
178 color: var(--muted);
179 padding: 0.3rem 0;
180 }
181 ul#sitemap > li > a:hover { color: var(--text); text-decoration: none; }
182 ul#sitemap ul { margin: 0.15rem 0 0; padding: 0; list-style: none; }
183 ul#sitemap ul li { list-style: none; }
184 ul#sitemap ul li a {
185 display: flex; align-items: center; box-sizing: border-box; /* text stays centered at any row height */
186 color: var(--text);
187 padding: 0.3rem 0.6rem;
188 margin-left: -0.6rem;
189 border-radius: 4px;
190 min-height: 36px;
191 }
192 ul#sitemap ul li a:hover { background: var(--surface2); color: var(--link-hover); text-decoration: none; }
193 nav#hbdrop ul#sitemap { column-width: 14em; }
194 ul#sitemap.columns { overflow-x: hidden; }
195
196 /* Submenu row, like the default: a horizontal strip under the menu band */
197 .submenu, .sectionmenu {
198 font-size: 0.9em;
199 padding: 8px 0;
200 margin-bottom: 4px;
201 border-bottom: 1px solid var(--border);
202 display: flex;
203 flex-wrap: wrap;
204 align-items: center;
205 gap: 0.25rem 0.5rem;
206 }
207 .submenu a, .submenu label, .sectionmenu a {
208 padding: 6px 10px;
209 text-decoration: none;
210 color: var(--link);
211 border: 1px solid transparent;
212 border-radius: 5px;
213 white-space: nowrap;
214 }
215 .submenu > a:first-child { margin-left: -10px; }
216 .submenu a:hover, .submenu label:hover, .sectionmenu a:hover {
217 border-color: var(--border);
218 background: var(--surface);
219 color: var(--text);
220 text-decoration: none;
221 }
222 span.submenuctrl, span.submenuctrl input, select.submenuctrl { color: var(--muted); }
223 span.submenuctrl { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.35rem; }
224 .submenuckbox { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--text); cursor: pointer; }
225 .submenu select, .submenu input[type=text], .sectionmenu select, .sectionmenu input[type=text] {
226 width: auto;
227 font-size: 0.95em;
228 padding: 0.3em 0.5em;
229 }
230 .submenu select, .sectionmenu select { padding-right: 1.9em; }
231 .section {
232 font-size: 1em; font-weight: bold;
233 background-color: var(--surface);
234 border: 1px solid var(--border);
235 border-radius: 3px 3px 0 0;
236 padding: 9px 10px 10px;
237 margin: 10px 0;
238 }
239 .sectionmenu {
240 border: 1px solid var(--border);
241 border-radius: 0 0 3px 3px;
242 border-top: 0;
243 margin-top: -10px;
244 margin-bottom: 10px;
245 }
246
247 /* Content */
248 .content { padding: 12px 0; color: var(--text); }
249 .content h1 { font-size: 1.60em; color: var(--text); }
250 .content h2 { font-size: 1.45em; color: var(--text); }
251 .content h3 { font-size: 1.15em; color: var(--text); }
252 .content h4 { font-size: 1.05em; color: var(--text); }
253 .content h5 { font-size: 1.00em; color: var(--text); }
254 .content pre, table.numbered-lines > tbody > tr { hyphens: none; line-height: 1.3; }
255 .content ul:not(.browser) > li { list-style-type: disc; }
256 div.filetree ul li.dir, div.filetree ul li.subdir, div.filetree ul li.file { list-style-type: none; }
257 th { text-align: left; }
258
259 /* User content: wiki, embedded docs, forum posts */
260 .markdown blockquote, p.blockquote, .sidebar {
261 background-color: var(--surface);
262 border-left: 4px solid var(--link);
263 }
264 div.sidebar { outline: 1em solid var(--bg); }
265 .artifact > .content > p > code, .artifact > .content > .markdown > p > code, .artifact > .content > .fossil-doc > p > code,
266 .dir > .content > p > code, .dir > .content > .markdown > p > code,
267 .doc > .content > p > code, .doc > .content > .markdown > p > code, .doc > .content > .fossil-doc > p > code,
268 .forum > .content .markdown > p > code,
269 .wiki > .content > p > code, .wiki > .content > .markdown > p > code, .wiki > .content > .fossil-doc > p > code,
270 .content li > code, .content td > code {
271 background-color: var(--surface);
272 border: 1px solid var(--border);
273 border-radius: 3px;
274 padding: 0 4px;
275 }
276 .artifact > .content > pre, .artifact > .content > .markdown > pre, .artifact > .content > .fossil-doc > pre,
277 .dir > .content > pre, .dir > .content > .markdown > pre,
278 .doc > .content > pre, .doc > .content > .markdown > pre, .doc > .content > .fossil-doc > pre,
279 .forum > .content .markdown > pre,
280 .wiki > .content > pre, .wiki > .content > .markdown > pre, .wiki > .content > .fossil-doc > pre,
281 pre.verbatim, pre.textPlain {
282 background-color: var(--surface);
283 border: 1px solid var(--border);
284 border-radius: 4px;
285 padding: 8px 10px;
286 }
287 pre.verbatim { white-space: pre-wrap; }
288 .artifact > .content table, .dir > .content table, .doc > .content table, .wiki > .content table,
289 .forum > .content .markdown table {
290 background-color: var(--surface);
291 border: 1px solid var(--border);
292 border-radius: 0.5em;
293 border-spacing: 0;
294 padding: 6px;
295 }
296 .artifact > .content th, .dir > .content th, .doc > .content th, .wiki > .content th,
297 .forum > .content .markdown th {
298 border-bottom: 1px solid var(--border);
299 background-color: var(--surface2);
300 padding: 4px 6px;
301 }
302 .artifact > .content tr:nth-child(odd) td, .dir > .content tr:nth-child(odd) td,
303 .doc > .content tr:nth-child(odd) td, .wiki > .content tr:nth-child(odd) td {
304 background-color: var(--stripe);
305 }
306 .artifact > .content td, .dir > .content td, .doc > .content td, .wiki > .content td,
307 .forum er { flex-shrink: 0; }
308
309 /* Footer */
310 footer {
311 border-top: 1px solid var(--border);
312 padding: 10px;
313 font-size: 0.85em;
314 margin-top: 10px;
315 color: var(--muted);
316 display: flex;
317 justify-content: space-between;
318 flex-wrap: wrap;
319 gap: 0.5rem;
320 }
321
322 /* Forum */
323 .forum a:visited { color: var(--visited); }
324 div.forumSel {
325 animation: 1s linear 0s sel-fade;
326 background-color: var(--bg);
327 border-left: 4px solid var(--link);
328 }
329 @keyframes sel-fade { from { background-color: var(--surface2); } to { background-color: var(--bg); } }
330 .forum form input { margin: 0.5em 0; }
331 div.forumTime, div.forumHier, div.forumHierRoot {
332 background: var(--surface) !important;
333 border: 1px solid var(--border) !important;
334 border-radius: 4px;
335 color: var(--text) !important;
336 }
337 div.forumTime.forumSel, div.forumHier.forumSel { border-color: var(--link) !important; }
338 div.forumObs { opacity: 0.75; }
339 div.forumPostBody, div.forumPostBody h1, div.forumPostBody h2, div.forumPostBody h3 { color: var(--text) !important; }
340 .forum-post-collapser {
341 border-color: var(--border) !important;
342 background: var(--surface) !important;
343 color: var(--muted) !important;
344 }
345 .forum-post-collapser:hover { background: var(--surface2) !important; color: var(--text) !important; }
346 div.searchForm { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1em 0; }
347
348 /* Tickets and reports */
349 table.report { cursor: auto; border: 1px solid var(--border); border-radius: 0.5em; margin: 1em 0; }
350 .report td, .report th { border: 0; font-size: 0.9em; padding: 8px 10px; }
351 .report th { cursor: pointer; background: var(--surface); }
352 .report thead + tbody tr:hover { background-color: var(--surface2) !important; }
353 body.report table.report tr td { color: var(--text) !important; }
354 body.report table.report a { color: var(--link) !important; }
355 td.tktDspLabel { width: 70px; text-align: right; overflow: hidden; color: var(--muted) !important; }
356 td.tktDspValue {
357 text-align: left; vertical-align: top;
358 background-color: var(--surface) !important;
359 border: 1px solid var(--border) !important;
360 color: var(--text) !important;
361 }
362 td.tktDspValue pre { white-space: pre-wrap; }
363
364 /* Timeline */
365 span.timelineDetail { font-size: 90%; }
366 div.timelineDate { font-weight: bold; white-space: nowrap; color: var(--muted); }
367 table.timelineTable { padding: 0 3px; }
368 table.timelineTable tr { border-radius: 1em; }
369 .timelineModernCell, .timelineColumnarCell, .timelineDetailCell { border-radius: 0.5em; }
370 .timelineModernCell[id], .timelineColumnarCell[id], .timelineDetailCell[id] { background-color: var(--surface); }
371 .timelineModernDetail { opacity: 1; color: var(--muted); font-size: 0.9em; }
372 .timelineModernComment { color: var(--text); }
373 td.timelineTime { color: var(--muted); font-family: var(--mono); font-size: 0.9em; white-space: nowrap; }
374 span.timelineHash { font-family: var(--mono); }
375 tr.timelineSelected, tr.timelineSecondary { background-color: unset; }
376 tr.timelineSelected td, span.timelineSelected { background-color: var(--sel-bg) !important; }
377 tr.timelineSecondary td, span.timelineSecondary { background-color: var(--sec-bg) !important; }
378 tr.timelineCurrent td:first-child, tr.timelineSecondary td:first-child, tr.timelineSelected td:first-child {
379 border-top-left-radius: 1em; border-bottom-left-radius: 1em;
380 }
381 tr.timelineCurrent td:last-child, tr.timelineSecondary td:last-child, tr.timelineSelected td:last-child {
382 border-top-right-radius: 1em; border-bottom-right-radius: 1em;
383 }
384 tr.timelineCurrent td { border-top: 1px dashed var(--muted); border-bottom: 1px dashed var(--muted); }
385 tr.timelineCurrent td:first-child { border-left: 1px dashed var(--muted); }
386 tr.timelineCurrent td:last-child { border-right: 1px dashed var(--muted); }
387
388 /* Timeline graph: Fossil hardcodes black lines and white nodes */
389 .tl-node { background: var(--link) !important; border-color: var(--text) !important; }
390 .tl-node.leaf:after { background: var(--bg) !important; }
391 .tl-node.closed-leaf svg { color: var(--bg) !important; }
392 .tl-line { background-color: var(--muted); }
393 .tl-line.warp { background: var(--yellow) !important; }
394 .tl-line.cherrypick.h { border-top-color: var(--muted) !important; background: transparent !important; }
395 .tl-line.cherrypick.v, .tl-line.dotted.v { border-left-color: var(--muted) !important; background: transparent !important; }
396 .tl-arrow.u, .tl-arrow.u.sm { border-bottom-color: var(--muted) !important; }
397 .tl-arrow.merge.l, .tl-arrow.cherrypick.l { border-right-color: var(--muted) !important; }
398 .tl-arrow.merge.r, .tl-arrow.cherrypick.r { border-left-color: var(--muted) !important; }
399 .tl-arrow.warp { border-left-color: var(--yellow) !important; }
400 /* Branch colors are pastel inline backgrounds; darken them so text stays readable */
401 /* Branch and user tints come from Fossil, already sized for this foreground */
402 .tl-tooltip {
403 background: var(--surface2) !important; color: var(--text) !important;
404 border-color: var(--border) !important; box-shadow: 0 4px 16px rgb(var(--shadow-rgb) / 0.5) !important;
405 }
406
407 /* Lists and tables Fossil generates */
408 table.sortable th, table.filelistTable th, .fileage th {
409 text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); cursor: pointer;
410 }
411 table.sortable td, table.filelistTable td, .fileage td { padding: 5px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
412 table.sortable tr:hover td, .fileage tr:hover, div.filetreeline:hover { background: var(--surface) !important; }
413 body.branch .brlist > table > tbody > tr:hover:not(.selected) { background: var(--surface) !important; }
414 body.branch .brlist > table > tbody > tr.selected { background: var(--surface2) !important; }
415 .branch-name, span.tagDsp {
416 display: inline-block; background: var(--surface2); border: 1px solid var(--border);
417 border-radius: 3px; color: var(--link); font-family: var(--mono); font-size: 0.85em; padding: 0 0.3em;
418 }
419
420 /* Diffs: Fossil's built-in colors are pale pastels */
421 table.diff { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.9em; }
422 td.difflnc, td.difflna, td.difflnb { color: var(--muted); padding: 0 0.5em; text-align: right; user-select: none; border-right: 1px solid var(--border); }
423 td.difftext { padding: 0 0.5em; white-space: pre; }
424 tr.diffskip, tr.diffskip.jchunk { background: var(--surface) !important; }
425 tr.diffskip > td.chunkctrl .jcbutton { background: var(--surface2) !important; color: var(--muted) !important; border-radius: 3px; }
426 tr.diffskip > td.chunkctrl .jcbutton:hover { color: var(--text) !important; }
427 td.diffmkrl, td.diffmkrr, td.diffmkru { color: var(--muted); }
428 tr.diffadd td { background: rgb(var(--green-rgb) / 0.10); }
429 tr.diffrm td { background: rgb(var(--red-rgb) / 0.10); }
430 tr.diffchng td { background: rgb(var(--yellow-rgb) / 0.07); }
431 span.diffadd { color: var(--green); }
432 span.diffrm { color: var(--red); }
433 span.diffchng { color: var(--yellow); }
434 td.diffln ins, td.difftxt ins, table.diff pre > ins { background-color: rgb(var(--green-rgb) / 0.16) !important; }
435 td.diffln del, td.difftxt del, table.diff pre > del { background-color: rgb(var(--red-rgb) / 0.16) !important; }
436 td.difftxt del > del, table.diff pre > del > del { background-color: rgb(var(--red-rgb) / 0.32) !important; }
437 td.difftxt ins > ins, table.diff pre > ins > ins { background-color: rgb(var(--green-rgb) / 0.32) !important; }
438 td.difftxt del > del.edit, td.difftxt ins > ins.edit,
439 table.diff pre > del > del.edit, table.diff pre > ins > ins.edit { background-color: rgb(var(--link-rgb) / 0.25) !important; }
440
441 /* Annotate / blame: inline pastel backgrounds from Fossil JS */
442 td.annotateDate, td.annotateUser { color: var(--muted); font-family: var(--mono); font-size: 0.85em; padding: 0 0.5em; white-space: nowrap; border-right: 1px solid var(--border); }
443 pre span[style*="background"], li span[style*="background"] {
444 background-image: linear-gradient(rgb(var(--veil-rgb) / 0.7), rgb(var(--veil-rgb) / 0.7)) !important;
445 border-radius: 3px; padding: 0.1em 0.25em;
446 }
447
448 /* Any inline pastel background Fossil emits (ticket reports and their key,
449 ticket pages, annotate legends, branch lists): darken it, keep the hue */
450 tr[style*="background-color"], td[style*="background-color"], th[style*="background-color"],
451 span[style*="background-color"], div[style*="background-color"], p[style*="background-color"] {
452 background-image: linear-gradient(rgb(var(--veil-rgb) / var(--veil, 0.35)), rgb(var(--veil-rgb) / var(--veil, 0.35))) !important;
453 color: var(--text);
454 }
455 tr[style*="background-color"] a, td[style*="background-color"] a, p[style*="background-color"] a { color: var(--link); }
456 p[style*="border:1px solid"] { border-color: var(--border) !important; border-radius: 4px; padding: 0.6em 0.8em; }
457 /* Pikchr: Fossil already draws white defaults because skin-detail is white-foreground; leave diagrams alone */
458
459 /* Fossil's user and branch colors, muted toward the surface so they sit with the skin */
460 table.timelineTable td[style*="background"] {
461 background-image: linear-gradient(rgb(var(--tint-rgb) / var(--tint-mute)), rgb(var(--tint-rgb) / var(--tint-mute))) !important;
462 }
463 body.chat .message-widget-content[style*="background"] {
464 background-image: linear-gradient(rgb(var(--tint-rgb) / var(--chat-mute)), rgb(var(--tint-rgb) / var(--chat-mute))) !important;
465 }
466 body.chat .message-widget-tab[style*="background"] { background-image: none !important; }
467 body.chat .message-widget-content { box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / var(--bubble-shadow)) !important; }
468
469 /* Misc Fossil UI elements with hardcoded light colors */
470 div.debug { background: var(--surface) !important; border: 1px solid var(--border) !important; color: var(--muted) !important; padding: 0.75rem; }
471 /* Inline debug markers, e.g. "(artifact-NNN)" on forum posts for admins: just quieter text */
472 span.debug { background: none !important; border: none !important; padding: 0 !important; color: var(--muted) !important; font-size: 0.85em; }
473 span.debug a { color: var(--muted); }
474 span.debug a:hover { color: var(--link); }
475 span.error { background: rgb(var(--yellow-rgb) / 0.18) !important; color: var(--yellow) !important; padding: 0.1em 0.25em; border-radius: 3px; }
476 mark { background: rgb(var(--yellow-rgb) / 0.25); color: var(--text); padding: 0.1em 0.25em; border-radius: 3px; }
477 div.sideboxTitle { color: var(--title); font-weight: 600; }
478 div.sidebox { background: var(--surface); border: 1px solid var(--border) !important; border-radius: 4px; margin: 0 0 1em 1.5em; padding: 0.75em; }
479 .disabled { color: var(--red); }
480 .modpending { color: var(--yellow); }
481 .fossil-tooltip.help-buttonlet-content { background-color: var(--surface2); color: var(--text); border: 1px solid var(--border); }
482 .fossil-tooltip { background: var(--surface2) !important; color: var(--text) !important; border-color: var(--border) !important; }
483 td.capsumRead { background: rgb(var(--green-rgb) / 0.15) !important; color: var(--green); }
484 td.capsumWrite { background: rgb(var(--yellow-rgb) / 0.15) !important; color: var(--yellow); }
485 td.capsumOff { background: rgb(var(--muted-rgb) / 0.1) !important; color: var(--muted); }
486 table.login_out { margin: 1em 0; }
487 td.login_out_label { color: var(--muted); padding: 0.4em 0.75em 0.4em 0; }
488 .help-buttonlet { color: var(--link); cursor: pointer; }
489
490 /* Status text Fossil colors pure red / blue / black */
491 span.disabled, span.wikiError, span.loginError, span.tktError, span.brokenlink, span.thTrace,
492 p.generalError, p.tktsetupError, p.xfersetupError, p.thmainError, p.reportError, blockquote.reportError,
493 pre.th1error, span.ueditInheritDeveloper, td.tktTlOpen,
494 div.markdown ol.footnotes > li.fn-misreference > span, div.markdown ol.footnotes > li.fn-unreferenced > code,
495 div.markdown sup.noteref.misref, div.markdown sup.noteref.misref > a { color: var(--red) !important; }
496 span.ueditInheritAnonymous, p.missingPriv, p.noMoreShun, p.shunned { color: var(--link) !important; }
497 span.ueditInheritReader { color: var(--text) !important; }
498 blockquote.reportError, p.generalError { background: rgb(var(--red-rgb) / 0.1); border: 1px solid rgb(var(--red-rgb) / 0.4); border-radius: 4px; padding: 0.6em 0.8em; }
499 /* Fossil also puts class="error" on <body> and colors it yellow; keep the page as it is */
500 body.error, body.warning { background: var(--bg) !important; color: var(--text) !important; }
501 .error:not(body), .warning:not(body) { background: rgb(var(--yellow-rgb) / 0.18) !important; color: var(--yellow) !important; border-radius: 3px; padding: 0.1em 0.3em; }
502 table.numbered-lines td.line-numbers span.selected-line { color: var(--text) !important; background-color: rgb(var(--link-rgb) / 0.22) !important; }
503 .fossil-toast-message { background: var(--surface2) !important; color: var(--text) !important; border: 1px solid var(--border) !important; border-radius: 6px !important; box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / 0.5) !important; }
504 .fossil-toast-message.error, .fossil-toast-message.warning { background: var(--warn-bg) !important; color: var(--yellow) !important; border-color: var(--yellow) !important; }
505 .fossil-toast-message.error { color: var(--red) !important; border-color: var(--red) !important; background: var(--err-bg) !important; }
506
507 /* Wiki / file editor tabs */
508 .tab-container .tab-bar { display: flex; flex-wrap: wrap; gap: 0.25rem; border-bottom: 1px solid var(--border); }
509 .tab-container .tab-button {
510 padding: 0.4em 0.9em; border: 1px solid transparent; border-bottom: none; border-radius: 5px 5px 0 0;
511 background: transparent; color: var(--muted); font-family: var(--font); font-size: 0.95em; cursor: pointer; margin-bottom: -1px;
512 }
513 .tab-container .tab-button:hover { color: var(--text); background: var(--surface); }
514 .tab-container .tab-button.selected { color: var(--text); background: var(--surface); border-color: var(--border); border-bottom-color: var(--surface); }
515 #fossil-status-bar { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; color: var(--muted); font-family: var(--mono); font-size: 0.85em; padding: 0.4em 0.75em; margin: 0.5em 0; }
516 .wikiedit-options, .fileedit-options { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; padding: 0.5em; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; margin-bottom: 0.5em; }
517 .wikiedit-options .input-with-label, .fileedit-options .input-with-label { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
518 #wikiedit-tab-content textarea, #fileedit-tab-content textarea { min-height: 300px; width: 100%; }
519 .tab-container fieldset { border: 1px solid var(--border); border-radius: 4px; }
520 .tab-container fieldset legend { color: var(--muted); }
521 button.wikiedit-content-reload, button.fileedit-content-reload { min-width: unset !important; max-width: unset !important; }
522
523 /* Chat: Fossil sets inline pastel backgrounds per user */
524 /* Each message keeps the user's color, which Fossil already picks for this
525 skin's foreground (white-foreground); only messages without one get --surface. */
526 body.chat .message-widget-content {
527 background-color: var(--surface); border: 1px solid var(--border) !important;
528 border-radius: 6px !important; color: var(--text) !important; padding: 0.5em 0.75em !important;
529 }
530 body.chat .message-widget-tab { background: transparent !important; color: var(--muted) !important; border: none !important; font-size: 0.9em !important; }
531 body.chat .message-widget-tab[style*="background"] { background-image: none !important; }
532 body.chat .message-widget-tab .xfrom { color: var(--link) !important; font-weight: 600 !important; }
533 body.chat #chat-input-line-wrapper { border: 1px solid var(--border) !important; border-radius: 6px !important; background: var(--input-bg) !important; }
534 body.chat #chat-input-line-wrapper:focus-within { border-color: var(--link) !important; }
535 body.chat .chat-input-field { border: none !important; background: transparent !important; color: var(--text) !important; font-family: var(--font) !important; font-size: 1em !important; }
536 body.chat .cbutton { border: 1px solid var(--border) !important; background: var(--surface) !important; border-radius: 4px !important; }
537 body.chat .cbutton:hover { background: var(--surface2) !important; }
538 body.chat fieldset { border: 1px solid var(--border) !important; border-radius: 4px !important; background: var(--surface) !important; }
539 body.chat .menu-entry { background: var(--surface) !important; border: 1px solid var(--border) !important; color: var(--text) !important; }
540 body.chat .menu-entry:hover, body.chat .menu-entry.parent { background: var(--surface2) !important; }
541 body.chat .message-widget .match { background: rgb(var(--yellow-rgb) / 0.25) !important; color: var(--text) !important; }
542 body.chat .chat-message-popup { background: var(--surface2) !important; border: 1px solid var(--border) !important; color: var(--text) !important; }
543 body.chat .message-widget-content img { max-width: 100% !important; border-radius: 4px !important; }
544
545 /* Chat toolbar: Fossil renders the buttons as emoji; mask them with icons, keep the spans intact */
546 body.chat #chat-buttons-wrapper > .cbutton {
547 position: relative !important;
548 font-size: 0 !important;
549 color: transparent !important;
550 min-width: 44px !important; max-width: 44px !important;
551 min-height: 36px !important; height: 36px !important;
552 background: var(--surface) !important;
553 border: 1px solid var(--border) !important;
554 border-radius: 6px !important;
555 }
556 body.chat #chat-buttons-wrapper > .cbutton::after {
557 content: ""; position: absolute; inset: 0; margin: auto;
558 width: 22px; height: 22px;
559 background-color: var(--muted);
560 -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
561 }
562 body.chat #chat-buttons-wrapper > .cbutton:hover { background: var(--surface2) !important; border-color: var(--muted) !important; }
563 body.chat #chat-buttons-wrapper > .cbutton:hover::after { background-color: var(--text); }
564 body.chat #chat-buttons-wrapper > #chat-button-submit { background: var(--link) !important; border-color: var(--link) !important; min-width: 64px !important; max-width: 64px !important; }
565 body.chat #chat-buttons-wrapper > #chat-button-submit::after { background-color: var(--on-accent); }
566 body.chat #chat-buttons-wrapper > #chat-button-submit:hover { background: var(--link-hover) !important; }
567 body.chat #chat-button-preview { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z%22/%3E%3C/svg%3E"); }
568 body.chat #chat-button-search { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z%22/%3E%3C/svg%3E"); }
569 body.chat #chat-button-attach { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M209.66,122.34a8,8,0,0,1,0,11.32l-82.05,82a56,56,0,0,1-79.2-79.21L147.67,35.73a40,40,0,1,1,56.61,56.55L105,193A24,24,0,1,1,71,159L154.3,74.38A8,8,0,1,1,165.7,85.6L82.39,170.31a8,8,0,1,0,11.27,11.36L192.93,81A24,24,0,1,0,159,47L59.76,147.68a40,40,0,1,0,56.53,56.62l82.06-82A8,8,0,0,1,209.66,122.34Z%22/%3E%3C/svg%3E"); }
570 body.chat #chat-button-settings { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22black%22%3E%3Cpath d=%22M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.Keep running text a comfortab
571 .doc > .content h3, .wiki .content h3, .artifact .content h3 { margin-left: 20pt; }
572 .doc > .content > blockquote, .wiki > .content > blockquote { margin-left: 50pt; }
573 .doc > .content > .markdown > blockquote, .wiki > .content > .markdown > blockquote { margin-left: 40pt; }
574 .content .pikchr-wrapper, div.pikchr-wrapper.indent:not(.source) { margin-left: 40pt; }
575 div.pikchr-wrapper.center:not(.source), div.pikchr-wrapper.float-right:not(.source) { margin-left: 0; }
576 }
577
578 /* Chat bubbles: messaging-app corners; your own messages, when Fossil puts
579 them on the right (its my-messages-right layout, the default in tall
580 windows), point the other way */
581 body.chat .message-widget:not(.notification) .message-widget-content { border-radius: 12px 12px 12px 4px !important; }
582 body.chat.my-messages-right .message-widget.mine .message-widget-content { border-radius: 12px 12px 4px 12px !important; }
583 body.chat.my-messages-right .message-widget.mine .message-widget-tab { text-align: right; }
584
585 /* Message options popup (click a message's header): one card, quiet
586 timestamps, buttons sized for touch */
587 body.chat .chat-message-popup {
588 font-family: var(--font) !important; font-size: 0.9em !important;
589 background: var(--surface2) !important; border: 1px solid var(--border) !important;
590 border-radius: 10px !important; padding: 0.65em !important; gap: 0.45em;
591 box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / var(--popup-shadow)) !important;
592 max-width: min(26rem, calc(100vw - 2rem));
593 }
594 body.chat .chat-message-popup > span { font-family: var(--mono); font-size: 0.85em; color: var(--muted); white-space: normal; }
595 body.chat .chat-message-popup > .toolbar { border: none !important; gap: 0.4em; margin: 0 !important; flex-wrap: wrap; }
596 body.chat .chat-message-popup > .toolbar > * { margin: 0 !important; }
597 body.chat .chat-message-popup > .toolbar > button,
598 body.chat .chat-message-popup > .toolbar > a {
599 flex: 1 1 auto; min-height: 36px; display: inline-flex; align-items: center; justify-content: center;
600 padding: 0.35em 0.8em; border: 1px solid var(--border); border-radius: 6px;
601 background: var(--surface); color: var(--text); font-family: var(--font); font-size: 1em; text-decoration: none;
602 }
603 body.chat .chat-message-popup > .toolbar > a { color: var(--link); }
604 body.chat .chat-message-popup > .toolbar > button:hover,
605 body.chat .chat-message-popup > .toolbar > a:hover { background: var(--btn-hover); border-color: var(--muted); text-decoration: none; }
606 /* "Delete globally" removes the message for everyone */
607 body.chat .chat-message-popup > div.toolbar:nth-of-type(1) > button:nth-child(2) { color: var(--red); }
608 @media (pointer: coarse), (max-width: 600px) {
609 body.chat .chat-message-popup > .toolbar > button,
610 body.chat .chat-message-popup > .toolbar > a { min-height: 44px; }
611 }
612
613 /* Phones: the page itself never scrolls sideways */
614 body.chat .chat-message-popup { z-index: 200 !important; }
615 @media screen and (max-width: 600px) {
616 table.label-value td { white-space: normal !important; overflow-wrap: anywhere; }
617 table.label-value td .nobr, table.label-value td .nobr *,
618 td.tktDspValue .nobr, td.tktDspValue .nobr * { white-space: normal !important; word-break: break-all; }
619 .content table.sortable, .content table.report, .content table.userTable {
620 display: block; max-width: 100%; overflow-x: auto;
621 }
622 .title h1, .title .project-name { font-size: 1.3em; }
623 }
624
625 /* Hamburger menu. hbmenu.js toggles it instantly (data-anim-ms="0" in the
626 header); the skin slides it in. */
627 @keyframes hb-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
628 nav#hbdrop { animation: hb-in 160ms ease-out; top: var(--nav-bottom, 88px); }
629 @media screen and (max-width: 600px), (pointer: coarse) {
630 /* A sheet from under the nav bar to the bottom of the screen, scrolling
631 on its own, with the page behind it held still */
632 nav#hbdrop {
633 bottom: 0; max-height: none; border-radius: 0; border-left: 0; border-right: 0;
634 overscroll-behavior: contain; -webkit-overflow-scroll, .wiki > .content, .forum > .content, .artifact > .content {isplay: bloc70emn > pre { margin-left:> p> .content > .markdown > ol, .dop> .content > .markdowfossil-doc > p,
635 .doc > .content > ol, .doc > .content > ul, .doc > .content > .markdown > ol, .doc > .content > .markdown > ul,
636 .wiki > .content > p, .wiki > .content > .markdown > p, .wiki > .content > .fossil-doc > p,
637 .wiki > .content > ol, .wiki > .content > ul, .wiki > .content > .markdown > ol, .wiki > .content > .markdown > ul,
638 .artifact > .content > .markdown > p, .artifact > .content > .markdown > ol, .artifact > .content > .markdown > ul,
639 .doc > .content > .markdown > table, .wiki > .content > .markdown > table, .artifact > .content > .markdown > table {
640 margin-left: 30pt; margin-right: 30pt;
641 }
642 .doc > .content > pre, .doc > .content > .markdown > pre, .doc > .content > .fossil-doc > pre,
643 .wiki > .content > pre, .wiki > .content > .markdown > pre,
644 .artifact > .content > .markdown > pre { margin-left: 40pt; margin-right: 30pt; }
645 .forum > .content .markdown > pre { margin-left: 20pt; }
646 .doc > .content h1, .wiki .content h1, .artifact .content h1 { margin-left: 10pt; }
647 .doc > .content h2, .wiki .content h2, .artifact .content h2 { margin-left: 15pt; }
648 .doc > .content h3, .wiki .content h3, .artifact .content h3 { margin-left: 20pt; }
649 .doc > .content > blockquote, .wiki > .content > blockquote { margin-left: 50pt; }
650 .doc > .content > .markdown > blockquote, .wiki > .content > .markdown > blockquote { margin-left: 40pt; }
651 .content .pikchr-wrapper, div.pikchr-wrapper.indent:not(.source) { margin-left: 40pt; }
652 div.pikchr-wrapper.center:not(.source), div.pikchr-wrapper.float-right:not(.source) { margin-left: 0; }
653 }
654
655 /* Chat bubbles: messaging-app corners; your own messages, when Fossil puts
656 them on the right (its my-messages-right layout, the default in tall
657 windows), point the other way */
658 body.chat .message-widget:not(.notification) .message-widget-content { border-radius: 12px 12px 12px 4px !important; }
659 body.chat.my-messages-right .message-widget.mine .message-widget-content { border-radius: 12px 12px 4px 12px !important; }
660 body.chat.my-messages-right .message-widget.mine .message-widget-tab { text-align: right; }
661
662 /* Message options popup (click a message's header): one card, quiet
663 timestamps, buttons sized for touch */
664 body.chat .chat-message-popup {
665 font-family: var(--font) !important; font-size: 0.9em !important;
666 background: var(--surface2) !important; border: 1px solid var(--border) !important;
667 border-radius: 10px !important; padding: 0.65em !important; gap: 0.45em;
668 box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / var(--popup-shadow)) !important;
669 max-width: min(26rem, calc(100vw - 2rem));
670 }
671 body.chat .chat-message-popup > span { font-family: var(--mono); font-size: 0.85em; color: var(--muted); white-space: normal; }
672 body.chat .chat-message-popup > .toolbar { border: none !important; gap: 0.4em; margin: 0 !important; flex-wrap: wrap; }
673 body.chat .chat-message-popup > .toolbar > * { margin: 0 !important; }
674 body.chat .chat-message-popup > .toolbar > button,
675 body.chat .chat-message-popup > .toolbar > a {
676 flex: 1 1 auto; min-height: 36px; display: inline-flex; align-items: center; justify-content: center;
677 padding: 0.35em 0.8em; border: 1px solid var(--border); border-radius: 6px;
678 background: var(--surface); color: var(--text); font-family: var(--font); font-size: 1em; text-decoration: none;
679 }
680 body.chat .chat-message-popup > .toolbar > a { color: var(--link); }
681 body.chat .chat-message-popup > .toolbar > button:hover,
682 body.chat .chat-message-popup > .toolbar > a:hover { background: var(--btn-hover); border-color: var(--muted); text-decoration: none; }
683 /* "Delete globally" removes the message for everyone */
684 body.chat .chat-message-popup > div.toolbar:nth-of-type(1) > button:nth-child(2) { color: var(--red); }
685 @media (pointer: coarse), (max-width: 600px) {
686 body.chat .chat-message-popup > .toolbar > button,
687 body.chat .chat-message-popup > .toolbar > a { min-height: 44px; }
688 }
689
690 /* Phones: the page itself never scrolls sideways */
691 body.chat .chat-message-popup { z-index: 200 !important; }
692 @media screen and (max-width: 600px) {
693 table.label-value td { white-space: normal !important; overflow-wrap: anywhere; }
694 table.label-value td .nobr, table.label-value td .nobr *,
695 td.tktDspValue .nobr, td.tktDspValue .nobr * { white-space: normal !important; word-break: break-all; }
696 .content table.sortable, .content table.report, .content table.userTable {
697 display: block; max-width: 100%; overflow-x: auto;
698 }
699 .title h1, .title .project-name { font-size: 1.3em; }
700 }
701
702 /* Hamburger menu. hbmenu.js toggles it instantly (data-anim-ms="0" in the
703 header); the skin slides it in. */
704 @keyframes hb-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
705 nav#hbdrop { animation: hb-in 160ms ease-out; top: var(--nav-bottom, 88px); }
706 @media screen and (max-width: 600px), (pointer: coarse) {
707 /* A sheet from under the nav bar to the bottom of the screen, scrolling
708 on its own, with the page behind it held still */
709 nav#hbdrop {
710 bottom: 0; max-height: none; border-radius: 0; border-left: 0; border-right: 0;
711 overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
712 }
713 html:has(#hbdrop[style*="display: block"]) { overflow: hidden; }
714 /* Keep the nav bar, and its close button, on screen while the menu is open */
715 html:has(#hbdrop[style*="display: block"]) nav.mainmenu { position: sticky; top: 0; }
716 ul#sitemap ul li a { min-height: 44px; display: flex; align-items: center; }
717 }
718 @media (prefers-reduced-motion: reduce) { nav#hbdrop { animation: none; } }
719
720 /* Menu bar: every item carries the 2px underline slot, transparent until
721 hover or active, so highlighting never changes any item's or the bar's height */
722 .mainmenu a { border-bottom: 2px solid transparent; }
723 .mainmenu a.active, .mainmenu a:hover { border-bottom-color: var(--active); }
724 #hbbtn { line-height: 1.4; font-size: 1em; }
725
726 /* Logo: show any repository's logo whole in the same 48px box (36px on
727 phones); a square logo looks exactly as before */
728 div.logo img, img.logo-mark { object-fit: contain; }
729
730 /* Menu bar as a flex row: the whitespace between items in the header no
731 longer leaves 4px gaps, so each underline meets the divider beside it */
732 .mainmenu { display: flex; }
733 .mainmenu a { flex: 0 0 auto; }
734
735 /* Weekday above each timeline date. The line is reserved here, before any
736 script runs, so the rows already have their final height when Fossil
737 draws the timeline graph; a11y.js only fills in the name through
738 data-dow. (Inserting a line afterwards moved every row, and Fossil
739 redrew the graph a second later, so the nodes jumped.) */
740 div.timelineDate::before {
741 content: attr(data-dow); display: block; min-height: 1.2em;
742 font-size: 0.8em; font-weight: 400; opacity: 0.85; line-height: 1.2; margin-bottom: 0.1em;
743 }
744
745
746 /* The chat's "Load..." bar: a small label over one row of buttons, without
747 the box Fossil's fieldset would draw around them */
748 body.chat fieldset#load-msg-toolbar {
749 border: none !important; background: transparent !important;
750 padding: 0.5em 0 0 !important; margin: 0 0 1em !important;
751 }
752 body.chat #load-msg-toolbar > legend { font-size: 0.85em; color: var(--muted); padding: 0 0 0.35em; }
753 body.chat #load-msg-toolbar > div { gap: 0.5em; }
754 body.chat #load-msg-toolbar > div > button { border-radius: 6px; }
755
756
757 /* ── Fixes from the page-by-page audit ─────────────────────────────────── */
758
759 /* Fields Fossil emits with no type, or type="input" (forum title, ticket
760 e-mail), which the input[type=text] rule above does not match */
761 input:not([type]), input[type=input] {
762 background: var(--input-bg); border: 1px solid var(--border); border-radius: 4px;
763 color: var(--text); font-family: var(--font); font-size: 1em; padding: 0.35em 0.6em;
764 }
765 input[type=file]::file-selector-button {
766 background: var(--surface2); border: 1px solid var(--border); border-radius: 4px;
767 color: var(--text); font-family: var(--font); font-size: 0.95em; padding: 0.35em 0.8em;
768 margin-right: 0.6em; cursor: pointer;
769 }
770 input[type=file]::file-selector-button:hover { background: var(--btn-hover); border-color: var(--muted); }
771
772 /* Long hashes in titles and headings wrap instead of widening the page */
773 .title, span.page-title, .content h1, .content h2, .content h3 { overflow-wrap: anywhere; }
774 .title { min-width: 0; }
775 .content :not(pre) > code { overflow-wrap: break-word; }
776 .markdown p, .markdown li { overflow-wrap: break-word; }
777
778 /* Rendered markdown looks the same wherever it appears (the wiki editor's
779 preview nests it deeper than the page does) */
780 .markdown pre {
781 background-color: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 8px 10px;
782 }
783 .markdown p > code, .markdown li > code, .markdown td > code {
784 background-color: var(--surface); border: 1px solid var(--border); border-radius: 3px; padding: 0 4px;
785 }
786
787 /* Chat: a bubble holding an attachment stays inside its column */
788 body.chat .message-widget-content { box-sizing: border-box; max-width: 100%; }
789 body.chat .chat-message-popup > .toolbar { align-items: stretch; }
790 body.chat .chat-message-popup > .toolbar > a { display: inline-flex; align-items: center; }
791
792 /* Activity-report charts: a11y.js gives them a viewBox so they can shrink */
793 .content svg.fit { max-width: 100%; height: auto; }
794
795 /* Contrast: links on Fossil's colored rows, closed tickets in the timeline,
796 the fourth capability marker */
797 body.report table.report tr[style*="background-color"] a,
798 table.timelineTable td[style*="background"] a { color: var(--link-on-tint) !important; }
799 td.tktTlClosed { color: var(--muted); }
800 span.ueditInheritNobody { color: var(--green) !important; }
801
802 /* Ticket view: a label alone in its row ("Description:") sits at the left,
803 like "User Comments:" below it */
804 td.tktDspLabel:only-child { text-align: left; }
805
806 /* Bare <table border="1"> (user categories, unversioned files) */
807 .content table[border="1"] { border-collapse: collapse; border-color: var(--border); }
808 .content table[border="1"] > * > tr > td, .content table[border="1"] > * > tr > th { border: 1px solid var(--border); padding: 4px 8px; }
809
810 /* Lists Fossil marks list-style:none keep no bullets */
811 .content ul[style*="list-style"] > li { list-style-type: inherit; }
812
813 /* Main menu: the full bar on every screen. The menu button stays pinned at
814 the left while the entries scroll sideways beneath it, and a fade at the
815 right edge shows there is more. (Fossil would hide entries marked
816 desktoponly / wideonly on small screens; the display set on ".mainmenu a"
817 above keeps them, on purpose.) */
818 #hbbtn {
819 position: sticky; left: 0; z-index: 2;
820 background: var(--surface) linear-gradient(var(--band-top), var(--surface));
821 }
822 .mainmenu::after {
823 content: ""; flex: 0 0 28px; position: sticky; right: 0; pointer-events: none;
824 background: var(--surface) linear-gradient(var(--band-top), var(--surface));
825 -webkit-mask-image: linear-gradient(to right, transparent, #000 85%); mask-image: linear-gradient(to right, transparent, #000 85%);
826 }
827
828 /* Phone menu sheet: top-level entries are destinations, so they read as
829 links in 44px rows */
830 @media screen and (max-width: 600px), (pointer: coarse) {
831 ul#sitemap { padding: 0.5rem 1rem 1.5rem; }
832 ul#sitemap > li { margin: 0; border-bottom: 1px solid var(--rule); }
833 ul#sitemap > li > a {
834 display: flex; align-items: center; min-height: 44px; box-sizing: border-box;
835 font-size: 1em; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text);
836 }
837 ul#sitemap ul { margin: 0 0 0.4rem; }
838 ul#sitemap ul li a { box-sizing: border-box; min-height: 44px; padding-left: 1rem; color: var(--link); }
839
840 /* Touch targets */
841 .submenu a, .submenu label, .sectionmenu a { min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
842 input[type=text], input[type=password], input[type=email], input[type=search], input[type=number],
843 input:not([type]), input[type=input], select, input[type=submit], input[type=button], button {
844 min-height: 44px; box-sizing: border-box;
845 }
846 input[type=checkbox], input[type=radio] { width: 20px; height: 20px; }
847 }
848
849 @media screen and (max-width: 600px) {
850 /* A long unbroken word in a timeline row (a mirrored e-mail address as the
851 login, a path in the comment) wraps instead of widening the page */
852 table.timelineTable td.timelineModernCell, table.timelineTable td.timelineDetailCell,
853 .timelineModernComment, .timelineModernDetail,
854 .content table.timelineTable td.timelineModernCell * { overflow-wrap: anywhere; }
855
856 /* Forms and their fields never exceed the screen */
857 .content form { max-width: 100%; }
858 .content textarea, .content input:not([type=checkbox]):not([type=radio]), .content select { max-width: 100%; box-sizing: border-box; }
859 body.forum .content form { display: block; }
860
861 /* Markdown tables scroll inside themselves, like sortable tables */
862 .content table.md-table, .markdown table { display: block; max-width: 100%; overflow-x: auto; }
863
864 /* Ticket reports: one line per row inside the scrolling table */
865 .content table.report td { white-space: nowrap; }
866 .content table.report td:last-child { white-space: normal; min-width: 12em; max-width: 18em; }
867
868 /* Tickets: Fossil's label | value tables become label above value */
869 body.tkt .content form > table, body.tkt .content > table[cellpadding],
870 body.tkt .content form > table > tbody, body.tkt .content > table[cellpadding] > tbody,
871 body.tkt .content form > table > tbody > tr, body.tkt .content > table[cellpadding] > tbody > tr { display: block; }
872 body.tkt .content form > table > tbody > tr > td, body.tkt .content > table[cellpadding] > tbody > tr > td {
873 display: block; width: auto; text-align: left; padding: 2px 0;
874 }
875 body.tkt .content > table[cellpadding] > tbody > tr > td.tktDspLabel { padding: 12px 0 3px; font-size: 0.9em; color: var(--muted); }
876 body.tkt .content > table[cellpadding] > tbody > tr > td.tktDspValue { padding: 6px 10px; border-radius: 4px; min-height: 1.4em; overflow-wrap: anywhere; }
877 body.tkt .content form > table > tbody > tr > td:nth-child(3) { color: var(--muted); font-size: 0.9em; }
878 body.tkt .content form > table > tbody > tr > td[align=right] { padding-top: 12px; color: var(--muted); }
879
880 /* File ages: age and file on one line, the check-in below */
881 body.fileage .content table:not(.timelineTable), body.fileage .content table:not(.timelineTable) > * { display: block; }
882 body.fileage .content table:not(.timelineTable) tr { display: grid; grid-template-columns: 6.5em 1fr; border-bottom: 1px solid var(--rule); }
883 body.fileage .content table:not(.timelineTable) td { border: 0; overflow-wrap: anywhere; }
884 body.fileage .content table:not(.timelineTable) td:nth-child(3), body.fileage .content table:not(.timelineTable) th:nth-child(3) {
885 grid-column: 1 / -1; max-width: none; padding-top: 0; color: var(--muted); font-size: 0.9em;
886 }
887
888 /* Admin forms: tables that hold fields stack their cells */
889 body.setup .content table:not(.sortable):not([border]):has(input, textarea, select),
890 body.setup .content table:not(.sortable):not([border]):has(input, textarea, select) > tbody,
891 body.setup .content table:not(.sortable):not([border]):has(input, textarea, select) > tbody > tr,
892 body.setup .content table:not(.sortable):not([border]):has(input, textarea, select) > tbody > tr > td {
893 display: block; width: auto; max-width: 100%; text-align: left;
894 }
895 body.setup .content textarea { width: 100%; }
896 body.setup .content label { white-space: normal; }
897
898 /* Other wide admin tables scroll inside themselves; long option lists wrap */
899 .content table#capabilitySummary, .cpage-rcvfromlist .content > table { display: block; max-width: 100%; overflow-x: auto; }
900 .content tt, .cpage-secaudit0 .content li { overflow-wrap: anywhere; }
901
902 /* Forum replies: 10px a level instead of Fossil's 4ex, so deep threads keep
903 their shape and their width. Every level up to ten stays distinct. */
904 div.forumTime[style*="margin-left:"] { margin-left: 100px !important; }
905 div.forumTime[style*="left:4ex"] { margin-left: 10px !important; }
906 div.forumTime[style*="left:8ex"] { margin-left: 20px !important; }
907 div.forumTime[style*="left:12ex"] { margin-left: 30px !important; }
908 div.forumTime[style*="left:16ex"] { margin-left: 40px !important; }
909 div.forumTime[style*="left:20ex"] { margin-left: 50px !important; }
910 div.forumTime[style*="left:24ex"] { margin-left: 60px !important; }
911 div.forumTime[style*="left:28ex"] { margin-left: 70px !important; }
912 div.forumTime[style*="left:32ex"] { margin-left: 80px !important; }
913 div.forumTime[style*="left:36ex"] { margin-left: 90px !important; }
914 div.forumTime[style*="left:40ex"] { margin-left: 100px !important; }
915 }
916
917 /* Windows between phone and desktop width (a half-screen browser, a tablet):
918 the page never scrolls sideways there either. The same measures as on
919 phones, without the phone-only layout changes. */
920 @media screen and (min-width: 601px) and (max-width: 1100px) {
921 table.label-value td { white-space: normal !important; overf
--- a/skins/refined-light/details.txt
+++ b/skins/refined-light/details.txt
@@ -0,0 +1,3 @@
1
+timeline-arrowheads: 1
2
+t1
3
+timeline-color-graph-lines: 1
--- a/skins/refined-light/details.txt
+++ b/skins/refined-light/details.txt
@@ -0,0 +1,3 @@
 
 
 
--- a/skins/refined-light/details.txt
+++ b/skins/refined-light/details.txt
@@ -0,0 +1,3 @@
1 timeline-arrowheads: 1
2 t1
3 timeline-color-graph-lines: 1
--- a/skins/refined-light/footer.txt
+++ b/skins/refined-light/footer.txt
@@ -0,0 +1,7 @@
1
+<footer>
2
+ <span class="footer-project">$<project_name></span>
3
+ <span class="footer-meta">
4
+ fossil $release_version &middot;
5
+ <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s
6
+ </span>
7
+</footer>
--- a/skins/refined-light/footer.txt
+++ b/skins/refined-light/footer.txt
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
--- a/skins/refined-light/footer.txt
+++ b/skins/refined-light/footer.txt
@@ -0,0 +1,7 @@
1 <footer>
2 <span class="footer-project">$<project_name></span>
3 <span class="footer-meta">
4 fossil $release_version &middot;
5 <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s
6 </span>
7 </footer>
--- a/skins/refined-light/header.txt
+++ b/skins/refined-light/header.txt
@@ -0,0 +1,44 @@
1
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
2
+<script defer src="$home/script.js"></script>
3
+<a class="skip-nav" href="#main-content">Skip to content</a>
4
+<header>
5
+ <div class="title">
6
+ <a href="$home/home" class="project-name">$<project_name></a>
7
+ <span class="page-title">$<title></span>
8
+ </div>
9
+ <div class="status">
10
+ <th1>
11
+ if {[info exists login]} {
12
+ html "<a href='$home/login'>$login</a>\n"
13
+ } else {
14
+ html "<a href='$home/login'>Login</a>\n"
15
+ }
16
+ </th1>
17
+ </div>
18
+</header>
19
+<nav class="mainmenu" aria-label="Main menu">
20
+ <th1>
21
+ html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map' aria-expanded='false' aria-controls='hbdrop'>&#9776;</a>"
22
+ builtin_request_js hbmenu.js
23
+ foreach {name url expr class} $mainmenu {
24
+ if {![capexpr $expr]} continue
25
+ if {[string match /* $url]} {
26
+ if {[string match $url\[/?#\]* /$current_page/]} {
27
+ set class "active $class"
28
+ }
29
+ set url $home$url
30
+ }
31
+ html "<a href='$url' class='$class'>$name</a>\n"
32
+ }
33
+ </th1>
34
+</nav>
35
+<nav id="hbdrop" class='hbdrop' aria-label="Site map" data-anim-ms="0"></nav>
36
+<div id="main-content" tabindex="-1" style="height:0;overflow:hidden;position:absolute"></div>
37
+<th1>
38
+ if {[string compare $title index]==0 || [string compare $title Home]==0} {
39
+ html "<h1 class='page-title home-title'>[htmlize $title]</h1>\n"
40
+ } else {
41
+ html "<h1 class='page-title'>[htmlize $title]</h1>\n"
42
+ }
43
+</th1>
44
+
--- a/skins/refined-light/header.txt
+++ b/skins/refined-light/header.txt
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/skins/refined-light/header.txt
+++ b/skins/refined-light/header.txt
@@ -0,0 +1,44 @@
1 <meta name="viewport" content="width=device-width, initial-scale=1.0">
2 <script defer src="$home/script.js"></script>
3 <a class="skip-nav" href="#main-content">Skip to content</a>
4 <header>
5 <div class="title">
6 <a href="$home/home" class="project-name">$<project_name></a>
7 <span class="page-title">$<title></span>
8 </div>
9 <div class="status">
10 <th1>
11 if {[info exists login]} {
12 html "<a href='$home/login'>$login</a>\n"
13 } else {
14 html "<a href='$home/login'>Login</a>\n"
15 }
16 </th1>
17 </div>
18 </header>
19 <nav class="mainmenu" aria-label="Main menu">
20 <th1>
21 html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map' aria-expanded='false' aria-controls='hbdrop'>&#9776;</a>"
22 builtin_request_js hbmenu.js
23 foreach {name url expr class} $mainmenu {
24 if {![capexpr $expr]} continue
25 if {[string match /* $url]} {
26 if {[string match $url\[/?#\]* /$current_page/]} {
27 set class "active $class"
28 }
29 set url $home$url
30 }
31 html "<a href='$url' class='$class'>$name</a>\n"
32 }
33 </th1>
34 </nav>
35 <nav id="hbdrop" class='hbdrop' aria-label="Site map" data-anim-ms="0"></nav>
36 <div id="main-content" tabindex="-1" style="height:0;overflow:hidden;position:absolute"></div>
37 <th1>
38 if {[string compare $title index]==0 || [string compare $title Home]==0} {
39 html "<h1 class='page-title home-title'>[htmlize $title]</h1>\n"
40 } else {
41 html "<h1 class='page-title'>[htmlize $title]</h1>\n"
42 }
43 </th1>
44
--- a/skins/refined-light/js.txt
+++ b/skins/refined-light/js.txt
@@ -0,0 +1,338 @@
1
+document.addEventListener('DOMContentLoaded', function () {
2
+(function () {
3
+ 'use strict';
4
+
5
+ /* ─────────────────────────────────────────────────────────────────────
6
+ 1. isDark patch
7
+ Fossil's C code hard-codes isDark:false for all custom skins,
8
+ ignoring the skin-detail config key. Patch it here after Fossil's
9
+ inline scripts have already run (guaranteed by defer).
10
+ ───────────────────────────────────────────────────────────────────── */
11
+ function patchIsDark() {
12
+ /* Only for the dark variant: the light build of this skin embeds the
13
+ same script, and its stylesheet declares color-scheme: light. */
14
+ if (getComputedStyle(document.documentElement).colorScheme.indexOf('dark') < 0) return;
15
+ if (window.fossil && window.fossil.config && window.fossil.config.skin) {
16
+ window.fossil.config.skin.isDark = true;
17
+ }
18
+ document.body.classList.add('fossil-dark-style');
19
+ }
20
+
21
+ /* ─────────────────────────────────────────────────────────────────────
22
+ 2. Main landmark
23
+ div.content is Fossil's primary content wrapper but has no landmark
24
+ role. Adding role="main" lets screen reader users jump to content.
25
+ ───────────────────────────────────────────────────────────────────── */
26
+ function addMainLandmark() {
27
+ var content = document.querySelector('div.content');
28
+ if (content && !content.getAttribute('role')) {
29
+ content.setAttribute('role', 'main');
30
+ }
31
+ }
32
+
33
+ /* ─────────────────────────────────────────────────────────────────────
34
+ 3. Hamburger menu — the worst accessibility failure in the skin
35
+ ----------------------------------------------------------------
36
+ What Fossil gives us:
37
+ <a id="hbbtn" href="/repo/sitemap" aria-label="Site Map">☰</a>
38
+ <nav id="hbdrop" class="hbdrop" title="sitemap"></nav>
39
+
40
+ Problems:
41
+ - No aria-expanded: screen readers can't tell if the menu is open
42
+ - No aria-controls: no programmatic link between button and panel
43
+ - hbdrop has no role or accessible name beyond an unhelpful title
44
+ - When the menu opens, focus stays on hbbtn — user cannot reach
45
+ the menu links by keyboard without realising the menu opened
46
+ - Escape key does not close the menu
47
+ - hbmenu.js controls visibility via style.display; we use
48
+ MutationObserver to stay in sync rather than patching the JS
49
+
50
+ Fixes applied:
51
+ - aria-expanded / aria-controls on hbbtn
52
+ - role="navigation" + aria-label on hbdrop
53
+ - MutationObserver: sync aria-expanded on every show/hide
54
+ - On open: move focus to the first link in the dropdown
55
+ - On Escape inside dropdown: close panel, return focus to hbbtn
56
+ ───────────────────────────────────────────────────────────────────── */
57
+ function fixHamburgerMenu() {
58
+ var btn = document.getElementById('hbbtn');
59
+ var drop = document.getElementById('hbdrop');
60
+ if (!btn || !drop) return;
61
+
62
+ var nav = btn.closest('nav.mainmenu') || btn.parentNode;
63
+ if (!nav) return;
64
+
65
+ /* Position the dropdown using position:fixed so it overlays content
66
+ regardless of DOM structure. We set --nav-bottom as a CSS variable
67
+ so the dropdown's top edge tracks the nav bar's bottom edge. */
68
+ function setNavBottom() {
69
+ var bottom = Math.max(0, nav.getBoundingClientRect().bottom);
70
+ document.documentElement.style.setProperty('--nav-bottom', bottom + 'px');
71
+ }
72
+ setNavBottom();
73
+ window.addEventListener('resize', setNavBottom);
74
+ /* Measure again on every open (capture: before hbmenu.js shows the
75
+ panel), so the menu opens under the nav bar wherever the page is. */
76
+ btn.addEventListener('click', setNavBottom, true);
77
+ /* Open by touch or mouse vs keyboard: only the keyboard gets focus moved */
78
+ var openedByPointer = false;
79
+ btn.addEventListener('pointerdown', function () { openedByPointer = true; });
80
+ btn.addEventListener('keydown', function () { openedByPointer = false; });
81
+
82
+ /* Static button semantics (JS will keep aria-expanded in sync) */
83
+ btn.setAttribute('aria-expanded', 'false');
84
+ btn.setAttribute('aria-controls', 'hbdrop');
85
+
86
+ /* Panel semantics */
87
+ drop.setAttribute('role', 'navigation');
88
+ drop.setAttribute('aria-label', 'Site map');
89
+
90
+ /* Sync aria-expanded whenever hbmenu.js toggles panel visibility.
91
+ hbmenu.js uses style.display to show/hide — observe that attribute. */
92
+ var menuObserver = new MutationObserver(function () {
93
+ var open = getComputedStyle(drop).display !== 'none';
94
+ btn.setAttribute('aria-expanded', open ? 'true' : 'false');
95
+
96
+ /* Move focus into the panel when it opens so keyboard users
97
+ can immediately navigate the links without guessing. */
98
+ if (open) {
99
+ /* The nav bar may now be stuck to the top (see the skin CSS) */
100
+ requestAnimationFrame(setNavBottom);
101
+ if (!openedByPointer) {
102
+ var firstLink = drop.querySelector('a');
103
+ if (firstLink) firstLink.focus({ preventScroll: true });
104
+ }
105
+ }
106
+ });
107
+ menuObserver.observe(drop, { attributes: true, attributeFilter: ['style'] });
108
+
109
+ /* Escape inside the dropdown: close the panel and return focus.
110
+ We set display directly — this also triggers the MutationObserver
111
+ which will update aria-expanded to 'false'. */
112
+ drop.addEventListener('keydown', function (e) {
113
+ if (e.key === 'Escape' || e.keyCode === 27) {
114
+ drop.style.display = 'none';
115
+ btn.focus();
116
+ }
117
+ });
118
+ }
119
+
120
+ /* ─────────────────────────────────────────────────────────────────────
121
+ 4. Timeline table
122
+ ----------------------------------------------------------------
123
+ Structure Fossil generates:
124
+
125
+ <table class="timelineTable">
126
+ <tr class="timelineDateRow">
127
+ <td><div class="timelineDate">2026-03-14</div></td>
128
+ <td></td> <- empty filler for graph column
129
+ <td></td> <- empty filler for comment column
130
+ </tr>
131
+ <tr>
132
+ <td class="timelineTime">20:16</td>
133
+ <td class="timelineGraph">
134
+ <div class="tl-nodemark"></div> <- JS draws SVG here later
135
+ </td>
136
+ <td class="timelineModernCell" id="mc1">
137
+ <span class="timelineModernComment">commit message</span>
138
+ <span class="timelineModernDetail">...</span>
139
+ </td>
140
+ </tr>
141
+ </table>
142
+
143
+ Fixes applied:
144
+ - aria-label="Commit timeline" on each .timelineTable
145
+ - aria-hidden="true" on all td.timelineGraph cells
146
+ - aria-hidden="true" on filler cells in timelineDateRow rows
147
+ - aria-label="Time: HH:MM" on timelineTime cells
148
+
149
+ Run at defer-time AND on window.load because Fossil's timeline JS
150
+ inserts SVG canvas elements into the graph cells on window.load.
151
+ ───────────────────────────────────────────────────────────────────── */
152
+ function fixTimeline() {
153
+ /* Label each timeline table */
154
+ document.querySelectorAll('table.timelineTable').forEach(function (tbl) {
155
+ if (!tbl.getAttribute('aria-label') && !tbl.querySelector('caption')) {
156
+ tbl.setAttribute('aria-label', 'Commit timeline');
157
+ }
158
+ });
159
+
160
+ /* Hide the graph column — purely visual SVG/canvas drawn by Fossil JS */
161
+ document.querySelectorAll('td.timelineGraph').forEach(function (td) {
162
+ td.setAttribute('aria-hidden', 'true');
163
+ });
164
+
165
+ /* Hide filler cells in date-separator rows */
166
+ document.querySelectorAll('tr.timelineDateRow').forEach(function (tr) {
167
+ tr.querySelectorAll('td + td').forEach(function (td) {
168
+ td.setAttribute('aria-hidden', 'true');
169
+ });
170
+ });
171
+
172
+ /* Give bare time cells a descriptive label.
173
+ Strip stray </a> text artefact Fossil emits in anonymous mode. */
174
+ document.querySelectorAll('td.timelineTime').forEach(function (td) {
175
+ var text = td.textContent.trim();
176
+ if (text && !td.getAttribute('aria-label')) {
177
+ td.setAttribute('aria-label', 'Time: ' + text);
178
+ }
179
+ });
180
+ }
181
+
182
+ /* ─────────────────────────────────────────────────────────────────────
183
+ 5. Sortable table headers — add scope="col"
184
+ Fossil generates <th> elements in branch, tag, file, and ticket
185
+ tables but never includes scope. Screen readers cannot correctly
186
+ associate header text with the cells in each column.
187
+ ───────────────────────────────────────────────────────────────────── */
188
+ function fixTableHeaders() {
189
+ var selector = [
190
+ 'table.sortable th',
191
+ 'table.filelistTable th',
192
+ 'table.branchlistTable th',
193
+ 'table.taglistTable th',
194
+ 'table.userlistTable th',
195
+ 'table.report th',
196
+ ].join(', ');
197
+ document.querySelectorAll(selector).forEach(function (th) {
198
+ if (!th.getAttribute('scope')) {
199
+ th.setAttribute('scope', 'col');
200
+ }
201
+ });
202
+ }
203
+
204
+ /* ─────────────────────────────────────────────────────────────────────
205
+ 6. Submenu select labels
206
+ Fossil renders <select> controls in the page submenu with no
207
+ associated <label>. We add aria-label from the preceding sibling
208
+ label text, falling back to a class-name lookup table.
209
+ ───────────────────────────────────────────────────────────────────── */
210
+ var SELECT_LABELS = {
211
+ 'smc-ss': 'View style',
212
+ 'smc-ci': 'Check-in',
213
+ 'smc-v': 'Version',
214
+ 'smc-r': 'Repository',
215
+ 'smc-b': 'Branch',
216
+ 'smc-t': 'Tag',
217
+ 'smc-u': 'User',
218
+ };
219
+
220
+ /* Charts Fossil draws as <svg width= height=> with no viewBox cannot be
221
+ scaled by CSS. Give them one; the skin's "svg.fit" rule does the rest. */
222
+ function fitCharts() {
223
+ document.querySelectorAll('.content svg[width][height]:not([viewBox])').forEach(function (s) {
224
+ var w = parseFloat(s.getAttribute('width')), h = parseFloat(s.getAttribute('height'));
225
+ if (!(w > 0 && h > 0)) return;
226
+ s.setAttribute('viewBox', '0 0 ' + w + ' ' + h);
227
+ s.classList.add('fit');
228
+ });
229
+ }
230
+
231
+ /* Sortable column headers respond to clicks only. Put them in the tab
232
+ order and let Enter or Space do what a click does. */
233
+ function fixSortableHeaders() {
234
+ document.querySelectorAll('table.sortable th').forEach(function (th) {
235
+ if (th.hasAttribute('tabindex')) return;
236
+ th.setAttribute('tabindex', '0');
237
+ th.addEventListener('keydown', function (e) {
238
+ if (e.key === 'Enter' || e.key === ' ') { e.preventDefault(); th.click(); }
239
+ });
240
+ });
241
+ }
242
+
243
+ /* The menu bar scrolls sideways on narrow screens. Bring the current
244
+ page's entry into view, without moving the page itself. */
245
+ function showActiveMenuItem() {
246
+ var nav = document.querySelector('nav.mainmenu');
247
+ var a = nav && nav.querySelector('a.active');
248
+ var hb = document.getElementById('hbbtn');
249
+ if (!a || a === hb || nav.scrollWidth <= nav.clientWidth) return;
250
+ var left = a.offsetLeft - nav.offsetLeft, pinned = hb ? hb.offsetWidth : 0;
251
+ if (left - pinned < nav.scrollLeft || left + a.offsetWidth > nav.scrollLeft + nav.clientWidth - 28) {
252
+ nav.scrollLeft = Math.max(0, left - pinned - 12);
253
+ }
254
+ }
255
+
256
+ function fixSubmenuSelects() {
257
+ document.querySelectorAll('div.submenu select, div.sectionmenu select').forEach(function (sel) {
258
+ if (sel.getAttribute('aria-label') || sel.getAttribute('aria-labelledby')) return;
259
+
260
+ /* Walk backwards through siblings to find a .label text node */
261
+ var prev = sel.previousElementSibling;
262
+ while (prev) {
263
+ if (prev.classList.contains('label') && prev.textContent.trim()) {
264
+ sel.setAttribute('aria-label', prev.textContent.trim());
265
+ return;
266
+ }
267
+ prev = prev.previousElementSibling;
268
+ }
269
+
270
+ /* Class-name lookup */
271
+ var classes = Array.from(sel.classList);
272
+ for (var i = 0; i < classes.length; i++) {
273
+ if (SELECT_LABELS[classes[i]]) {
274
+ sel.setAttribute('aria-label', SELECT_LABELS[classes[i]]);
275
+ return;
276
+ }
277
+ }
278
+
279
+ sel.setAttribute('aria-label', 'Filter');
280
+ });
281
+ }
282
+
283
+ /* ─────────────────────────────────────────────────────────────────────
284
+ 7. Day of week on each timeline date
285
+ Fossil's date rows carry only the date ("2026-11-11"). This puts the
286
+ full weekday on a small line above it. The weekday comes from Ben
287
+ Joffe's branchless method (benjoffe.com/fast-day-of-week), as zit
288
+ uses it: one multiply and two shifts, exact for every 32-bit day
289
+ number. It is read from the date Fossil prints, so it always matches
290
+ that date whether the timeline shows UTC or local time. The skin CSS
291
+ reserves the line before this runs, so setting the name moves nothing.
292
+ ───────────────────────────────────────────────────────────────────── */
293
+ var WEEKDAYS = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
294
+ function weekdayOf(dayNumber) { /* days since 1970-01-01 -> 0 = Sunday */
295
+ return ((Math.imul(dayNumber, 613566756) + 0x95000000 +
296
+ (dayNumber >> 1) + (dayNumber >> 4)) >>> 0) >>> 29;
297
+ }
298
+ function addWeekdays() {
299
+ var rows = document.querySelectorAll('div.timelineDate');
300
+ for (var i = 0; i < rows.length; i++) {
301
+ if (rows[i].hasAttribute('data-dow')) continue;
302
+ var m = /^(\d{4})-(\d\d)-(\d\d)$/.exec(rows[i].textContent.trim());
303
+ if (!m) continue;
304
+ /* The skin CSS shows this in a line it reserves above the date */
305
+ rows[i].setAttribute('data-dow', WEEKDAYS[weekdayOf(Date.UTC(+m[1], m[2] - 1, +m[3]) / 864e5)]);
306
+ }
307
+ }
308
+
309
+ /* ─────────────────────────────────────────────────────────────────────
310
+ Execute all fixes
311
+ The script is deferred so the DOM is fully parsed when this runs.
312
+ Fossil's inline config scripts have already executed, so
313
+ window.fossil exists and we can patch isDark immediately.
314
+ ───────────────────────────────────────────────────────────────────── */
315
+ patchIsDark();
316
+ addMainLandmark();
317
+ fixHamburgerMenu();
318
+ fixTimeline();
319
+ fixTableHeaders();
320
+ fixSubmenuSelects();
321
+ fitCharts();
322
+ showActiveMenuItem();
323
+ fixSortableHeaders();
324
+ addWeekdays();
325
+
326
+ /* Re-run after window.load: Fossil's timeline renderer inserts
327
+ .tl-canvas SVG elements into td.timelineGraph on load, and
328
+ Fossil's own load handlers may reset isDark. */
329
+ window.addEventListener('load', function () {
330
+ patchIsDark();
331
+ fixTimeline();
332
+ fixTableHeaders();
333
+ fixSubmenuSelects();
334
+ });
335
+
336
+}());
337
+
338
+});
--- a/skins/refined-light/js.txt
+++ b/skins/refined-light/js.txt
@@ -0,0 +1,338 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/skins/refined-light/js.txt
+++ b/skins/refined-light/js.txt
@@ -0,0 +1,338 @@
1 document.addEventListener('DOMContentLoaded', function () {
2 (function () {
3 'use strict';
4
5 /* ─────────────────────────────────────────────────────────────────────
6 1. isDark patch
7 Fossil's C code hard-codes isDark:false for all custom skins,
8 ignoring the skin-detail config key. Patch it here after Fossil's
9 inline scripts have already run (guaranteed by defer).
10 ───────────────────────────────────────────────────────────────────── */
11 function patchIsDark() {
12 /* Only for the dark variant: the light build of this skin embeds the
13 same script, and its stylesheet declares color-scheme: light. */
14 if (getComputedStyle(document.documentElement).colorScheme.indexOf('dark') < 0) return;
15 if (window.fossil && window.fossil.config && window.fossil.config.skin) {
16 window.fossil.config.skin.isDark = true;
17 }
18 document.body.classList.add('fossil-dark-style');
19 }
20
21 /* ─────────────────────────────────────────────────────────────────────
22 2. Main landmark
23 div.content is Fossil's primary content wrapper but has no landmark
24 role. Adding role="main" lets screen reader users jump to content.
25 ───────────────────────────────────────────────────────────────────── */
26 function addMainLandmark() {
27 var content = document.querySelector('div.content');
28 if (content && !content.getAttribute('role')) {
29 content.setAttribute('role', 'main');
30 }
31 }
32
33 /* ─────────────────────────────────────────────────────────────────────
34 3. Hamburger menu — the worst accessibility failure in the skin
35 ----------------------------------------------------------------
36 What Fossil gives us:
37 <a id="hbbtn" href="/repo/sitemap" aria-label="Site Map">☰</a>
38 <nav id="hbdrop" class="hbdrop" title="sitemap"></nav>
39
40 Problems:
41 - No aria-expanded: screen readers can't tell if the menu is open
42 - No aria-controls: no programmatic link between button and panel
43 - hbdrop has no role or accessible name beyond an unhelpful title
44 - When the menu opens, focus stays on hbbtn — user cannot reach
45 the menu links by keyboard without realising the menu opened
46 - Escape key does not close the menu
47 - hbmenu.js controls visibility via style.display; we use
48 MutationObserver to stay in sync rather than patching the JS
49
50 Fixes applied:
51 - aria-expanded / aria-controls on hbbtn
52 - role="navigation" + aria-label on hbdrop
53 - MutationObserver: sync aria-expanded on every show/hide
54 - On open: move focus to the first link in the dropdown
55 - On Escape inside dropdown: close panel, return focus to hbbtn
56 ───────────────────────────────────────────────────────────────────── */
57 function fixHamburgerMenu() {
58 var btn = document.getElementById('hbbtn');
59 var drop = document.getElementById('hbdrop');
60 if (!btn || !drop) return;
61
62 var nav = btn.closest('nav.mainmenu') || btn.parentNode;
63 if (!nav) return;
64
65 /* Position the dropdown using position:fixed so it overlays content
66 regardless of DOM structure. We set --nav-bottom as a CSS variable
67 so the dropdown's top edge tracks the nav bar's bottom edge. */
68 function setNavBottom() {
69 var bottom = Math.max(0, nav.getBoundingClientRect().bottom);
70 document.documentElement.style.setProperty('--nav-bottom', bottom + 'px');
71 }
72 setNavBottom();
73 window.addEventListener('resize', setNavBottom);
74 /* Measure again on every open (capture: before hbmenu.js shows the
75 panel), so the menu opens under the nav bar wherever the page is. */
76 btn.addEventListener('click', setNavBottom, true);
77 /* Open by touch or mouse vs keyboard: only the keyboard gets focus moved */
78 var openedByPointer = false;
79 btn.addEventListener('pointerdown', function () { openedByPointer = true; });
80 btn.addEventListener('keydown', function () { openedByPointer = false; });
81
82 /* Static button semantics (JS will keep aria-expanded in sync) */
83 btn.setAttribute('aria-expanded', 'false');
84 btn.setAttribute('aria-controls', 'hbdrop');
85
86 /* Panel semantics */
87 drop.setAttribute('role', 'navigation');
88 drop.setAttribute('aria-label', 'Site map');
89
90 /* Sync aria-expanded whenever hbmenu.js toggles panel visibility.
91 hbmenu.js uses style.display to show/hide — observe that attribute. */
92 var menuObserver = new MutationObserver(function () {
93 var open = getComputedStyle(drop).display !== 'none';
94 btn.setAttribute('aria-expanded', open ? 'true' : 'false');
95
96 /* Move focus into the panel when it opens so keyboard users
97 can immediately navigate the links without guessing. */
98 if (open) {
99 /* The nav bar may now be stuck to the top (see the skin CSS) */
100 requestAnimationFrame(setNavBottom);
101 if (!openedByPointer) {
102 var firstLink = drop.querySelector('a');
103 if (firstLink) firstLink.focus({ preventScroll: true });
104 }
105 }
106 });
107 menuObserver.observe(drop, { attributes: true, attributeFilter: ['style'] });
108
109 /* Escape inside the dropdown: close the panel and return focus.
110 We set display directly — this also triggers the MutationObserver
111 which will update aria-expanded to 'false'. */
112 drop.addEventListener('keydown', function (e) {
113 if (e.key === 'Escape' || e.keyCode === 27) {
114 drop.style.display = 'none';
115 btn.focus();
116 }
117 });
118 }
119
120 /* ─────────────────────────────────────────────────────────────────────
121 4. Timeline table
122 ----------------------------------------------------------------
123 Structure Fossil generates:
124
125 <table class="timelineTable">
126 <tr class="timelineDateRow">
127 <td><div class="timelineDate">2026-03-14</div></td>
128 <td></td> <- empty filler for graph column
129 <td></td> <- empty filler for comment column
130 </tr>
131 <tr>
132 <td class="timelineTime">20:16</td>
133 <td class="timelineGraph">
134 <div class="tl-nodemark"></div> <- JS draws SVG here later
135 </td>
136 <td class="timelineModernCell" id="mc1">
137 <span class="timelineModernComment">commit message</span>
138 <span class="timelineModernDetail">...</span>
139 </td>
140 </tr>
141 </table>
142
143 Fixes applied:
144 - aria-label="Commit timeline" on each .timelineTable
145 - aria-hidden="true" on all td.timelineGraph cells
146 - aria-hidden="true" on filler cells in timelineDateRow rows
147 - aria-label="Time: HH:MM" on timelineTime cells
148
149 Run at defer-time AND on window.load because Fossil's timeline JS
150 inserts SVG canvas elements into the graph cells on window.load.
151 ───────────────────────────────────────────────────────────────────── */
152 function fixTimeline() {
153 /* Label each timeline table */
154 document.querySelectorAll('table.timelineTable').forEach(function (tbl) {
155 if (!tbl.getAttribute('aria-label') && !tbl.querySelector('caption')) {
156 tbl.setAttribute('aria-label', 'Commit timeline');
157 }
158 });
159
160 /* Hide the graph column — purely visual SVG/canvas drawn by Fossil JS */
161 document.querySelectorAll('td.timelineGraph').forEach(function (td) {
162 td.setAttribute('aria-hidden', 'true');
163 });
164
165 /* Hide filler cells in date-separator rows */
166 document.querySelectorAll('tr.timelineDateRow').forEach(function (tr) {
167 tr.querySelectorAll('td + td').forEach(function (td) {
168 td.setAttribute('aria-hidden', 'true');
169 });
170 });
171
172 /* Give bare time cells a descriptive label.
173 Strip stray </a> text artefact Fossil emits in anonymous mode. */
174 document.querySelectorAll('td.timelineTime').forEach(function (td) {
175 var text = td.textContent.trim();
176 if (text && !td.getAttribute('aria-label')) {
177 td.setAttribute('aria-label', 'Time: ' + text);
178 }
179 });
180 }
181
182 /* ─────────────────────────────────────────────────────────────────────
183 5. Sortable table headers — add scope="col"
184 Fossil generates <th> elements in branch, tag, file, and ticket
185 tables but never includes scope. Screen readers cannot correctly
186 associate header text with the cells in each column.
187 ───────────────────────────────────────────────────────────────────── */
188 function fixTableHeaders() {
189 var selector = [
190 'table.sortable th',
191 'table.filelistTable th',
192 'table.branchlistTable th',
193 'table.taglistTable th',
194 'table.userlistTable th',
195 'table.report th',
196 ].join(', ');
197 document.querySelectorAll(selector).forEach(function (th) {
198 if (!th.getAttribute('scope')) {
199 th.setAttribute('scope', 'col');
200 }
201 });
202 }
203
204 /* ─────────────────────────────────────────────────────────────────────
205 6. Submenu select labels
206 Fossil renders <select> controls in the page submenu with no
207 associated <label>. We add aria-label from the preceding sibling
208 label text, falling back to a class-name lookup table.
209 ───────────────────────────────────────────────────────────────────── */
210 var SELECT_LABELS = {
211 'smc-ss': 'View style',
212 'smc-ci': 'Check-in',
213 'smc-v': 'Version',
214 'smc-r': 'Repository',
215 'smc-b': 'Branch',
216 'smc-t': 'Tag',
217 'smc-u': 'User',
218 };
219
220 /* Charts Fossil draws as <svg width= height=> with no viewBox cannot be
221 scaled by CSS. Give them one; the skin's "svg.fit" rule does the rest. */
222 function fitCharts() {
223 document.querySelectorAll('.content svg[width][height]:not([viewBox])').forEach(function (s) {
224 var w = parseFloat(s.getAttribute('width')), h = parseFloat(s.getAttribute('height'));
225 if (!(w > 0 && h > 0)) return;
226 s.setAttribute('viewBox', '0 0 ' + w + ' ' + h);
227 s.classList.add('fit');
228 });
229 }
230
231 /* Sortable column headers respond to clicks only. Put them in the tab
232 order and let Enter or Space do what a click does. */
233 function fixSortableHeaders() {
234 document.querySelectorAll('table.sortable th').forEach(function (th) {
235 if (th.hasAttribute('tabindex')) return;
236 th.setAttribute('tabindex', '0');
237 th.addEventListener('keydown', function (e) {
238 if (e.key === 'Enter' || e.key === ' ') { e.preventDefault(); th.click(); }
239 });
240 });
241 }
242
243 /* The menu bar scrolls sideways on narrow screens. Bring the current
244 page's entry into view, without moving the page itself. */
245 function showActiveMenuItem() {
246 var nav = document.querySelector('nav.mainmenu');
247 var a = nav && nav.querySelector('a.active');
248 var hb = document.getElementById('hbbtn');
249 if (!a || a === hb || nav.scrollWidth <= nav.clientWidth) return;
250 var left = a.offsetLeft - nav.offsetLeft, pinned = hb ? hb.offsetWidth : 0;
251 if (left - pinned < nav.scrollLeft || left + a.offsetWidth > nav.scrollLeft + nav.clientWidth - 28) {
252 nav.scrollLeft = Math.max(0, left - pinned - 12);
253 }
254 }
255
256 function fixSubmenuSelects() {
257 document.querySelectorAll('div.submenu select, div.sectionmenu select').forEach(function (sel) {
258 if (sel.getAttribute('aria-label') || sel.getAttribute('aria-labelledby')) return;
259
260 /* Walk backwards through siblings to find a .label text node */
261 var prev = sel.previousElementSibling;
262 while (prev) {
263 if (prev.classList.contains('label') && prev.textContent.trim()) {
264 sel.setAttribute('aria-label', prev.textContent.trim());
265 return;
266 }
267 prev = prev.previousElementSibling;
268 }
269
270 /* Class-name lookup */
271 var classes = Array.from(sel.classList);
272 for (var i = 0; i < classes.length; i++) {
273 if (SELECT_LABELS[classes[i]]) {
274 sel.setAttribute('aria-label', SELECT_LABELS[classes[i]]);
275 return;
276 }
277 }
278
279 sel.setAttribute('aria-label', 'Filter');
280 });
281 }
282
283 /* ─────────────────────────────────────────────────────────────────────
284 7. Day of week on each timeline date
285 Fossil's date rows carry only the date ("2026-11-11"). This puts the
286 full weekday on a small line above it. The weekday comes from Ben
287 Joffe's branchless method (benjoffe.com/fast-day-of-week), as zit
288 uses it: one multiply and two shifts, exact for every 32-bit day
289 number. It is read from the date Fossil prints, so it always matches
290 that date whether the timeline shows UTC or local time. The skin CSS
291 reserves the line before this runs, so setting the name moves nothing.
292 ───────────────────────────────────────────────────────────────────── */
293 var WEEKDAYS = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
294 function weekdayOf(dayNumber) { /* days since 1970-01-01 -> 0 = Sunday */
295 return ((Math.imul(dayNumber, 613566756) + 0x95000000 +
296 (dayNumber >> 1) + (dayNumber >> 4)) >>> 0) >>> 29;
297 }
298 function addWeekdays() {
299 var rows = document.querySelectorAll('div.timelineDate');
300 for (var i = 0; i < rows.length; i++) {
301 if (rows[i].hasAttribute('data-dow')) continue;
302 var m = /^(\d{4})-(\d\d)-(\d\d)$/.exec(rows[i].textContent.trim());
303 if (!m) continue;
304 /* The skin CSS shows this in a line it reserves above the date */
305 rows[i].setAttribute('data-dow', WEEKDAYS[weekdayOf(Date.UTC(+m[1], m[2] - 1, +m[3]) / 864e5)]);
306 }
307 }
308
309 /* ─────────────────────────────────────────────────────────────────────
310 Execute all fixes
311 The script is deferred so the DOM is fully parsed when this runs.
312 Fossil's inline config scripts have already executed, so
313 window.fossil exists and we can patch isDark immediately.
314 ───────────────────────────────────────────────────────────────────── */
315 patchIsDark();
316 addMainLandmark();
317 fixHamburgerMenu();
318 fixTimeline();
319 fixTableHeaders();
320 fixSubmenuSelects();
321 fitCharts();
322 showActiveMenuItem();
323 fixSortableHeaders();
324 addWeekdays();
325
326 /* Re-run after window.load: Fossil's timeline renderer inserts
327 .tl-canvas SVG elements into td.timelineGraph on load, and
328 Fossil's own load handlers may reset isDark. */
329 window.addEventListener('load', function () {
330 patchIsDark();
331 fixTimeline();
332 fixTableHeaders();
333 fixSubmenuSelects();
334 });
335
336 }());
337
338 });
+10
--- src/main.mk
+++ src/main.mk
@@ -210,10 +210,20 @@
210210
$(SRCDIR)/../skins/original/header.txt \
211211
$(SRCDIR)/../skins/plain_gray/css.txt \
212212
$(SRCDIR)/../skins/plain_gray/details.txt \
213213
$(SRCDIR)/../skins/plain_gray/footer.txt \
214214
$(SRCDIR)/../skins/plain_gray/header.txt \
215
+ $(SRCDIR)/../skins/refined-dark/css.txt \
216
+ $(SRCDIR)/../skins/refined-dark/details.txt \
217
+ $(SRCDIR)/../skins/refined-dark/footer.txt \
218
+ $(SRCDIR)/../skins/refined-dark/header.txt \
219
+ $(SRCDIR)/../skins/refined-dark/js.txt \
220
+ $(SRCDIR)/../skins/refined-light/css.txt \
221
+ $(SRCDIR)/../skins/refined-light/details.txt \
222
+ $(SRCDIR)/../skins/refined-light/footer.txt \
223
+ $(SRCDIR)/../skins/refined-light/header.txt \
224
+ $(SRCDIR)/../skins/refined-light/js.txt \
215225
$(SRCDIR)/../skins/xekri/css.txt \
216226
$(SRCDIR)/../skins/xekri/details.txt \
217227
$(SRCDIR)/../skins/xekri/footer.txt \
218228
$(SRCDIR)/../skins/xekri/header.txt \
219229
$(SRCDIR)/alerts/bflat2.wav \
220230
--- src/main.mk
+++ src/main.mk
@@ -210,10 +210,20 @@
210 $(SRCDIR)/../skins/original/header.txt \
211 $(SRCDIR)/../skins/plain_gray/css.txt \
212 $(SRCDIR)/../skins/plain_gray/details.txt \
213 $(SRCDIR)/../skins/plain_gray/footer.txt \
214 $(SRCDIR)/../skins/plain_gray/header.txt \
 
 
 
 
 
 
 
 
 
 
215 $(SRCDIR)/../skins/xekri/css.txt \
216 $(SRCDIR)/../skins/xekri/details.txt \
217 $(SRCDIR)/../skins/xekri/footer.txt \
218 $(SRCDIR)/../skins/xekri/header.txt \
219 $(SRCDIR)/alerts/bflat2.wav \
220
--- src/main.mk
+++ src/main.mk
@@ -210,10 +210,20 @@
210 $(SRCDIR)/../skins/original/header.txt \
211 $(SRCDIR)/../skins/plain_gray/css.txt \
212 $(SRCDIR)/../skins/plain_gray/details.txt \
213 $(SRCDIR)/../skins/plain_gray/footer.txt \
214 $(SRCDIR)/../skins/plain_gray/header.txt \
215 $(SRCDIR)/../skins/refined-dark/css.txt \
216 $(SRCDIR)/../skins/refined-dark/details.txt \
217 $(SRCDIR)/../skins/refined-dark/footer.txt \
218 $(SRCDIR)/../skins/refined-dark/header.txt \
219 $(SRCDIR)/../skins/refined-dark/js.txt \
220 $(SRCDIR)/../skins/refined-light/css.txt \
221 $(SRCDIR)/../skins/refined-light/details.txt \
222 $(SRCDIR)/../skins/refined-light/footer.txt \
223 $(SRCDIR)/../skins/refined-light/header.txt \
224 $(SRCDIR)/../skins/refined-light/js.txt \
225 $(SRCDIR)/../skins/xekri/css.txt \
226 $(SRCDIR)/../skins/xekri/details.txt \
227 $(SRCDIR)/../skins/xekri/footer.txt \
228 $(SRCDIR)/../skins/xekri/header.txt \
229 $(SRCDIR)/alerts/bflat2.wav \
230
--- src/skins.c
+++ src/skins.c
@@ -56,10 +56,12 @@
5656
{ "Eagle", "eagle", 0 },
5757
{ "Étienne", "etienne", 0 },
5858
{ "Khaki", "khaki", 0 },
5959
{ "Original", "original", 0 },
6060
{ "Plain Gray", "plain_gray", 0 },
61
+ { "Refined Dark", "refined-dark", 0 },
62
+ { "Refined Light", "refined-light", 0 },
6163
{ "Xekri", "xekri", 0 },
6264
};
6365
6466
/*
6567
** A skin consists of five "files" named here:
6668
--- src/skins.c
+++ src/skins.c
@@ -56,10 +56,12 @@
56 { "Eagle", "eagle", 0 },
57 { "Étienne", "etienne", 0 },
58 { "Khaki", "khaki", 0 },
59 { "Original", "original", 0 },
60 { "Plain Gray", "plain_gray", 0 },
 
 
61 { "Xekri", "xekri", 0 },
62 };
63
64 /*
65 ** A skin consists of five "files" named here:
66
--- src/skins.c
+++ src/skins.c
@@ -56,10 +56,12 @@
56 { "Eagle", "eagle", 0 },
57 { "Étienne", "etienne", 0 },
58 { "Khaki", "khaki", 0 },
59 { "Original", "original", 0 },
60 { "Plain Gray", "plain_gray", 0 },
61 { "Refined Dark", "refined-dark", 0 },
62 { "Refined Light", "refined-light", 0 },
63 { "Xekri", "xekri", 0 },
64 };
65
66 /*
67 ** A skin consists of five "files" named here:
68
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -596,10 +596,20 @@
596596
$(SRCDIR)/../skins/original/header.txt \
597597
$(SRCDIR)/../skins/plain_gray/css.txt \
598598
$(SRCDIR)/../skins/plain_gray/details.txt \
599599
$(SRCDIR)/../skins/plain_gray/footer.txt \
600600
$(SRCDIR)/../skins/plain_gray/header.txt \
601
+ $(SRCDIR)/../skins/refined-dark/css.txt \
602
+ $(SRCDIR)/../skins/refined-dark/details.txt \
603
+ $(SRCDIR)/../skins/refined-dark/footer.txt \
604
+ $(SRCDIR)/../skins/refined-dark/header.txt \
605
+ $(SRCDIR)/../skins/refined-dark/js.txt \
606
+ $(SRCDIR)/../skins/refined-light/css.txt \
607
+ $(SRCDIR)/../skins/refined-light/details.txt \
608
+ $(SRCDIR)/../skins/refined-light/footer.txt \
609
+ $(SRCDIR)/../skins/refined-light/header.txt \
610
+ $(SRCDIR)/../skins/refined-light/js.txt \
601611
$(SRCDIR)/../skins/xekri/css.txt \
602612
$(SRCDIR)/../skins/xekri/details.txt \
603613
$(SRCDIR)/../skins/xekri/footer.txt \
604614
$(SRCDIR)/../skins/xekri/header.txt \
605615
$(SRCDIR)/alerts/bflat2.wav \
606616
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -596,10 +596,20 @@
596 $(SRCDIR)/../skins/original/header.txt \
597 $(SRCDIR)/../skins/plain_gray/css.txt \
598 $(SRCDIR)/../skins/plain_gray/details.txt \
599 $(SRCDIR)/../skins/plain_gray/footer.txt \
600 $(SRCDIR)/../skins/plain_gray/header.txt \
 
 
 
 
 
 
 
 
 
 
601 $(SRCDIR)/../skins/xekri/css.txt \
602 $(SRCDIR)/../skins/xekri/details.txt \
603 $(SRCDIR)/../skins/xekri/footer.txt \
604 $(SRCDIR)/../skins/xekri/header.txt \
605 $(SRCDIR)/alerts/bflat2.wav \
606
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -596,10 +596,20 @@
596 $(SRCDIR)/../skins/original/header.txt \
597 $(SRCDIR)/../skins/plain_gray/css.txt \
598 $(SRCDIR)/../skins/plain_gray/details.txt \
599 $(SRCDIR)/../skins/plain_gray/footer.txt \
600 $(SRCDIR)/../skins/plain_gray/header.txt \
601 $(SRCDIR)/../skins/refined-dark/css.txt \
602 $(SRCDIR)/../skins/refined-dark/details.txt \
603 $(SRCDIR)/../skins/refined-dark/footer.txt \
604 $(SRCDIR)/../skins/refined-dark/header.txt \
605 $(SRCDIR)/../skins/refined-dark/js.txt \
606 $(SRCDIR)/../skins/refined-light/css.txt \
607 $(SRCDIR)/../skins/refined-light/details.txt \
608 $(SRCDIR)/../skins/refined-light/footer.txt \
609 $(SRCDIR)/../skins/refined-light/header.txt \
610 $(SRCDIR)/../skins/refined-light/js.txt \
611 $(SRCDIR)/../skins/xekri/css.txt \
612 $(SRCDIR)/../skins/xekri/details.txt \
613 $(SRCDIR)/../skins/xekri/footer.txt \
614 $(SRCDIR)/../skins/xekri/header.txt \
615 $(SRCDIR)/alerts/bflat2.wav \
616
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -561,10 +561,20 @@
561561
"$(SRCDIR)\..\skins\original\header.txt" \
562562
"$(SRCDIR)\..\skins\plain_gray\css.txt" \
563563
"$(SRCDIR)\..\skins\plain_gray\details.txt" \
564564
"$(SRCDIR)\..\skins\plain_gray\footer.txt" \
565565
"$(SRCDIR)\..\skins\plain_gray\header.txt" \
566
+ "$(SRCDIR)\..\skins\refined-dark\css.txt" \
567
+ "$(SRCDIR)\..\skins\refined-dark\details.txt" \
568
+ "$(SRCDIR)\..\skins\refined-dark\footer.txt" \
569
+ "$(SRCDIR)\..\skins\refined-dark\header.txt" \
570
+ "$(SRCDIR)\..\skins\refined-dark\js.txt" \
571
+ "$(SRCDIR)\..\skins\refined-light\css.txt" \
572
+ "$(SRCDIR)\..\skins\refined-light\details.txt" \
573
+ "$(SRCDIR)\..\skins\refined-light\footer.txt" \
574
+ "$(SRCDIR)\..\skins\refined-light\header.txt" \
575
+ "$(SRCDIR)\..\skins\refined-light\js.txt" \
566576
"$(SRCDIR)\..\skins\xekri\css.txt" \
567577
"$(SRCDIR)\..\skins\xekri\details.txt" \
568578
"$(SRCDIR)\..\skins\xekri\footer.txt" \
569579
"$(SRCDIR)\..\skins\xekri\header.txt" \
570580
"$(SRCDIR)\alerts\bflat2.wav" \
@@ -1200,10 +1210,20 @@
12001210
echo "$(SRCDIR)\../skins/original/header.txt" >> $@
12011211
echo "$(SRCDIR)\../skins/plain_gray/css.txt" >> $@
12021212
echo "$(SRCDIR)\../skins/plain_gray/details.txt" >> $@
12031213
echo "$(SRCDIR)\../skins/plain_gray/footer.txt" >> $@
12041214
echo "$(SRCDIR)\../skins/plain_gray/header.txt" >> $@
1215
+ echo "$(SRCDIR)\../skins/refined-dark/css.txt" >> $@
1216
+ echo "$(SRCDIR)\../skins/refined-dark/details.txt" >> $@
1217
+ echo "$(SRCDIR)\../skins/refined-dark/footer.txt" >> $@
1218
+ echo "$(SRCDIR)\../skins/refined-dark/header.txt" >> $@
1219
+ echo "$(SRCDIR)\../skins/refined-dark/js.txt" >> $@
1220
+ echo "$(SRCDIR)\../skins/refined-light/css.txt" >> $@
1221
+ echo "$(SRCDIR)\../skins/refined-light/details.txt" >> $@
1222
+ echo "$(SRCDIR)\../skins/refined-light/footer.txt" >> $@
1223
+ echo "$(SRCDIR)\../skins/refined-light/header.txt" >> $@
1224
+ echo "$(SRCDIR)\../skins/refined-light/js.txt" >> $@
12051225
echo "$(SRCDIR)\../skins/xekri/css.txt" >> $@
12061226
echo "$(SRCDIR)\../skins/xekri/details.txt" >> $@
12071227
echo "$(SRCDIR)\../skins/xekri/footer.txt" >> $@
12081228
echo "$(SRCDIR)\../skins/xekri/header.txt" >> $@
12091229
echo "$(SRCDIR)\alerts/bflat2.wav" >> $@
12101230
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -561,10 +561,20 @@
561 "$(SRCDIR)\..\skins\original\header.txt" \
562 "$(SRCDIR)\..\skins\plain_gray\css.txt" \
563 "$(SRCDIR)\..\skins\plain_gray\details.txt" \
564 "$(SRCDIR)\..\skins\plain_gray\footer.txt" \
565 "$(SRCDIR)\..\skins\plain_gray\header.txt" \
 
 
 
 
 
 
 
 
 
 
566 "$(SRCDIR)\..\skins\xekri\css.txt" \
567 "$(SRCDIR)\..\skins\xekri\details.txt" \
568 "$(SRCDIR)\..\skins\xekri\footer.txt" \
569 "$(SRCDIR)\..\skins\xekri\header.txt" \
570 "$(SRCDIR)\alerts\bflat2.wav" \
@@ -1200,10 +1210,20 @@
1200 echo "$(SRCDIR)\../skins/original/header.txt" >> $@
1201 echo "$(SRCDIR)\../skins/plain_gray/css.txt" >> $@
1202 echo "$(SRCDIR)\../skins/plain_gray/details.txt" >> $@
1203 echo "$(SRCDIR)\../skins/plain_gray/footer.txt" >> $@
1204 echo "$(SRCDIR)\../skins/plain_gray/header.txt" >> $@
 
 
 
 
 
 
 
 
 
 
1205 echo "$(SRCDIR)\../skins/xekri/css.txt" >> $@
1206 echo "$(SRCDIR)\../skins/xekri/details.txt" >> $@
1207 echo "$(SRCDIR)\../skins/xekri/footer.txt" >> $@
1208 echo "$(SRCDIR)\../skins/xekri/header.txt" >> $@
1209 echo "$(SRCDIR)\alerts/bflat2.wav" >> $@
1210
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -561,10 +561,20 @@
561 "$(SRCDIR)\..\skins\original\header.txt" \
562 "$(SRCDIR)\..\skins\plain_gray\css.txt" \
563 "$(SRCDIR)\..\skins\plain_gray\details.txt" \
564 "$(SRCDIR)\..\skins\plain_gray\footer.txt" \
565 "$(SRCDIR)\..\skins\plain_gray\header.txt" \
566 "$(SRCDIR)\..\skins\refined-dark\css.txt" \
567 "$(SRCDIR)\..\skins\refined-dark\details.txt" \
568 "$(SRCDIR)\..\skins\refined-dark\footer.txt" \
569 "$(SRCDIR)\..\skins\refined-dark\header.txt" \
570 "$(SRCDIR)\..\skins\refined-dark\js.txt" \
571 "$(SRCDIR)\..\skins\refined-light\css.txt" \
572 "$(SRCDIR)\..\skins\refined-light\details.txt" \
573 "$(SRCDIR)\..\skins\refined-light\footer.txt" \
574 "$(SRCDIR)\..\skins\refined-light\header.txt" \
575 "$(SRCDIR)\..\skins\refined-light\js.txt" \
576 "$(SRCDIR)\..\skins\xekri\css.txt" \
577 "$(SRCDIR)\..\skins\xekri\details.txt" \
578 "$(SRCDIR)\..\skins\xekri\footer.txt" \
579 "$(SRCDIR)\..\skins\xekri\header.txt" \
580 "$(SRCDIR)\alerts\bflat2.wav" \
@@ -1200,10 +1210,20 @@
1210 echo "$(SRCDIR)\../skins/original/header.txt" >> $@
1211 echo "$(SRCDIR)\../skins/plain_gray/css.txt" >> $@
1212 echo "$(SRCDIR)\../skins/plain_gray/details.txt" >> $@
1213 echo "$(SRCDIR)\../skins/plain_gray/footer.txt" >> $@
1214 echo "$(SRCDIR)\../skins/plain_gray/header.txt" >> $@
1215 echo "$(SRCDIR)\../skins/refined-dark/css.txt" >> $@
1216 echo "$(SRCDIR)\../skins/refined-dark/details.txt" >> $@
1217 echo "$(SRCDIR)\../skins/refined-dark/footer.txt" >> $@
1218 echo "$(SRCDIR)\../skins/refined-dark/header.txt" >> $@
1219 echo "$(SRCDIR)\../skins/refined-dark/js.txt" >> $@
1220 echo "$(SRCDIR)\../skins/refined-light/css.txt" >> $@
1221 echo "$(SRCDIR)\../skins/refined-light/details.txt" >> $@
1222 echo "$(SRCDIR)\../skins/refined-light/footer.txt" >> $@
1223 echo "$(SRCDIR)\../skins/refined-light/header.txt" >> $@
1224 echo "$(SRCDIR)\../skins/refined-light/js.txt" >> $@
1225 echo "$(SRCDIR)\../skins/xekri/css.txt" >> $@
1226 echo "$(SRCDIR)\../skins/xekri/details.txt" >> $@
1227 echo "$(SRCDIR)\../skins/xekri/footer.txt" >> $@
1228 echo "$(SRCDIR)\../skins/xekri/header.txt" >> $@
1229 echo "$(SRCDIR)\alerts/bflat2.wav" >> $@
1230

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button