summaryrefslogtreecommitdiffabout
path: root/cgit.css
authorLars Hjemli <hjemli@gmail.com>2008-11-29 18:11:26 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2008-11-30 12:01:44 (UTC)
commitab67164d6217fcda5ef3e07aefa3dd6eee6b65a3 (patch) (unidiff)
tree1c5430d46e9edf9306178967266c6e6373f06b31 /cgit.css
parent951f550b60befeacd7334aebd64c891e72be5ac4 (diff)
downloadcgit-ab67164d6217fcda5ef3e07aefa3dd6eee6b65a3.zip
cgit-ab67164d6217fcda5ef3e07aefa3dd6eee6b65a3.tar.gz
cgit-ab67164d6217fcda5ef3e07aefa3dd6eee6b65a3.tar.bz2
ui-log: use css to make full-log prettier
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index a37d218..7928c2f 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1,337 +1,352 @@
1body, table, form { 1body, table, form {
2 padding: 0em; 2 padding: 0em;
3 margin: 0em; 3 margin: 0em;
4} 4}
5 5
6body { 6body {
7 font-family: sans-serif; 7 font-family: sans-serif;
8 font-size: 10pt; 8 font-size: 10pt;
9 color: #333; 9 color: #333;
10 background: white; 10 background: white;
11 padding: 4px; 11 padding: 4px;
12} 12}
13 13
14a { 14a {
15 color: blue; 15 color: blue;
16 text-decoration: none; 16 text-decoration: none;
17} 17}
18 18
19a:hover { 19a:hover {
20 text-decoration: underline; 20 text-decoration: underline;
21} 21}
22 22
23table { 23table {
24 border-collapse: collapse; 24 border-collapse: collapse;
25} 25}
26 26
27table#header { 27table#header {
28 width: 100%; 28 width: 100%;
29 margin-bottom: 1em; 29 margin-bottom: 1em;
30} 30}
31 31
32table#header td.logo { 32table#header td.logo {
33 width: 96px; 33 width: 96px;
34} 34}
35 35
36table#header td.main { 36table#header td.main {
37 font-size: 250%; 37 font-size: 250%;
38 padding-left: 10px; 38 padding-left: 10px;
39 white-space: nowrap; 39 white-space: nowrap;
40} 40}
41 41
42table#header td.main a { 42table#header td.main a {
43 color: #000; 43 color: #000;
44} 44}
45 45
46table#header td.form { 46table#header td.form {
47 text-align: right; 47 text-align: right;
48 vertical-align: bottom; 48 vertical-align: bottom;
49 padding-right: 1em; 49 padding-right: 1em;
50 padding-bottom: 2px; 50 padding-bottom: 2px;
51 white-space: nowrap; 51 white-space: nowrap;
52} 52}
53 53
54table#header td.form form, 54table#header td.form form,
55table#header td.form input, 55table#header td.form input,
56table#header td.form select { 56table#header td.form select {
57 font-size: 90%; 57 font-size: 90%;
58} 58}
59 59
60table#header td.sub { 60table#header td.sub {
61 color: #777; 61 color: #777;
62 border-top: solid 1px #ccc; 62 border-top: solid 1px #ccc;
63 padding-left: 10px; 63 padding-left: 10px;
64} 64}
65 65
66table.tabs { 66table.tabs {
67 /* border-bottom: solid 2px #ccc; */ 67 /* border-bottom: solid 2px #ccc; */
68 border-collapse: collapse; 68 border-collapse: collapse;
69 margin-top: 2em; 69 margin-top: 2em;
70 margin-bottom: 0px; 70 margin-bottom: 0px;
71 width: 100%; 71 width: 100%;
72} 72}
73 73
74table.tabs td { 74table.tabs td {
75 padding: 0px 1em; 75 padding: 0px 1em;
76 vertical-align: bottom; 76 vertical-align: bottom;
77} 77}
78 78
79table.tabs td a { 79table.tabs td a {
80 padding: 2px 0.75em; 80 padding: 2px 0.75em;
81 color: #777; 81 color: #777;
82 font-size: 110%; 82 font-size: 110%;
83} 83}
84 84
85table.tabs td a.active { 85table.tabs td a.active {
86 color: #000; 86 color: #000;
87 background-color: #ccc; 87 background-color: #ccc;
88} 88}
89 89
90table.tabs td.form { 90table.tabs td.form {
91 text-align: right; 91 text-align: right;
92} 92}
93 93
94table.tabs td.form form { 94table.tabs td.form form {
95 padding-bottom: 2px; 95 padding-bottom: 2px;
96 font-size: 90%; 96 font-size: 90%;
97 white-space: nowrap; 97 white-space: nowrap;
98} 98}
99 99
100table.tabs td.form input, 100table.tabs td.form input,
101table.tabs td.form select { 101table.tabs td.form select {
102 font-size: 90%; 102 font-size: 90%;
103} 103}
104 104
105div.content { 105div.content {
106 margin: 0px; 106 margin: 0px;
107 padding: 2em; 107 padding: 2em;
108 border-top: solid 3px #ccc; 108 border-top: solid 3px #ccc;
109 border-bottom: solid 3px #ccc; 109 border-bottom: solid 3px #ccc;
110} 110}
111 111
112 112
113table.list { 113table.list {
114 width: 100%; 114 width: 100%;
115 border: none; 115 border: none;
116 border-collapse: collapse; 116 border-collapse: collapse;
117} 117}
118 118
119table.list tr { 119table.list tr {
120 background: white; 120 background: white;
121} 121}
122 122
123table.list tr.logheader {
124 background: #eee;
125}
126
123table.list tr:hover { 127table.list tr:hover {
124 background: #eee; 128 background: #eee;
125} 129}
126 130
127table.list tr.nohover:hover { 131table.list tr.nohover:hover {
128 background: white; 132 background: white;
129} 133}
130 134
131table.list th { 135table.list th {
132 font-weight: bold; 136 font-weight: bold;
133 /* color: #888; 137 /* color: #888;
134 border-top: dashed 1px #888; 138 border-top: dashed 1px #888;
135 border-bottom: dashed 1px #888; 139 border-bottom: dashed 1px #888;
136 */ 140 */
137 padding: 0.1em 0.5em 0.05em 0.5em; 141 padding: 0.1em 0.5em 0.05em 0.5em;
138 vertical-align: baseline; 142 vertical-align: baseline;
139} 143}
140 144
141table.list td { 145table.list td {
142 border: none; 146 border: none;
143 padding: 0.1em 0.5em 0.1em 0.5em; 147 padding: 0.1em 0.5em 0.1em 0.5em;
144} 148}
145 149
150table.list td.logsubject {
151 font-family: monospace;
152 font-weight: bold;
153}
154
155table.list td.logmsg {
156 font-family: monospace;
157 white-space: pre;
158 padding: 1em 0em 2em 0em;
159}
160
146table.list td a { 161table.list td a {
147 color: black; 162 color: black;
148} 163}
149 164
150table.list td a:hover { 165table.list td a:hover {
151 color: #00f; 166 color: #00f;
152} 167}
153 168
154img { 169img {
155 border: none; 170 border: none;
156} 171}
157 172
158input#switch-btn { 173input#switch-btn {
159 margin: 2px 0px 0px 0px; 174 margin: 2px 0px 0px 0px;
160} 175}
161 176
162td#sidebar input.txt { 177td#sidebar input.txt {
163 width: 100%; 178 width: 100%;
164 margin: 2px 0px 0px 0px; 179 margin: 2px 0px 0px 0px;
165} 180}
166 181
167table#grid { 182table#grid {
168 margin: 0px; 183 margin: 0px;
169} 184}
170 185
171td#content { 186td#content {
172 vertical-align: top; 187 vertical-align: top;
173 padding: 1em 2em 1em 1em; 188 padding: 1em 2em 1em 1em;
174 border: none; 189 border: none;
175} 190}
176 191
177div#summary { 192div#summary {
178 vertical-align: top; 193 vertical-align: top;
179 margin-bottom: 1em; 194 margin-bottom: 1em;
180} 195}
181 196
182table#downloads { 197table#downloads {
183 float: right; 198 float: right;
184 border-collapse: collapse; 199 border-collapse: collapse;
185 border: solid 1px #777; 200 border: solid 1px #777;
186 margin-left: 0.5em; 201 margin-left: 0.5em;
187 margin-bottom: 0.5em; 202 margin-bottom: 0.5em;
188} 203}
189 204
190table#downloads th { 205table#downloads th {
191 background-color: #ccc; 206 background-color: #ccc;
192} 207}
193 208
194div#blob { 209div#blob {
195 border: solid 1px black; 210 border: solid 1px black;
196} 211}
197 212
198div.error { 213div.error {
199 color: red; 214 color: red;
200 font-weight: bold; 215 font-weight: bold;
201 margin: 1em 2em; 216 margin: 1em 2em;
202} 217}
203 218
204a.ls-blob, a.ls-dir, a.ls-mod { 219a.ls-blob, a.ls-dir, a.ls-mod {
205 font-family: monospace; 220 font-family: monospace;
206} 221}
207 222
208td.ls-size { 223td.ls-size {
209 text-align: right; 224 text-align: right;
210 font-family: monospace; 225 font-family: monospace;
211 width: 10em; 226 width: 10em;
212} 227}
213 228
214td.ls-mode { 229td.ls-mode {
215 font-family: monospace; 230 font-family: monospace;
216 width: 10em; 231 width: 10em;
217} 232}
218 233
219table.blob { 234table.blob {
220 margin-top: 0.5em; 235 margin-top: 0.5em;
221 border-top: solid 1px black; 236 border-top: solid 1px black;
222} 237}
223 238
224table.blob td.no { 239table.blob td.no {
225 border-right: solid 1px black; 240 border-right: solid 1px black;
226 color: black; 241 color: black;
227 background-color: #eee; 242 background-color: #eee;
228 text-align: right; 243 text-align: right;
229} 244}
230 245
231table.blob td.no a { 246table.blob td.no a {
232 color: black; 247 color: black;
233} 248}
234 249
235table.blob td.no a:hover { 250table.blob td.no a:hover {
236 color: black; 251 color: black;
237 text-decoration: none; 252 text-decoration: none;
238} 253}
239 254
240table.blob td.txt { 255table.blob td.txt {
241 white-space: pre; 256 white-space: pre;
242 font-family: monospace; 257 font-family: monospace;
243 padding-left: 0.5em; 258 padding-left: 0.5em;
244} 259}
245 260
246table.nowrap td { 261table.nowrap td {
247 white-space: nowrap; 262 white-space: nowrap;
248} 263}
249 264
250table.commit-info { 265table.commit-info {
251 border-collapse: collapse; 266 border-collapse: collapse;
252 margin-top: 1.5em; 267 margin-top: 1.5em;
253} 268}
254 269
255table.commit-info th { 270table.commit-info th {
256 text-align: left; 271 text-align: left;
257 font-weight: normal; 272 font-weight: normal;
258 padding: 0.1em 1em 0.1em 0.1em; 273 padding: 0.1em 1em 0.1em 0.1em;
259 vertical-align: top; 274 vertical-align: top;
260} 275}
261 276
262table.commit-info td { 277table.commit-info td {
263 font-weight: normal; 278 font-weight: normal;
264 padding: 0.1em 1em 0.1em 0.1em; 279 padding: 0.1em 1em 0.1em 0.1em;
265} 280}
266 281
267div.commit-subject { 282div.commit-subject {
268 font-weight: bold; 283 font-weight: bold;
269 font-size: 125%; 284 font-size: 125%;
270 margin: 1.5em 0em 0.5em 0em; 285 margin: 1.5em 0em 0.5em 0em;
271 padding: 0em; 286 padding: 0em;
272} 287}
273 288
274div.commit-msg { 289div.commit-msg {
275 white-space: pre; 290 white-space: pre;
276 font-family: monospace; 291 font-family: monospace;
277} 292}
278 293
279div.diffstat-header { 294div.diffstat-header {
280 font-weight: bold; 295 font-weight: bold;
281 padding-top: 1.5em; 296 padding-top: 1.5em;
282} 297}
283 298
284table.diffstat { 299table.diffstat {
285 border-collapse: collapse; 300 border-collapse: collapse;
286 border: solid 1px #aaa; 301 border: solid 1px #aaa;
287 background-color: #eee; 302 background-color: #eee;
288} 303}
289 304
290table.diffstat th { 305table.diffstat th {
291 font-weight: normal; 306 font-weight: normal;
292 text-align: left; 307 text-align: left;
293 text-decoration: underline; 308 text-decoration: underline;
294 padding: 0.1em 1em 0.1em 0.1em; 309 padding: 0.1em 1em 0.1em 0.1em;
295 font-size: 100%; 310 font-size: 100%;
296} 311}
297 312
298table.diffstat td { 313table.diffstat td {
299 padding: 0.2em 0.2em 0.1em 0.1em; 314 padding: 0.2em 0.2em 0.1em 0.1em;
300 font-size: 100%; 315 font-size: 100%;
301 border: none; 316 border: none;
302} 317}
303 318
304table.diffstat td.mode { 319table.diffstat td.mode {
305 white-space: nowrap; 320 white-space: nowrap;
306} 321}
307 322
308table.diffstat td span.modechange { 323table.diffstat td span.modechange {
309 padding-left: 1em; 324 padding-left: 1em;
310 color: red; 325 color: red;
311} 326}
312 327
313table.diffstat td.add a { 328table.diffstat td.add a {
314 color: green; 329 color: green;
315} 330}
316 331
317table.diffstat td.del a { 332table.diffstat td.del a {
318 color: red; 333 color: red;
319} 334}
320 335
321table.diffstat td.upd a { 336table.diffstat td.upd a {
322 color: blue; 337 color: blue;
323} 338}
324 339
325table.diffstat td.graph { 340table.diffstat td.graph {
326 width: 500px; 341 width: 500px;
327 vertical-align: middle; 342 vertical-align: middle;
328} 343}
329 344
330table.diffstat td.graph table { 345table.diffstat td.graph table {
331 border: none; 346 border: none;
332} 347}
333 348
334table.diffstat td.graph td { 349table.diffstat td.graph td {
335 padding: 0px; 350 padding: 0px;
336 border: 0px; 351 border: 0px;
337 height: 7pt; 352 height: 7pt;