|
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
|
box-sizing: border-box; |
|
41
|
min-height: 100vh; |
|
42
|
min-height: 100dvh; |
|
43
|
display: flex; |
|
44
|
flex-direction: column; |
|
45
|
margin: 0 auto; |
|
46
|
background-color: var(--bg); |
|
47
|
color: var(--text); |
|
48
|
font-family: var(--font); |
|
49
|
font-size: 16px; |
|
50
|
line-height: 1.45; |
|
51
|
} |
|
52
|
a { color: var(--link); text-decoration: none; } |
|
53
|
a:hover { color: var(--link-hover); text-decoration: underline; } |
|
54
|
a:visited { color: var(--visited); } |
|
55
|
code, pre, tt, kbd, samp, var { font-family: var(--mono); } |
|
56
|
code, tt, kbd, samp { font-size: 0.94em; } |
|
57
|
pre { font-size: 0.92em; line-height: 1.35; overflow-x: auto; } |
|
58
|
hr { border: none; border-top: 1px solid var(--border); } |
|
59
|
blockquote { border-left: 3px solid var(--border); margin: 0.5em 0; padding: 0.1em 1em; } |
|
60
|
img { max-width: 100%; } |
|
61
|
|
|
62
|
/* Title area above the menu bar */ |
|
63
|
header { display: flex; align-items: center; gap: 14px; padding: 14px 0 12px; } |
|
64
|
.skip-nav { |
|
65
|
position: absolute; top: -100%; left: 0; |
|
66
|
background: var(--link); color: var(--on-accent); |
|
67
|
padding: 0.5rem 1.25rem; font-weight: 600; z-index: 9999; |
|
68
|
border-radius: 0 0 6px 0; |
|
69
|
} |
|
70
|
.skip-nav:focus { top: 0; outline: 2px solid #fff; outline-offset: -4px; } |
|
71
|
|
|
72
|
div.logo { display: flex; flex-shrink: 0; } |
|
73
|
div.logo img, img.logo-mark { width: 48px; height: 48px; object-fit: cover; display: block; border-radius: 6px; } |
|
74
|
.hub-link:hover img { opacity: 0.85; } |
|
75
|
|
|
76
|
.title { min-width: 0; color: var(--title); line-height: 1.2; } |
|
77
|
.title h1, .title .project-name { |
|
78
|
display: inline; |
|
79
|
font-size: 2.2em; |
|
80
|
font-weight: bold; |
|
81
|
color: var(--title); |
|
82
|
text-decoration: none; |
|
83
|
} |
|
84
|
.title .project-name:hover { color: var(--link-hover); text-decoration: none; } |
|
85
|
.title h1:after, .title .project-name:after { |
|
86
|
content: " / "; color: var(--muted); font-weight: normal; |
|
87
|
} |
|
88
|
span.page-title { font-size: 18px; color: var(--text); } |
|
89
|
/* Hidden from view but not display:none: Fossil's forum script sizes its |
|
90
|
expand control from the height of the first h1 on the page, and loops |
|
91
|
forever if that height is 0. This also keeps the heading for screen readers. */ |
|
92
|
h1.page-title { |
|
93
|
font-size: 1.6em; color: var(--text); |
|
94
|
display: block; position: absolute; width: 1px; margin: 0; padding: 0; |
|
95
|
overflow: hidden; clip-path: inset(50%); white-space: nowrap; |
|
96
|
} |
|
97
|
/* Home pages carry their own heading; Fossil's "index" / "Home" title is noise */ |
|
98
|
h1.page-title.home-title { display: none !important; } |
|
99
|
/* Long document titles go in the body instead of the title bar */ |
|
100
|
.artifact h1.page-title, .dir h1.page-title, .doc h1.page-title, .wiki h1.page-title { |
|
101
|
position: static; width: auto; overflow: visible; clip-path: none; white-space: normal; |
|
102
|
margin: revert; margin-bottom: 0; |
|
103
|
} |
|
104
|
.artifact .title > .page-title, .dir .title > .page-title, |
|
105
|
.doc .title > .page-title, .wiki .title > .page-title { display: none; } |
|
106
|
/* ...unless the page opens with a heading of its own (a wiki page's first |
|
107
|
heading, "History of ...", "Files in ..."): the title would say it twice */ |
|
108
|
body:has(div.content > :is(h1, h2):first-child, div.content > span:first-child + :is(h1, h2), |
|
109
|
div.content > :is(.markdown, .fossil-doc) > :is(h1, h2):first-child, |
|
110
|
div.content > span:first-child + :is(.markdown, .fossil-doc) > :is(h1, h2):first-child) h1.page-title { |
|
111
|
position: absolute; width: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; |
|
112
|
} |
|
113
|
.artifact .title h1:after, .dir .title h1:after, .doc .title h1:after, .wiki .title h1:after, |
|
114
|
.artifact .title .project-name:after, .dir .title .project-name:after, |
|
115
|
.doc .title .project-name:after, .wiki .title .project-name:after { content: ""; } |
|
116
|
|
|
117
|
.status { margin-left: auto; font-size: 0.9em; } |
|
118
|
.status a { color: var(--muted); } |
|
119
|
.status a:hover { color: var(--text); } |
|
120
|
|
|
121
|
/* Main menu band */ |
|
122
|
.mainmenu { |
|
123
|
clear: both; |
|
124
|
background: var(--surface) linear-gradient(var(--band-top), var(--surface)) repeat-x; |
|
125
|
border: 1px solid var(--border); |
|
126
|
border-radius: 5px; |
|
127
|
overflow-x: auto; |
|
128
|
overflow-y: hidden; |
|
129
|
white-space: nowrap; |
|
130
|
z-index: 21; |
|
131
|
} |
|
132
|
.mainmenu a { |
|
133
|
display: inline-block; |
|
134
|
line-height: 1.4; |
|
135
|
color: var(--muted); |
|
136
|
text-decoration: none; |
|
137
|
border-right: 1px solid var(--border); |
|
138
|
font-weight: 500; |
|
139
|
} |
|
140
|
.mainmenu a.active, .mainmenu a:hover { |
|
141
|
color: var(--text); |
|
142
|
border-bottom: 2px solid var(--active); |
|
143
|
text-decoration: none; |
|
144
|
} |
|
145
|
#hbbtn { font-size: 1.15em; min-width: 44px; text-align: center; } |
|
146
|
#hbbtn[aria-expanded="true"] { color: var(--text); background: var(--surface2); } |
|
147
|
|
|
148
|
/* Hamburger dropdown (hbmenu.js toggles display; a11y.js sets --nav-bottom) */ |
|
149
|
nav#hbdrop { |
|
150
|
background-color: var(--surface); |
|
151
|
border: 1px solid var(--border); |
|
152
|
border-top: none; |
|
153
|
border-radius: 0 0 0.5em 0.5em; |
|
154
|
display: none; |
|
155
|
font-size: 0.95em; |
|
156
|
position: fixed; |
|
157
|
top: var(--nav-bottom, 88px); |
|
158
|
left: 0; right: 0; |
|
159
|
z-index: 200; |
|
160
|
box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / 0.5); |
|
161
|
overflow-x: hidden; |
|
162
|
max-height: 75vh; |
|
163
|
overflow-y: auto; |
|
164
|
} |
|
165
|
ul#sitemap { |
|
166
|
padding: 1.25rem 1.5rem 1.5rem; |
|
167
|
margin: 0; |
|
168
|
list-style: none; |
|
169
|
column-width: 14em; |
|
170
|
column-gap: 2.5rem; |
|
171
|
} |
|
172
|
ul#sitemap > li { |
|
173
|
list-style: none; |
|
174
|
margin: 0 0 1.1rem; |
|
175
|
break-inside: avoid; |
|
176
|
} |
|
177
|
ul#sitemap > li > a { |
|
178
|
display: inline-block; |
|
179
|
font-size: 0.78em; |
|
180
|
font-weight: 600; |
|
181
|
letter-spacing: 0.06em; |
|
182
|
text-transform: uppercase; |
|
183
|
color: var(--muted); |
|
184
|
padding: 0.3rem 0; |
|
185
|
} |
|
186
|
ul#sitemap > li > a:hover { color: var(--text); text-decoration: none; } |
|
187
|
ul#sitemap ul { margin: 0.15rem 0 0; padding: 0; list-style: none; } |
|
188
|
ul#sitemap ul li { list-style: none; } |
|
189
|
ul#sitemap ul li a { |
|
190
|
display: flex; align-items: center; box-sizing: border-box; /* text stays centered at any row height */ |
|
191
|
color: var(--text); |
|
192
|
padding: 0.3rem 0.6rem; |
|
193
|
margin-left: -0.6rem; |
|
194
|
border-radius: 4px; |
|
195
|
min-height: 36px; |
|
196
|
} |
|
197
|
ul#sitemap ul li a:hover { background: var(--surface2); color: var(--link-hover); text-decoration: none; } |
|
198
|
nav#hbdrop ul#sitemap { column-width: 14em; } |
|
199
|
ul#sitemap.columns { overflow-x: hidden; } |
|
200
|
|
|
201
|
/* Submenu row, like the default: a horizontal strip under the menu band */ |
|
202
|
.submenu, .sectionmenu { |
|
203
|
font-size: 0.9em; |
|
204
|
padding: 8px 0; |
|
205
|
margin-bottom: 4px; |
|
206
|
border-bottom: 1px solid var(--border); |
|
207
|
display: flex; |
|
208
|
flex-wrap: wrap; |
|
209
|
align-items: center; |
|
210
|
gap: 0.25rem 0.5rem; |
|
211
|
} |
|
212
|
.submenu a, .submenu label, .sectionmenu a { |
|
213
|
padding: 6px 10px; |
|
214
|
text-decoration: none; |
|
215
|
color: var(--link); |
|
216
|
border: 1px solid transparent; |
|
217
|
border-radius: 5px; |
|
218
|
white-space: nowrap; |
|
219
|
} |
|
220
|
.submenu > a:first-child { margin-left: -10px; } |
|
221
|
.submenu a:hover, .submenu label:hover, .sectionmenu a:hover { |
|
222
|
border-color: var(--border); |
|
223
|
background: var(--surface); |
|
224
|
color: var(--text); |
|
225
|
text-decoration: none; |
|
226
|
} |
|
227
|
span.submenuctrl, span.submenuctrl input, select.submenuctrl { color: var(--muted); } |
|
228
|
span.submenuctrl { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.35rem; } |
|
229
|
.submenuckbox { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--text); cursor: pointer; } |
|
230
|
.submenu select, .submenu input[type=text], .sectionmenu select, .sectionmenu input[type=text] { |
|
231
|
width: auto; |
|
232
|
font-size: 0.95em; |
|
233
|
padding: 0.3em 0.5em; |
|
234
|
} |
|
235
|
.submenu select, .sectionmenu select { padding-right: 1.9em; } |
|
236
|
.section { |
|
237
|
font-size: 1em; font-weight: bold; |
|
238
|
background-color: var(--surface); |
|
239
|
border: 1px solid var(--border); |
|
240
|
border-radius: 3px 3px 0 0; |
|
241
|
padding: 9px 10px 10px; |
|
242
|
margin: 10px 0; |
|
243
|
} |
|
244
|
.sectionmenu { |
|
245
|
border: 1px solid var(--border); |
|
246
|
border-radius: 0 0 3px 3px; |
|
247
|
border-top: 0; |
|
248
|
margin-top: -10px; |
|
249
|
margin-bottom: 10px; |
|
250
|
} |
|
251
|
|
|
252
|
/* Content */ |
|
253
|
.content { padding: 12px 0; color: var(--text); } |
|
254
|
.content h1 { font-size: 1.60em; color: var(--text); } |
|
255
|
.content h2 { font-size: 1.45em; color: var(--text); } |
|
256
|
.content h3 { font-size: 1.15em; color: var(--text); } |
|
257
|
.content h4 { font-size: 1.05em; color: var(--text); } |
|
258
|
.content h5 { font-size: 1.00em; color: var(--text); } |
|
259
|
.content pre, table.numbered-lines > tbody > tr { hyphens: none; line-height: 1.3; } |
|
260
|
.content ul:not(.browser) > li { list-style-type: disc; } |
|
261
|
div.filetree ul li.dir, div.filetree ul li.subdir, div.filetree ul li.file { list-style-type: none; } |
|
262
|
th { text-align: left; } |
|
263
|
|
|
264
|
/* User content: wiki, embedded docs, forum posts */ |
|
265
|
.markdown blockquote, p.blockquote, .sidebar { |
|
266
|
background-color: var(--surface); |
|
267
|
border-left: 4px solid var(--link); |
|
268
|
} |
|
269
|
div.sidebar { outline: 1em solid var(--bg); } |
|
270
|
.artifact > .content > p > code, .artifact > .content > .markdown > p > code, .artifact > .content > .fossil-doc > p > code, |
|
271
|
.dir > .content > p > code, .dir > .content > .markdown > p > code, |
|
272
|
.doc > .content > p > code, .doc > .content > .markdown > p > code, .doc > .content > .fossil-doc > p > code, |
|
273
|
.forum > .content .markdown > p > code, |
|
274
|
.wiki > .content > p > code, .wiki > .content > .markdown > p > code, .wiki > .content > .fossil-doc > p > code, |
|
275
|
.content li > code, .content td > code { |
|
276
|
background-color: var(--surface); |
|
277
|
border: 1px solid var(--border); |
|
278
|
border-radius: 3px; |
|
279
|
padding: 0 4px; |
|
280
|
} |
|
281
|
.artifact > .content > pre, .artifact > .content > .markdown > pre, .artifact > .content > .fossil-doc > pre, |
|
282
|
.dir > .content > pre, .dir > .content > .markdown > pre, |
|
283
|
.doc > .content > pre, .doc > .content > .markdown > pre, .doc > .content > .fossil-doc > pre, |
|
284
|
.forum > .content .markdown > pre, |
|
285
|
.wiki > .content > pre, .wiki > .content > .markdown > pre, .wiki > .content > .fossil-doc > pre, |
|
286
|
pre.verbatim, pre.textPlain { |
|
287
|
background-color: var(--surface); |
|
288
|
border: 1px solid var(--border); |
|
289
|
border-radius: 4px; |
|
290
|
padding: 8px 10px; |
|
291
|
} |
|
292
|
pre.verbatim { white-space: pre-wrap; } |
|
293
|
.artifact > .content table, .dir > .content table, .doc > .content table, .wiki > .content table, |
|
294
|
.forum > .content .markdown table { |
|
295
|
background-color: var(--surface); |
|
296
|
border: 1px solid var(--border); |
|
297
|
border-radius: 0.5em; |
|
298
|
border-spacing: 0; |
|
299
|
padding: 6px; |
|
300
|
} |
|
301
|
.artifact > .content th, .dir > .content th, .doc > .content th, .wiki > .content th, |
|
302
|
.forum > .content .markdown th { |
|
303
|
border-bottom: 1px solid var(--border); |
|
304
|
background-color: var(--surface2); |
|
305
|
padding: 4px 6px; |
|
306
|
} |
|
307
|
.artifact > .content tr:nth-child(odd) td, .dir > .content tr:nth-child(odd) td, |
|
308
|
.doc > .content tr:nth-child(odd) td, .wiki > .content tr:nth-child(odd) td { |
|
309
|
background-color: var(--stripe); |
|
310
|
} |
|
311
|
.artifact > .content td, .dir > .content td, .doc > .content td, .wiki > .content td, |
|
312
|
.forum > .content .markdown td { padding: 4px 6px; } |
|
313
|
textarea.wikiedit { font-size: 1.1em; } |
|
314
|
|
|
315
|
/* Forms */ |
|
316
|
input[type=text], input[type=password], input[type=email], input[type=search], |
|
317
|
input[type=number], textarea, select { |
|
318
|
background: var(--input-bg); |
|
319
|
border: 1px solid var(--border); |
|
320
|
border-radius: 4px; |
|
321
|
color: var(--text); |
|
322
|
font-family: var(--font); |
|
323
|
font-size: 1em; |
|
324
|
padding: 0.35em 0.6em; |
|
325
|
} |
|
326
|
textarea { font-family: var(--mono); } |
|
327
|
select { |
|
328
|
appearance: none; |
|
329
|
-webkit-appearance: none; |
|
330
|
padding-right: 2em; |
|
331
|
line-height: 1.3; |
|
332
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23565e68' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); |
|
333
|
background-repeat: no-repeat; |
|
334
|
background-position: right 0.6em center; |
|
335
|
background-size: 12px; |
|
336
|
cursor: pointer; |
|
337
|
} |
|
338
|
select:hover { border-color: var(--muted); } |
|
339
|
select option { background: var(--input-bg); color: var(--text); } |
|
340
|
input:focus, textarea:focus, select:focus { border-color: var(--link); outline: none; } |
|
341
|
input[type=submit], input[type=button], button { |
|
342
|
background: var(--surface2); |
|
343
|
border: 1px solid var(--border); |
|
344
|
border-radius: 4px; |
|
345
|
color: var(--text); |
|
346
|
cursor: pointer; |
|
347
|
font-family: var(--font); |
|
348
|
font-size: 1em; |
|
349
|
padding: 0.35em 1em; |
|
350
|
} |
|
351
|
input[type=submit]:hover, input[type=button]:hover, button:hover { |
|
352
|
border-color: var(--muted); |
|
353
|
background: var(--btn-hover); |
|
354
|
} |
|
355
|
input[type=submit]:disabled, input[type=button]:disabled, button:disabled { opacity: 0.5; cursor: not-allowed; } |
|
356
|
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; } |
|
357
|
.mainmenu a:focus-visible { outline-offset: -3px; } |
|
358
|
|
|
359
|
/* Let short pages fill the viewport without overlaying long content. */ |
|
360
|
body > .content { flex: 1 0 auto; min-width: 0; } |
|
361
|
body > header, body > nav, body > footer { flex-shrink: 0; } |
|
362
|
|
|
363
|
/* Footer */ |
|
364
|
footer { |
|
365
|
border-top: 1px solid var(--border); |
|
366
|
padding: 10px; |
|
367
|
font-size: 0.85em; |
|
368
|
margin-top: 10px; |
|
369
|
color: var(--muted); |
|
370
|
display: flex; |
|
371
|
justify-content: space-between; |
|
372
|
flex-wrap: wrap; |
|
373
|
gap: 0.5rem; |
|
374
|
} |
|
375
|
|
|
376
|
/* Forum */ |
|
377
|
.forum a:visited { color: var(--visited); } |
|
378
|
div.forumSel { |
|
379
|
animation: 1s linear 0s sel-fade; |
|
380
|
background-color: var(--bg); |
|
381
|
border-left: 4px solid var(--link); |
|
382
|
} |
|
383
|
@keyframes sel-fade { from { background-color: var(--surface2); } to { background-color: var(--bg); } } |
|
384
|
.forum form input { margin: 0.5em 0; } |
|
385
|
div.forumTime, div.forumHier, div.forumHierRoot { |
|
386
|
background: var(--surface) !important; |
|
387
|
border: 1px solid var(--border) !important; |
|
388
|
border-radius: 4px; |
|
389
|
color: var(--text) !important; |
|
390
|
} |
|
391
|
div.forumTime.forumSel, div.forumHier.forumSel { border-color: var(--link) !important; } |
|
392
|
div.forumObs { opacity: 0.75; } |
|
393
|
div.forumPostBody, div.forumPostBody h1, div.forumPostBody h2, div.forumPostBody h3 { color: var(--text) !important; } |
|
394
|
.forum-post-collapser { |
|
395
|
border-color: var(--border) !important; |
|
396
|
background: var(--surface) !important; |
|
397
|
color: var(--muted) !important; |
|
398
|
} |
|
399
|
.forum-post-collapser:hover { background: var(--surface2) !important; color: var(--text) !important; } |
|
400
|
div.searchForm { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1em 0; } |
|
401
|
|
|
402
|
/* Tickets and reports */ |
|
403
|
table.report { cursor: auto; border: 1px solid var(--border); border-radius: 0.5em; margin: 1em 0; } |
|
404
|
.report td, .report th { border: 0; font-size: 0.9em; padding: 8px 10px; } |
|
405
|
.report th { cursor: pointer; background: var(--surface); } |
|
406
|
.report thead + tbody tr:hover { background-color: var(--surface2) !important; } |
|
407
|
body.report table.report tr td { color: var(--text) !important; } |
|
408
|
body.report table.report a { color: var(--link) !important; } |
|
409
|
td.tktDspLabel { width: 70px; text-align: right; overflow: hidden; color: var(--muted) !important; } |
|
410
|
td.tktDspValue { |
|
411
|
text-align: left; vertical-align: top; |
|
412
|
background-color: var(--surface) !important; |
|
413
|
border: 1px solid var(--border) !important; |
|
414
|
color: var(--text) !important; |
|
415
|
} |
|
416
|
td.tktDspValue pre { white-space: pre-wrap; } |
|
417
|
|
|
418
|
/* Timeline */ |
|
419
|
span.timelineDetail { font-size: 90%; } |
|
420
|
div.timelineDate { font-weight: bold; white-space: nowrap; color: var(--muted); } |
|
421
|
table.timelineTable { padding: 0 3px; } |
|
422
|
table.timelineTable tr { border-radius: 1em; } |
|
423
|
.timelineModernCell, .timelineColumnarCell, .timelineDetailCell { border-radius: 0.5em; } |
|
424
|
.timelineModernCell[id], .timelineColumnarCell[id], .timelineDetailCell[id] { background-color: var(--surface); } |
|
425
|
.timelineModernDetail { opacity: 1; color: var(--muted); font-size: 0.9em; } |
|
426
|
.timelineModernComment { color: var(--text); } |
|
427
|
td.timelineTime { color: var(--muted); font-family: var(--mono); font-size: 0.9em; white-space: nowrap; } |
|
428
|
span.timelineHash { font-family: var(--mono); } |
|
429
|
tr.timelineSelected, tr.timelineSecondary { background-color: unset; } |
|
430
|
tr.timelineSelected td, span.timelineSelected { background-color: var(--sel-bg) !important; } |
|
431
|
tr.timelineSecondary td, span.timelineSecondary { background-color: var(--sec-bg) !important; } |
|
432
|
tr.timelineCurrent td:first-child, tr.timelineSecondary td:first-child, tr.timelineSelected td:first-child { |
|
433
|
border-top-left-radius: 1em; border-bottom-left-radius: 1em; |
|
434
|
} |
|
435
|
tr.timelineCurrent td:last-child, tr.timelineSecondary td:last-child, tr.timelineSelected td:last-child { |
|
436
|
border-top-right-radius: 1em; border-bottom-right-radius: 1em; |
|
437
|
} |
|
438
|
tr.timelineCurrent td { border-top: 1px dashed var(--muted); border-bottom: 1px dashed var(--muted); } |
|
439
|
tr.timelineCurrent td:first-child { border-left: 1px dashed var(--muted); } |
|
440
|
tr.timelineCurrent td:last-child { border-right: 1px dashed var(--muted); } |
|
441
|
|
|
442
|
/* Timeline graph: Fossil hardcodes black lines and white nodes */ |
|
443
|
.tl-node { background: var(--link) !important; border-color: var(--text) !important; } |
|
444
|
.tl-node.leaf:after { background: var(--bg) !important; } |
|
445
|
.tl-node.closed-leaf svg { color: var(--bg) !important; } |
|
446
|
.tl-line { background-color: var(--muted); } |
|
447
|
.tl-line.warp { background: var(--yellow) !important; } |
|
448
|
.tl-line.cherrypick.h { border-top-color: var(--muted) !important; background: transparent !important; } |
|
449
|
.tl-line.cherrypick.v, .tl-line.dotted.v { border-left-color: var(--muted) !important; background: transparent !important; } |
|
450
|
.tl-arrow.u, .tl-arrow.u.sm { border-bottom-color: var(--muted) !important; } |
|
451
|
.tl-arrow.merge.l, .tl-arrow.cherrypick.l { border-right-color: var(--muted) !important; } |
|
452
|
.tl-arrow.merge.r, .tl-arrow.cherrypick.r { border-left-color: var(--muted) !important; } |
|
453
|
.tl-arrow.warp { border-left-color: var(--yellow) !important; } |
|
454
|
/* Branch colors are pastel inline backgrounds; darken them so text stays readable */ |
|
455
|
/* Branch and user tints come from Fossil, already sized for this foreground */ |
|
456
|
.tl-tooltip { |
|
457
|
background: var(--surface2) !important; color: var(--text) !important; |
|
458
|
border-color: var(--border) !important; box-shadow: 0 4px 16px rgb(var(--shadow-rgb) / 0.5) !important; |
|
459
|
} |
|
460
|
|
|
461
|
/* Lists and tables Fossil generates */ |
|
462
|
table.sortable th, table.filelistTable th, .fileage th { |
|
463
|
text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); cursor: pointer; |
|
464
|
} |
|
465
|
table.sortable td, table.filelistTable td, .fileage td { padding: 5px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; } |
|
466
|
table.sortable tr:hover td, .fileage tr:hover, div.filetreeline:hover { background: var(--surface) !important; } |
|
467
|
body.branch .brlist > table > tbody > tr:hover:not(.selected) { background: var(--surface) !important; } |
|
468
|
body.branch .brlist > table > tbody > tr.selected { background: var(--surface2) !important; } |
|
469
|
.branch-name, span.tagDsp { |
|
470
|
display: inline-block; background: var(--surface2); border: 1px solid var(--border); |
|
471
|
border-radius: 3px; color: var(--link); font-family: var(--mono); font-size: 0.85em; padding: 0 0.3em; |
|
472
|
} |
|
473
|
|
|
474
|
/* Diffs: Fossil's built-in colors are pale pastels */ |
|
475
|
table.diff { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.9em; } |
|
476
|
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); } |
|
477
|
td.difftext { padding: 0 0.5em; white-space: pre; } |
|
478
|
tr.diffskip, tr.diffskip.jchunk { background: var(--surface) !important; } |
|
479
|
tr.diffskip > td.chunkctrl .jcbutton { background: var(--surface2) !important; color: var(--muted) !important; border-radius: 3px; } |
|
480
|
tr.diffskip > td.chunkctrl .jcbutton:hover { color: var(--text) !important; } |
|
481
|
td.diffmkrl, td.diffmkrr, td.diffmkru { color: var(--muted); } |
|
482
|
tr.diffadd td { background: rgb(var(--green-rgb) / 0.10); } |
|
483
|
tr.diffrm td { background: rgb(var(--red-rgb) / 0.10); } |
|
484
|
tr.diffchng td { background: rgb(var(--yellow-rgb) / 0.07); } |
|
485
|
span.diffadd { color: var(--green); } |
|
486
|
span.diffrm { color: var(--red); } |
|
487
|
span.diffchng { color: var(--yellow); } |
|
488
|
td.diffln ins, td.difftxt ins, table.diff pre > ins { background-color: rgb(var(--green-rgb) / 0.16) !important; } |
|
489
|
td.diffln del, td.difftxt del, table.diff pre > del { background-color: rgb(var(--red-rgb) / 0.16) !important; } |
|
490
|
td.difftxt del > del, table.diff pre > del > del { background-color: rgb(var(--red-rgb) / 0.32) !important; } |
|
491
|
td.difftxt ins > ins, table.diff pre > ins > ins { background-color: rgb(var(--green-rgb) / 0.32) !important; } |
|
492
|
td.difftxt del > del.edit, td.difftxt ins > ins.edit, |
|
493
|
table.diff pre > del > del.edit, table.diff pre > ins > ins.edit { background-color: rgb(var(--link-rgb) / 0.25) !important; } |
|
494
|
|
|
495
|
/* Annotate / blame: inline pastel backgrounds from Fossil JS */ |
|
496
|
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); } |
|
497
|
pre span[style*="background"], li span[style*="background"] { |
|
498
|
background-image: linear-gradient(rgb(var(--veil-rgb) / 0.7), rgb(var(--veil-rgb) / 0.7)) !important; |
|
499
|
border-radius: 3px; padding: 0.1em 0.25em; |
|
500
|
} |
|
501
|
|
|
502
|
/* Any inline pastel background Fossil emits (ticket reports and their key, |
|
503
|
ticket pages, annotate legends, branch lists): darken it, keep the hue */ |
|
504
|
tr[style*="background-color"], td[style*="background-color"], th[style*="background-color"], |
|
505
|
span[style*="background-color"], div[style*="background-color"], p[style*="background-color"] { |
|
506
|
background-image: linear-gradient(rgb(var(--veil-rgb) / var(--veil, 0.35)), rgb(var(--veil-rgb) / var(--veil, 0.35))) !important; |
|
507
|
color: var(--text); |
|
508
|
} |
|
509
|
tr[style*="background-color"] a, td[style*="background-color"] a, p[style*="background-color"] a { color: var(--link); } |
|
510
|
p[style*="border:1px solid"] { border-color: var(--border) !important; border-radius: 4px; padding: 0.6em 0.8em; } |
|
511
|
/* Pikchr: Fossil already draws white defaults because skin-detail is white-foreground; leave diagrams alone */ |
|
512
|
|
|
513
|
/* Fossil's user and branch colors, muted toward the surface so they sit with the skin */ |
|
514
|
table.timelineTable td[style*="background"] { |
|
515
|
background-image: linear-gradient(rgb(var(--tint-rgb) / var(--tint-mute)), rgb(var(--tint-rgb) / var(--tint-mute))) !important; |
|
516
|
} |
|
517
|
body.chat .message-widget-content[style*="background"] { |
|
518
|
background-image: linear-gradient(rgb(var(--tint-rgb) / var(--chat-mute)), rgb(var(--tint-rgb) / var(--chat-mute))) !important; |
|
519
|
} |
|
520
|
body.chat .message-widget-tab[style*="background"] { background-image: none !important; } |
|
521
|
body.chat .message-widget-content { box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / var(--bubble-shadow)) !important; } |
|
522
|
|
|
523
|
/* Misc Fossil UI elements with hardcoded light colors */ |
|
524
|
div.debug { background: var(--surface) !important; border: 1px solid var(--border) !important; color: var(--muted) !important; padding: 0.75rem; } |
|
525
|
/* Inline debug markers, e.g. "(artifact-NNN)" on forum posts for admins: just quieter text */ |
|
526
|
span.debug { background: none !important; border: none !important; padding: 0 !important; color: var(--muted) !important; font-size: 0.85em; } |
|
527
|
span.debug a { color: var(--muted); } |
|
528
|
span.debug a:hover { color: var(--link); } |
|
529
|
span.error { background: rgb(var(--yellow-rgb) / 0.18) !important; color: var(--yellow) !important; padding: 0.1em 0.25em; border-radius: 3px; } |
|
530
|
mark { background: rgb(var(--yellow-rgb) / 0.25); color: var(--text); padding: 0.1em 0.25em; border-radius: 3px; } |
|
531
|
div.sideboxTitle { color: var(--title); font-weight: 600; } |
|
532
|
div.sidebox { background: var(--surface); border: 1px solid var(--border) !important; border-radius: 4px; margin: 0 0 1em 1.5em; padding: 0.75em; } |
|
533
|
.disabled { color: var(--red); } |
|
534
|
.modpending { color: var(--yellow); } |
|
535
|
.fossil-tooltip.help-buttonlet-content { background-color: var(--surface2); color: var(--text); border: 1px solid var(--border); } |
|
536
|
.fossil-tooltip { background: var(--surface2) !important; color: var(--text) !important; border-color: var(--border) !important; } |
|
537
|
td.capsumRead { background: rgb(var(--green-rgb) / 0.15) !important; color: var(--green); } |
|
538
|
td.capsumWrite { background: rgb(var(--yellow-rgb) / 0.15) !important; color: var(--yellow); } |
|
539
|
td.capsumOff { background: rgb(var(--muted-rgb) / 0.1) !important; color: var(--muted); } |
|
540
|
table.login_out { margin: 1em 0; } |
|
541
|
td.login_out_label { color: var(--muted); padding: 0.4em 0.75em 0.4em 0; } |
|
542
|
.help-buttonlet { color: var(--link); cursor: pointer; } |
|
543
|
|
|
544
|
/* Status text Fossil colors pure red / blue / black */ |
|
545
|
span.disabled, span.wikiError, span.loginError, span.tktError, span.brokenlink, span.thTrace, |
|
546
|
p.generalError, p.tktsetupError, p.xfersetupError, p.thmainError, p.reportError, blockquote.reportError, |
|
547
|
pre.th1error, span.ueditInheritDeveloper, td.tktTlOpen, |
|
548
|
div.markdown ol.footnotes > li.fn-misreference > span, div.markdown ol.footnotes > li.fn-unreferenced > code, |
|
549
|
div.markdown sup.noteref.misref, div.markdown sup.noteref.misref > a { color: var(--red) !important; } |
|
550
|
span.ueditInheritAnonymous, p.missingPriv, p.noMoreShun, p.shunned { color: var(--link) !important; } |
|
551
|
span.ueditInheritReader { color: var(--text) !important; } |
|
552
|
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; } |
|
553
|
/* Fossil also puts class="error" on <body> and colors it yellow; keep the page as it is */ |
|
554
|
body.error, body.warning { background: var(--bg) !important; color: var(--text) !important; } |
|
555
|
.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; } |
|
556
|
table.numbered-lines td.line-numbers span.selected-line { color: var(--text) !important; background-color: rgb(var(--link-rgb) / 0.22) !important; } |
|
557
|
.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; } |
|
558
|
.fossil-toast-message.error, .fossil-toast-message.warning { background: var(--warn-bg) !important; color: var(--yellow) !important; border-color: var(--yellow) !important; } |
|
559
|
.fossil-toast-message.error { color: var(--red) !important; border-color: var(--red) !important; background: var(--err-bg) !important; } |
|
560
|
|
|
561
|
/* Wiki / file editor tabs */ |
|
562
|
.tab-container .tab-bar { display: flex; flex-wrap: wrap; gap: 0.25rem; border-bottom: 1px solid var(--border); } |
|
563
|
.tab-container .tab-button { |
|
564
|
padding: 0.4em 0.9em; border: 1px solid transparent; border-bottom: none; border-radius: 5px 5px 0 0; |
|
565
|
background: transparent; color: var(--muted); font-family: var(--font); font-size: 0.95em; cursor: pointer; margin-bottom: -1px; |
|
566
|
} |
|
567
|
.tab-container .tab-button:hover { color: var(--text); background: var(--surface); } |
|
568
|
.tab-container .tab-button.selected { color: var(--text); background: var(--surface); border-color: var(--border); border-bottom-color: var(--surface); } |
|
569
|
#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; } |
|
570
|
.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; } |
|
571
|
.wikiedit-options .input-with-label, .fileedit-options .input-with-label { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; } |
|
572
|
#wikiedit-tab-content textarea, #fileedit-tab-content textarea { min-height: 300px; width: 100%; } |
|
573
|
.tab-container fieldset { border: 1px solid var(--border); border-radius: 4px; } |
|
574
|
.tab-container fieldset legend { color: var(--muted); } |
|
575
|
button.wikiedit-content-reload, button.fileedit-content-reload { min-width: unset !important; max-width: unset !important; } |
|
576
|
|
|
577
|
/* Chat: Fossil sets inline pastel backgrounds per user */ |
|
578
|
/* Each message keeps the user's color, which Fossil already picks for this |
|
579
|
skin's foreground (white-foreground); only messages without one get --surface. */ |
|
580
|
body.chat .message-widget-content { |
|
581
|
background-color: var(--surface); border: 1px solid var(--border) !important; |
|
582
|
border-radius: 6px !important; color: var(--text) !important; padding: 0.5em 0.75em !important; |
|
583
|
} |
|
584
|
body.chat .message-widget-tab { background: transparent !important; color: var(--muted) !important; border: none !important; font-size: 0.9em !important; } |
|
585
|
body.chat .message-widget-tab[style*="background"] { background-image: none !important; } |
|
586
|
body.chat .message-widget-tab .xfrom { color: var(--link) !important; font-weight: 600 !important; } |
|
587
|
body.chat #chat-input-line-wrapper { border: 1px solid var(--border) !important; border-radius: 6px !important; background: var(--input-bg) !important; } |
|
588
|
body.chat #chat-input-line-wrapper:focus-within { border-color: var(--link) !important; } |
|
589
|
body.chat .chat-input-field { border: none !important; background: transparent !important; color: var(--text) !important; font-family: var(--font) !important; font-size: 1em !important; } |
|
590
|
body.chat .cbutton { border: 1px solid var(--border) !important; background: var(--surface) !important; border-radius: 4px !important; } |
|
591
|
body.chat .cbutton:hover { background: var(--surface2) !important; } |
|
592
|
body.chat fieldset { border: 1px solid var(--border) !important; border-radius: 4px !important; background: var(--surface) !important; } |
|
593
|
body.chat .menu-entry { background: var(--surface) !important; border: 1px solid var(--border) !important; color: var(--text) !important; } |
|
594
|
body.chat .menu-entry:hover, body.chat .menu-entry.parent { background: var(--surface2) !important; } |
|
595
|
body.chat .message-widget .match { background: rgb(var(--yellow-rgb) / 0.25) !important; color: var(--text) !important; } |
|
596
|
body.chat .chat-message-popup { background: var(--surface2) !important; border: 1px solid var(--border) !important; color: var(--text) !important; } |
|
597
|
body.chat .message-widget-content img { max-width: 100% !important; border-radius: 4px !important; } |
|
598
|
|
|
599
|
/* Chat toolbar: Fossil renders the buttons as emoji; mask them with icons, keep the spans intact */ |
|
600
|
body.chat #chat-buttons-wrapper > .cbutton { |
|
601
|
position: relative !important; |
|
602
|
font-size: 0 !important; |
|
603
|
color: transparent !important; |
|
604
|
min-width: 44px !important; max-width: 44px !important; |
|
605
|
min-height: 36px !important; height: 36px !important; |
|
606
|
background: var(--surface) !important; |
|
607
|
border: 1px solid var(--border) !important; |
|
608
|
border-radius: 6px !important; |
|
609
|
} |
|
610
|
body.chat #chat-buttons-wrapper > .cbutton::after { |
|
611
|
content: ""; position: absolute; inset: 0; margin: auto; |
|
612
|
width: 22px; height: 22px; |
|
613
|
background-color: var(--muted); |
|
614
|
-webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; |
|
615
|
} |
|
616
|
body.chat #chat-buttons-wrapper > .cbutton:hover { background: var(--surface2) !important; border-color: var(--muted) !important; } |
|
617
|
body.chat #chat-buttons-wrapper > .cbutton:hover::after { background-color: var(--text); } |
|
618
|
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; } |
|
619
|
body.chat #chat-buttons-wrapper > #chat-button-submit::after { background-color: var(--on-accent); } |
|
620
|
body.chat #chat-buttons-wrapper > #chat-button-submit:hover { background: var(--link-hover) !important; } |
|
621
|
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"); } |
|
622
|
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"); } |
|
623
|
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"); } |
|
624
|
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"); } |
|
625
|
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"); } |
|
626
|
|
|
627
|
/* Screen sizes, as in the default skin */ |
|
628
|
@media screen and (max-width: 600px) { |
|
629
|
body { padding-left: 12px; padding-right: 12px; } |
|
630
|
.content { font-size: 0.95em; } |
|
631
|
header { gap: 10px; padding: 10px 0 8px; } |
|
632
|
div.logo img, img.logo-mark { width: 36px; height: 36px; } |
|
633
|
.title h1, .title .project-name { font-size: 1.5em; } |
|
634
|
.title > .page-title { display: inline; } |
|
635
|
.artifact .title > .page-title, .dir .title > .page-title, |
|
636
|
.doc .title > .page-title, .wiki .title > .page-title { display: none; } |
|
637
|
.mainmenu a { padding: 10px 12px; } |
|
638
|
.mainmenu { padding: 0; } |
|
639
|
nav#hbdrop ul#sitemap, ul#sitemap.columns { columns: 1 !important; column-width: auto !important; } |
|
640
|
.submenu { padding: 6px 0; } |
|
641
|
td.timelineTime { font-size: 0.8em; } |
|
642
|
} |
|
643
|
@media screen and (min-width: 600px) { |
|
644
|
body { padding-left: 20px; padding-right: 20px; } |
|
645
|
.mainmenu a { padding: 12px 20px; } |
|
646
|
.mainmenu { padding: 0; } |
|
647
|
.content dd, .content dt, .content div, .content li, .content p, .content table { line-height: 1.45em; } |
|
648
|
/* Fossil renders a document's title outside .content. Match its h1 inset. */ |
|
649
|
body.doc > h1.page-title { |
|
650
|
box-sizing: border-box; |
|
651
|
width: 100%; |
|
652
|
margin-inline: 0; |
|
653
|
padding-inline: 10pt; |
|
654
|
} |
|
655
|
.doc > .content > p, .doc > .content > .markdown > p, .doc > .content > .fossil-doc > p, |
|
656
|
.doc > .content > ol, .doc > .content > ul, .doc > .content > .markdown > ol, .doc > .content > .markdown > ul, |
|
657
|
.wiki > .content > p, .wiki > .content > .markdown > p, .wiki > .content > .fossil-doc > p, |
|
658
|
.wiki > .content > ol, .wiki > .content > ul, .wiki > .content > .markdown > ol, .wiki > .content > .markdown > ul, |
|
659
|
.artifact > .content > .markdown > p, .artifact > .content > .markdown > ol, .artifact > .content > .markdown > ul, |
|
660
|
.doc > .content > .markdown > table, .wiki > .content > .markdown > table, .artifact > .content > .markdown > table { |
|
661
|
margin-left: 30pt; margin-right: 30pt; |
|
662
|
} |
|
663
|
.doc > .content > pre, .doc > .content > .markdown > pre, .doc > .content > .fossil-doc > pre, |
|
664
|
.wiki > .content > pre, .wiki > .content > .markdown > pre, |
|
665
|
.artifact > .content > .markdown > pre { margin-left: 40pt; margin-right: 30pt; } |
|
666
|
.forum > .content .markdown > pre { margin-left: 20pt; } |
|
667
|
.doc > .content h1, .wiki .content h1, .artifact .content h1 { margin-left: 10pt; } |
|
668
|
.doc > .content h2, .wiki .content h2, .artifact .content h2 { margin-left: 15pt; } |
|
669
|
.doc > .content h3, .wiki .content h3, .artifact .content h3 { margin-left: 20pt; } |
|
670
|
.doc > .content > blockquote, .wiki > .content > blockquote { margin-left: 50pt; } |
|
671
|
.doc > .content > .markdown > blockquote, .wiki > .content > .markdown > blockquote { margin-left: 40pt; } |
|
672
|
.content .pikchr-wrapper, div.pikchr-wrapper.indent:not(.source) { margin-left: 40pt; } |
|
673
|
div.pikchr-wrapper.center:not(.source), div.pikchr-wrapper.float-right:not(.source) { margin-left: 0; } |
|
674
|
} |
|
675
|
|
|
676
|
/* Chat bubbles: messaging-app corners; your own messages, when Fossil puts |
|
677
|
them on the right (its my-messages-right layout, the default in tall |
|
678
|
windows), point the other way */ |
|
679
|
body.chat .message-widget:not(.notification) .message-widget-content { border-radius: 12px 12px 12px 4px !important; } |
|
680
|
body.chat.my-messages-right .message-widget.mine .message-widget-content { border-radius: 12px 12px 4px 12px !important; } |
|
681
|
body.chat.my-messages-right .message-widget.mine .message-widget-tab { text-align: right; } |
|
682
|
|
|
683
|
/* Message options popup (click a message's header): one card, quiet |
|
684
|
timestamps, buttons sized for touch */ |
|
685
|
body.chat .chat-message-popup { |
|
686
|
font-family: var(--font) !important; font-size: 0.9em !important; |
|
687
|
background: var(--surface2) !important; border: 1px solid var(--border) !important; |
|
688
|
border-radius: 10px !important; padding: 0.65em !important; gap: 0.45em; |
|
689
|
box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / var(--popup-shadow)) !important; |
|
690
|
max-width: min(26rem, calc(100vw - 2rem)); |
|
691
|
} |
|
692
|
body.chat .chat-message-popup > span { font-family: var(--mono); font-size: 0.85em; color: var(--muted); white-space: normal; } |
|
693
|
body.chat .chat-message-popup > .toolbar { border: none !important; gap: 0.4em; margin: 0 !important; flex-wrap: wrap; } |
|
694
|
body.chat .chat-message-popup > .toolbar > * { margin: 0 !important; } |
|
695
|
body.chat .chat-message-popup > .toolbar > button, |
|
696
|
body.chat .chat-message-popup > .toolbar > a { |
|
697
|
flex: 1 1 auto; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; |
|
698
|
padding: 0.35em 0.8em; border: 1px solid var(--border); border-radius: 6px; |
|
699
|
background: var(--surface); color: var(--text); font-family: var(--font); font-size: 1em; text-decoration: none; |
|
700
|
} |
|
701
|
body.chat .chat-message-popup > .toolbar > a { color: var(--link); } |
|
702
|
body.chat .chat-message-popup > .toolbar > button:hover, |
|
703
|
body.chat .chat-message-popup > .toolbar > a:hover { background: var(--btn-hover); border-color: var(--muted); text-decoration: none; } |
|
704
|
/* "Delete globally" removes the message for everyone */ |
|
705
|
body.chat .chat-message-popup > div.toolbar:nth-of-type(1) > button:nth-child(2) { color: var(--red); } |
|
706
|
@media (pointer: coarse), (max-width: 600px) { |
|
707
|
body.chat .chat-message-popup > .toolbar > button, |
|
708
|
body.chat .chat-message-popup > .toolbar > a { min-height: 44px; } |
|
709
|
} |
|
710
|
|
|
711
|
/* Phones: the page itself never scrolls sideways */ |
|
712
|
body.chat .chat-message-popup { z-index: 200 !important; } |
|
713
|
@media screen and (max-width: 600px) { |
|
714
|
table.label-value td { white-space: normal !important; overflow-wrap: anywhere; } |
|
715
|
table.label-value td .nobr, table.label-value td .nobr *, |
|
716
|
td.tktDspValue .nobr, td.tktDspValue .nobr * { white-space: normal !important; word-break: break-all; } |
|
717
|
.content table.sortable, .content table.report, .content table.userTable { |
|
718
|
display: block; max-width: 100%; overflow-x: auto; |
|
719
|
} |
|
720
|
.title h1, .title .project-name { font-size: 1.3em; } |
|
721
|
} |
|
722
|
|
|
723
|
/* Hamburger menu. hbmenu.js toggles it instantly (data-anim-ms="0" in the |
|
724
|
header); the skin slides it in. */ |
|
725
|
@keyframes hb-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } } |
|
726
|
nav#hbdrop { animation: hb-in 160ms ease-out; top: var(--nav-bottom, 88px); } |
|
727
|
@media screen and (max-width: 600px), (pointer: coarse) { |
|
728
|
/* A sheet from under the nav bar to the bottom of the screen, scrolling |
|
729
|
on its own, with the page behind it held still */ |
|
730
|
nav#hbdrop { |
|
731
|
bottom: 0; max-height: none; border-radius: 0; border-left: 0; border-right: 0; |
|
732
|
overscroll-behavior: contain; -webkit-overflow-scrolling: touch; |
|
733
|
} |
|
734
|
html:has(#hbdrop[style*="display: block"]) { overflow: hidden; } |
|
735
|
/* Keep the nav bar, and its close button, on screen while the menu is open */ |
|
736
|
html:has(#hbdrop[style*="display: block"]) nav.mainmenu { position: sticky; top: 0; } |
|
737
|
ul#sitemap ul li a { min-height: 44px; display: flex; align-items: center; } |
|
738
|
} |
|
739
|
@media (prefers-reduced-motion: reduce) { nav#hbdrop { animation: none; } } |
|
740
|
|
|
741
|
/* Menu bar: every item carries the 2px underline slot, transparent until |
|
742
|
hover or active, so highlighting never changes any item's or the bar's height */ |
|
743
|
.mainmenu a { border-bottom: 2px solid transparent; } |
|
744
|
.mainmenu a.active, .mainmenu a:hover { border-bottom-color: var(--active); } |
|
745
|
#hbbtn { line-height: 1.4; font-size: 1em; } |
|
746
|
|
|
747
|
/* Logo: show any repository's logo whole in the same 48px box (36px on |
|
748
|
phones); a square logo looks exactly as before */ |
|
749
|
div.logo img, img.logo-mark { object-fit: contain; } |
|
750
|
|
|
751
|
/* Menu bar as a flex row: the whitespace between items in the header no |
|
752
|
longer leaves 4px gaps, so each underline meets the divider beside it */ |
|
753
|
.mainmenu { display: flex; } |
|
754
|
.mainmenu a { flex: 0 0 auto; } |
|
755
|
|
|
756
|
/* Weekday above each timeline date. The line is reserved here, before any |
|
757
|
script runs, so the rows already have their final height when Fossil |
|
758
|
draws the timeline graph; a11y.js only fills in the name through |
|
759
|
data-dow. (Inserting a line afterwards moved every row, and Fossil |
|
760
|
redrew the graph a second later, so the nodes jumped.) */ |
|
761
|
div.timelineDate::before { |
|
762
|
content: attr(data-dow); display: block; min-height: 1.2em; |
|
763
|
font-size: 0.8em; font-weight: 400; opacity: 0.85; line-height: 1.2; margin-bottom: 0.1em; |
|
764
|
} |
|
765
|
|
|
766
|
|
|
767
|
/* The chat's "Load..." bar: a small label over one row of buttons, without |
|
768
|
the box Fossil's fieldset would draw around them */ |
|
769
|
body.chat fieldset#load-msg-toolbar { |
|
770
|
border: none !important; background: transparent !important; |
|
771
|
padding: 0.5em 0 0 !important; margin: 0 0 1em !important; |
|
772
|
} |
|
773
|
body.chat #load-msg-toolbar > legend { font-size: 0.85em; color: var(--muted); padding: 0 0 0.35em; } |
|
774
|
body.chat #load-msg-toolbar > div { gap: 0.5em; } |
|
775
|
body.chat #load-msg-toolbar > div > button { border-radius: 6px; } |
|
776
|
|
|
777
|
|
|
778
|
/* ── Fixes from the page-by-page audit ─────────────────────────────────── */ |
|
779
|
|
|
780
|
/* Fields Fossil emits with no type, or type="input" (forum title, ticket |
|
781
|
e-mail), which the input[type=text] rule above does not match */ |
|
782
|
input:not([type]), input[type=input] { |
|
783
|
background: var(--input-bg); border: 1px solid var(--border); border-radius: 4px; |
|
784
|
color: var(--text); font-family: var(--font); font-size: 1em; padding: 0.35em 0.6em; |
|
785
|
} |
|
786
|
input[type=file]::file-selector-button { |
|
787
|
background: var(--surface2); border: 1px solid var(--border); border-radius: 4px; |
|
788
|
color: var(--text); font-family: var(--font); font-size: 0.95em; padding: 0.35em 0.8em; |
|
789
|
margin-right: 0.6em; cursor: pointer; |
|
790
|
} |
|
791
|
input[type=file]::file-selector-button:hover { background: var(--btn-hover); border-color: var(--muted); } |
|
792
|
|
|
793
|
/* Forum subjects may shrink below a long word on narrow screens. */ |
|
794
|
@media screen and (max-width: 600px) { |
|
795
|
body.forum td.subject { overflow-wrap: anywhere; } |
|
796
|
} |
|
797
|
|
|
798
|
/* Long hashes in titles and headings wrap instead of widening the page */ |
|
799
|
.title, span.page-title, .content h1, .content h2, .content h3 { overflow-wrap: anywhere; } |
|
800
|
.title { min-width: 0; } |
|
801
|
.content :not(pre) > code { overflow-wrap: break-word; } |
|
802
|
.markdown p, .markdown li { overflow-wrap: break-word; } |
|
803
|
|
|
804
|
/* Rendered markdown looks the same wherever it appears (the wiki editor's |
|
805
|
preview nests it deeper than the page does) */ |
|
806
|
.markdown pre { |
|
807
|
background-color: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 8px 10px; |
|
808
|
} |
|
809
|
.markdown p > code, .markdown li > code, .markdown td > code { |
|
810
|
background-color: var(--surface); border: 1px solid var(--border); border-radius: 3px; padding: 0 4px; |
|
811
|
} |
|
812
|
|
|
813
|
/* Chat: a bubble holding an attachment stays inside its column */ |
|
814
|
body.chat .message-widget-content { box-sizing: border-box; max-width: 100%; } |
|
815
|
body.chat .chat-message-popup > .toolbar { align-items: stretch; } |
|
816
|
body.chat .chat-message-popup > .toolbar > a { display: inline-flex; align-items: center; } |
|
817
|
|
|
818
|
/* Activity-report charts: a11y.js gives them a viewBox so they can shrink */ |
|
819
|
.content svg.fit { max-width: 100%; height: auto; } |
|
820
|
|
|
821
|
/* Contrast: links on Fossil's colored rows, closed tickets in the timeline, |
|
822
|
the fourth capability marker */ |
|
823
|
body.report table.report tr[style*="background-color"] a, |
|
824
|
table.timelineTable td[style*="background"] a { color: var(--link-on-tint) !important; } |
|
825
|
td.tktTlClosed { color: var(--muted); } |
|
826
|
span.ueditInheritNobody { color: var(--green) !important; } |
|
827
|
|
|
828
|
/* Ticket view: a label alone in its row ("Description:") sits at the left, |
|
829
|
like "User Comments:" below it */ |
|
830
|
td.tktDspLabel:only-child { text-align: left; } |
|
831
|
|
|
832
|
/* Bare <table border="1"> (user categories, unversioned files) */ |
|
833
|
.content table[border="1"] { border-collapse: collapse; border-color: var(--border); } |
|
834
|
.content table[border="1"] > * > tr > td, .content table[border="1"] > * > tr > th { border: 1px solid var(--border); padding: 4px 8px; } |
|
835
|
|
|
836
|
/* Lists Fossil marks list-style:none keep no bullets */ |
|
837
|
.content ul[style*="list-style"] > li { list-style-type: inherit; } |
|
838
|
|
|
839
|
/* Main menu: the full bar on every screen. The menu button stays pinned at |
|
840
|
the left while the entries scroll sideways beneath it, and a fade at the |
|
841
|
right edge shows there is more. (Fossil would hide entries marked |
|
842
|
desktoponly / wideonly on small screens; the display set on ".mainmenu a" |
|
843
|
above keeps them, on purpose.) */ |
|
844
|
#hbbtn { |
|
845
|
position: sticky; left: 0; z-index: 2; |
|
846
|
background: var(--surface) linear-gradient(var(--band-top), var(--surface)); |
|
847
|
} |
|
848
|
.mainmenu::after { |
|
849
|
content: ""; flex: 0 0 28px; position: sticky; right: 0; pointer-events: none; |
|
850
|
background: var(--surface) linear-gradient(var(--band-top), var(--surface)); |
|
851
|
-webkit-mask-image: linear-gradient(to right, transparent, #000 85%); mask-image: linear-gradient(to right, transparent, #000 85%); |
|
852
|
} |
|
853
|
|
|
854
|
/* Phone menu sheet: top-level entries are destinations, so they read as |
|
855
|
links in 44px rows */ |
|
856
|
@media screen and (max-width: 600px), (pointer: coarse) { |
|
857
|
ul#sitemap { padding: 0.5rem 1rem 1.5rem; } |
|
858
|
ul#sitemap > li { margin: 0; border-bottom: 1px solid var(--rule); } |
|
859
|
ul#sitemap > li > a { |
|
860
|
display: flex; align-items: center; min-height: 44px; box-sizing: border-box; |
|
861
|
font-size: 1em; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text); |
|
862
|
} |
|
863
|
ul#sitemap ul { margin: 0 0 0.4rem; } |
|
864
|
ul#sitemap ul li a { box-sizing: border-box; min-height: 44px; padding-left: 1rem; color: var(--link); } |
|
865
|
|
|
866
|
/* Touch targets */ |
|
867
|
.submenu a, .submenu label, .sectionmenu a { min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; } |
|
868
|
input[type=text], input[type=password], input[type=email], input[type=search], input[type=number], |
|
869
|
input:not([type]), input[type=input], select, input[type=submit], input[type=button], button { |
|
870
|
min-height: 44px; box-sizing: border-box; |
|
871
|
} |
|
872
|
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; } |
|
873
|
} |
|
874
|
|
|
875
|
@media screen and (max-width: 600px) { |
|
876
|
/* A long unbroken word in a timeline row (a mirrored e-mail address as the |
|
877
|
login, a path in the comment) wraps instead of widening the page */ |
|
878
|
table.timelineTable td.timelineModernCell, table.timelineTable td.timelineDetailCell, |
|
879
|
.timelineModernComment, .timelineModernDetail, |
|
880
|
.content table.timelineTable td.timelineModernCell * { overflow-wrap: anywhere; } |
|
881
|
|
|
882
|
/* Forms and their fields never exceed the screen */ |
|
883
|
.content form { max-width: 100%; } |
|
884
|
.content textarea, .content input:not([type=checkbox]):not([type=radio]), .content select { max-width: 100%; box-sizing: border-box; } |
|
885
|
body.forum .content form { display: block; } |
|
886
|
|
|
887
|
/* Markdown tables scroll inside themselves, like sortable tables */ |
|
888
|
.content table.md-table, .markdown table { display: block; max-width: 100%; overflow-x: auto; } |
|
889
|
|
|
890
|
/* Ticket reports: one line per row inside the scrolling table */ |
|
891
|
.content table.report td { white-space: nowrap; } |
|
892
|
.content table.report td:last-child { white-space: normal; min-width: 12em; max-width: 18em; } |
|
893
|
|
|
894
|
/* Tickets: Fossil's label | value tables become label above value */ |
|
895
|
body.tkt .content form > table, body.tkt .content > table[cellpadding], |
|
896
|
body.tkt .content form > table > tbody, body.tkt .content > table[cellpadding] > tbody, |
|
897
|
body.tkt .content form > table > tbody > tr, body.tkt .content > table[cellpadding] > tbody > tr { display: block; } |
|
898
|
body.tkt .content form > table > tbody > tr > td, body.tkt .content > table[cellpadding] > tbody > tr > td { |
|
899
|
display: block; width: auto; text-align: left; padding: 2px 0; |
|
900
|
} |
|
901
|
body.tkt .content > table[cellpadding] > tbody > tr > td.tktDspLabel { padding: 12px 0 3px; font-size: 0.9em; color: var(--muted); } |
|
902
|
body.tkt .content > table[cellpadding] > tbody > tr > td.tktDspValue { padding: 6px 10px; border-radius: 4px; min-height: 1.4em; overflow-wrap: anywhere; } |
|
903
|
body.tkt .content form > table > tbody > tr > td:nth-child(3) { color: var(--muted); font-size: 0.9em; } |
|
904
|
body.tkt .content form > table > tbody > tr > td[align=right] { padding-top: 12px; color: var(--muted); } |
|
905
|
|
|
906
|
/* File ages: age and file on one line, the check-in below */ |
|
907
|
body.fileage .content table:not(.timelineTable), body.fileage .content table:not(.timelineTable) > * { display: block; } |
|
908
|
body.fileage .content table:not(.timelineTable) tr { display: grid; grid-template-columns: 6.5em 1fr; border-bottom: 1px solid var(--rule); } |
|
909
|
body.fileage .content table:not(.timelineTable) td { border: 0; overflow-wrap: anywhere; } |
|
910
|
body.fileage .content table:not(.timelineTable) td:nth-child(3), body.fileage .content table:not(.timelineTable) th:nth-child(3) { |
|
911
|
grid-column: 1 / -1; max-width: none; padding-top: 0; color: var(--muted); font-size: 0.9em; |
|
912
|
} |
|
913
|
|
|
914
|
/* Admin forms: tables that hold fields stack their cells */ |
|
915
|
body.setup .content table:not(.sortable):not([border]):has(input, textarea, select), |
|
916
|
body.setup .content table:not(.sortable):not([border]):has(input, textarea, select) > tbody, |
|
917
|
body.setup .content table:not(.sortable):not([border]):has(input, textarea, select) > tbody > tr, |
|
918
|
body.setup .content table:not(.sortable):not([border]):has(input, textarea, select) > tbody > tr > td { |
|
919
|
display: block; width: auto; max-width: 100%; text-align: left; |
|
920
|
} |
|
921
|
body.setup .content textarea { width: 100%; } |
|
922
|
body.setup .content label { white-space: normal; } |
|
923
|
|
|
924
|
/* Other wide admin tables scroll inside themselves; long option lists wrap */ |
|
925
|
.content table#capabilitySummary, .cpage-rcvfromlist .content > table { display: block; max-width: 100%; overflow-x: auto; } |
|
926
|
.content tt, .cpage-secaudit0 .content li { overflow-wrap: anywhere; } |
|
927
|
|
|
928
|
/* Forum replies: 10px a level instead of Fossil's 4ex, so deep threads keep |
|
929
|
their shape and their width. Every level up to ten stays distinct. */ |
|
930
|
div.forumTime[style*="margin-left:"] { margin-left: 100px !important; } |
|
931
|
div.forumTime[style*="left:4ex"] { margin-left: 10px !important; } |
|
932
|
div.forumTime[style*="left:8ex"] { margin-left: 20px !important; } |
|
933
|
div.forumTime[style*="left:12ex"] { margin-left: 30px !important; } |
|
934
|
div.forumTime[style*="left:16ex"] { margin-left: 40px !important; } |
|
935
|
div.forumTime[style*="left:20ex"] { margin-left: 50px !important; } |
|
936
|
div.forumTime[style*="left:24ex"] { margin-left: 60px !important; } |
|
937
|
div.forumTime[style*="left:28ex"] { margin-left: 70px !important; } |
|
938
|
div.forumTime[style*="left:32ex"] { margin-left: 80px !important; } |
|
939
|
div.forumTime[style*="left:36ex"] { margin-left: 90px !important; } |
|
940
|
div.forumTime[style*="left:40ex"] { margin-left: 100px !important; } |
|
941
|
} |
|
942
|
|
|
943
|
/* Windows between phone and desktop width (a half-screen browser, a tablet): |
|
944
|
the page never scrolls sideways there either. The same measures as on |
|
945
|
phones, without the phone-only layout changes. */ |
|
946
|
@media screen and (min-width: 601px) and (max-width: 1100px) { |
|
947
|
table.label-value td { white-space: normal !important; overflow-wrap: anywhere; } |
|
948
|
table.label-value td .nobr, table.label-value td .nobr *, |
|
949
|
td.tktDspValue .nobr, td.tktDspValue .nobr * { white-space: normal !important; word-break: break-all; } |
|
950
|
.content table.sortable, .content table.report, .content table.userTable, .content table.md-table, .markdown table, |
|
951
|
.content table#capabilitySummary, .cpage-rcvfromlist .content > table { |
|
952
|
display: block; max-width: 100%; overflow-x: auto; |
|
953
|
} |
|
954
|
.content form { max-width: 100%; } |
|
955
|
.content textarea, .content input:not([type=checkbox]):not([type=radio]), .content select { max-width: 100%; box-sizing: border-box; } |
|
956
|
body.forum .content form { display: block; } |
|
957
|
.content tt, .cpage-secaudit0 .content li { overflow-wrap: anywhere; } |
|
958
|
/* Ticket forms: label above field, as on phones */ |
|
959
|
body.tkt .content form > table, body.tkt .content form > table > tbody, |
|
960
|
body.tkt .content form > table > tbody > tr { display: block; } |
|
961
|
body.tkt .content form > table > tbody > tr > td { display: block; width: auto; text-align: left; padding: 2px 0; } |
|
962
|
body.tkt .content form > table > tbody > tr > td:nth-child(3) { color: var(--muted); font-size: 0.9em; } |
|
963
|
body.tkt .content form > table > tbody > tr > td[align=right] { padding-top: 12px; color: var(--muted); } |
|
964
|
} |
|
965
|
|
|
966
|
/* A long unbroken word in any timeline entry (a wiki page named after a |
|
967
|
full hash, a path, an e-mail address as login) wraps at every width */ |
|
968
|
.content table.timelineTable td[class$="Cell"], .content table.timelineTable td[class$="Cell"] *, |
|
969
|
.content table.timelineTable span[class*="Comment"], .content table.timelineTable span[class*="Comment"] *, |
|
970
|
.content table.timelineTable span[class*="Detail"], .content table.timelineTable span[class*="Detail"] * { overflow-wrap: anywhere; } |
|
971
|
|
|
972
|
/* Login page on phones: fields stack under their labels, and the anonymous |
|
973
|
login's ASCII-art captcha scrolls inside its own box */ |
|
974
|
@media screen and (max-width: 600px) { |
|
975
|
table.login_out, table.login_out > tbody, table.login_out > tbody > tr, |
|
976
|
table.login_out > tbody > tr > td { display: block; width: auto; text-align: left; } |
|
977
|
table.login_out input[type=text], table.login_out input[type=password] { width: 100%; box-sizing: border-box; } |
|
978
|
.content table.captcha, .content div.captcha { display: block; max-width: 100%; overflow-x: auto; } |
|
979
|
} |
|
980
|
|
|
981
|
/* Long branch names and "merged into" notes wrap instead of widening the page */ |
|
982
|
body.branch .brlist > table td:first-child, body.branch .brlist > table td:last-child { |
|
983
|
white-space: normal; overflow-wrap: anywhere; |
|
984
|
} |
|
985
|
/* Submenu drop-downs never grow wider than the screen */ |
|
986
|
span.submenuctrl { max-width: 100%; min-width: 0; } |
|
987
|
.submenu select, .sectionmenu select { max-width: 100%; min-width: 0; } |
|
988
|
/* Long file names, search snippets, login notes and help options wrap */ |
|
989
|
ul.browser a, .content .snippet, body.rpage-search .content li, |
|
990
|
body.login .content p, dl.helpOptions dt, dl.helpOptions dd { overflow-wrap: anywhere; } |
|
991
|
/* Fossil sizes the file browser's columns from the longest name and keeps |
|
992
|
names on one line. On phones use one column and let a long name wrap. */ |
|
993
|
@media screen and (max-width: 600px) { |
|
994
|
.content div.columns { columns: auto 1 !important; } |
|
995
|
.content ul.browser { white-space: normal; } |
|
996
|
} |
|
997
|
|
|
998
|
/* A message's header line (sender, number, time) may wrap. Fossil keeps it |
|
999
|
on one line, so a long login made the message list scroll sideways. */ |
|
1000
|
body.chat div.message-widget .message-widget-tab { white-space: normal; overflow-wrap: anywhere; max-width: 100%; } |
|
1001
|
|