summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2007-10-01 10:09:07 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-10-01 10:09:41 (UTC)
commit7e1af8ad92abb4efc1d2069f0fa348f273d1e693 (patch) (unidiff)
treed0cc6d7d7ff812dd25c253dec76b9cc1931003e9
parent0ec8791ca0c980b721814cf0140204d56586fa63 (diff)
downloadcgit-7e1af8ad92abb4efc1d2069f0fa348f273d1e693.zip
cgit-7e1af8ad92abb4efc1d2069f0fa348f273d1e693.tar.gz
cgit-7e1af8ad92abb4efc1d2069f0fa348f273d1e693.tar.bz2
css: remove the annoying tr:hover rule for diffstat
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css4
1 files changed, 0 insertions, 4 deletions
diff --git a/cgit.css b/cgit.css
index 54bbfcc..141bec8 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1,436 +1,432 @@
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:hoved { 102td#header a:hoved {
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 input { 147td#search input {
148 font-size: 9pt; 148 font-size: 9pt;
149 padding: 0px; 149 padding: 0px;
150 width: 10em; 150 width: 10em;
151 border: solid 1px #333; 151 border: solid 1px #333;
152 color: #333; 152 color: #333;
153 background-color: #fff; 153 background-color: #fff;
154} 154}
155 155
156div#summary { 156div#summary {
157 vertical-align: top; 157 vertical-align: top;
158 margin-bottom: 1em; 158 margin-bottom: 1em;
159} 159}
160 160
161table#downloads { 161table#downloads {
162 float: right; 162 float: right;
163 border-collapse: collapse; 163 border-collapse: collapse;
164 border: solid 1px #777; 164 border: solid 1px #777;
165 margin-left: 0.5em; 165 margin-left: 0.5em;
166 margin-bottom: 0.5em; 166 margin-bottom: 0.5em;
167} 167}
168 168
169table#downloads th { 169table#downloads th {
170 background-color: #ccc; 170 background-color: #ccc;
171} 171}
172 172
173td#content { 173td#content {
174 padding: 1em 0.5em; 174 padding: 1em 0.5em;
175} 175}
176 176
177div#blob { 177div#blob {
178 border: solid 1px black; 178 border: solid 1px black;
179} 179}
180 180
181div.error { 181div.error {
182 color: red; 182 color: red;
183 font-weight: bold; 183 font-weight: bold;
184 margin: 1em 2em; 184 margin: 1em 2em;
185} 185}
186 186
187a.ls-blob, a.ls-dir, a.ls-mod { 187a.ls-blob, a.ls-dir, a.ls-mod {
188 font-family: monospace; 188 font-family: monospace;
189} 189}
190 190
191td.ls-size { 191td.ls-size {
192 text-align: right; 192 text-align: right;
193} 193}
194 194
195td.ls-size { 195td.ls-size {
196 font-family: monospace; 196 font-family: monospace;
197} 197}
198 198
199td.ls-mode { 199td.ls-mode {
200 font-family: monospace; 200 font-family: monospace;
201} 201}
202 202
203table.blob { 203table.blob {
204 margin-top: 0.5em; 204 margin-top: 0.5em;
205 border-top: solid 1px black; 205 border-top: solid 1px black;
206} 206}
207 207
208table.blob td.no { 208table.blob td.no {
209 border-right: solid 1px black; 209 border-right: solid 1px black;
210 color: black; 210 color: black;
211 background-color: #eee; 211 background-color: #eee;
212 text-align: right; 212 text-align: right;
213} 213}
214 214
215table.blob td.no a { 215table.blob td.no a {
216 color: black; 216 color: black;
217} 217}
218 218
219table.blob td.no a:hover { 219table.blob td.no a:hover {
220 color: black; 220 color: black;
221 text-decoration: none; 221 text-decoration: none;
222} 222}
223 223
224table.blob td.txt { 224table.blob td.txt {
225 white-space: pre; 225 white-space: pre;
226 font-family: monospace; 226 font-family: monospace;
227 padding-left: 0.5em; 227 padding-left: 0.5em;
228} 228}
229 229
230table.nowrap td { 230table.nowrap td {
231 white-space: nowrap; 231 white-space: nowrap;
232} 232}
233 233
234table.commit-info { 234table.commit-info {
235 border-collapse: collapse; 235 border-collapse: collapse;
236 margin-top: 1.5em; 236 margin-top: 1.5em;
237} 237}
238 238
239table.commit-info th { 239table.commit-info th {
240 text-align: left; 240 text-align: left;
241 font-weight: normal; 241 font-weight: normal;
242 padding: 0.1em 1em 0.1em 0.1em; 242 padding: 0.1em 1em 0.1em 0.1em;
243 vertical-align: top; 243 vertical-align: top;
244} 244}
245 245
246table.commit-info td { 246table.commit-info td {
247 font-weight: normal; 247 font-weight: normal;
248 padding: 0.1em 1em 0.1em 0.1em; 248 padding: 0.1em 1em 0.1em 0.1em;
249} 249}
250 250
251div.commit-subject { 251div.commit-subject {
252 font-weight: bold; 252 font-weight: bold;
253 font-size: 125%; 253 font-size: 125%;
254 margin: 1.5em 0em 0.5em 0em; 254 margin: 1.5em 0em 0.5em 0em;
255 padding: 0em; 255 padding: 0em;
256} 256}
257 257
258div.commit-msg { 258div.commit-msg {
259 white-space: pre; 259 white-space: pre;
260 font-family: monospace; 260 font-family: monospace;
261} 261}
262 262
263div.diffstat-header { 263div.diffstat-header {
264 font-weight: bold; 264 font-weight: bold;
265 padding-top: 1.5em; 265 padding-top: 1.5em;
266} 266}
267 267
268table.diffstat { 268table.diffstat {
269 border-collapse: collapse; 269 border-collapse: collapse;
270 width: 100%; 270 width: 100%;
271 border: solid 1px #aaa; 271 border: solid 1px #aaa;
272 background-color: #eee; 272 background-color: #eee;
273} 273}
274 274
275table.diffstat tr:hover {
276 background-color: #ccc;
277}
278
279table.diffstat th { 275table.diffstat th {
280 font-weight: normal; 276 font-weight: normal;
281 text-align: left; 277 text-align: left;
282 text-decoration: underline; 278 text-decoration: underline;
283 padding: 0.1em 1em 0.1em 0.1em; 279 padding: 0.1em 1em 0.1em 0.1em;
284 font-size: 100%; 280 font-size: 100%;
285} 281}
286 282
287table.diffstat td { 283table.diffstat td {
288 padding: 0.2em 0.2em 0.1em 0.1em; 284 padding: 0.2em 0.2em 0.1em 0.1em;
289 font-size: 100%; 285 font-size: 100%;
290 border: none; 286 border: none;
291} 287}
292 288
293table.diffstat td.mode { 289table.diffstat td.mode {
294 white-space: nowrap; 290 white-space: nowrap;
295} 291}
296 292
297table.diffstat td span.modechange { 293table.diffstat td span.modechange {
298 padding-left: 1em; 294 padding-left: 1em;
299 color: red; 295 color: red;
300} 296}
301 297
302table.diffstat td.add a { 298table.diffstat td.add a {
303 color: green; 299 color: green;
304} 300}
305 301
306table.diffstat td.del a { 302table.diffstat td.del a {
307 color: red; 303 color: red;
308} 304}
309 305
310table.diffstat td.upd a { 306table.diffstat td.upd a {
311 color: blue; 307 color: blue;
312} 308}
313 309
314table.diffstat td.graph { 310table.diffstat td.graph {
315 width: 75%; 311 width: 75%;
316 vertical-align: middle; 312 vertical-align: middle;
317} 313}
318 314
319table.diffstat td.graph table { 315table.diffstat td.graph table {
320 border: none; 316 border: none;
321} 317}
322 318
323table.diffstat td.graph td { 319table.diffstat td.graph td {
324 padding: 0px; 320 padding: 0px;
325 border: 0px; 321 border: 0px;
326 height: 7pt; 322 height: 7pt;
327} 323}
328 324
329table.diffstat td.graph td.add { 325table.diffstat td.graph td.add {
330 background-color: #5c5; 326 background-color: #5c5;
331} 327}
332 328
333table.diffstat td.graph td.rem { 329table.diffstat td.graph td.rem {
334 background-color: #c55; 330 background-color: #c55;
335} 331}
336 332
337div.diffstat-summary { 333div.diffstat-summary {
338 color: #888; 334 color: #888;
339 padding-top: 0.5em; 335 padding-top: 0.5em;
340} 336}
341 337
342table.diff td { 338table.diff td {
343 font-family: monospace; 339 font-family: monospace;
344 white-space: pre; 340 white-space: pre;
345} 341}
346 342
347table.diff td div.head { 343table.diff td div.head {
348 font-weight: bold; 344 font-weight: bold;
349 padding-top: 1em; 345 padding-top: 1em;
350} 346}
351 347
352table.diff td div.hunk { 348table.diff td div.hunk {
353 color: #009; 349 color: #009;
354} 350}
355 351
356table.diff td div.add { 352table.diff td div.add {
357 color: green; 353 color: green;
358} 354}
359 355
360table.diff td div.del { 356table.diff td div.del {
361 color: red; 357 color: red;
362} 358}
363 359
364.sha1 { 360.sha1 {
365 font-family: monospace; 361 font-family: monospace;
366 font-size: 90%; 362 font-size: 90%;
367} 363}
368 364
369.left { 365.left {
370 text-align: left; 366 text-align: left;
371} 367}
372 368
373.right { 369.right {
374 text-align: right; 370 text-align: right;
375} 371}
376 372
377table.list td.repogroup { 373table.list td.repogroup {
378 font-style: italic; 374 font-style: italic;
379 color: #888; 375 color: #888;
380} 376}
381 377
382a.button { 378a.button {
383 font-size: 80%; 379 font-size: 80%;
384 color: #aaa; 380 color: #aaa;
385 background-color: #eee; 381 background-color: #eee;
386 border: solid 1px #aaa; 382 border: solid 1px #aaa;
387 padding: 0em 0.5em; 383 padding: 0em 0.5em;
388 margin: 0.1em 0.25em; 384 margin: 0.1em 0.25em;
389} 385}
390 386
391a.button:hover { 387a.button:hover {
392 text-decoration: none; 388 text-decoration: none;
393 color: #333; 389 color: #333;
394 background-color: #ccc; 390 background-color: #ccc;
395} 391}
396 392
397a.primary { 393a.primary {
398 font-size: 100%; 394 font-size: 100%;
399} 395}
400 396
401a.secondary { 397a.secondary {
402 font-size: 90%; 398 font-size: 90%;
403} 399}
404 400
405td.toplevel-repo { 401td.toplevel-repo {
406 402
407} 403}
408 404
409table.list td.sublevel-repo { 405table.list td.sublevel-repo {
410 padding-left: 1.5em; 406 padding-left: 1.5em;
411} 407}
412 408
413span.age-mins { 409span.age-mins {
414 font-weight: bold; 410 font-weight: bold;
415 color: #080; 411 color: #080;
416} 412}
417 413
418span.age-hours { 414span.age-hours {
419 color: #080; 415 color: #080;
420} 416}
421 417
422span.age-days { 418span.age-days {
423 color: #040; 419 color: #040;
424} 420}
425 421
426span.age-weeks { 422span.age-weeks {
427 color: #444; 423 color: #444;
428} 424}
429 425
430span.age-months { 426span.age-months {
431 color: #888; 427 color: #888;
432} 428}
433 429
434span.age-years { 430span.age-years {
435 color: #bbb; 431 color: #bbb;
436} 432}