]> gitweb.ps.run Git - ps-cgit/blob - cgit.css
ui-tree: unify with ui-view, use path to select tree/blob
[ps-cgit] / cgit.css
1 body {
2         font-family: arial, sans-serif;
3         font-size: 11pt;
4         color: black;
5         background: white;
6 }
7
8 body, table {
9         padding: 0em;
10         margin: 0em;
11 }
12
13 table {
14       border-collapse: collapse;
15 }
16
17 h2 {
18         font-size: 120%;
19         font-weight: bold;
20         margin-top: 0em;
21         margin-bottom: 0.25em;
22 }
23
24 h3 {
25         margin-top: 0em;
26         font-size: 100%;
27         font-weight: normal;
28 }
29
30 h4 {
31         margin-top: 1.5em;
32         margin-bottom: 0.1em;
33         font-size: 100%;
34         font-weight: bold;
35 }
36
37 a {
38         color: blue;
39         text-decoration: none;
40 }
41
42 a:hover {
43         text-decoration: underline;
44 }
45
46 table.list {
47         border: none;
48         border-collapse: collapse;
49 }
50
51 table.list tr {
52         background: white;
53 }
54
55 table.list tr:hover {
56         background: #eee;
57 }
58
59 table.list tr.nohover:hover {
60         background: white;
61 }
62
63 table.list th {
64         font-weight: bold;
65         border-bottom: solid 1px #777;
66         padding: 0.1em 0.5em 0.1em 0.5em;
67         vertical-align: baseline;
68 }
69
70 table.list td {
71         border: none;
72         padding: 0.1em 0.5em 0.1em 0.5em;
73 }
74
75 img {
76         border: none;
77 }
78
79 table#layout {
80         width: 100%;
81         border-collapse: collapse;
82         margin: 0px;
83 }
84
85 td#header, td#logo {
86         color: #666;
87         background-color: #ddd;
88         border-bottom: solid 1px #000;
89 }
90
91 td#header {
92         font-size: 150%;
93         font-weight: bold;
94         padding: 0.2em 0.5em;
95         vertical-align: text-bottom;
96 }
97
98 td#logo {
99         text-align: right;
100         vertical-align: middle;
101         padding-right: 0.5em;
102 }
103
104 td#crumb, td#search {
105         color: #ccc;
106         border-top: solid 3px #555;
107         background-color: #666;
108         border-bottom: solid 1px #333;
109         padding: 2px 1em;
110 }
111
112 td#crumb {
113         font-weight: bold;
114 }
115
116 td#crumb a {
117         color: #ccc;
118         background-color: #666;
119 }
120
121 td#crumb a:hover {
122         color: #eee;
123         background-color: #666;
124 }
125
126 td#search {
127         text-align: right;
128         vertical-align: middle;
129         padding-right: 0.5em;
130 }
131
132 td#search form {
133         margin: 0px;
134         padding: 0px;
135 }
136
137 td#search input {
138         font-size: 9pt;
139         padding: 0px;
140         width: 10em;
141         border: solid 1px #333;
142         color: #333;
143         background-color: #fff;
144 }
145
146 div#summary {
147         vertical-align: top;
148         margin-bottom: 1em;
149 }
150
151 table#downloads {
152         float: right;
153         border-collapse: collapse;
154         border: solid 1px #777;
155         margin-left: 0.5em;
156         margin-bottom: 0.5em;
157 }
158
159 table#downloads th {
160         background-color: #ccc;
161 }
162
163 td#content {
164         padding: 1em 0.5em;
165 }
166
167 div#blob {
168         border: solid 1px black;
169 }
170
171 div.error {
172         color: red;
173         font-weight: bold;
174         margin: 1em 2em;
175 }
176
177 td.ls-blob, td.ls-dir, td.ls-mod {
178         font-family: monospace;
179 }
180
181 div.ls-dir a {
182         font-weight: bold;
183 }
184
185 th.filesize, td.filesize {
186         text-align: right;
187 }
188
189 td.filesize {
190         font-family: monospace;
191 }
192
193 td.links {
194         font-size: 80%;
195         padding-left: 2em;
196 }
197
198 td.filemode {
199         font-family: monospace;
200 }
201
202 table.blob {
203         margin-top: 0.5em;
204         border-top: solid 1px black;
205 }
206
207 table.blob td.no {
208         border-right: solid 1px black;
209         color: black;
210         background-color: #eee;
211         text-align: right;
212 }
213
214 table.blob td.txt {
215         white-space: pre;
216         font-family: monospace;
217         padding-left: 0.5em;
218 }
219
220 table.nowrap td {
221         white-space: nowrap;
222 }
223
224 table.commit-info {
225         border-collapse: collapse;
226         margin-top: 1.5em;
227 }
228
229 table.commit-info th {
230         text-align: left;
231         font-weight: normal;
232         padding: 0.1em 1em 0.1em 0.1em;
233 }
234
235 table.commit-info td {
236         font-weight: normal;
237         padding: 0.1em 1em 0.1em 0.1em;
238 }
239
240 div.commit-subject {
241         font-weight: bold;
242         font-size: 125%;
243         margin: 1.5em 0em 0.5em 0em;
244         padding: 0em;
245 }
246
247 div.commit-msg {
248         white-space: pre;
249         font-family: monospace;
250 }
251
252 div.diffstat-header {
253         font-weight: bold;
254         padding-top: 1.5em;
255 }
256
257 table.diffstat {
258         border-collapse: collapse;
259         width: 100%;
260         border: solid 1px #aaa;
261         background-color: #eee;
262 }
263
264 table.diffstat tr:hover {
265         background-color: #ccc;
266 }
267
268 table.diffstat th {
269         font-weight: normal;
270         text-align: left;
271         text-decoration: underline;
272         padding: 0.1em 1em 0.1em 0.1em;
273         font-size: 100%;
274 }
275
276 table.diffstat td {
277         padding: 0.2em 0.2em 0.1em 0.1em;
278         font-size: 100%;
279         border: none;
280 }
281
282 table.diffstat td.mode {
283         white-space: nowrap;
284 }
285
286 table.diffstat td span.modechange {
287         padding-left: 1em;
288         color: red;
289 }
290
291 table.diffstat td.add a {
292         color: green;
293 }
294
295 table.diffstat td.del a {
296         color: red;
297 }
298
299 table.diffstat td.upd a {
300         color: blue;
301 }
302
303 table.diffstat td.graph {
304         width: 75%;
305         vertical-align: middle;
306 }
307
308 table.diffstat td.graph table {
309         border: none;
310 }
311
312 table.diffstat td.graph td {
313         padding: 0px;
314         border: 0px;
315         height: 7pt;
316 }
317
318 table.diffstat td.graph td.add {
319         background-color: #5c5;
320 }
321
322 table.diffstat td.graph td.rem {
323         background-color: #c55;
324 }
325
326 div.diffstat-summary {
327         color: #888;
328         padding-top: 0.5em;
329 }
330
331 table.diff td {
332         font-family: monospace;
333         white-space: pre;
334 }
335
336 table.diff td div.head {
337         font-weight: bold;
338         padding-top: 1em;
339 }
340
341 table.diff td div.hunk {
342         color: #009;
343 }
344
345 table.diff td div.add {
346         color: green;
347 }
348
349 table.diff td div.del {
350         color: red;
351 }
352
353 .sha1 {
354         font-family: monospace;
355         font-size: 90%;
356 }
357
358 .left {
359         text-align: left;
360 }
361
362 .right {
363         text-align: right;
364 }
365
366 table.list td.repogroup {
367         font-style: italic;
368         color: #888;
369 }
370
371 a.button {
372         font-size: 80%;
373         color: #333;
374         background-color: #ccc;
375         border: solid 1px #999;
376         padding: 0em 0.5em;
377         margin: 0.1em 0.25em;
378 }
379
380 a.button:hover {
381         text-decoration: none;
382         background-color: #eee;
383 }
384
385 a.primary {
386         font-size: 100%;
387 }
388
389 a.secondary {
390         font-size: 90%;
391 }
392
393 td.toplevel-repo {
394
395 }
396
397 table.list td.sublevel-repo {
398         padding-left: 1.5em;
399 }
400
401 span.age-mins {
402         font-weight: bold;
403         color: #080;
404 }
405
406 span.age-hours {
407         color: #080;
408 }
409
410 span.age-days {
411         color: #040;
412 }
413
414 span.age-weeks {
415         color: #444;
416 }
417
418 span.age-months {
419         color: #888;
420 }
421
422 span.age-years {
423         color: #bbb;
424 }