summaryrefslogtreecommitdiffabout
path: root/cgit.css
Unidiff
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css21
1 files changed, 19 insertions, 2 deletions
diff --git a/cgit.css b/cgit.css
index 53c93f2..87fd00a 100644
--- a/cgit.css
+++ b/cgit.css
@@ -239,92 +239,109 @@ div.commit-msg {
239table.diffstat { 239table.diffstat {
240 border-collapse: collapse; 240 border-collapse: collapse;
241 margin-top: 1.5em; 241 margin-top: 1.5em;
242 width: 100%; 242 width: 100%;
243 border: solid 1px #aaa; 243 border: solid 1px #aaa;
244 background-color: #eee; 244 background-color: #eee;
245} 245}
246 246
247table.diffstat tr:hover { 247table.diffstat tr:hover {
248 background-color: #ccc; 248 background-color: #ccc;
249} 249}
250 250
251table.diffstat th { 251table.diffstat th {
252 font-weight: normal; 252 font-weight: normal;
253 text-align: left; 253 text-align: left;
254 text-decoration: underline; 254 text-decoration: underline;
255 padding: 0.1em 1em 0.1em 0.1em; 255 padding: 0.1em 1em 0.1em 0.1em;
256 font-size: 100%; 256 font-size: 100%;
257} 257}
258 258
259table.diffstat td { 259table.diffstat td {
260 padding: 0.2em 0.2em 0.1em 0.1em; 260 padding: 0.2em 0.2em 0.1em 0.1em;
261 font-size: 100%; 261 font-size: 100%;
262 border: none; 262 border: none;
263} 263}
264 264
265table.diffstat td span.modechange { 265table.diffstat td span.modechange {
266 padding-left: 1em; 266 padding-left: 1em;
267 color: red; 267 color: red;
268} 268}
269 269
270table.diffstat td.add a { 270table.diffstat td.add a {
271 color: green; 271 color: green;
272} 272}
273 273
274table.diffstat td.del a { 274table.diffstat td.del a {
275 color: red; 275 color: red;
276} 276}
277 277
278table.diffstat td.upd a { 278table.diffstat td.upd a {
279 color: blue; 279 color: blue;
280} 280}
281 281
282table.diffstat td.graph { 282table.diffstat td.graph {
283 width: 75%; 283 width: 75%;
284 vertical-align: center; 284 vertical-align: center;
285} 285}
286 286
287table.diffstat td.graph img { 287table.diffstat td.graph table {
288 border: none; 288 border: none;
289 height: 8pt; 289}
290
291table.diffstat td.graph td {
292 padding: 0px;
293 border: 0px;
294 height: 7pt;
295}
296
297table.diffstat td.graph td.add {
298 background-color: #5c5;
299}
300
301table.diffstat td.graph td.rem {
302 background-color: #c55;
303}
304
305table.diffstat td.graph td.none {
306 background-color: none;
290} 307}
291 308
292div.diffstat-summary { 309div.diffstat-summary {
293 color: #888; 310 color: #888;
294 padding-top: 0.5em; 311 padding-top: 0.5em;
295} 312}
296 313
297table.diff td { 314table.diff td {
298 font-family: monospace; 315 font-family: monospace;
299 white-space: pre; 316 white-space: pre;
300} 317}
301 318
302table.diff td div.head { 319table.diff td div.head {
303 font-weight: bold; 320 font-weight: bold;
304 padding-top: 1em; 321 padding-top: 1em;
305} 322}
306 323
307table.diff td div.hunk { 324table.diff td div.hunk {
308 color: #009; 325 color: #009;
309} 326}
310 327
311table.diff td div.add { 328table.diff td div.add {
312 color: green; 329 color: green;
313} 330}
314 331
315table.diff td div.del { 332table.diff td div.del {
316 color: red; 333 color: red;
317} 334}
318 335
319.sha1 { 336.sha1 {
320 font-family: courier; 337 font-family: courier;
321 font-size: 90%; 338 font-size: 90%;
322} 339}
323 340
324.left { 341.left {
325 text-align: left; 342 text-align: left;
326} 343}
327 344
328.right { 345.right {
329 text-align: right; 346 text-align: right;
330} 347}