author | Lars Hjemli <hjemli@gmail.com> | 2007-05-15 23:16:56 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-05-15 23:16:56 (UTC) |
commit | dff894d12953a8a3cd7cdca2357771212a2f57d6 (patch) (unidiff) | |
tree | 042f1fbc0594d61d97721167197506760847ce2a /cgit.css | |
parent | f9ff7df613b4ee86fe5914c4ae3400650882c03d (diff) | |
download | cgit-dff894d12953a8a3cd7cdca2357771212a2f57d6.zip cgit-dff894d12953a8a3cd7cdca2357771212a2f57d6.tar.gz cgit-dff894d12953a8a3cd7cdca2357771212a2f57d6.tar.bz2 |
Add link to commitdiff below diffstat
This link is a lot easier to locate than the links to the right of the
parent entries.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -111,237 +111,241 @@ td#crumb, td#search { | |||
111 | td#crumb { | 111 | td#crumb { |
112 | font-weight: bold; | 112 | font-weight: bold; |
113 | } | 113 | } |
114 | 114 | ||
115 | td#crumb a { | 115 | td#crumb a { |
116 | color: #ccc; | 116 | color: #ccc; |
117 | } | 117 | } |
118 | 118 | ||
119 | td#crumb a:hover { | 119 | td#crumb a:hover { |
120 | color: #eee; | 120 | color: #eee; |
121 | } | 121 | } |
122 | 122 | ||
123 | td#search { | 123 | td#search { |
124 | text-align: right; | 124 | text-align: right; |
125 | vertical-align: center; | 125 | vertical-align: center; |
126 | padding-right: 0.5em; | 126 | padding-right: 0.5em; |
127 | } | 127 | } |
128 | 128 | ||
129 | td#search form { | 129 | td#search form { |
130 | margin: 0px; | 130 | margin: 0px; |
131 | padding: 0px; | 131 | padding: 0px; |
132 | } | 132 | } |
133 | 133 | ||
134 | td#search input { | 134 | td#search input { |
135 | font-size: 9pt; | 135 | font-size: 9pt; |
136 | padding: 0px; | 136 | padding: 0px; |
137 | width: 10em; | 137 | width: 10em; |
138 | border: solid 1px #333; | 138 | border: solid 1px #333; |
139 | color: #333; | 139 | color: #333; |
140 | background-color: #fff; | 140 | background-color: #fff; |
141 | } | 141 | } |
142 | 142 | ||
143 | td#summary { | 143 | td#summary { |
144 | vertical-align: top; | 144 | vertical-align: top; |
145 | padding-bottom: 1em; | 145 | padding-bottom: 1em; |
146 | } | 146 | } |
147 | 147 | ||
148 | td#archivelist { | 148 | td#archivelist { |
149 | padding-bottom: 1em; | 149 | padding-bottom: 1em; |
150 | } | 150 | } |
151 | 151 | ||
152 | td#archivelist table { | 152 | td#archivelist table { |
153 | float: right; | 153 | float: right; |
154 | border-collapse: collapse; | 154 | border-collapse: collapse; |
155 | border: solid 1px #777; | 155 | border: solid 1px #777; |
156 | } | 156 | } |
157 | 157 | ||
158 | td#archivelist table th { | 158 | td#archivelist table th { |
159 | background-color: #ccc; | 159 | background-color: #ccc; |
160 | } | 160 | } |
161 | 161 | ||
162 | td#content { | 162 | td#content { |
163 | padding: 1em 0.5em; | 163 | padding: 1em 0.5em; |
164 | } | 164 | } |
165 | 165 | ||
166 | div#blob { | 166 | div#blob { |
167 | border: solid 1px black; | 167 | border: solid 1px black; |
168 | } | 168 | } |
169 | 169 | ||
170 | div.error { | 170 | div.error { |
171 | color: red; | 171 | color: red; |
172 | font-weight: bold; | 172 | font-weight: bold; |
173 | margin: 1em 2em; | 173 | margin: 1em 2em; |
174 | } | 174 | } |
175 | 175 | ||
176 | td.ls-blob, td.ls-dir, td.ls-mod { | 176 | td.ls-blob, td.ls-dir, td.ls-mod { |
177 | font-family: monospace; | 177 | font-family: monospace; |
178 | } | 178 | } |
179 | 179 | ||
180 | div.ls-dir a { | 180 | div.ls-dir a { |
181 | font-weight: bold; | 181 | font-weight: bold; |
182 | } | 182 | } |
183 | 183 | ||
184 | th.filesize, td.filesize { | 184 | th.filesize, td.filesize { |
185 | text-align: right; | 185 | text-align: right; |
186 | } | 186 | } |
187 | 187 | ||
188 | td.filesize { | 188 | td.filesize { |
189 | font-family: monospace; | 189 | font-family: monospace; |
190 | } | 190 | } |
191 | 191 | ||
192 | td.links { | 192 | td.links { |
193 | font-size: 80%; | 193 | font-size: 80%; |
194 | padding-left: 2em; | 194 | padding-left: 2em; |
195 | } | 195 | } |
196 | 196 | ||
197 | td.filemode { | 197 | td.filemode { |
198 | font-family: monospace; | 198 | font-family: monospace; |
199 | } | 199 | } |
200 | 200 | ||
201 | td.blob { | 201 | td.blob { |
202 | white-space: pre; | 202 | white-space: pre; |
203 | font-family: monospace; | 203 | font-family: monospace; |
204 | background-color: white; | 204 | background-color: white; |
205 | } | 205 | } |
206 | 206 | ||
207 | table.nowrap td { | 207 | table.nowrap td { |
208 | white-space: nowrap; | 208 | white-space: nowrap; |
209 | } | 209 | } |
210 | 210 | ||
211 | table.commit-info { | 211 | table.commit-info { |
212 | border-collapse: collapse; | 212 | border-collapse: collapse; |
213 | margin-top: 1.5em; | 213 | margin-top: 1.5em; |
214 | } | 214 | } |
215 | 215 | ||
216 | table.commit-info th { | 216 | table.commit-info th { |
217 | text-align: left; | 217 | text-align: left; |
218 | font-weight: normal; | 218 | font-weight: normal; |
219 | padding: 0.1em 1em 0.1em 0.1em; | 219 | padding: 0.1em 1em 0.1em 0.1em; |
220 | } | 220 | } |
221 | 221 | ||
222 | table.commit-info td { | 222 | table.commit-info td { |
223 | font-weight: normal; | 223 | font-weight: normal; |
224 | padding: 0.1em 1em 0.1em 0.1em; | 224 | padding: 0.1em 1em 0.1em 0.1em; |
225 | } | 225 | } |
226 | 226 | ||
227 | div.commit-subject { | 227 | div.commit-subject { |
228 | font-weight: bold; | 228 | font-weight: bold; |
229 | font-size: 125%; | 229 | font-size: 125%; |
230 | margin: 1.5em 0em 0.5em 0em; | 230 | margin: 1.5em 0em 0.5em 0em; |
231 | padding: 0em; | 231 | padding: 0em; |
232 | } | 232 | } |
233 | 233 | ||
234 | div.commit-msg { | 234 | div.commit-msg { |
235 | white-space: pre; | 235 | white-space: pre; |
236 | font-family: monospace; | 236 | font-family: monospace; |
237 | } | 237 | } |
238 | 238 | ||
239 | div.diffstat-header { | ||
240 | font-weight: bold; | ||
241 | padding-top: 1.5em; | ||
242 | } | ||
243 | |||
239 | table.diffstat { | 244 | table.diffstat { |
240 | border-collapse: collapse; | 245 | border-collapse: collapse; |
241 | margin-top: 1.5em; | ||
242 | width: 100%; | 246 | width: 100%; |
243 | border: solid 1px #aaa; | 247 | border: solid 1px #aaa; |
244 | background-color: #eee; | 248 | background-color: #eee; |
245 | } | 249 | } |
246 | 250 | ||
247 | table.diffstat tr:hover { | 251 | table.diffstat tr:hover { |
248 | background-color: #ccc; | 252 | background-color: #ccc; |
249 | } | 253 | } |
250 | 254 | ||
251 | table.diffstat th { | 255 | table.diffstat th { |
252 | font-weight: normal; | 256 | font-weight: normal; |
253 | text-align: left; | 257 | text-align: left; |
254 | text-decoration: underline; | 258 | text-decoration: underline; |
255 | padding: 0.1em 1em 0.1em 0.1em; | 259 | padding: 0.1em 1em 0.1em 0.1em; |
256 | font-size: 100%; | 260 | font-size: 100%; |
257 | } | 261 | } |
258 | 262 | ||
259 | table.diffstat td { | 263 | table.diffstat td { |
260 | padding: 0.2em 0.2em 0.1em 0.1em; | 264 | padding: 0.2em 0.2em 0.1em 0.1em; |
261 | font-size: 100%; | 265 | font-size: 100%; |
262 | border: none; | 266 | border: none; |
263 | } | 267 | } |
264 | 268 | ||
265 | table.diffstat td span.modechange { | 269 | table.diffstat td span.modechange { |
266 | padding-left: 1em; | 270 | padding-left: 1em; |
267 | color: red; | 271 | color: red; |
268 | } | 272 | } |
269 | 273 | ||
270 | table.diffstat td.add a { | 274 | table.diffstat td.add a { |
271 | color: green; | 275 | color: green; |
272 | } | 276 | } |
273 | 277 | ||
274 | table.diffstat td.del a { | 278 | table.diffstat td.del a { |
275 | color: red; | 279 | color: red; |
276 | } | 280 | } |
277 | 281 | ||
278 | table.diffstat td.upd a { | 282 | table.diffstat td.upd a { |
279 | color: blue; | 283 | color: blue; |
280 | } | 284 | } |
281 | 285 | ||
282 | table.diffstat td.graph { | 286 | table.diffstat td.graph { |
283 | width: 75%; | 287 | width: 75%; |
284 | vertical-align: center; | 288 | vertical-align: center; |
285 | } | 289 | } |
286 | 290 | ||
287 | table.diffstat td.graph table { | 291 | table.diffstat td.graph table { |
288 | border: none; | 292 | border: none; |
289 | } | 293 | } |
290 | 294 | ||
291 | table.diffstat td.graph td { | 295 | table.diffstat td.graph td { |
292 | padding: 0px; | 296 | padding: 0px; |
293 | border: 0px; | 297 | border: 0px; |
294 | height: 7pt; | 298 | height: 7pt; |
295 | } | 299 | } |
296 | 300 | ||
297 | table.diffstat td.graph td.add { | 301 | table.diffstat td.graph td.add { |
298 | background-color: #5c5; | 302 | background-color: #5c5; |
299 | } | 303 | } |
300 | 304 | ||
301 | table.diffstat td.graph td.rem { | 305 | table.diffstat td.graph td.rem { |
302 | background-color: #c55; | 306 | background-color: #c55; |
303 | } | 307 | } |
304 | 308 | ||
305 | table.diffstat td.graph td.none { | 309 | table.diffstat td.graph td.none { |
306 | background-color: none; | 310 | background-color: none; |
307 | } | 311 | } |
308 | 312 | ||
309 | div.diffstat-summary { | 313 | div.diffstat-summary { |
310 | color: #888; | 314 | color: #888; |
311 | padding-top: 0.5em; | 315 | padding-top: 0.5em; |
312 | } | 316 | } |
313 | 317 | ||
314 | table.diff td { | 318 | table.diff td { |
315 | font-family: monospace; | 319 | font-family: monospace; |
316 | white-space: pre; | 320 | white-space: pre; |
317 | } | 321 | } |
318 | 322 | ||
319 | table.diff td div.head { | 323 | table.diff td div.head { |
320 | font-weight: bold; | 324 | font-weight: bold; |
321 | padding-top: 1em; | 325 | padding-top: 1em; |
322 | } | 326 | } |
323 | 327 | ||
324 | table.diff td div.hunk { | 328 | table.diff td div.hunk { |
325 | color: #009; | 329 | color: #009; |
326 | } | 330 | } |
327 | 331 | ||
328 | table.diff td div.add { | 332 | table.diff td div.add { |
329 | color: green; | 333 | color: green; |
330 | } | 334 | } |
331 | 335 | ||
332 | table.diff td div.del { | 336 | table.diff td div.del { |
333 | color: red; | 337 | color: red; |
334 | } | 338 | } |
335 | 339 | ||
336 | .sha1 { | 340 | .sha1 { |
337 | font-family: courier; | 341 | font-family: courier; |
338 | font-size: 90%; | 342 | font-size: 90%; |
339 | } | 343 | } |
340 | 344 | ||
341 | .left { | 345 | .left { |
342 | text-align: left; | 346 | text-align: left; |
343 | } | 347 | } |
344 | 348 | ||
345 | .right { | 349 | .right { |
346 | text-align: right; | 350 | text-align: right; |
347 | } | 351 | } |