##// END OF EJS Templates
hgweb: wrap lines in file source view
Alexander Plavin -
r19388:7f0a3074 default
parent child Browse files
Show More
@@ -1,366 +1,367
1 body {
1 body {
2 margin: 0;
2 margin: 0;
3 padding: 0;
3 padding: 0;
4 background: white;
4 background: white;
5 font-family: sans-serif;
5 font-family: sans-serif;
6 }
6 }
7
7
8 .container {
8 .container {
9 padding-left: 115px;
9 padding-left: 115px;
10 }
10 }
11
11
12 .main {
12 .main {
13 position: relative;
13 position: relative;
14 background: white;
14 background: white;
15 padding: 2em 2em 2em 0;
15 padding: 2em 2em 2em 0;
16 }
16 }
17
17
18 #.main {
18 #.main {
19 width: 98%;
19 width: 98%;
20 }
20 }
21
21
22 .overflow {
22 .overflow {
23 width: 100%;
23 width: 100%;
24 overflow: auto;
24 overflow: auto;
25 }
25 }
26
26
27 .menu {
27 .menu {
28 width: 90px;
28 width: 90px;
29 margin: 0;
29 margin: 0;
30 font-size: 80%;
30 font-size: 80%;
31 text-align: left;
31 text-align: left;
32 position: absolute;
32 position: absolute;
33 top: 20px;
33 top: 20px;
34 left: 20px;
34 left: 20px;
35 right: auto;
35 right: auto;
36 }
36 }
37
37
38 .menu ul {
38 .menu ul {
39 list-style: none;
39 list-style: none;
40 padding: 0;
40 padding: 0;
41 margin: 10px 0 0 0;
41 margin: 10px 0 0 0;
42 border-left: 2px solid #999;
42 border-left: 2px solid #999;
43 }
43 }
44
44
45 .menu li {
45 .menu li {
46 margin-bottom: 3px;
46 margin-bottom: 3px;
47 padding: 2px 4px;
47 padding: 2px 4px;
48 background: white;
48 background: white;
49 color: black;
49 color: black;
50 font-weight: normal;
50 font-weight: normal;
51 }
51 }
52
52
53 .menu li.active {
53 .menu li.active {
54 font-weight: bold;
54 font-weight: bold;
55 }
55 }
56
56
57 .menu img {
57 .menu img {
58 width: 75px;
58 width: 75px;
59 height: 90px;
59 height: 90px;
60 border: 0;
60 border: 0;
61 }
61 }
62
62
63 .atom-logo img{
63 .atom-logo img{
64 width: 14px;
64 width: 14px;
65 height: 14px;
65 height: 14px;
66 border: 0;
66 border: 0;
67 }
67 }
68
68
69 .menu a { color: black; display: block; }
69 .menu a { color: black; display: block; }
70
70
71 .search {
71 .search {
72 position: absolute;
72 position: absolute;
73 top: .7em;
73 top: .7em;
74 right: 2em;
74 right: 2em;
75 }
75 }
76
76
77 form.search div#hint {
77 form.search div#hint {
78 display: none;
78 display: none;
79 position: absolute;
79 position: absolute;
80 top: 40px;
80 top: 40px;
81 right: 0px;
81 right: 0px;
82 width: 190px;
82 width: 190px;
83 padding: 5px;
83 padding: 5px;
84 background: #ffc;
84 background: #ffc;
85 font-size: 70%;
85 font-size: 70%;
86 border: 1px solid yellow;
86 border: 1px solid yellow;
87 -moz-border-radius: 5px; /* this works only in camino/firefox */
87 -moz-border-radius: 5px; /* this works only in camino/firefox */
88 -webkit-border-radius: 5px; /* this is just for Safari */
88 -webkit-border-radius: 5px; /* this is just for Safari */
89 }
89 }
90
90
91 form.search:hover div#hint { display: block; }
91 form.search:hover div#hint { display: block; }
92
92
93 a { text-decoration:none; }
93 a { text-decoration:none; }
94 .age { white-space:nowrap; }
94 .age { white-space:nowrap; }
95 .date { white-space:nowrap; }
95 .date { white-space:nowrap; }
96 .indexlinks { white-space:nowrap; }
96 .indexlinks { white-space:nowrap; }
97 .parity0 { background-color: #f0f0f0; }
97 .parity0 { background-color: #f0f0f0; }
98 .parity1 { background-color: white; }
98 .parity1 { background-color: white; }
99 .plusline { color: green; }
99 .plusline { color: green; }
100 .minusline { color: #dc143c; } /* crimson */
100 .minusline { color: #dc143c; } /* crimson */
101 .atline { color: purple; }
101 .atline { color: purple; }
102
102
103 .diffstat-file {
103 .diffstat-file {
104 white-space: nowrap;
104 white-space: nowrap;
105 font-size: 90%;
105 font-size: 90%;
106 }
106 }
107 .diffstat-total {
107 .diffstat-total {
108 white-space: nowrap;
108 white-space: nowrap;
109 font-size: 90%;
109 font-size: 90%;
110 }
110 }
111 .diffstat-graph {
111 .diffstat-graph {
112 width: 100%;
112 width: 100%;
113 }
113 }
114 .diffstat-add {
114 .diffstat-add {
115 background-color: green;
115 background-color: green;
116 float: left;
116 float: left;
117 }
117 }
118 .diffstat-remove {
118 .diffstat-remove {
119 background-color: red;
119 background-color: red;
120 float: left;
120 float: left;
121 }
121 }
122
122
123 .navigate {
123 .navigate {
124 text-align: right;
124 text-align: right;
125 font-size: 60%;
125 font-size: 60%;
126 margin: 1em 0;
126 margin: 1em 0;
127 }
127 }
128
128
129 .tag {
129 .tag {
130 color: #999;
130 color: #999;
131 font-size: 70%;
131 font-size: 70%;
132 font-weight: normal;
132 font-weight: normal;
133 margin-left: .5em;
133 margin-left: .5em;
134 vertical-align: baseline;
134 vertical-align: baseline;
135 }
135 }
136
136
137 .branchhead {
137 .branchhead {
138 color: #000;
138 color: #000;
139 font-size: 80%;
139 font-size: 80%;
140 font-weight: normal;
140 font-weight: normal;
141 margin-left: .5em;
141 margin-left: .5em;
142 vertical-align: baseline;
142 vertical-align: baseline;
143 }
143 }
144
144
145 ul#graphnodes .branchhead {
145 ul#graphnodes .branchhead {
146 font-size: 75%;
146 font-size: 75%;
147 }
147 }
148
148
149 .branchname {
149 .branchname {
150 color: #000;
150 color: #000;
151 font-size: 60%;
151 font-size: 60%;
152 font-weight: normal;
152 font-weight: normal;
153 margin-left: .5em;
153 margin-left: .5em;
154 vertical-align: baseline;
154 vertical-align: baseline;
155 }
155 }
156
156
157 h3 .branchname {
157 h3 .branchname {
158 font-size: 80%;
158 font-size: 80%;
159 }
159 }
160
160
161 /* Common */
161 /* Common */
162 pre { margin: 0; }
162 pre { margin: 0; }
163
163
164 h2 { font-size: 120%; border-bottom: 1px solid #999; }
164 h2 { font-size: 120%; border-bottom: 1px solid #999; }
165 h2 a { color: #000; }
165 h2 a { color: #000; }
166 h3 {
166 h3 {
167 margin-top: -.7em;
167 margin-top: -.7em;
168 font-size: 100%;
168 font-size: 100%;
169 }
169 }
170
170
171 /* log and tags tables */
171 /* log and tags tables */
172 .bigtable {
172 .bigtable {
173 border-bottom: 1px solid #999;
173 border-bottom: 1px solid #999;
174 border-collapse: collapse;
174 border-collapse: collapse;
175 font-size: 90%;
175 font-size: 90%;
176 width: 100%;
176 width: 100%;
177 font-weight: normal;
177 font-weight: normal;
178 text-align: left;
178 text-align: left;
179 }
179 }
180
180
181 .bigtable td {
181 .bigtable td {
182 vertical-align: top;
182 vertical-align: top;
183 }
183 }
184
184
185 .bigtable th {
185 .bigtable th {
186 padding: 1px 4px;
186 padding: 1px 4px;
187 border-bottom: 1px solid #999;
187 border-bottom: 1px solid #999;
188 }
188 }
189 .bigtable tr { border: none; }
189 .bigtable tr { border: none; }
190 .bigtable .age { width: 7em; }
190 .bigtable .age { width: 7em; }
191 .bigtable .author { width: 15em; }
191 .bigtable .author { width: 15em; }
192 .bigtable .description { }
192 .bigtable .description { }
193 .bigtable .description .base { font-size: 70%; float: right; line-height: 1.66; }
193 .bigtable .description .base { font-size: 70%; float: right; line-height: 1.66; }
194 .bigtable .node { width: 5em; font-family: monospace;}
194 .bigtable .node { width: 5em; font-family: monospace;}
195 .bigtable .permissions { width: 8em; text-align: left;}
195 .bigtable .permissions { width: 8em; text-align: left;}
196 .bigtable .size { width: 5em; text-align: right; }
196 .bigtable .size { width: 5em; text-align: right; }
197 .bigtable .annotate { text-align: right; }
197 .bigtable .annotate { text-align: right; }
198 .bigtable td.annotate { font-size: smaller; }
198 .bigtable td.annotate { font-size: smaller; }
199 .bigtable td.source { font-size: inherit; }
199 .bigtable td.source { font-size: inherit; }
200
200
201 .source, .sourcefirst, .sourcelast {
201 .source, .sourcefirst, .sourcelast {
202 font-family: monospace;
202 font-family: monospace;
203 white-space: pre;
203 white-space: pre;
204 padding: 1px 4px;
204 padding: 1px 4px;
205 font-size: 90%;
205 font-size: 90%;
206 }
206 }
207 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; }
207 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; }
208 .sourcelast { border-top: 1px solid #999; }
208 .sourcelast { border-top: 1px solid #999; }
209 .source a { color: #999; font-size: smaller; font-family: monospace;}
209 .source a { color: #999; font-size: smaller; font-family: monospace;}
210 .bottomline { border-bottom: 1px solid #999; }
210 .bottomline { border-bottom: 1px solid #999; }
211
211
212 .sourcelines {
212 .sourcelines {
213 font-size: 90%;
213 font-size: 90%;
214 position: relative;
214 position: relative;
215 }
215 }
216
216
217 .sourcelines > span {
217 .sourcelines > span {
218 display: inline-block;
218 display: inline-block;
219 width: 100%;
219 width: 100%;
220 padding: 1px 0px;
220 padding: 1px 0px;
221 white-space: pre-wrap;
221 counter-increment: lineno;
222 counter-increment: lineno;
222 }
223 }
223
224
224 .sourcelines > span:before {
225 .sourcelines > span:before {
225 -moz-user-select: -moz-none;
226 -moz-user-select: -moz-none;
226 -khtml-user-select: none;
227 -khtml-user-select: none;
227 -webkit-user-select: none;
228 -webkit-user-select: none;
228 -ms-user-select: none;
229 -ms-user-select: none;
229 user-select: none;
230 user-select: none;
230 display: inline-block;
231 display: inline-block;
231 width: 4em;
232 width: 4em;
232 margin-right: 1em;
233 margin-right: 1em;
233 font-size: smaller;
234 font-size: smaller;
234 color: #999;
235 color: #999;
235 text-align: right;
236 text-align: right;
236 content: counter(lineno);
237 content: counter(lineno);
237 }
238 }
238
239
239 .sourcelines > span:nth-child(4n+1) { background-color: #f0f0f0; }
240 .sourcelines > span:nth-child(4n+1) { background-color: #f0f0f0; }
240 .sourcelines > span:nth-child(4n+3) { background-color: white; }
241 .sourcelines > span:nth-child(4n+3) { background-color: white; }
241
242
242 .sourcelines > a {
243 .sourcelines > a {
243 display: inline-block;
244 display: inline-block;
244 position: absolute;
245 position: absolute;
245 left: 0px;
246 left: 0px;
246 width: 4em;
247 width: 4em;
247 height: 1em;
248 height: 1em;
248 }
249 }
249
250
250 .fileline { font-family: monospace; }
251 .fileline { font-family: monospace; }
251 .fileline img { border: 0; }
252 .fileline img { border: 0; }
252
253
253 .tagEntry .closed { color: #99f; }
254 .tagEntry .closed { color: #99f; }
254
255
255 /* Changeset entry */
256 /* Changeset entry */
256 #changesetEntry {
257 #changesetEntry {
257 border-collapse: collapse;
258 border-collapse: collapse;
258 font-size: 90%;
259 font-size: 90%;
259 width: 100%;
260 width: 100%;
260 margin-bottom: 1em;
261 margin-bottom: 1em;
261 }
262 }
262
263
263 #changesetEntry th {
264 #changesetEntry th {
264 padding: 1px 4px;
265 padding: 1px 4px;
265 width: 4em;
266 width: 4em;
266 text-align: right;
267 text-align: right;
267 font-weight: normal;
268 font-weight: normal;
268 color: #999;
269 color: #999;
269 margin-right: .5em;
270 margin-right: .5em;
270 vertical-align: top;
271 vertical-align: top;
271 }
272 }
272
273
273 div.description {
274 div.description {
274 border-left: 2px solid #999;
275 border-left: 2px solid #999;
275 margin: 1em 0 1em 0;
276 margin: 1em 0 1em 0;
276 padding: .3em;
277 padding: .3em;
277 white-space: pre;
278 white-space: pre;
278 font-family: monospace;
279 font-family: monospace;
279 }
280 }
280
281
281 /* Graph */
282 /* Graph */
282 div#wrapper {
283 div#wrapper {
283 position: relative;
284 position: relative;
284 border-top: 1px solid black;
285 border-top: 1px solid black;
285 border-bottom: 1px solid black;
286 border-bottom: 1px solid black;
286 margin: 0;
287 margin: 0;
287 padding: 0;
288 padding: 0;
288 }
289 }
289
290
290 canvas {
291 canvas {
291 position: absolute;
292 position: absolute;
292 z-index: 5;
293 z-index: 5;
293 top: -0.7em;
294 top: -0.7em;
294 margin: 0;
295 margin: 0;
295 }
296 }
296
297
297 ul#graphnodes {
298 ul#graphnodes {
298 position: absolute;
299 position: absolute;
299 z-index: 10;
300 z-index: 10;
300 top: -1.0em;
301 top: -1.0em;
301 list-style: none inside none;
302 list-style: none inside none;
302 padding: 0;
303 padding: 0;
303 }
304 }
304
305
305 ul#nodebgs {
306 ul#nodebgs {
306 list-style: none inside none;
307 list-style: none inside none;
307 padding: 0;
308 padding: 0;
308 margin: 0;
309 margin: 0;
309 top: -0.7em;
310 top: -0.7em;
310 }
311 }
311
312
312 ul#graphnodes li, ul#nodebgs li {
313 ul#graphnodes li, ul#nodebgs li {
313 height: 39px;
314 height: 39px;
314 }
315 }
315
316
316 ul#graphnodes li .info {
317 ul#graphnodes li .info {
317 display: block;
318 display: block;
318 font-size: 70%;
319 font-size: 70%;
319 position: relative;
320 position: relative;
320 top: -3px;
321 top: -3px;
321 }
322 }
322
323
323 /* Comparison */
324 /* Comparison */
324 .legend {
325 .legend {
325 padding: 1.5% 0 1.5% 0;
326 padding: 1.5% 0 1.5% 0;
326 }
327 }
327
328
328 .legendinfo {
329 .legendinfo {
329 border: 1px solid #999;
330 border: 1px solid #999;
330 font-size: 80%;
331 font-size: 80%;
331 text-align: center;
332 text-align: center;
332 padding: 0.5%;
333 padding: 0.5%;
333 }
334 }
334
335
335 .equal {
336 .equal {
336 background-color: #ffffff;
337 background-color: #ffffff;
337 }
338 }
338
339
339 .delete {
340 .delete {
340 background-color: #faa;
341 background-color: #faa;
341 color: #333;
342 color: #333;
342 }
343 }
343
344
344 .insert {
345 .insert {
345 background-color: #ffa;
346 background-color: #ffa;
346 }
347 }
347
348
348 .replace {
349 .replace {
349 background-color: #e8e8e8;
350 background-color: #e8e8e8;
350 }
351 }
351
352
352 .header {
353 .header {
353 text-align: center;
354 text-align: center;
354 }
355 }
355
356
356 .block {
357 .block {
357 border-top: 1px solid #999;
358 border-top: 1px solid #999;
358 }
359 }
359
360
360 .breadcrumb {
361 .breadcrumb {
361 color: gray;
362 color: gray;
362 }
363 }
363
364
364 .breadcrumb a {
365 .breadcrumb a {
365 color: blue;
366 color: blue;
366 }
367 }
General Comments 0
You need to be logged in to leave comments. Login now