author | Lars Hjemli <hjemli@gmail.com> | 2010-08-04 01:10:24 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-08-04 01:10:24 (UTC) |
commit | e6c960c7c0f0d2e54b51cc43ef190df3ce52755e (patch) (unidiff) | |
tree | 29b49ca32a3de23b58ef5c2b7e522b607b60f356 /cgit.css | |
parent | 6a8f65bf184d85a0c51ffecca16f48e6f4b1ff12 (diff) | |
parent | 39c2e224d3c55dfa1a7668399897be295be07dc7 (diff) | |
download | cgit-e6c960c7c0f0d2e54b51cc43ef190df3ce52755e.zip cgit-e6c960c7c0f0d2e54b51cc43ef190df3ce52755e.tar.gz cgit-e6c960c7c0f0d2e54b51cc43ef190df3ce52755e.tar.bz2 |
Merge branch 'js/notes'
-rw-r--r-- | cgit.css | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -39,418 +39,447 @@ table#header td.main { | |||
39 | white-space: nowrap; | 39 | white-space: nowrap; |
40 | } | 40 | } |
41 | 41 | ||
42 | table#header td.main a { | 42 | table#header td.main a { |
43 | color: #000; | 43 | color: #000; |
44 | } | 44 | } |
45 | 45 | ||
46 | table#header td.form { | 46 | table#header td.form { |
47 | text-align: right; | 47 | text-align: right; |
48 | vertical-align: bottom; | 48 | vertical-align: bottom; |
49 | padding-right: 1em; | 49 | padding-right: 1em; |
50 | padding-bottom: 2px; | 50 | padding-bottom: 2px; |
51 | white-space: nowrap; | 51 | white-space: nowrap; |
52 | } | 52 | } |
53 | 53 | ||
54 | table#header td.form form, | 54 | table#header td.form form, |
55 | table#header td.form input, | 55 | table#header td.form input, |
56 | table#header td.form select { | 56 | table#header td.form select { |
57 | font-size: 90%; | 57 | font-size: 90%; |
58 | } | 58 | } |
59 | 59 | ||
60 | table#header td.sub { | 60 | table#header td.sub { |
61 | color: #777; | 61 | color: #777; |
62 | border-top: solid 1px #ccc; | 62 | border-top: solid 1px #ccc; |
63 | padding-left: 10px; | 63 | padding-left: 10px; |
64 | } | 64 | } |
65 | 65 | ||
66 | table.tabs { | 66 | table.tabs { |
67 | border-bottom: solid 3px #ccc; | 67 | border-bottom: solid 3px #ccc; |
68 | border-collapse: collapse; | 68 | border-collapse: collapse; |
69 | margin-top: 2em; | 69 | margin-top: 2em; |
70 | margin-bottom: 0px; | 70 | margin-bottom: 0px; |
71 | width: 100%; | 71 | width: 100%; |
72 | } | 72 | } |
73 | 73 | ||
74 | table.tabs td { | 74 | table.tabs td { |
75 | padding: 0px 1em; | 75 | padding: 0px 1em; |
76 | vertical-align: bottom; | 76 | vertical-align: bottom; |
77 | } | 77 | } |
78 | 78 | ||
79 | table.tabs td a { | 79 | table.tabs td a { |
80 | padding: 2px 0.75em; | 80 | padding: 2px 0.75em; |
81 | color: #777; | 81 | color: #777; |
82 | font-size: 110%; | 82 | font-size: 110%; |
83 | } | 83 | } |
84 | 84 | ||
85 | table.tabs td a.active { | 85 | table.tabs td a.active { |
86 | color: #000; | 86 | color: #000; |
87 | background-color: #ccc; | 87 | background-color: #ccc; |
88 | } | 88 | } |
89 | 89 | ||
90 | table.tabs td.form { | 90 | table.tabs td.form { |
91 | text-align: right; | 91 | text-align: right; |
92 | } | 92 | } |
93 | 93 | ||
94 | table.tabs td.form form { | 94 | table.tabs td.form form { |
95 | padding-bottom: 2px; | 95 | padding-bottom: 2px; |
96 | font-size: 90%; | 96 | font-size: 90%; |
97 | white-space: nowrap; | 97 | white-space: nowrap; |
98 | } | 98 | } |
99 | 99 | ||
100 | table.tabs td.form input, | 100 | table.tabs td.form input, |
101 | table.tabs td.form select { | 101 | table.tabs td.form select { |
102 | font-size: 90%; | 102 | font-size: 90%; |
103 | } | 103 | } |
104 | 104 | ||
105 | div.path { | 105 | div.path { |
106 | margin: 0px; | 106 | margin: 0px; |
107 | padding: 5px 2em 2px 2em; | 107 | padding: 5px 2em 2px 2em; |
108 | color: #000; | 108 | color: #000; |
109 | background-color: #eee; | 109 | background-color: #eee; |
110 | } | 110 | } |
111 | 111 | ||
112 | div.content { | 112 | div.content { |
113 | margin: 0px; | 113 | margin: 0px; |
114 | padding: 2em; | 114 | padding: 2em; |
115 | border-bottom: solid 3px #ccc; | 115 | border-bottom: solid 3px #ccc; |
116 | } | 116 | } |
117 | 117 | ||
118 | 118 | ||
119 | table.list { | 119 | table.list { |
120 | width: 100%; | 120 | width: 100%; |
121 | border: none; | 121 | border: none; |
122 | border-collapse: collapse; | 122 | border-collapse: collapse; |
123 | } | 123 | } |
124 | 124 | ||
125 | table.list tr { | 125 | table.list tr { |
126 | background: white; | 126 | background: white; |
127 | } | 127 | } |
128 | 128 | ||
129 | table.list tr.logheader { | 129 | table.list tr.logheader { |
130 | background: #eee; | 130 | background: #eee; |
131 | } | 131 | } |
132 | 132 | ||
133 | table.list tr:hover { | 133 | table.list tr:hover { |
134 | background: #eee; | 134 | background: #eee; |
135 | } | 135 | } |
136 | 136 | ||
137 | table.list tr.nohover:hover { | 137 | table.list tr.nohover:hover { |
138 | background: white; | 138 | background: white; |
139 | } | 139 | } |
140 | 140 | ||
141 | table.list th { | 141 | table.list th { |
142 | font-weight: bold; | 142 | font-weight: bold; |
143 | /* color: #888; | 143 | /* color: #888; |
144 | border-top: dashed 1px #888; | 144 | border-top: dashed 1px #888; |
145 | border-bottom: dashed 1px #888; | 145 | border-bottom: dashed 1px #888; |
146 | */ | 146 | */ |
147 | padding: 0.1em 0.5em 0.05em 0.5em; | 147 | padding: 0.1em 0.5em 0.05em 0.5em; |
148 | vertical-align: baseline; | 148 | vertical-align: baseline; |
149 | } | 149 | } |
150 | 150 | ||
151 | table.list td { | 151 | table.list td { |
152 | border: none; | 152 | border: none; |
153 | padding: 0.1em 0.5em 0.1em 0.5em; | 153 | padding: 0.1em 0.5em 0.1em 0.5em; |
154 | } | 154 | } |
155 | 155 | ||
156 | table.list td.logsubject { | 156 | table.list td.logsubject { |
157 | font-family: monospace; | 157 | font-family: monospace; |
158 | font-weight: bold; | 158 | font-weight: bold; |
159 | } | 159 | } |
160 | 160 | ||
161 | table.list td.logmsg { | 161 | table.list td.logmsg { |
162 | font-family: monospace; | 162 | font-family: monospace; |
163 | white-space: pre; | 163 | white-space: pre; |
164 | padding: 1em 0.5em 2em 0.5em; | 164 | padding: 1em 0.5em 2em 0.5em; |
165 | } | 165 | } |
166 | 166 | ||
167 | table.list td.lognotes-label { | ||
168 | text-align:right; | ||
169 | vertical-align:top; | ||
170 | } | ||
171 | |||
172 | table.list td.lognotes { | ||
173 | font-family: monospace; | ||
174 | white-space: pre; | ||
175 | padding: 0em 0.5em 2em 0.5em; | ||
176 | } | ||
177 | |||
167 | table.list td a { | 178 | table.list td a { |
168 | color: black; | 179 | color: black; |
169 | } | 180 | } |
170 | 181 | ||
171 | table.list td a.ls-dir { | 182 | table.list td a.ls-dir { |
172 | font-weight: bold; | 183 | font-weight: bold; |
173 | color: #00f; | 184 | color: #00f; |
174 | } | 185 | } |
175 | 186 | ||
176 | table.list td a:hover { | 187 | table.list td a:hover { |
177 | color: #00f; | 188 | color: #00f; |
178 | } | 189 | } |
179 | 190 | ||
180 | img { | 191 | img { |
181 | border: none; | 192 | border: none; |
182 | } | 193 | } |
183 | 194 | ||
184 | input#switch-btn { | 195 | input#switch-btn { |
185 | margin: 2px 0px 0px 0px; | 196 | margin: 2px 0px 0px 0px; |
186 | } | 197 | } |
187 | 198 | ||
188 | td#sidebar input.txt { | 199 | td#sidebar input.txt { |
189 | width: 100%; | 200 | width: 100%; |
190 | margin: 2px 0px 0px 0px; | 201 | margin: 2px 0px 0px 0px; |
191 | } | 202 | } |
192 | 203 | ||
193 | table#grid { | 204 | table#grid { |
194 | margin: 0px; | 205 | margin: 0px; |
195 | } | 206 | } |
196 | 207 | ||
197 | td#content { | 208 | td#content { |
198 | vertical-align: top; | 209 | vertical-align: top; |
199 | padding: 1em 2em 1em 1em; | 210 | padding: 1em 2em 1em 1em; |
200 | border: none; | 211 | border: none; |
201 | } | 212 | } |
202 | 213 | ||
203 | div#summary { | 214 | div#summary { |
204 | vertical-align: top; | 215 | vertical-align: top; |
205 | margin-bottom: 1em; | 216 | margin-bottom: 1em; |
206 | } | 217 | } |
207 | 218 | ||
208 | table#downloads { | 219 | table#downloads { |
209 | float: right; | 220 | float: right; |
210 | border-collapse: collapse; | 221 | border-collapse: collapse; |
211 | border: solid 1px #777; | 222 | border: solid 1px #777; |
212 | margin-left: 0.5em; | 223 | margin-left: 0.5em; |
213 | margin-bottom: 0.5em; | 224 | margin-bottom: 0.5em; |
214 | } | 225 | } |
215 | 226 | ||
216 | table#downloads th { | 227 | table#downloads th { |
217 | background-color: #ccc; | 228 | background-color: #ccc; |
218 | } | 229 | } |
219 | 230 | ||
220 | div#blob { | 231 | div#blob { |
221 | border: solid 1px black; | 232 | border: solid 1px black; |
222 | } | 233 | } |
223 | 234 | ||
224 | div.error { | 235 | div.error { |
225 | color: red; | 236 | color: red; |
226 | font-weight: bold; | 237 | font-weight: bold; |
227 | margin: 1em 2em; | 238 | margin: 1em 2em; |
228 | } | 239 | } |
229 | 240 | ||
230 | a.ls-blob, a.ls-dir, a.ls-mod { | 241 | a.ls-blob, a.ls-dir, a.ls-mod { |
231 | font-family: monospace; | 242 | font-family: monospace; |
232 | } | 243 | } |
233 | 244 | ||
234 | td.ls-size { | 245 | td.ls-size { |
235 | text-align: right; | 246 | text-align: right; |
236 | font-family: monospace; | 247 | font-family: monospace; |
237 | width: 10em; | 248 | width: 10em; |
238 | } | 249 | } |
239 | 250 | ||
240 | td.ls-mode { | 251 | td.ls-mode { |
241 | font-family: monospace; | 252 | font-family: monospace; |
242 | width: 10em; | 253 | width: 10em; |
243 | } | 254 | } |
244 | 255 | ||
245 | table.blob { | 256 | table.blob { |
246 | margin-top: 0.5em; | 257 | margin-top: 0.5em; |
247 | border-top: solid 1px black; | 258 | border-top: solid 1px black; |
248 | } | 259 | } |
249 | 260 | ||
250 | table.blob td.lines { | 261 | table.blob td.lines { |
251 | margin: 0; padding: 0 0 0 0.5em; | 262 | margin: 0; padding: 0 0 0 0.5em; |
252 | vertical-align: top; | 263 | vertical-align: top; |
253 | color: black; | 264 | color: black; |
254 | } | 265 | } |
255 | 266 | ||
256 | table.blob td.linenumbers { | 267 | table.blob td.linenumbers { |
257 | margin: 0; padding: 0 0.5em 0 0.5em; | 268 | margin: 0; padding: 0 0.5em 0 0.5em; |
258 | vertical-align: top; | 269 | vertical-align: top; |
259 | text-align: right; | 270 | text-align: right; |
260 | border-right: 1px solid gray; | 271 | border-right: 1px solid gray; |
261 | } | 272 | } |
262 | 273 | ||
263 | table.blob pre { | 274 | table.blob pre { |
264 | padding: 0; margin: 0; | 275 | padding: 0; margin: 0; |
265 | } | 276 | } |
266 | 277 | ||
267 | table.blob a.no { | 278 | table.blob a.no { |
268 | color: gray; | 279 | color: gray; |
269 | text-align: right; | 280 | text-align: right; |
270 | text-decoration: none; | 281 | text-decoration: none; |
271 | } | 282 | } |
272 | 283 | ||
273 | table.blob a.no a:hover { | 284 | table.blob a.no a:hover { |
274 | color: black; | 285 | color: black; |
275 | } | 286 | } |
276 | 287 | ||
277 | table.bin-blob { | 288 | table.bin-blob { |
278 | margin-top: 0.5em; | 289 | margin-top: 0.5em; |
279 | border: solid 1px black; | 290 | border: solid 1px black; |
280 | } | 291 | } |
281 | 292 | ||
282 | table.bin-blob th { | 293 | table.bin-blob th { |
283 | font-family: monospace; | 294 | font-family: monospace; |
284 | white-space: pre; | 295 | white-space: pre; |
285 | border: solid 1px #777; | 296 | border: solid 1px #777; |
286 | padding: 0.5em 1em; | 297 | padding: 0.5em 1em; |
287 | } | 298 | } |
288 | 299 | ||
289 | table.bin-blob td { | 300 | table.bin-blob td { |
290 | font-family: monospace; | 301 | font-family: monospace; |
291 | white-space: pre; | 302 | white-space: pre; |
292 | border-left: solid 1px #777; | 303 | border-left: solid 1px #777; |
293 | padding: 0em 1em; | 304 | padding: 0em 1em; |
294 | } | 305 | } |
295 | 306 | ||
296 | table.nowrap td { | 307 | table.nowrap td { |
297 | white-space: nowrap; | 308 | white-space: nowrap; |
298 | } | 309 | } |
299 | 310 | ||
300 | table.commit-info { | 311 | table.commit-info { |
301 | border-collapse: collapse; | 312 | border-collapse: collapse; |
302 | margin-top: 1.5em; | 313 | margin-top: 1.5em; |
303 | } | 314 | } |
304 | 315 | ||
305 | table.commit-info th { | 316 | table.commit-info th { |
306 | text-align: left; | 317 | text-align: left; |
307 | font-weight: normal; | 318 | font-weight: normal; |
308 | padding: 0.1em 1em 0.1em 0.1em; | 319 | padding: 0.1em 1em 0.1em 0.1em; |
309 | vertical-align: top; | 320 | vertical-align: top; |
310 | } | 321 | } |
311 | 322 | ||
312 | table.commit-info td { | 323 | table.commit-info td { |
313 | font-weight: normal; | 324 | font-weight: normal; |
314 | padding: 0.1em 1em 0.1em 0.1em; | 325 | padding: 0.1em 1em 0.1em 0.1em; |
315 | } | 326 | } |
316 | 327 | ||
317 | div.commit-subject { | 328 | div.commit-subject { |
318 | font-weight: bold; | 329 | font-weight: bold; |
319 | font-size: 125%; | 330 | font-size: 125%; |
320 | margin: 1.5em 0em 0.5em 0em; | 331 | margin: 1.5em 0em 0.5em 0em; |
321 | padding: 0em; | 332 | padding: 0em; |
322 | } | 333 | } |
323 | 334 | ||
324 | div.commit-msg { | 335 | div.commit-msg { |
325 | white-space: pre; | 336 | white-space: pre; |
326 | font-family: monospace; | 337 | font-family: monospace; |
327 | } | 338 | } |
328 | 339 | ||
340 | div.notes-header { | ||
341 | font-weight: bold; | ||
342 | padding-top: 1.5em; | ||
343 | } | ||
344 | |||
345 | div.notes { | ||
346 | white-space: pre; | ||
347 | font-family: monospace; | ||
348 | border: solid 1px #ee9; | ||
349 | background-color: #ffd; | ||
350 | padding: 0.3em 2em 0.3em 1em; | ||
351 | float: left; | ||
352 | } | ||
353 | |||
354 | div.notes-footer { | ||
355 | clear: left; | ||
356 | } | ||
357 | |||
329 | div.diffstat-header { | 358 | div.diffstat-header { |
330 | font-weight: bold; | 359 | font-weight: bold; |
331 | padding-top: 1.5em; | 360 | padding-top: 1.5em; |
332 | } | 361 | } |
333 | 362 | ||
334 | table.diffstat { | 363 | table.diffstat { |
335 | border-collapse: collapse; | 364 | border-collapse: collapse; |
336 | border: solid 1px #aaa; | 365 | border: solid 1px #aaa; |
337 | background-color: #eee; | 366 | background-color: #eee; |
338 | } | 367 | } |
339 | 368 | ||
340 | table.diffstat th { | 369 | table.diffstat th { |
341 | font-weight: normal; | 370 | font-weight: normal; |
342 | text-align: left; | 371 | text-align: left; |
343 | text-decoration: underline; | 372 | text-decoration: underline; |
344 | padding: 0.1em 1em 0.1em 0.1em; | 373 | padding: 0.1em 1em 0.1em 0.1em; |
345 | font-size: 100%; | 374 | font-size: 100%; |
346 | } | 375 | } |
347 | 376 | ||
348 | table.diffstat td { | 377 | table.diffstat td { |
349 | padding: 0.2em 0.2em 0.1em 0.1em; | 378 | padding: 0.2em 0.2em 0.1em 0.1em; |
350 | font-size: 100%; | 379 | font-size: 100%; |
351 | border: none; | 380 | border: none; |
352 | } | 381 | } |
353 | 382 | ||
354 | table.diffstat td.mode { | 383 | table.diffstat td.mode { |
355 | white-space: nowrap; | 384 | white-space: nowrap; |
356 | } | 385 | } |
357 | 386 | ||
358 | table.diffstat td span.modechange { | 387 | table.diffstat td span.modechange { |
359 | padding-left: 1em; | 388 | padding-left: 1em; |
360 | color: red; | 389 | color: red; |
361 | } | 390 | } |
362 | 391 | ||
363 | table.diffstat td.add a { | 392 | table.diffstat td.add a { |
364 | color: green; | 393 | color: green; |
365 | } | 394 | } |
366 | 395 | ||
367 | table.diffstat td.del a { | 396 | table.diffstat td.del a { |
368 | color: red; | 397 | color: red; |
369 | } | 398 | } |
370 | 399 | ||
371 | table.diffstat td.upd a { | 400 | table.diffstat td.upd a { |
372 | color: blue; | 401 | color: blue; |
373 | } | 402 | } |
374 | 403 | ||
375 | table.diffstat td.graph { | 404 | table.diffstat td.graph { |
376 | width: 500px; | 405 | width: 500px; |
377 | vertical-align: middle; | 406 | vertical-align: middle; |
378 | } | 407 | } |
379 | 408 | ||
380 | table.diffstat td.graph table { | 409 | table.diffstat td.graph table { |
381 | border: none; | 410 | border: none; |
382 | } | 411 | } |
383 | 412 | ||
384 | table.diffstat td.graph td { | 413 | table.diffstat td.graph td { |
385 | padding: 0px; | 414 | padding: 0px; |
386 | border: 0px; | 415 | border: 0px; |
387 | height: 7pt; | 416 | height: 7pt; |
388 | } | 417 | } |
389 | 418 | ||
390 | table.diffstat td.graph td.add { | 419 | table.diffstat td.graph td.add { |
391 | background-color: #5c5; | 420 | background-color: #5c5; |
392 | } | 421 | } |
393 | 422 | ||
394 | table.diffstat td.graph td.rem { | 423 | table.diffstat td.graph td.rem { |
395 | background-color: #c55; | 424 | background-color: #c55; |
396 | } | 425 | } |
397 | 426 | ||
398 | div.diffstat-summary { | 427 | div.diffstat-summary { |
399 | color: #888; | 428 | color: #888; |
400 | padding-top: 0.5em; | 429 | padding-top: 0.5em; |
401 | } | 430 | } |
402 | 431 | ||
403 | table.diff { | 432 | table.diff { |
404 | width: 100%; | 433 | width: 100%; |
405 | } | 434 | } |
406 | 435 | ||
407 | table.diff td { | 436 | table.diff td { |
408 | font-family: monospace; | 437 | font-family: monospace; |
409 | white-space: pre; | 438 | white-space: pre; |
410 | } | 439 | } |
411 | 440 | ||
412 | table.diff td div.head { | 441 | table.diff td div.head { |
413 | font-weight: bold; | 442 | font-weight: bold; |
414 | margin-top: 1em; | 443 | margin-top: 1em; |
415 | color: black; | 444 | color: black; |
416 | } | 445 | } |
417 | 446 | ||
418 | table.diff td div.hunk { | 447 | table.diff td div.hunk { |
419 | color: #009; | 448 | color: #009; |
420 | } | 449 | } |
421 | 450 | ||
422 | table.diff td div.add { | 451 | table.diff td div.add { |
423 | color: green; | 452 | color: green; |
424 | } | 453 | } |
425 | 454 | ||
426 | table.diff td div.del { | 455 | table.diff td div.del { |
427 | color: red; | 456 | color: red; |
428 | } | 457 | } |
429 | 458 | ||
430 | .sha1 { | 459 | .sha1 { |
431 | font-family: monospace; | 460 | font-family: monospace; |
432 | font-size: 90%; | 461 | font-size: 90%; |
433 | } | 462 | } |
434 | 463 | ||
435 | .left { | 464 | .left { |
436 | text-align: left; | 465 | text-align: left; |
437 | } | 466 | } |
438 | 467 | ||
439 | .right { | 468 | .right { |
440 | text-align: right; | 469 | text-align: right; |
441 | } | 470 | } |
442 | 471 | ||
443 | table.list td.reposection { | 472 | table.list td.reposection { |
444 | font-style: italic; | 473 | font-style: italic; |
445 | color: #888; | 474 | color: #888; |
446 | } | 475 | } |
447 | 476 | ||
448 | a.button { | 477 | a.button { |
449 | font-size: 80%; | 478 | font-size: 80%; |
450 | padding: 0em 0.5em; | 479 | padding: 0em 0.5em; |
451 | } | 480 | } |
452 | 481 | ||
453 | a.primary { | 482 | a.primary { |
454 | font-size: 100%; | 483 | font-size: 100%; |
455 | } | 484 | } |
456 | 485 | ||