##// END OF EJS Templates
hgweb: color line which is linked to in file source view...
Alexander Plavin -
r19389:41c4bdd1 default
parent child Browse files
Show More
@@ -1,367 +1,371 b''
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 white-space: pre-wrap;
222 counter-increment: lineno;
222 counter-increment: lineno;
223 }
223 }
224
224
225 .sourcelines > span:before {
225 .sourcelines > span:before {
226 -moz-user-select: -moz-none;
226 -moz-user-select: -moz-none;
227 -khtml-user-select: none;
227 -khtml-user-select: none;
228 -webkit-user-select: none;
228 -webkit-user-select: none;
229 -ms-user-select: none;
229 -ms-user-select: none;
230 user-select: none;
230 user-select: none;
231 display: inline-block;
231 display: inline-block;
232 width: 4em;
232 width: 4em;
233 margin-right: 1em;
233 margin-right: 1em;
234 font-size: smaller;
234 font-size: smaller;
235 color: #999;
235 color: #999;
236 text-align: right;
236 text-align: right;
237 content: counter(lineno);
237 content: counter(lineno);
238 }
238 }
239
239
240 .sourcelines > span:nth-child(4n+1) { background-color: #f0f0f0; }
240 .sourcelines > span:nth-child(4n+1) { background-color: #f0f0f0; }
241 .sourcelines > span:nth-child(4n+3) { background-color: white; }
241 .sourcelines > span:nth-child(4n+3) { background-color: white; }
242
242
243 .sourcelines > span:target {
244 background-color: #ffff99;
245 }
246
243 .sourcelines > a {
247 .sourcelines > a {
244 display: inline-block;
248 display: inline-block;
245 position: absolute;
249 position: absolute;
246 left: 0px;
250 left: 0px;
247 width: 4em;
251 width: 4em;
248 height: 1em;
252 height: 1em;
249 }
253 }
250
254
251 .fileline { font-family: monospace; }
255 .fileline { font-family: monospace; }
252 .fileline img { border: 0; }
256 .fileline img { border: 0; }
253
257
254 .tagEntry .closed { color: #99f; }
258 .tagEntry .closed { color: #99f; }
255
259
256 /* Changeset entry */
260 /* Changeset entry */
257 #changesetEntry {
261 #changesetEntry {
258 border-collapse: collapse;
262 border-collapse: collapse;
259 font-size: 90%;
263 font-size: 90%;
260 width: 100%;
264 width: 100%;
261 margin-bottom: 1em;
265 margin-bottom: 1em;
262 }
266 }
263
267
264 #changesetEntry th {
268 #changesetEntry th {
265 padding: 1px 4px;
269 padding: 1px 4px;
266 width: 4em;
270 width: 4em;
267 text-align: right;
271 text-align: right;
268 font-weight: normal;
272 font-weight: normal;
269 color: #999;
273 color: #999;
270 margin-right: .5em;
274 margin-right: .5em;
271 vertical-align: top;
275 vertical-align: top;
272 }
276 }
273
277
274 div.description {
278 div.description {
275 border-left: 2px solid #999;
279 border-left: 2px solid #999;
276 margin: 1em 0 1em 0;
280 margin: 1em 0 1em 0;
277 padding: .3em;
281 padding: .3em;
278 white-space: pre;
282 white-space: pre;
279 font-family: monospace;
283 font-family: monospace;
280 }
284 }
281
285
282 /* Graph */
286 /* Graph */
283 div#wrapper {
287 div#wrapper {
284 position: relative;
288 position: relative;
285 border-top: 1px solid black;
289 border-top: 1px solid black;
286 border-bottom: 1px solid black;
290 border-bottom: 1px solid black;
287 margin: 0;
291 margin: 0;
288 padding: 0;
292 padding: 0;
289 }
293 }
290
294
291 canvas {
295 canvas {
292 position: absolute;
296 position: absolute;
293 z-index: 5;
297 z-index: 5;
294 top: -0.7em;
298 top: -0.7em;
295 margin: 0;
299 margin: 0;
296 }
300 }
297
301
298 ul#graphnodes {
302 ul#graphnodes {
299 position: absolute;
303 position: absolute;
300 z-index: 10;
304 z-index: 10;
301 top: -1.0em;
305 top: -1.0em;
302 list-style: none inside none;
306 list-style: none inside none;
303 padding: 0;
307 padding: 0;
304 }
308 }
305
309
306 ul#nodebgs {
310 ul#nodebgs {
307 list-style: none inside none;
311 list-style: none inside none;
308 padding: 0;
312 padding: 0;
309 margin: 0;
313 margin: 0;
310 top: -0.7em;
314 top: -0.7em;
311 }
315 }
312
316
313 ul#graphnodes li, ul#nodebgs li {
317 ul#graphnodes li, ul#nodebgs li {
314 height: 39px;
318 height: 39px;
315 }
319 }
316
320
317 ul#graphnodes li .info {
321 ul#graphnodes li .info {
318 display: block;
322 display: block;
319 font-size: 70%;
323 font-size: 70%;
320 position: relative;
324 position: relative;
321 top: -3px;
325 top: -3px;
322 }
326 }
323
327
324 /* Comparison */
328 /* Comparison */
325 .legend {
329 .legend {
326 padding: 1.5% 0 1.5% 0;
330 padding: 1.5% 0 1.5% 0;
327 }
331 }
328
332
329 .legendinfo {
333 .legendinfo {
330 border: 1px solid #999;
334 border: 1px solid #999;
331 font-size: 80%;
335 font-size: 80%;
332 text-align: center;
336 text-align: center;
333 padding: 0.5%;
337 padding: 0.5%;
334 }
338 }
335
339
336 .equal {
340 .equal {
337 background-color: #ffffff;
341 background-color: #ffffff;
338 }
342 }
339
343
340 .delete {
344 .delete {
341 background-color: #faa;
345 background-color: #faa;
342 color: #333;
346 color: #333;
343 }
347 }
344
348
345 .insert {
349 .insert {
346 background-color: #ffa;
350 background-color: #ffa;
347 }
351 }
348
352
349 .replace {
353 .replace {
350 background-color: #e8e8e8;
354 background-color: #e8e8e8;
351 }
355 }
352
356
353 .header {
357 .header {
354 text-align: center;
358 text-align: center;
355 }
359 }
356
360
357 .block {
361 .block {
358 border-top: 1px solid #999;
362 border-top: 1px solid #999;
359 }
363 }
360
364
361 .breadcrumb {
365 .breadcrumb {
362 color: gray;
366 color: gray;
363 }
367 }
364
368
365 .breadcrumb a {
369 .breadcrumb a {
366 color: blue;
370 color: blue;
367 }
371 }
General Comments 0
You need to be logged in to leave comments. Login now