cosmetic
[infrastructure.git] / gitweb / gitweb.css
1 /* Reset
2 ------------------------------------------------------------------------- */
3
4 /* Based on http://meyerweb.com/eric/tools/css/reset/ */
5 /* v1.0 | 20080212 */
6
7 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, 
8 blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, 
9 font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, 
10 u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, 
11 caption, tbody, tfoot, thead, tr, th, td { 
12     margin: 0;
13     padding: 0;
14     border: 0;
15     outline: 0;
16     font-size: 100%;
17     vertical-align: baseline;
18     background: transparent;
19 }
20  
21 ol, ul { list-style: none; }
22
23 blockquote, q { quotes: none; }
24
25 blockquote:before, blockquote:after, 
26 q:before, q:after {
27     content: ''; 
28     content: none;
29 }
30  
31 :focus { outline: 0; }
32
33 ins { text-decoration: none; }
34
35 del { text-decoration: line-through; }
36
37 table {
38     border-collapse: collapse;
39     border-spacing: 0;
40 }
41
42 a { outline: none; }
43
44 /* General
45 ---------------------------------------------------------------------------- */
46
47 body {
48     font-family: "Monaco", "Courier New", monospace;
49     font-size: 12px;
50     margin: 0;
51     background-color: #fff;
52     color: #000000;
53 }
54
55 a:link, a:visited {
56     color: #4183C4;
57     text-decoration: none;
58 }
59
60 a:hover {
61     text-decoration: underline;
62 }
63
64 i {
65     font-style: normal;
66 }
67
68 td, th {
69     padding: 5px;
70 }
71
72 td.link,td.link>a,
73 td.selflink,td.selflink>a,
74 table.shortlog>tr>td:first-child,
75 table.tags>tr>td:first-child,
76 table.heads>tr>td:first-child {
77     font-size: 12px;
78     font-family: times;
79     padding: 2px;
80 }
81
82 .page_nav br {
83         display: none;
84 }
85
86 /* Page Header
87 ---------------------------------------------------------------------------- */
88
89 .page_header {
90     background: #cfcfcf url(img/page_header.png) repeat-x 0 0;
91     height: 3.4em;
92     line-height: 3.4em;
93     position: relative;
94     padding: 0 27px;
95     margin-bottom: 30px;
96 }
97
98 .page_header a:link, .page_header a:visited {
99     color: #000;
100     background: #eee;
101     text-decoration: none;
102     padding: 3px;
103 }
104
105 .page_header a:hover {
106     background: #bbb;
107     padding: 3px;
108 }
109
110 .page_header a:first-child {
111     background: transparent;
112 }
113
114 .page_header img.logo {
115     float: right;
116     padding: 0.7em 1.0em;
117     border: 0;
118 }
119
120 /* Page Footer
121 ---------------------------------------------------------------------------- */
122
123 .page_footer {
124     height: 115px;
125     line-height: 115px;
126     background: #4386ba url(img/page_footer.png) repeat-x 0 0;
127     padding: 0 30px;
128     margin-top: 15px;
129 }
130
131 .page_footer a {
132     padding-top: 5em;
133 }
134
135 .page_footer_text {
136     color: #fff;
137     display: inline;
138     float: left;
139 }
140
141 a.rss_logo {
142     float: right;
143     padding: 3px;
144     width: 35px;
145     line-height: 10px;
146     border: 1px solid;
147     border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
148     color: #ffffff;
149     background-color: #ff6600;
150     font-weight: bold;
151     font-family: sans-serif;
152     font-size: 70%;
153     text-align: center;
154     text-decoration: none;
155     margin-top: 49px;
156     margin-left: 5px;
157 }
158
159 a.rss_logo:hover {
160     background-color: #ee5500;
161 }  
162
163 /* Elements
164 ---------------------------------------------------------------------------- */
165
166 .project_list,
167 .shortlog,
168 .tree,
169 .commit_search {
170     width: 960px;
171     margin: 0 auto 15px auto;
172     border: 1px solid #d8d8d8;
173 }
174
175 .project_list th,
176 .shortlog th,
177 .tree th,
178 .commit_search th {
179     color: #afafaf;
180     font-weight: normal;
181 }
182
183 .project_list tr,
184 .shortlog tr,
185 .tree tr,
186 .commit_search tr {
187     background: #eaeaea;
188     height: 2.5em;
189     text-align: left;
190     color: #545454;
191 }
192
193 .project_list tr.dark, .project_list tr.light,
194 .shortlog tr.dark, .shortlog tr.light,
195 .tree tr.dark, .tree tr.light,
196 .commit_search tr.dark, .commit_search tr.light {
197     background: #efefef url(img/table_row.png) repeat-x 0 0;
198     height: 2.5em;
199     border-bottom: 1px solid #e1e1e1;
200 }
201
202 th .header {
203     background: transparent;
204     border: 0;
205     padding: 0;
206 }
207
208 .tree {
209     width: 100%;
210     margin: 0;
211 }
212
213 .commit_search {
214     background: #eaeaea;
215 }
216
217 .page_nav,
218 .history,
219 .list_head,
220 .page_path,
221 .search {
222     width: 948px;
223     background: #f0f0f0;
224     color: #545454;
225     border: 1px solid #d8d8d8;
226     padding: 5px;
227     margin: 0 auto 15px auto;
228 }
229
230 .title {
231     width: 950px;
232     padding: 5px;
233 }
234
235 .projects_list,
236 .heads,
237 .tags {
238     width: 960px;
239     background: #f0f0f0;
240     color: #545454;
241     border: 1px solid #d8d8d8;
242     padding: 5px;
243     margin: 0 auto 15px auto;
244 }
245
246 .header {
247     width: 948px;
248     margin: 0 auto 15px auto;
249     background: #eaf2f5;
250     border: 1px solid #bedce7;
251     padding: 5px;
252 }
253
254 .header .age {
255     float: left;
256     color: #000;
257     font-weight: bold;
258     width: 10em;
259 }
260
261 .title_text {
262     width: 948px;
263     background: #eaf2f5;
264     border: 1px solid #bedce7;
265     padding: 5px;
266     margin: 0 auto 0 auto;
267 }
268
269 .log_body {
270     width: 948px;
271     background: #eaf2f5;
272     border: 1px solid #bedce7;
273     border-top: 0;
274     padding: 5px;
275     margin: 0 auto 15px auto;
276 }
277
278 .page_body {
279     line-height: 1.4em;
280     width: 948px;
281     background: #f8f8ff;
282     border: 1px solid #d8d8d8;
283     padding: 5px;
284     margin: 15px auto 15px auto;
285 }
286
287 .diff_tree {
288     width: 960px;
289     background: #f0f0f0;
290     border: 1px solid #d8d8d8;
291     padding: 5px;
292     margin: 0 auto 15px auto;
293 }
294
295 .author_date {
296     width: 948px;
297     background: #f0f0f0;
298     border: 1px solid #d8d8d8;
299     padding: 5px;
300     margin: 0 auto 15px auto;
301 }
302
303 /* Refs
304 ---------------------------------------------------------------------------- */
305
306 span.refs span {
307     color: #000;
308     padding: 0px 4px;
309     font-size: 10px;
310     font-weight: normal;
311     border: 1px solid;
312     background-color: #ffaaff;
313     border-color: #ffccff #ff00ee #ff00ee #ffccff;
314 }
315
316 span.refs span.ref {
317     background-color: #aaaaff;
318     border-color: #ccccff #0033cc #0033cc #ccccff;
319 }
320
321 span.refs span.tag {
322     background-color: #ffffaa;
323     border-color: #ffffcc #dccd00 #dccd00 #ffffcc;
324 }
325
326 span.refs span.head {
327     background-color: #aaffaa;
328     border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
329 }
330
331 /* Diffs
332 ---------------------------------------------------------------------------- */
333
334 .patchset {
335     overflow: auto;
336 }
337
338 .chunk_header {
339     background: #eaf2f5;
340     color: #999;
341 }
342
343 .rem {
344     background: #ffdddd;
345 }
346 .add {
347     background: #ddffdd;
348 }
349
350 /* Age
351 ---------------------------------------------------------------------------- */
352
353 /* noage: "No commits" */
354 .project_list td.noage {
355     color: #cdcdcd;
356 }
357
358 /* age2: 60*60*24*2 <= age */
359 .project_list td.age2, .blame td.age2 {
360     color: #545454;
361 }
362
363 /* age1: 60*60*2 <= age < 60*60*24*2 */
364 .project_list td.age1 {
365     color: #009900;
366 }
367
368 /* age0: age < 60*60*2 */
369 .project_list td.age0 {
370     color: #009900;
371     font-weight: bold;
372 }
373
374 /* File status
375 ---------------------------------------------------------------------------- */
376
377 .diff_tree span.file_status.new {
378     color: #008000;
379 }
380
381 table.diff_tree span.file_status.deleted {
382     color: #c00000;
383 }
384
385 table.diff_tree span.file_status.moved,
386 table.diff_tree span.file_status.mode_chnge {
387     color: #545454;
388 }
389
390 table.diff_tree span.file_status.copied {
391   color: #70a070;
392 }
393
394 span.cntrl {
395     border: dashed #aaaaaa;
396     border-width: 1px;
397     padding: 0px 2px 0px 2px;
398     margin:  0px 2px 0px 2px;
399 }
400
401 span.match {
402     background: #aaffaa;
403     color: #000;
404 }
405
406 td.error {
407     color: red;
408     background: yellow;
409 }