Made an attempt to fix the hardcoded CSS urls.
[catagits/Gitalist.git] / root / static / css / core.css
CommitLineData
9143f8d4 1#debug_holder{
2
3 display:none;
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{
08d8bb08 82 width:80%;
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}
08d8bb08 306.summary tr{
307 background-color:#FAFAFA;
308 border-bottom:1px solid #fff;
309}
310.summary td{
311 vertical-align:middle !important;
312}
82f94bce 313tr.invert{
314 background-color:#f0f0f0;
315}
189f3b00 316tr.header{
317 background-color:#666;
318}
82f94bce 319.sha1{
320 width:80px;
321}
eab82ed1 322.file-mode{
323 width:80px;
324}
82f94bce 325.time-since{
326 width:95px;
327 font-weight:bold;
328}
329.author{
330 width:180px;
331}
332.author img{
333 margin-right:5px;
334 vertical-align:middle;
335}
336table.listing{
337 width:970px;
338 border-collapse:collapse;
339}
340.listing td{
08d8bb08 341 vertical-align:top;
82f94bce 342 padding:9px 5px 9px 10px;
343}
344.action-list{
eab82ed1 345 width:120px;
08d8bb08 346}
347
348.diff-tree{
349 background-color:#f0f0f0;
350}
351.diff-tree th{
352 background-color:#666;
353}
354.diff-tree tr{
355 border-bottom:1px solid #fff;
356}
357.diff-tree td{
358 padding:6px 5px 4px 10px;
359}
360.differences{
361 margin-top:0;
362 padding:0px 15px;
363}
364.differences pre{
365 line-height:140%;
366 font-size:12px;
367 overflow:auto;
368 margin:0;
369 padding:10px;
370 border:1px solid #ddd;
371 background-color:#f0f0f0;
372}
373.diff-head{
374 background-color:#666;
375 color:#fff;
376 margin:10px 0 0 0 !important;
377 border:1px solid #ddd;
378 border-bottom:none;
379 font-family: monospace;
380 padding:10px;
381 font-size:13px;
382}
383.diff-index {
384 margin:0 0 30px 0;
385 border:1px solid #ddd;
386 border-top:none;
387 background-color:#ccc;
388 padding:5px 10px;
389}
390
391
392/* /blame */
393#blame pre, #blame tt {
394 margin: 0;
189f3b00 395 font-size: 12px;
08d8bb08 396}
397#blame .commit-info {
189f3b00 398
08d8bb08 399}
400#blame .lineno {
401 text-align: right;
402 padding: 0 8px;
403}
404#blame a {
189f3b00 405 atext-decoration: none;
08d8bb08 406}
407#blame {
408 overflow-x: scroll;
409}
410#blame tr.alt {
411 background-color: #f7f7f7;
412}
413#blame tbody tr:hover {
414 background-color: #fefeaa;
415}
416#blame td {
189f3b00 417 vertical-align:middle;
418 padding: 3px;
08d8bb08 419}
420#blame td.lineno {
421 background-color: #eee;
422}
423#blame td.date, #blame td.author, #blame td.commit-info {
424}
425#blame tbody td.data {
426 padding-left: 5px;
427 background-color: #333;
428 color: #ddd;
429}
430
431/* /blob */
432pre.blob {
433 background-color: #333;
434 color: #ddd;
435 border-left: solid 3px #c33;
436 padding: 5px;
437 padding-left: 15px;
438 margin: 20px 15px 20px;
439 overflow:auto;
189f3b00 440 font-size:12px;
08d8bb08 441}
442
443/* /blobdiff etc */
444