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