added compare diffs feature and fixed a couple of css issues
[catagits/Gitalist.git] / root / static / css / core.css
CommitLineData
9143f8d4 1#debug_holder{
2
71eba67c 3 adisplay: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}
353.action-list{
eab82ed1 354 width:120px;
08d8bb08 355}
356
357.diff-tree{
358 background-color:#f0f0f0;
359}
360.diff-tree th{
361 background-color:#666;
362}
363.diff-tree tr{
364 border-bottom:1px solid #fff;
365}
366.diff-tree td{
367 padding:6px 5px 4px 10px;
368}
369.differences{
370 margin-top:0;
371 padding:0px 15px;
372}
373.differences pre{
374 line-height:140%;
375 font-size:12px;
376 overflow:auto;
377 margin:0;
378 padding:10px;
379 border:1px solid #ddd;
380 background-color:#f0f0f0;
71eba67c 381 min-height:40px;
08d8bb08 382}
383.diff-head{
384 background-color:#666;
385 color:#fff;
386 margin:10px 0 0 0 !important;
387 border:1px solid #ddd;
388 border-bottom:none;
389 font-family: monospace;
390 padding:10px;
391 font-size:13px;
392}
393.diff-index {
394 margin:0 0 30px 0;
395 border:1px solid #ddd;
396 border-top:none;
397 background-color:#ccc;
398 padding:5px 10px;
399}
400
401
402/* /blame */
403#blame pre, #blame tt {
404 margin: 0;
189f3b00 405 font-size: 12px;
08d8bb08 406}
407#blame .commit-info {
189f3b00 408
08d8bb08 409}
410#blame .lineno {
411 text-align: right;
412 padding: 0 8px;
413}
414#blame a {
189f3b00 415 atext-decoration: none;
08d8bb08 416}
417#blame {
418 overflow-x: scroll;
419}
420#blame tr.alt {
421 background-color: #f7f7f7;
422}
423#blame tbody tr:hover {
424 background-color: #fefeaa;
425}
426#blame td {
189f3b00 427 vertical-align:middle;
428 padding: 3px;
08d8bb08 429}
430#blame td.lineno {
431 background-color: #eee;
432}
433#blame td.date, #blame td.author, #blame td.commit-info {
434}
435#blame tbody td.data {
436 padding-left: 5px;
437 background-color: #333;
438 color: #ddd;
439}
440
441/* /blob */
442pre.blob {
443 background-color: #333;
444 color: #ddd;
445 border-left: solid 3px #c33;
446 padding: 5px;
447 padding-left: 15px;
448 margin: 20px 15px 20px;
449 overflow:auto;
189f3b00 450 font-size:12px;
08d8bb08 451}
452
453/* /blobdiff etc */
454