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