summaryrefslogtreecommitdiffabout
path: root/cgit.css
authorLars Hjemli <hjemli@gmail.com>2007-10-28 14:23:00 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-10-28 14:23:00 (UTC)
commit68ca032dbe7379f78775fb03ef34a9ad2abc409f (patch) (unidiff)
tree2209ae312eb932bc61b41ae9c774f6cfcc3dd372 /cgit.css
parent6ec5f36f279a85f59db2851ab476d9acd0015770 (diff)
downloadcgit-68ca032dbe7379f78775fb03ef34a9ad2abc409f.zip
cgit-68ca032dbe7379f78775fb03ef34a9ad2abc409f.tar.gz
cgit-68ca032dbe7379f78775fb03ef34a9ad2abc409f.tar.bz2
Teach log search about --grep, --author and --committer
This makes the log searching more explicit, using a dropdown box to specify the commit field to match against. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css19
1 files changed, 18 insertions, 1 deletions
diff --git a/cgit.css b/cgit.css
index b8c3d81..5d47099 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1,437 +1,454 @@
1body { 1body {
2 font-family: arial, sans-serif; 2 font-family: arial, sans-serif;
3 font-size: 11pt; 3 font-size: 11pt;
4 color: black; 4 color: black;
5 background: white; 5 background: white;
6} 6}
7 7
8body, table { 8body, table {
9 padding: 0em; 9 padding: 0em;
10 margin: 0em; 10 margin: 0em;
11} 11}
12 12
13table { 13table {
14 border-collapse: collapse; 14 border-collapse: collapse;
15} 15}
16 16
17h2 { 17h2 {
18 font-size: 120%; 18 font-size: 120%;
19 font-weight: bold; 19 font-weight: bold;
20 margin-top: 0em; 20 margin-top: 0em;
21 margin-bottom: 0.25em; 21 margin-bottom: 0.25em;
22} 22}
23 23
24h3 { 24h3 {
25 margin-top: 0em; 25 margin-top: 0em;
26 font-size: 100%; 26 font-size: 100%;
27 font-weight: normal; 27 font-weight: normal;
28} 28}
29 29
30h4 { 30h4 {
31 margin-top: 1.5em; 31 margin-top: 1.5em;
32 margin-bottom: 0.1em; 32 margin-bottom: 0.1em;
33 font-size: 100%; 33 font-size: 100%;
34 font-weight: bold; 34 font-weight: bold;
35} 35}
36 36
37a { 37a {
38 color: blue; 38 color: blue;
39 text-decoration: none; 39 text-decoration: none;
40} 40}
41 41
42a:hover { 42a:hover {
43 text-decoration: underline; 43 text-decoration: underline;
44} 44}
45 45
46table.list { 46table.list {
47 border: none; 47 border: none;
48 border-collapse: collapse; 48 border-collapse: collapse;
49} 49}
50 50
51table.list tr { 51table.list tr {
52 background: white; 52 background: white;
53} 53}
54 54
55table.list tr:hover { 55table.list tr:hover {
56 background: #eee; 56 background: #eee;
57} 57}
58 58
59table.list tr.nohover:hover { 59table.list tr.nohover:hover {
60 background: white; 60 background: white;
61} 61}
62 62
63table.list th { 63table.list th {
64 font-weight: bold; 64 font-weight: bold;
65 border-bottom: solid 1px #777; 65 border-bottom: solid 1px #777;
66 padding: 0.1em 0.5em 0.1em 0.5em; 66 padding: 0.1em 0.5em 0.1em 0.5em;
67 vertical-align: baseline; 67 vertical-align: baseline;
68} 68}
69 69
70table.list td { 70table.list td {
71 border: none; 71 border: none;
72 padding: 0.1em 0.5em 0.1em 0.5em; 72 padding: 0.1em 0.5em 0.1em 0.5em;
73} 73}
74 74
75img { 75img {
76 border: none; 76 border: none;
77} 77}
78 78
79table#layout { 79table#layout {
80 width: 100%; 80 width: 100%;
81 border-collapse: collapse; 81 border-collapse: collapse;
82 margin: 0px; 82 margin: 0px;
83} 83}
84 84
85td#header, td#logo { 85td#header, td#logo {
86 color: #666; 86 color: #666;
87 background-color: #ddd; 87 background-color: #ddd;
88 border-bottom: solid 1px #000; 88 border-bottom: solid 1px #000;
89} 89}
90 90
91td#header { 91td#header {
92 font-size: 150%; 92 font-size: 150%;
93 font-weight: bold; 93 font-weight: bold;
94 padding: 0.2em 0.5em; 94 padding: 0.2em 0.5em;
95 vertical-align: text-bottom; 95 vertical-align: text-bottom;
96} 96}
97 97
98td#header a { 98td#header a {
99 color: #666; 99 color: #666;
100} 100}
101 101
102td#header a:hover { 102td#header a:hover {
103 text-decoration: underline; 103 text-decoration: underline;
104} 104}
105 105
106td#logo { 106td#logo {
107 text-align: right; 107 text-align: right;
108 vertical-align: middle; 108 vertical-align: middle;
109 padding-right: 0.5em; 109 padding-right: 0.5em;
110} 110}
111 111
112td#crumb, td#search { 112td#crumb, td#search {
113 color: #ccc; 113 color: #ccc;
114 border-top: solid 3px #555; 114 border-top: solid 3px #555;
115 background-color: #666; 115 background-color: #666;
116 border-bottom: solid 1px #333; 116 border-bottom: solid 1px #333;
117 padding: 2px 1em; 117 padding: 2px 1em;
118} 118}
119 119
120td#crumb { 120td#crumb {
121 font-weight: bold; 121 font-weight: bold;
122} 122}
123 123
124td#crumb a { 124td#crumb a {
125 color: #ccc; 125 color: #ccc;
126 background-color: #666; 126 background-color: #666;
127 padding: 0em 0.5em 0em 0.5em; 127 padding: 0em 0.5em 0em 0.5em;
128} 128}
129 129
130td#crumb a:hover { 130td#crumb a:hover {
131 color: #666; 131 color: #666;
132 background-color: #ccc; 132 background-color: #ccc;
133 text-decoration: none; 133 text-decoration: none;
134} 134}
135 135
136td#search { 136td#search {
137 text-align: right; 137 text-align: right;
138 vertical-align: middle; 138 vertical-align: middle;
139 padding-right: 0.5em; 139 padding-right: 0.5em;
140} 140}
141 141
142td#search form { 142td#search form {
143 margin: 0px; 143 margin: 0px;
144 padding: 0px; 144 padding: 0px;
145} 145}
146 146
147td#search select {
148 font-size: 9pt;
149 padding: 0px;
150 border: solid 1px #333;
151 color: #333;
152 background-color: #fff;
153}
154
147td#search input { 155td#search input {
148 font-size: 9pt; 156 font-size: 9pt;
149 padding: 0px; 157 padding: 0px;
150 width: 10em; 158}
159
160td#search input.txt {
161 width: 8em;
151 border: solid 1px #333; 162 border: solid 1px #333;
152 color: #333; 163 color: #333;
153 background-color: #fff; 164 background-color: #fff;
154} 165}
155 166
167td#search input.btn {
168 border: solid 1px #333;
169 color: #333;
170 background-color: #ccc;
171}
172
156div#summary { 173div#summary {
157 vertical-align: top; 174 vertical-align: top;
158 margin-bottom: 1em; 175 margin-bottom: 1em;
159} 176}
160 177
161table#downloads { 178table#downloads {
162 float: right; 179 float: right;
163 border-collapse: collapse; 180 border-collapse: collapse;
164 border: solid 1px #777; 181 border: solid 1px #777;
165 margin-left: 0.5em; 182 margin-left: 0.5em;
166 margin-bottom: 0.5em; 183 margin-bottom: 0.5em;
167} 184}
168 185
169table#downloads th { 186table#downloads th {
170 background-color: #ccc; 187 background-color: #ccc;
171} 188}
172 189
173td#content { 190td#content {
174 padding: 1em 0.5em; 191 padding: 1em 0.5em;
175} 192}
176 193
177div#blob { 194div#blob {
178 border: solid 1px black; 195 border: solid 1px black;
179} 196}
180 197
181div.error { 198div.error {
182 color: red; 199 color: red;
183 font-weight: bold; 200 font-weight: bold;
184 margin: 1em 2em; 201 margin: 1em 2em;
185} 202}
186 203
187a.ls-blob, a.ls-dir, a.ls-mod { 204a.ls-blob, a.ls-dir, a.ls-mod {
188 font-family: monospace; 205 font-family: monospace;
189} 206}
190 207
191td.ls-size { 208td.ls-size {
192 text-align: right; 209 text-align: right;
193} 210}
194 211
195td.ls-size { 212td.ls-size {
196 font-family: monospace; 213 font-family: monospace;
197} 214}
198 215
199td.ls-mode { 216td.ls-mode {
200 font-family: monospace; 217 font-family: monospace;
201} 218}
202 219
203table.blob { 220table.blob {
204 margin-top: 0.5em; 221 margin-top: 0.5em;
205 border-top: solid 1px black; 222 border-top: solid 1px black;
206} 223}
207 224
208table.blob td.no { 225table.blob td.no {
209 border-right: solid 1px black; 226 border-right: solid 1px black;
210 color: black; 227 color: black;
211 background-color: #eee; 228 background-color: #eee;
212 text-align: right; 229 text-align: right;
213} 230}
214 231
215table.blob td.no a { 232table.blob td.no a {
216 color: black; 233 color: black;
217} 234}
218 235
219table.blob td.no a:hover { 236table.blob td.no a:hover {
220 color: black; 237 color: black;
221 text-decoration: none; 238 text-decoration: none;
222} 239}
223 240
224table.blob td.txt { 241table.blob td.txt {
225 white-space: pre; 242 white-space: pre;
226 font-family: monospace; 243 font-family: monospace;
227 padding-left: 0.5em; 244 padding-left: 0.5em;
228} 245}
229 246
230table.nowrap td { 247table.nowrap td {
231 white-space: nowrap; 248 white-space: nowrap;
232} 249}
233 250
234table.commit-info { 251table.commit-info {
235 border-collapse: collapse; 252 border-collapse: collapse;
236 margin-top: 1.5em; 253 margin-top: 1.5em;
237} 254}
238 255
239table.commit-info th { 256table.commit-info th {
240 text-align: left; 257 text-align: left;
241 font-weight: normal; 258 font-weight: normal;
242 padding: 0.1em 1em 0.1em 0.1em; 259 padding: 0.1em 1em 0.1em 0.1em;
243 vertical-align: top; 260 vertical-align: top;
244} 261}
245 262
246table.commit-info td { 263table.commit-info td {
247 font-weight: normal; 264 font-weight: normal;
248 padding: 0.1em 1em 0.1em 0.1em; 265 padding: 0.1em 1em 0.1em 0.1em;
249} 266}
250 267
251div.commit-subject { 268div.commit-subject {
252 font-weight: bold; 269 font-weight: bold;
253 font-size: 125%; 270 font-size: 125%;
254 margin: 1.5em 0em 0.5em 0em; 271 margin: 1.5em 0em 0.5em 0em;
255 padding: 0em; 272 padding: 0em;
256} 273}
257 274
258div.commit-msg { 275div.commit-msg {
259 white-space: pre; 276 white-space: pre;
260 font-family: monospace; 277 font-family: monospace;
261} 278}
262 279
263div.diffstat-header { 280div.diffstat-header {
264 font-weight: bold; 281 font-weight: bold;
265 padding-top: 1.5em; 282 padding-top: 1.5em;
266} 283}
267 284
268table.diffstat { 285table.diffstat {
269 border-collapse: collapse; 286 border-collapse: collapse;
270 width: 100%; 287 width: 100%;
271 border: solid 1px #aaa; 288 border: solid 1px #aaa;
272 background-color: #eee; 289 background-color: #eee;
273} 290}
274 291
275table.diffstat th { 292table.diffstat th {
276 font-weight: normal; 293 font-weight: normal;
277 text-align: left; 294 text-align: left;
278 text-decoration: underline; 295 text-decoration: underline;
279 padding: 0.1em 1em 0.1em 0.1em; 296 padding: 0.1em 1em 0.1em 0.1em;
280 font-size: 100%; 297 font-size: 100%;
281} 298}
282 299
283table.diffstat td { 300table.diffstat td {
284 padding: 0.2em 0.2em 0.1em 0.1em; 301 padding: 0.2em 0.2em 0.1em 0.1em;
285 font-size: 100%; 302 font-size: 100%;
286 border: none; 303 border: none;
287} 304}
288 305
289table.diffstat td.mode { 306table.diffstat td.mode {
290 white-space: nowrap; 307 white-space: nowrap;
291} 308}
292 309
293table.diffstat td span.modechange { 310table.diffstat td span.modechange {
294 padding-left: 1em; 311 padding-left: 1em;
295 color: red; 312 color: red;
296} 313}
297 314
298table.diffstat td.add a { 315table.diffstat td.add a {
299 color: green; 316 color: green;
300} 317}
301 318
302table.diffstat td.del a { 319table.diffstat td.del a {
303 color: red; 320 color: red;
304} 321}
305 322
306table.diffstat td.upd a { 323table.diffstat td.upd a {
307 color: blue; 324 color: blue;
308} 325}
309 326
310table.diffstat td.graph { 327table.diffstat td.graph {
311 width: 75%; 328 width: 75%;
312 vertical-align: middle; 329 vertical-align: middle;
313} 330}
314 331
315table.diffstat td.graph table { 332table.diffstat td.graph table {
316 border: none; 333 border: none;
317} 334}
318 335
319table.diffstat td.graph td { 336table.diffstat td.graph td {
320 padding: 0px; 337 padding: 0px;
321 border: 0px; 338 border: 0px;
322 height: 7pt; 339 height: 7pt;
323} 340}
324 341
325table.diffstat td.graph td.add { 342table.diffstat td.graph td.add {
326 background-color: #5c5; 343 background-color: #5c5;
327} 344}
328 345
329table.diffstat td.graph td.rem { 346table.diffstat td.graph td.rem {
330 background-color: #c55; 347 background-color: #c55;
331} 348}
332 349
333div.diffstat-summary { 350div.diffstat-summary {
334 color: #888; 351 color: #888;
335 padding-top: 0.5em; 352 padding-top: 0.5em;
336} 353}
337 354
338table.diff { 355table.diff {
339 width: 100%; 356 width: 100%;
340} 357}
341 358
342table.diff td { 359table.diff td {
343 font-family: monospace; 360 font-family: monospace;
344 white-space: pre; 361 white-space: pre;
345} 362}
346 363
347table.diff td div.head { 364table.diff td div.head {
348 font-weight: bold; 365 font-weight: bold;
349 margin-top: 1em; 366 margin-top: 1em;
350 background-color: #eee; 367 background-color: #eee;
351} 368}
352 369
353table.diff td div.hunk { 370table.diff td div.hunk {
354 color: #009; 371 color: #009;
355} 372}
356 373
357table.diff td div.add { 374table.diff td div.add {
358 color: green; 375 color: green;
359} 376}
360 377
361table.diff td div.del { 378table.diff td div.del {
362 color: red; 379 color: red;
363} 380}
364 381
365.sha1 { 382.sha1 {
366 font-family: monospace; 383 font-family: monospace;
367 font-size: 90%; 384 font-size: 90%;
368} 385}
369 386
370.left { 387.left {
371 text-align: left; 388 text-align: left;
372} 389}
373 390
374.right { 391.right {
375 text-align: right; 392 text-align: right;
376} 393}
377 394
378table.list td.repogroup { 395table.list td.repogroup {
379 font-style: italic; 396 font-style: italic;
380 color: #888; 397 color: #888;
381} 398}
382 399
383a.button { 400a.button {
384 font-size: 80%; 401 font-size: 80%;
385 color: #aaa; 402 color: #aaa;
386 background-color: #eee; 403 background-color: #eee;
387 border: solid 1px #aaa; 404 border: solid 1px #aaa;
388 padding: 0em 0.5em; 405 padding: 0em 0.5em;
389 margin: 0.1em 0.25em; 406 margin: 0.1em 0.25em;
390} 407}
391 408
392a.button:hover { 409a.button:hover {
393 text-decoration: none; 410 text-decoration: none;
394 color: #333; 411 color: #333;
395 background-color: #ccc; 412 background-color: #ccc;
396} 413}
397 414
398a.primary { 415a.primary {
399 font-size: 100%; 416 font-size: 100%;
400} 417}
401 418
402a.secondary { 419a.secondary {
403 font-size: 90%; 420 font-size: 90%;
404} 421}
405 422
406td.toplevel-repo { 423td.toplevel-repo {
407 424
408} 425}
409 426
410table.list td.sublevel-repo { 427table.list td.sublevel-repo {
411 padding-left: 1.5em; 428 padding-left: 1.5em;
412} 429}
413 430
414span.age-mins { 431span.age-mins {
415 font-weight: bold; 432 font-weight: bold;
416 color: #080; 433 color: #080;
417} 434}
418 435
419span.age-hours { 436span.age-hours {
420 color: #080; 437 color: #080;
421} 438}
422 439
423span.age-days { 440span.age-days {
424 color: #040; 441 color: #040;
425} 442}
426 443
427span.age-weeks { 444span.age-weeks {
428 color: #444; 445 color: #444;
429} 446}
430 447
431span.age-months { 448span.age-months {
432 color: #888; 449 color: #888;
433} 450}
434 451
435span.age-years { 452span.age-years {
436 color: #bbb; 453 color: #bbb;
437} 454}