Mercurial > hg
annotate mercurial/templates/static/style-paper.css @ 31848:7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
In followlines.js, we create a <div id="followlines-tooltip"> element to draw
attention of users on "followlines" feature. The element shows up on hover of
source lines after one second and follows the cursor. After first click (start
line selection), the text changes and indicates that next click will terminate
selection.
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Thu, 06 Apr 2017 19:15:09 +0200 |
parents | 02eb52e9d413 |
children | 5c1abb4bd3ee |
rev | line source |
---|---|
6436 | 1 body { |
2 margin: 0; | |
3 padding: 0; | |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
4 background: white; |
26536
93a3687a94d7
hgweb: ensure both foreground and background colors are specified (issue4872)
Gijs Kruitbosch <gijskruitbosch@gmail.com>
parents:
26530
diff
changeset
|
5 color: black; |
6451 | 6 font-family: sans-serif; |
6436 | 7 } |
8 | |
6453 | 9 .container { |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
10 padding-left: 115px; |
6453 | 11 } |
12 | |
6436 | 13 .main { |
6453 | 14 position: relative; |
6436 | 15 background: white; |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
16 padding: 2em 2em 2em 0; |
6436 | 17 } |
18 | |
6864
105d8676a688
coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents:
6694
diff
changeset
|
19 #.main { |
105d8676a688
coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents:
6694
diff
changeset
|
20 width: 98%; |
105d8676a688
coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents:
6694
diff
changeset
|
21 } |
105d8676a688
coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents:
6694
diff
changeset
|
22 |
6436 | 23 .overflow { |
24 width: 100%; | |
25 overflow: auto; | |
26 } | |
27 | |
28 .menu { | |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
29 width: 90px; |
6436 | 30 margin: 0; |
6463 | 31 font-size: 80%; |
6436 | 32 text-align: left; |
7313
15981c8f6cf1
paper: don't keep the menu affixed to the top
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7299
diff
changeset
|
33 position: absolute; |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
34 top: 20px; |
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
35 left: 20px; |
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
36 right: auto; |
6436 | 37 } |
38 | |
39 .menu ul { | |
40 list-style: none; | |
41 padding: 0; | |
42 margin: 10px 0 0 0; | |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
43 border-left: 2px solid #999; |
6436 | 44 } |
45 | |
46 .menu li { | |
47 margin-bottom: 3px; | |
48 padding: 2px 4px; | |
49 background: white; | |
50 color: black; | |
51 font-weight: normal; | |
52 } | |
53 | |
54 .menu li.active { | |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
55 font-weight: bold; |
6436 | 56 } |
57 | |
8509
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
58 .menu img { |
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
59 width: 75px; |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
60 height: 90px; |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
61 border: 0; |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
62 } |
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
63 |
24041
9756f943634f
hgweb: use css margin instead of empty <p> before <div class="atom-logo">
Anton Shestakov <engored@ya.ru>
parents:
20626
diff
changeset
|
64 div.atom-logo { |
9756f943634f
hgweb: use css margin instead of empty <p> before <div class="atom-logo">
Anton Shestakov <engored@ya.ru>
parents:
20626
diff
changeset
|
65 margin-top: 10px; |
9756f943634f
hgweb: use css margin instead of empty <p> before <div class="atom-logo">
Anton Shestakov <engored@ya.ru>
parents:
20626
diff
changeset
|
66 } |
9756f943634f
hgweb: use css margin instead of empty <p> before <div class="atom-logo">
Anton Shestakov <engored@ya.ru>
parents:
20626
diff
changeset
|
67 |
18200
b31266671918
hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17243
diff
changeset
|
68 .atom-logo img{ |
b31266671918
hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17243
diff
changeset
|
69 width: 14px; |
b31266671918
hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17243
diff
changeset
|
70 height: 14px; |
b31266671918
hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17243
diff
changeset
|
71 border: 0; |
b31266671918
hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17243
diff
changeset
|
72 } |
b31266671918
hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
17243
diff
changeset
|
73 |
6463 | 74 .menu a { color: black; display: block; } |
75 | |
6436 | 76 .search { |
77 position: absolute; | |
78 top: .7em; | |
79 right: 2em; | |
80 } | |
81 | |
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
82 form.search div#hint { |
7299
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
83 display: none; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
84 position: absolute; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
85 top: 40px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
86 right: 0px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
87 width: 190px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
88 padding: 5px; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
89 background: #ffc; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
90 font-size: 70%; |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
91 border: 1px solid yellow; |
26530
52642e12e7b3
hgweb: fix border-radius for standards-based browsers
Gijs Kruitbosch <gijskruitbosch@gmail.com>
parents:
26245
diff
changeset
|
92 border-radius: 5px; |
7299
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
93 } |
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
94 |
7725
6a888d491eaf
coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents:
7410
diff
changeset
|
95 form.search:hover div#hint { display: block; } |
7299
288dda59233c
coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents:
7181
diff
changeset
|
96 |
6436 | 97 a { text-decoration:none; } |
98 .age { white-space:nowrap; } | |
99 .date { white-space:nowrap; } | |
100 .indexlinks { white-space:nowrap; } | |
19431
b8ecc3830c89
hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents:
19430
diff
changeset
|
101 .parity0, |
b8ecc3830c89
hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents:
19430
diff
changeset
|
102 .stripes4 > :nth-child(4n+1), |
b8ecc3830c89
hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents:
19430
diff
changeset
|
103 .stripes2 > :nth-child(2n+1) { background-color: #f0f0f0; } |
b8ecc3830c89
hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents:
19430
diff
changeset
|
104 .parity1, |
b8ecc3830c89
hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents:
19430
diff
changeset
|
105 .stripes4 > :nth-child(4n+3), |
b8ecc3830c89
hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents:
19430
diff
changeset
|
106 .stripes2 > :nth-child(2n+2) { background-color: white; } |
6436 | 107 .plusline { color: green; } |
7340
06a6942554dc
hgweb: improve color discrimination for paper and coal
Matt Mackall <mpm@selenic.com>
parents:
7327
diff
changeset
|
108 .minusline { color: #dc143c; } /* crimson */ |
6436 | 109 .atline { color: purple; } |
110 | |
24042
bf661a03fddc
hgweb: use css margin instead of empty <p> before diffstat table
Anton Shestakov <engored@ya.ru>
parents:
24041
diff
changeset
|
111 .diffstat-table { |
bf661a03fddc
hgweb: use css margin instead of empty <p> before diffstat table
Anton Shestakov <engored@ya.ru>
parents:
24041
diff
changeset
|
112 margin-top: 1em; |
bf661a03fddc
hgweb: use css margin instead of empty <p> before diffstat table
Anton Shestakov <engored@ya.ru>
parents:
24041
diff
changeset
|
113 } |
14563
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
114 .diffstat-file { |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
115 white-space: nowrap; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
116 font-size: 90%; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
117 } |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
118 .diffstat-total { |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
119 white-space: nowrap; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
120 font-size: 90%; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
121 } |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
122 .diffstat-graph { |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
123 width: 100%; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
124 } |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
125 .diffstat-add { |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
126 background-color: green; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
127 float: left; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
128 } |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
129 .diffstat-remove { |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
130 background-color: red; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
131 float: left; |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
132 } |
81fc9678b018
paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
13961
diff
changeset
|
133 |
6436 | 134 .navigate { |
135 text-align: right; | |
136 font-size: 60%; | |
8506
93a9f4a0e361
coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents:
7725
diff
changeset
|
137 margin: 1em 0; |
6436 | 138 } |
139 | |
140 .tag { | |
141 color: #999; | |
142 font-size: 70%; | |
143 font-weight: normal; | |
144 margin-left: .5em; | |
6571
e6f71ca3de8a
coal: fix CSS errors as reported by Firefox
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6463
diff
changeset
|
145 vertical-align: baseline; |
6436 | 146 } |
147 | |
7407
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
148 .branchhead { |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
149 color: #000; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
150 font-size: 80%; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
151 font-weight: normal; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
152 margin-left: .5em; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
153 vertical-align: baseline; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
154 } |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
155 |
7408
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
156 ul#graphnodes .branchhead { |
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
157 font-size: 75%; |
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
158 } |
f031a12dfc31
coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents:
7407
diff
changeset
|
159 |
7407
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
160 .branchname { |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
161 color: #000; |
10575
136eed1ac69c
trailing spaces (and one stray tab)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
9999
diff
changeset
|
162 font-size: 60%; |
7407
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
163 font-weight: normal; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
164 margin-left: .5em; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
165 vertical-align: baseline; |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
166 } |
7b2a77b20964
coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents:
7394
diff
changeset
|
167 |
7410
f1111704061e
coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7408
diff
changeset
|
168 h3 .branchname { |
f1111704061e
coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7408
diff
changeset
|
169 font-size: 80%; |
f1111704061e
coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7408
diff
changeset
|
170 } |
f1111704061e
coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7408
diff
changeset
|
171 |
6436 | 172 /* Common */ |
173 pre { margin: 0; } | |
174 | |
175 h2 { font-size: 120%; border-bottom: 1px solid #999; } | |
7314
a0843c82d1a2
coal/paper: link repo name to hgweb root
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7313
diff
changeset
|
176 h2 a { color: #000; } |
6436 | 177 h3 { |
20626
9096f83f9e7c
paper: overlapping of section title on help pages (issue4051)
anuraggoel <anurag.dsps@gmail.com>
parents:
19762
diff
changeset
|
178 margin-top: +.7em; |
6436 | 179 font-size: 100%; |
180 } | |
181 | |
182 /* log and tags tables */ | |
183 .bigtable { | |
184 border-bottom: 1px solid #999; | |
185 border-collapse: collapse; | |
186 font-size: 90%; | |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
187 width: 100%; |
6436 | 188 font-weight: normal; |
189 text-align: left; | |
190 } | |
191 | |
192 .bigtable td { | |
193 vertical-align: top; | |
194 } | |
195 | |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
196 .bigtable th { |
8506
93a9f4a0e361
coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents:
7725
diff
changeset
|
197 padding: 1px 4px; |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
198 border-bottom: 1px solid #999; |
6436 | 199 } |
200 .bigtable tr { border: none; } | |
9721
1d75c683ada1
templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8713
diff
changeset
|
201 .bigtable .age { width: 7em; } |
18664
30d899febef8
hgweb: consistent author name width
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
18258
diff
changeset
|
202 .bigtable .author { width: 15em; } |
6436 | 203 .bigtable .description { } |
13850
1209e1d52b68
hgweb: add base link to file log for paper and coal styles (issue2452)
Kevin Gessner <kevin@fogcreek.com>
parents:
10575
diff
changeset
|
204 .bigtable .description .base { font-size: 70%; float: right; line-height: 1.66; } |
6436 | 205 .bigtable .node { width: 5em; font-family: monospace;} |
6452 | 206 .bigtable .permissions { width: 8em; text-align: left;} |
6436 | 207 .bigtable .size { width: 5em; text-align: right; } |
6571
e6f71ca3de8a
coal: fix CSS errors as reported by Firefox
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6463
diff
changeset
|
208 .bigtable .annotate { text-align: right; } |
6436 | 209 .bigtable td.annotate { font-size: smaller; } |
7394
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
210 .bigtable td.source { font-size: inherit; } |
29387
6b77adc2c7b5
hgweb: highlight data of the current revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
26599
diff
changeset
|
211 tr.thisrev a { color:#999999; text-decoration: none; } |
6b77adc2c7b5
hgweb: highlight data of the current revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
26599
diff
changeset
|
212 tr.thisrev td.source { color:#009900; } |
30074
8f34e217338b
hgweb: avoid line wrap between revision and annotate-info (issue5398)
Tooru Fujisawa <arai.unmht@gmail.com>
parents:
29625
diff
changeset
|
213 td.annotate { |
8f34e217338b
hgweb: avoid line wrap between revision and annotate-info (issue5398)
Tooru Fujisawa <arai.unmht@gmail.com>
parents:
29625
diff
changeset
|
214 white-space: nowrap; |
8f34e217338b
hgweb: avoid line wrap between revision and annotate-info (issue5398)
Tooru Fujisawa <arai.unmht@gmail.com>
parents:
29625
diff
changeset
|
215 } |
29522
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
216 div.annotate-info { |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
217 display: none; |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
218 position: absolute; |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
219 background-color: #FFFFFF; |
29625
6e4da488f955
paper: make annotate popup use theme colors
Anton Shestakov <av6@dwimlabs.net>
parents:
29522
diff
changeset
|
220 border: 1px solid #999; |
29522
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
221 text-align: left; |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
222 color: #000000; |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
223 padding: 5px; |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
224 } |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
225 div.annotate-info a { color: #0000FF; } |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
226 td.annotate:hover div.annotate-info { display: inline; } |
7394
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
227 |
26245
d53212d70893
hgweb: replace .sourcelast with .bottomline that does the same
Anton Shestakov <av6@dwimlabs.net>
parents:
24427
diff
changeset
|
228 .source, .sourcefirst { |
7394
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
229 font-family: monospace; |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
230 white-space: pre; |
8508
8c5e32a4f2f9
coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents:
8506
diff
changeset
|
231 padding: 1px 4px; |
7394
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
232 font-size: 90%; |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
233 } |
8508
8c5e32a4f2f9
coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents:
8506
diff
changeset
|
234 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; } |
7394
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
235 .source a { color: #999; font-size: smaller; font-family: monospace;} |
03b60f2f90bf
hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents:
7340
diff
changeset
|
236 .bottomline { border-bottom: 1px solid #999; } |
6436 | 237 |
19387
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
238 .sourcelines { |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
239 font-size: 90%; |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
240 position: relative; |
19432
e92d4b8530cb
hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents:
19431
diff
changeset
|
241 counter-reset: lineno; |
19387
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
242 } |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
243 |
19430
5ec5097b4c0f
hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents:
19389
diff
changeset
|
244 .wrap > span { |
5ec5097b4c0f
hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents:
19389
diff
changeset
|
245 white-space: pre-wrap; |
5ec5097b4c0f
hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents:
19389
diff
changeset
|
246 } |
5ec5097b4c0f
hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents:
19389
diff
changeset
|
247 |
5ec5097b4c0f
hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents:
19389
diff
changeset
|
248 .linewraptoggle { |
5ec5097b4c0f
hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents:
19389
diff
changeset
|
249 float: right; |
5ec5097b4c0f
hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents:
19389
diff
changeset
|
250 } |
5ec5097b4c0f
hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents:
19389
diff
changeset
|
251 |
19432
e92d4b8530cb
hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents:
19431
diff
changeset
|
252 .diffblocks { counter-reset: lineno; } |
e92d4b8530cb
hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents:
19431
diff
changeset
|
253 .diffblocks > div { counter-increment: lineno; } |
e92d4b8530cb
hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents:
19431
diff
changeset
|
254 |
19387
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
255 .sourcelines > span { |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
256 display: inline-block; |
24427
811a1842cfe5
hgweb: pull line numbers out of main flow of source content
Paul Fisher <pfish@google.com>
parents:
24042
diff
changeset
|
257 box-sizing: border-box; |
19387
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
258 width: 100%; |
24427
811a1842cfe5
hgweb: pull line numbers out of main flow of source content
Paul Fisher <pfish@google.com>
parents:
24042
diff
changeset
|
259 padding: 1px 0px 1px 5em; |
19387
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
260 counter-increment: lineno; |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
261 } |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
262 |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
263 .sourcelines > span:before { |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
264 -moz-user-select: -moz-none; |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
265 -khtml-user-select: none; |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
266 -webkit-user-select: none; |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
267 -ms-user-select: none; |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
268 user-select: none; |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
269 display: inline-block; |
24427
811a1842cfe5
hgweb: pull line numbers out of main flow of source content
Paul Fisher <pfish@google.com>
parents:
24042
diff
changeset
|
270 margin-left: -5em; |
19387
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
271 width: 4em; |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
272 font-size: smaller; |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
273 color: #999; |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
274 text-align: right; |
19432
e92d4b8530cb
hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents:
19431
diff
changeset
|
275 content: counters(lineno, "."); |
19492
dfc0fe1541d9
paper: fix rendering of the first tab in a line in Webkit (issue3990)
Alexander Plavin <me@aplavin.ru>
parents:
19459
diff
changeset
|
276 float: left; |
19387
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
277 } |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
278 |
19459
fbfe5748ef3e
hgweb: highlight line which is linked to at comparison view
Alexander Plavin <me@aplavin.ru>
parents:
19458
diff
changeset
|
279 .sourcelines > span:target, tr:target td { |
19458
5e518418738e
hgweb: change highlighted line color to be different from 'inserted' color
Alexander Plavin <me@aplavin.ru>
parents:
19432
diff
changeset
|
280 background-color: #bfdfff; |
19389
41c4bdd1d585
hgweb: color line which is linked to in file source view
Alexander Plavin <me@aplavin.ru>
parents:
19388
diff
changeset
|
281 } |
41c4bdd1d585
hgweb: color line which is linked to in file source view
Alexander Plavin <me@aplavin.ru>
parents:
19388
diff
changeset
|
282 |
31784
02eb52e9d413
hgweb: rely on a specific class to change cursor type in followlines UI
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31758
diff
changeset
|
283 div.overflow pre.sourcelines > span.followlines-select:hover { |
31758
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
284 cursor: cell; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
285 } |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
286 |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
287 pre.sourcelines > span.followlines-selected { |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
288 background-color: #99C7E9; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
289 } |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
290 |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
291 div#followlines { |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
292 background-color: #B7B7B7; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
293 border: 1px solid #CCC; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
294 border-radius: 5px; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
295 padding: 4px; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
296 position: absolute; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
297 } |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
298 |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
299 div.followlines-cancel { |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
300 text-align: right; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
301 } |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
302 |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
303 div.followlines-cancel > button { |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
304 line-height: 80%; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
305 padding: 0; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
306 border: 0; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
307 border-radius: 2px; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
308 background-color: inherit; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
309 font-weight: bold; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
310 } |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
311 |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
312 div.followlines-cancel > button:hover { |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
313 color: #FFFFFF; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
314 background-color: #CF1F1F; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
315 } |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
316 |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
317 div.followlines-link { |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
318 margin: 2px; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
319 margin-top: 4px; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
320 font-family: sans-serif; |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
321 } |
04ec317b8128
hgweb: expose a followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
30074
diff
changeset
|
322 |
31848
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
323 div#followlines-tooltip { |
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
324 display: none; |
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
325 position: fixed; |
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
326 background-color: #ffc; |
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
327 border: 1px solid #999; |
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
328 padding: 2px; |
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
329 } |
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
330 |
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
331 .sourcelines:hover > div#followlines-tooltip { |
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
332 display: inline; |
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
333 } |
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
334 |
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
335 .sourcelines:hover > div#followlines-tooltip.hidden { |
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
336 display: none; |
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
337 } |
7160bdd56b84
hgweb: add a floating tooltip to invite on followlines action
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31784
diff
changeset
|
338 |
19387
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
339 .sourcelines > a { |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
340 display: inline-block; |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
341 position: absolute; |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
342 left: 0px; |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
343 width: 4em; |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
344 height: 1em; |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
345 } |
f2e4fdb3dd27
hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents:
18664
diff
changeset
|
346 |
6454 | 347 .fileline { font-family: monospace; } |
6463 | 348 .fileline img { border: 0; } |
6454 | 349 |
8713
de6bb29e208a
hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8509
diff
changeset
|
350 .tagEntry .closed { color: #99f; } |
de6bb29e208a
hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8509
diff
changeset
|
351 |
6436 | 352 /* Changeset entry */ |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
353 #changesetEntry { |
6436 | 354 border-collapse: collapse; |
355 font-size: 90%; | |
356 width: 100%; | |
357 margin-bottom: 1em; | |
358 } | |
359 | |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
360 #changesetEntry th { |
8506
93a9f4a0e361
coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents:
7725
diff
changeset
|
361 padding: 1px 4px; |
6436 | 362 width: 4em; |
363 text-align: right; | |
364 font-weight: normal; | |
365 color: #999; | |
366 margin-right: .5em; | |
367 vertical-align: top; | |
368 } | |
369 | |
370 div.description { | |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
371 border-left: 2px solid #999; |
6436 | 372 margin: 1em 0 1em 0; |
373 padding: .3em; | |
13934
ebe1ddbbefd7
paper: preserve whitespace on description instead of adding breaks
Adrian Buehlmann <adrian@cadifra.com>
parents:
13850
diff
changeset
|
374 white-space: pre; |
13961
1708a0cad774
paper: use monospace font for description
Adrian Buehlmann <adrian@cadifra.com>
parents:
13934
diff
changeset
|
375 font-family: monospace; |
6436 | 376 } |
6692
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
377 |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
378 /* Graph */ |
6692
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
379 div#wrapper { |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
380 position: relative; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
381 border-top: 1px solid black; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
382 border-bottom: 1px solid black; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
383 margin: 0; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
384 padding: 0; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
385 } |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
386 |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
387 canvas { |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
388 position: absolute; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
389 z-index: 5; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
390 top: -0.7em; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
391 margin: 0; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
392 } |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
393 |
8509
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
394 ul#graphnodes { |
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
395 position: absolute; |
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
396 z-index: 10; |
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
397 top: -1.0em; |
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
398 list-style: none inside none; |
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
399 padding: 0; |
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
400 } |
5cd232ebc317
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents:
8508
diff
changeset
|
401 |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
402 ul#nodebgs { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
403 list-style: none inside none; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
404 padding: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
405 margin: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
406 top: -0.7em; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
407 } |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
7314
diff
changeset
|
408 |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
409 ul#graphnodes li, ul#nodebgs li { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
410 height: 39px; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
411 } |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
412 |
6692
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
413 ul#graphnodes li .info { |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
414 display: block; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
415 font-size: 70%; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
416 position: relative; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
417 top: -3px; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
418 } |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
419 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
420 /* Comparison */ |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
421 .legend { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
422 padding: 1.5% 0 1.5% 0; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
423 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
424 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
425 .legendinfo { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
426 border: 1px solid #999; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
427 font-size: 80%; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
428 text-align: center; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
429 padding: 0.5%; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
430 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
431 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
432 .equal { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
433 background-color: #ffffff; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
434 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
435 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
436 .delete { |
17243
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
437 background-color: #faa; |
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
438 color: #333; |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
439 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
440 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
441 .insert { |
17243
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
442 background-color: #ffa; |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
443 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
444 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
445 .replace { |
17243
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
446 background-color: #e8e8e8; |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
447 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
448 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
449 .header { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
450 text-align: center; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
451 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
452 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
453 .block { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
454 border-top: 1px solid #999; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
14563
diff
changeset
|
455 } |
18258
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
456 |
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
457 .breadcrumb { |
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
458 color: gray; |
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
459 } |
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
460 |
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
461 .breadcrumb a { |
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
462 color: blue; |
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
18200
diff
changeset
|
463 } |
19761
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
464 |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
465 .scroll-loading { |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
466 -webkit-animation: change_color 1s linear 0s infinite alternate; |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
467 -moz-animation: change_color 1s linear 0s infinite alternate; |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
468 -o-animation: change_color 1s linear 0s infinite alternate; |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
469 animation: change_color 1s linear 0s infinite alternate; |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
470 } |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
471 |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
472 @-webkit-keyframes change_color { |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
473 from { background-color: #A0CEFF; } to { } |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
474 } |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
475 @-moz-keyframes change_color { |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
476 from { background-color: #A0CEFF; } to { } |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
477 } |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
478 @-o-keyframes change_color { |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
479 from { background-color: #A0CEFF; } to { } |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
480 } |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
481 @keyframes change_color { |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
482 from { background-color: #A0CEFF; } to { } |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
483 } |
b5c601035005
paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents:
19492
diff
changeset
|
484 |
19762
e0666aaa1382
paper: add reddish background to ajax error message
Alexander Plavin <alexander@plav.in>
parents:
19761
diff
changeset
|
485 .scroll-loading-error { |
e0666aaa1382
paper: add reddish background to ajax error message
Alexander Plavin <alexander@plav.in>
parents:
19761
diff
changeset
|
486 background-color: #FFCCCC !important; |
e0666aaa1382
paper: add reddish background to ajax error message
Alexander Plavin <alexander@plav.in>
parents:
19761
diff
changeset
|
487 } |