author | Lars Hjemli <hjemli@gmail.com> | 2007-06-29 18:32:08 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-06-29 18:32:08 (UTC) |
commit | 16a3d2779ccd56bf7954d98da547247d8796544b (patch) (unidiff) | |
tree | 86d2ed41adc3de842c7518d614ea49ca0200e4d2 /cgit.css | |
parent | f69250358a74efa5d7d9c562b2cdd80fad1430f1 (diff) | |
parent | 103940fe6b0914dc42b8b033d1d328f38135ca5f (diff) | |
download | cgit-16a3d2779ccd56bf7954d98da547247d8796544b.zip cgit-16a3d2779ccd56bf7954d98da547247d8796544b.tar.gz cgit-16a3d2779ccd56bf7954d98da547247d8796544b.tar.bz2 |
Merge branch 'lh/menu'
* lh/menu:
Add ofs argument to cgit_log_link and use it in ui-log.c
Add trim_end() and use it to remove trailing slashes from repo paths
Do not include current path in the "tree" menu link
Add setting to enable/disable extra links on index page
Change S/L/T to summary/log/tree
Change "files" to "tree"
Include querystring as part of cached filename for repo summary page
Add more menuitems on repo pages
-rw-r--r-- | cgit.css | 23 |
1 files changed, 17 insertions, 6 deletions
@@ -66,90 +66,100 @@ table.list th { | |||
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 | ||
70 | table.list td { | 70 | table.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 | ||
75 | img { | 75 | img { |
76 | border: none; | 76 | border: none; |
77 | } | 77 | } |
78 | 78 | ||
79 | table#layout { | 79 | table#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 | ||
85 | td#header, td#logo { | 85 | td#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 | ||
91 | td#header { | 91 | td#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 | ||
98 | td#header a { | ||
99 | color: #666; | ||
100 | } | ||
101 | |||
102 | td#header a:hoved { | ||
103 | text-decoration: underline; | ||
104 | } | ||
105 | |||
98 | td#logo { | 106 | td#logo { |
99 | text-align: right; | 107 | text-align: right; |
100 | vertical-align: middle; | 108 | vertical-align: middle; |
101 | padding-right: 0.5em; | 109 | padding-right: 0.5em; |
102 | } | 110 | } |
103 | 111 | ||
104 | td#crumb, td#search { | 112 | td#crumb, td#search { |
105 | color: #ccc; | 113 | color: #ccc; |
106 | border-top: solid 3px #555; | 114 | border-top: solid 3px #555; |
107 | background-color: #666; | 115 | background-color: #666; |
108 | border-bottom: solid 1px #333; | 116 | border-bottom: solid 1px #333; |
109 | padding: 2px 1em; | 117 | padding: 2px 1em; |
110 | } | 118 | } |
111 | 119 | ||
112 | td#crumb { | 120 | td#crumb { |
113 | font-weight: bold; | 121 | font-weight: bold; |
114 | } | 122 | } |
115 | 123 | ||
116 | td#crumb a { | 124 | td#crumb a { |
117 | color: #ccc; | 125 | color: #ccc; |
118 | background-color: #666; | 126 | background-color: #666; |
127 | padding: 0em 0.5em 0em 0.5em; | ||
119 | } | 128 | } |
120 | 129 | ||
121 | td#crumb a:hover { | 130 | td#crumb a:hover { |
122 | color: #eee; | 131 | color: #666; |
123 | background-color: #666; | 132 | background-color: #ccc; |
133 | text-decoration: none; | ||
124 | } | 134 | } |
125 | 135 | ||
126 | td#search { | 136 | td#search { |
127 | text-align: right; | 137 | text-align: right; |
128 | vertical-align: middle; | 138 | vertical-align: middle; |
129 | padding-right: 0.5em; | 139 | padding-right: 0.5em; |
130 | } | 140 | } |
131 | 141 | ||
132 | td#search form { | 142 | td#search form { |
133 | margin: 0px; | 143 | margin: 0px; |
134 | padding: 0px; | 144 | padding: 0px; |
135 | } | 145 | } |
136 | 146 | ||
137 | td#search input { | 147 | td#search input { |
138 | font-size: 9pt; | 148 | font-size: 9pt; |
139 | padding: 0px; | 149 | padding: 0px; |
140 | width: 10em; | 150 | width: 10em; |
141 | border: solid 1px #333; | 151 | border: solid 1px #333; |
142 | color: #333; | 152 | color: #333; |
143 | background-color: #fff; | 153 | background-color: #fff; |
144 | } | 154 | } |
145 | 155 | ||
146 | div#summary { | 156 | div#summary { |
147 | vertical-align: top; | 157 | vertical-align: top; |
148 | margin-bottom: 1em; | 158 | margin-bottom: 1em; |
149 | } | 159 | } |
150 | 160 | ||
151 | table#downloads { | 161 | table#downloads { |
152 | float: right; | 162 | float: right; |
153 | border-collapse: collapse; | 163 | border-collapse: collapse; |
154 | border: solid 1px #777; | 164 | border: solid 1px #777; |
155 | margin-left: 0.5em; | 165 | margin-left: 0.5em; |
@@ -332,74 +342,75 @@ table.diff td div.head { | |||
332 | table.diff td div.hunk { | 342 | table.diff td div.hunk { |
333 | color: #009; | 343 | color: #009; |
334 | } | 344 | } |
335 | 345 | ||
336 | table.diff td div.add { | 346 | table.diff td div.add { |
337 | color: green; | 347 | color: green; |
338 | } | 348 | } |
339 | 349 | ||
340 | table.diff td div.del { | 350 | table.diff td div.del { |
341 | color: red; | 351 | color: red; |
342 | } | 352 | } |
343 | 353 | ||
344 | .sha1 { | 354 | .sha1 { |
345 | font-family: monospace; | 355 | font-family: monospace; |
346 | font-size: 90%; | 356 | font-size: 90%; |
347 | } | 357 | } |
348 | 358 | ||
349 | .left { | 359 | .left { |
350 | text-align: left; | 360 | text-align: left; |
351 | } | 361 | } |
352 | 362 | ||
353 | .right { | 363 | .right { |
354 | text-align: right; | 364 | text-align: right; |
355 | } | 365 | } |
356 | 366 | ||
357 | table.list td.repogroup { | 367 | table.list td.repogroup { |
358 | font-style: italic; | 368 | font-style: italic; |
359 | color: #888; | 369 | color: #888; |
360 | } | 370 | } |
361 | 371 | ||
362 | a.button { | 372 | a.button { |
363 | font-size: 80%; | 373 | font-size: 80%; |
364 | color: #333; | 374 | color: #aaa; |
365 | background-color: #ccc; | 375 | background-color: #eee; |
366 | border: solid 1px #999; | 376 | border: solid 1px #aaa; |
367 | padding: 0em 0.5em; | 377 | padding: 0em 0.5em; |
368 | margin: 0.1em 0.25em; | 378 | margin: 0.1em 0.25em; |
369 | } | 379 | } |
370 | 380 | ||
371 | a.button:hover { | 381 | a.button:hover { |
372 | text-decoration: none; | 382 | text-decoration: none; |
373 | background-color: #eee; | 383 | color: #333; |
384 | background-color: #ccc; | ||
374 | } | 385 | } |
375 | 386 | ||
376 | a.primary { | 387 | a.primary { |
377 | font-size: 100%; | 388 | font-size: 100%; |
378 | } | 389 | } |
379 | 390 | ||
380 | a.secondary { | 391 | a.secondary { |
381 | font-size: 90%; | 392 | font-size: 90%; |
382 | } | 393 | } |
383 | 394 | ||
384 | td.toplevel-repo { | 395 | td.toplevel-repo { |
385 | 396 | ||
386 | } | 397 | } |
387 | 398 | ||
388 | table.list td.sublevel-repo { | 399 | table.list td.sublevel-repo { |
389 | padding-left: 1.5em; | 400 | padding-left: 1.5em; |
390 | } | 401 | } |
391 | 402 | ||
392 | span.age-mins { | 403 | span.age-mins { |
393 | font-weight: bold; | 404 | font-weight: bold; |
394 | color: #080; | 405 | color: #080; |
395 | } | 406 | } |
396 | 407 | ||
397 | span.age-hours { | 408 | span.age-hours { |
398 | color: #080; | 409 | color: #080; |
399 | } | 410 | } |
400 | 411 | ||
401 | span.age-days { | 412 | span.age-days { |
402 | color: #040; | 413 | color: #040; |
403 | } | 414 | } |
404 | 415 | ||
405 | span.age-weeks { | 416 | span.age-weeks { |