Fixed src and dst in diff data for files that had been added/deleted/etc.
[catagits/Gitalist.git] / root / static / css / core.css
CommitLineData
9143f8d4 1#debug_holder{
2
8d491fb3 3 display:none;
9143f8d4 4
5 clear:both;
6 padding-top:30px;
7 margin:30px 0;
8}
9
10#debug_holder pre{
11 margin:0;
12 padding:10px;
13 border:1px solid #ddd;
14 background-color:#f0f0f0;
15}
16
17
82f94bce 18body{
19 background:#FAFAFA url(/static/i/bg.png) repeat-x left top;
20 padding:0;
21 margin:0;
22 font-family:Arial, Verdana, sans-serif;
23 font-size:80%;
24}
25a img{
26 border:0;
27}
82f94bce 28
29
30/* structure */
31.sub_holder{
32 width:970px;
33 margin:0 auto;
82f94bce 34 text-align:left;
35}
36
08d8bb08 37#header_holder{
82f94bce 38 margin-top:20px;
82f94bce 39}
08d8bb08 40#header{
41 height:60px;
42}
43
82f94bce 44#content_holder{
2b686219 45 background:transparent url([% c.uri_for('/static/i/bg_content.png') %]) repeat-y center center;
82f94bce 46}
47#content{
eab82ed1 48 min-height:200px;
82f94bce 49 padding:0 12px 40px 10px;
2b686219 50 background:transparent url([% c.uri_for('/static/i/bg_bottom.png') %]) no-repeat center bottom;
82f94bce 51}
52#content_inner{
eab82ed1 53 padding-bottom:30px;
2b686219 54 background:transparent url([% c.uri_for('/static/i/bg_top.png') %]) no-repeat;
82f94bce 55}
56#logo{
57 margin-left:-10px;
58 float:left;
59}
60#header .search{
9143f8d4 61 margin-right:10px;
82f94bce 62 float:right;
63}
eab82ed1 64#git_logo{
65 float:left;
66 margin-left:15px;
67}
68#feeds{
69 float:right;
70 margin-right:15px;
71}
189f3b00 72#footer_holder{
73 margin-bottom:100px;
74}
eab82ed1 75#footer p{
76 margin-left:15px;
77}
82f94bce 78
79
80/* nav tabs */
81#nav_logs{
71eba67c 82 width:100%;
82f94bce 83 clear:both;
84 float:right;
9143f8d4 85 margin:-5px 10px 0 0;
08d8bb08 86}
87#nav_logs ul{
88 margin:0;
89 padding:0;
82f94bce 90}
91#nav_logs li{
92 display:block;
08d8bb08 93 float:right;
82f94bce 94 list-style:none;
95 margin:0;
96 padding:0;
97}
98#nav_logs li a{
99 display:block;
100 margin-left:20px;
101 padding:10px 15px 10px 48px;
102 color:#ffffff;
103 font-size:1.4em;
104 text-transform:uppercase;
105 text-decoration:none;
106}
107a#log_short{
2b686219 108 background:#666 url([% c.uri_for('/static/i/icons/shortlog.gif') %]) no-repeat 15px center;
82f94bce 109}
110a#log_full{
2b686219 111 background:#666 url([% c.uri_for('/static/i/icons/fulllog.gif') %]) no-repeat 15px center;
82f94bce 112}
9143f8d4 113a#tree{
2b686219 114 background:#666 url([% c.uri_for('/static/i/icons/tree.gif') %]) no-repeat 15px center;
9143f8d4 115}
82f94bce 116#nav_logs li a:hover{
117 text-decoration:underline;
118 background-color:#DC143C;
119}
120#nav_logs li.selected a{
121 background-color:#333;
122}
9143f8d4 123#nav_logs #branch_selector{
124 padding:10px 15px 10px 48px;
125 font-size:1.3em;
126 font-weight:bold;
127 color:#666;
128}
82f94bce 129
130
131
132
133
134/* formating */
135h1{
136 margin:0;
137 padding:20px 0;
138 clear:both;
139 font-weight:normal;
140 font-size:1.85em;
141 color:#fff;
142}
143h1 a{
144 margin-right:10px;
145 color:#fff;
146}
147h1 a:hover{
148 color:#EAF2F5;
149}
08d8bb08 150h2{
151 font-size:1.85em;
152 font-weight:normal;
153 color:#666;
154 margin:30px 15px 20px;
155}
156h2 span{
157 color:#ccc;
158}
159h3{
160 margin:0;
161 color:#fff;
162 padding:9px 5px 9px 10px;
163 font-size:1em;
164}
165h3 a{
166 color:#ffffff;
167}
168h4 a{
169 color:#ffffff;
170}
171h4 a:hover{
172 color:#EAF2F5;
173}
82f94bce 174p,
175td,
176a{
177 color:#666;
178}
179a:hover{
180 color:#DC143C;
181}
182
183
184.button{
185 display:block;
186 float:left;
187 vertical-align:middle;
188 margin-right:8px;
08d8bb08 189 text-indent:-999999px;
82f94bce 190 width:21px;
191 height:21px;
08d8bb08 192 outline:none;
82f94bce 193}
08d8bb08 194a.commit{
2b686219 195 background:transparent url([% c.uri_for('/static/i/icons/commit.png') %]) no-repeat;
82f94bce 196}
08d8bb08 197a.diff{
2b686219 198 background:transparent url([% c.uri_for('/static/i/icons/diff.png') %]) no-repeat;
82f94bce 199}
189f3b00 200a.diffcurrent{
2b686219 201 background:transparent url([% c.uri_for('/static/i/icons/diffcurrent.png') %]) no-repeat;
189f3b00 202}
08d8bb08 203a.tree{
2b686219 204 background:transparent url([% c.uri_for('/static/i/icons/tree.png') %]) no-repeat;
82f94bce 205}
08d8bb08 206a.shortlog{
2b686219 207 background:transparent url([% c.uri_for('/static/i/icons/shortlog.png') %]) no-repeat;
eab82ed1 208}
08d8bb08 209a.longlog{
2b686219 210 background:transparent url([% c.uri_for('/static/i/icons/longlog.png') %]) no-repeat;
eab82ed1 211}
08d8bb08 212a.blob{
2b686219 213 background:transparent url([% c.uri_for('/static/i/icons/blob.png') %]) no-repeat;
eab82ed1 214}
08d8bb08 215a.blame{
2b686219 216 background:transparent url([% c.uri_for('/static/i/icons/blame.png') %]) no-repeat;
eab82ed1 217}
08d8bb08 218a.history{
2b686219 219 background:transparent url([% c.uri_for('/static/i/icons/history.png') %]) no-repeat;
eab82ed1 220}
08d8bb08 221a.raw{
2b686219 222 background:transparent url([% c.uri_for('/static/i/icons/raw.png') %]) no-repeat;
eab82ed1 223}
82f94bce 224.sha1_holder{
2b686219 225 background:transparent url([% c.uri_for('/static/i/icons/button_sha1.png') %]) no-repeat;
82f94bce 226}
227.sha1_holder_invert{
2b686219 228 background:transparent url([% c.uri_for('/static/i/icons/button_sha1_invert.png') %]) no-repeat;
82f94bce 229}
230.sha1_label{
231 padding-top:2px;
232 float:left;
233}
189f3b00 234.msg{
235 padding:5px 10px 5px 35px;
2b686219 236 background:#f0f0f0 url([% c.uri_for('/static/i/icons/attention.png') %]) no-repeat 10px center;
189f3b00 237 border:1px solid #ddd;
238 margin:30px 15px;
239}
82f94bce 240
08d8bb08 241a.rss_logo {
242 float: right;
243 padding: 3px 0px;
244 width: 35px;
245 line-height: 10px;
246 border: 1px solid;
247 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
248 color: #ffffff;
249 background-color: #ff6600;
250 font-weight: bold;
251 font-family: sans-serif;
252 font-size: 70%;
253 font-style: normal;
254 text-align: center;
255 text-decoration: none;
256 margin: 3px;
257}
258
259a.rss_logo:hover {
260 background-color: #ee5500;
261}
262
263
264
82f94bce 265/* paging */
266.pager{
267 width:100%;
268 float:left;
269 margin:10px 0;
270 padding:0;
271}
272.pager li{
273 margin:0;
274 padding:0;
275 display:block;
276 list-style:none;
277}
278.pager li a{
279 display:block;
280 padding:4px 6px;
281 color:#fff;
282 border:1px solid #ddd;
283 background-color:#333;
284}
285.pager .pager_prev a{
286 margin-left:20px;
287 float:left;
288}
289.pager .pager_next a{
290 margin-right:20px;
291 float:right;
292}
293
294
295
296
297/* table listings */
298th{
299 padding:9px 5px 9px 10px;
300 text-align:left;
301 color:#fff;
302}
eab82ed1 303th a{
304 color:#fff;
305}
71eba67c 306th a:hover{
307 color:#f0f0f0;
308}
08d8bb08 309.summary tr{
310 background-color:#FAFAFA;
311 border-bottom:1px solid #fff;
312}
313.summary td{
314 vertical-align:middle !important;
315}
71eba67c 316tr{
317 background-color:#fff;
318}
319thead tr{
320 background-color:transparent !important;
321}
82f94bce 322tr.invert{
323 background-color:#f0f0f0;
324}
189f3b00 325tr.header{
326 background-color:#666;
327}
82f94bce 328.sha1{
329 width:80px;
330}
eab82ed1 331.file-mode{
332 width:80px;
333}
82f94bce 334.time-since{
335 width:95px;
336 font-weight:bold;
337}
338.author{
339 width:180px;
340}
341.author img{
342 margin-right:5px;
343 vertical-align:middle;
344}
345table.listing{
346 width:970px;
347 border-collapse:collapse;
348}
349.listing td{
08d8bb08 350 vertical-align:top;
82f94bce 351 padding:9px 5px 9px 10px;
352}
8d491fb3 353
354/*
355
356puts the repo description on one line which gets truncated if the repo name is too long
357BUT the final width needs to be set with javascript based on the parent element (td) width
358
359.description{
360 white-space:nowrap;
361 overflow:hidden;
362}
363.description div{
364 position:absolute;
365 white-space:nowrap;
366 overflow:hidden;
367 width:200px;
368}
369*/
370
82f94bce 371.action-list{
eab82ed1 372 width:120px;
08d8bb08 373}
374
375.diff-tree{
376 background-color:#f0f0f0;
377}
378.diff-tree th{
379 background-color:#666;
380}
381.diff-tree tr{
382 border-bottom:1px solid #fff;
383}
384.diff-tree td{
385 padding:6px 5px 4px 10px;
386}
387.differences{
388 margin-top:0;
389 padding:0px 15px;
390}
391.differences pre{
392 line-height:140%;
393 font-size:12px;
394 overflow:auto;
395 margin:0;
396 padding:10px;
397 border:1px solid #ddd;
398 background-color:#f0f0f0;
71eba67c 399 min-height:40px;
08d8bb08 400}
401.diff-head{
402 background-color:#666;
403 color:#fff;
404 margin:10px 0 0 0 !important;
405 border:1px solid #ddd;
406 border-bottom:none;
407 font-family: monospace;
408 padding:10px;
409 font-size:13px;
410}
411.diff-index {
412 margin:0 0 30px 0;
413 border:1px solid #ddd;
414 border-top:none;
415 background-color:#ccc;
416 padding:5px 10px;
417}
418
419
420/* /blame */
421#blame pre, #blame tt {
422 margin: 0;
189f3b00 423 font-size: 12px;
08d8bb08 424}
425#blame .commit-info {
189f3b00 426
08d8bb08 427}
428#blame .lineno {
429 text-align: right;
430 padding: 0 8px;
431}
432#blame a {
189f3b00 433 atext-decoration: none;
08d8bb08 434}
435#blame {
436 overflow-x: scroll;
437}
438#blame tr.alt {
439 background-color: #f7f7f7;
440}
441#blame tbody tr:hover {
442 background-color: #fefeaa;
443}
444#blame td {
189f3b00 445 vertical-align:middle;
446 padding: 3px;
08d8bb08 447}
448#blame td.lineno {
449 background-color: #eee;
450}
451#blame td.date, #blame td.author, #blame td.commit-info {
452}
453#blame tbody td.data {
454 padding-left: 5px;
455 background-color: #333;
456 color: #ddd;
457}
458
459/* /blob */
460pre.blob {
461 background-color: #333;
462 color: #ddd;
463 border-left: solid 3px #c33;
464 padding: 5px;
465 padding-left: 15px;
466 margin: 20px 15px 20px;
467 overflow:auto;
189f3b00 468 font-size:12px;
08d8bb08 469}
470
471/* /blobdiff etc */
472