Mercurial > hg
annotate mercurial/templates/static/style-gitweb.css @ 33390:32331f54930c
hgweb: re-implement followlines UI selection using buttons
This changeset attempts to solve two issues with the "followlines" UI in
hgweb. First the "followlines" action is currently not easily discoverable
(one has to hover on a line for some time, wait for the invite message to
appear and then perform some action). Second, it gets in the way of natural
line selection, especially in filerevision view.
This changeset introduces an additional markup element (a <button
class="btn-followlines">) alongside each content line of the view. This button
now holds events for line selection that were previously plugged onto content
lines directly. Consequently, there's no more action on content lines, hence
restoring the "natural line selection" behavior (solving the second problem).
These buttons are hidden by default and get displayed upon hover of content
lines; then upon hover of a button itself, a text inviting followlines section
shows up. This solves the first problem (discoverability) as we now have a
clear visual element indicating that "some action could be perform" (i.e. a
button) and that is self-documented.
In followlines.js, all event listeners are now attached to these <button>
elements. The custom "floating tooltip" element is dropped as <button>
elements are now self-documented through a "title" attribute that changes
depending on preceding actions (selection started or not, in particular).
The new <button> element is inserted in followlines.js script (thus only
visible if JavaScript is activated); it contains a "+" and "-" with a
"diff-semantics" style; upon hover, it scales up.
To find the parent element under which to insert the <button> we either rely
on the "data-selectabletag" attribute (which defines the HTML tag of children
of class="sourcelines" element e.g. <span> for filerevision view and <tr> for
annotate view) or use a child of the latter elements if we find an element
with class="followlines-btn-parent" (useful for annotate view, for which we
have to find the <td> in which to insert the <button>).
On noticeable change in CSS concerns the "margin-left" of span:before
pseudo-elements in filelog view that has been increased a bit in order to
leave space for the new button to appear between line number column and
line content one.
Also note the "z-index" addition for "annotate-info" box so that the latter
appears on top of new buttons (instead of getting hidden).
In some respect, the UI similar to line commenting feature that is implemented
in popular code hosting site like GitHub, BitBucket or Kallithea.
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Mon, 03 Jul 2017 13:49:03 +0200 |
parents | 1c97df5e3b46 |
children | 875b054e5b95 |
rev | line source |
---|---|
26536
93a3687a94d7
hgweb: ensure both foreground and background colors are specified (issue4872)
Gijs Kruitbosch <gijskruitbosch@gmail.com>
parents:
26363
diff
changeset
|
1 body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; background: white; color: black; } |
1778
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
2 a { color:#0000cc; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
3 a:hover, a:visited, a:active { color:#880000; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
4 div.page_header { height:25px; padding:8px; font-size:18px; font-weight:bold; background-color:#d9d8d1; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
5 div.page_header a:visited { color:#0000cc; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
6 div.page_header a:hover { color:#880000; } |
32762
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
7 div.page_nav { |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
8 padding:8px; |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
9 display: flex; |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
10 justify-content: space-between; |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
11 align-items: center; |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
12 } |
1778
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
13 div.page_nav a:visited { color:#0000cc; } |
32992
816a4fa7d5f8
hgweb: use separate CSS class for navigation links in footer
Gregory Szorc <gregory.szorc@gmail.com>
parents:
32762
diff
changeset
|
14 div.extra_nav { |
816a4fa7d5f8
hgweb: use separate CSS class for navigation links in footer
Gregory Szorc <gregory.szorc@gmail.com>
parents:
32762
diff
changeset
|
15 padding: 8px; |
816a4fa7d5f8
hgweb: use separate CSS class for navigation links in footer
Gregory Szorc <gregory.szorc@gmail.com>
parents:
32762
diff
changeset
|
16 } |
816a4fa7d5f8
hgweb: use separate CSS class for navigation links in footer
Gregory Szorc <gregory.szorc@gmail.com>
parents:
32762
diff
changeset
|
17 div.extra_nav a:visited { |
816a4fa7d5f8
hgweb: use separate CSS class for navigation links in footer
Gregory Szorc <gregory.szorc@gmail.com>
parents:
32762
diff
changeset
|
18 color: #0000cc; |
816a4fa7d5f8
hgweb: use separate CSS class for navigation links in footer
Gregory Szorc <gregory.szorc@gmail.com>
parents:
32762
diff
changeset
|
19 } |
1778
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
20 div.page_path { padding:8px; border:solid #d9d8d1; border-width:0px 0px 1px} |
3478
2896ce093ec4
Add #motd# to gitweb pages. Needs to pass self.motd to index template, too.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3022
diff
changeset
|
21 div.page_footer { padding:4px 8px; background-color: #d9d8d1; } |
1778
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
22 div.page_footer_text { float:left; color:#555555; font-style:italic; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
23 div.page_body { padding:8px; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
24 div.title, a.title { |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
25 display:block; padding:6px 8px; |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
26 font-weight:bold; background-color:#edece6; text-decoration:none; color:#000000; |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
27 } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
28 a.title:hover { background-color: #d9d8d1; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
29 div.title_text { padding:6px 0px; border: solid #d9d8d1; border-width:0px 0px 1px; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
30 div.log_body { padding:8px 8px 8px 150px; } |
2130
90ee844b9f71
hgweb templates: Don't word wrap "foo bar ago" (e.g. "3 months\nago")
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1778
diff
changeset
|
31 .age { white-space:nowrap; } |
1778
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
32 span.age { position:relative; float:left; width:142px; font-style:italic; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
33 div.log_link { |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
34 padding:0px 8px; |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
35 font-size:10px; font-family:sans-serif; font-style:normal; |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
36 position:relative; float:left; width:136px; |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
37 } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
38 div.list_head { padding:6px 8px 4px; border:solid #d9d8d1; border-width:1px 0px 0px; font-style:italic; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
39 a.list { text-decoration:none; color:#000000; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
40 a.list:hover { text-decoration:underline; color:#880000; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
41 table { padding:8px 4px; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
42 th { padding:2px 5px; font-size:12px; text-align:left; } |
29573
2b42fa1810c4
gitweb: make different blocks of annotated lines have different colors
Anton Shestakov <av6@dwimlabs.net>
parents:
29522
diff
changeset
|
43 .parity0 { background-color:#ffffff; } |
26670
ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Anton Shestakov <av6@dwimlabs.net>
parents:
26536
diff
changeset
|
44 tr.dark, .parity1, pre.sourcelines.stripes > :nth-child(4n+4) { background-color:#f6f6f0; } |
ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Anton Shestakov <av6@dwimlabs.net>
parents:
26536
diff
changeset
|
45 tr.light:hover, .parity0:hover, tr.dark:hover, .parity1:hover, |
ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Anton Shestakov <av6@dwimlabs.net>
parents:
26536
diff
changeset
|
46 pre.sourcelines.stripes > :nth-child(4n+2):hover, |
ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Anton Shestakov <av6@dwimlabs.net>
parents:
26536
diff
changeset
|
47 pre.sourcelines.stripes > :nth-child(4n+4):hover, |
ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Anton Shestakov <av6@dwimlabs.net>
parents:
26536
diff
changeset
|
48 pre.sourcelines.stripes > :nth-child(4n+1):hover + :nth-child(4n+2), |
ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Anton Shestakov <av6@dwimlabs.net>
parents:
26536
diff
changeset
|
49 pre.sourcelines.stripes > :nth-child(4n+3):hover + :nth-child(4n+4) { background-color:#edece6; } |
1778
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
50 td { padding:2px 5px; font-size:12px; vertical-align:top; } |
12353
0c2c969e032b
hgweb: be consistent with the background highlighting on closed branches (Issue2386)
Ryan Phillips <ryan@trolocsis.com>
parents:
9999
diff
changeset
|
51 td.closed { background-color: #99f; } |
1778
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
52 td.link { padding:2px 5px; font-family:sans-serif; font-size:10px; } |
6218
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
53 td.indexlinks { white-space: nowrap; } |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
54 td.indexlinks a { |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
55 padding: 2px 5px; line-height: 10px; |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
56 border: 1px solid; |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
57 color: #ffffff; background-color: #7777bb; |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
58 border-color: #aaaadd #333366 #333366 #aaaadd; |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
59 font-weight: bold; text-align: center; text-decoration: none; |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
60 font-size: 10px; |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
61 } |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
62 td.indexlinks a:hover { background-color: #6666aa; } |
1778
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
63 div.pre { font-family:monospace; font-size:12px; white-space:pre; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
64 div.diff_info { font-family:monospace; color:#000099; background-color:#edece6; font-style:italic; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
65 div.index_include { border:solid #d9d8d1; border-width:0px 0px 1px; padding:12px 8px; } |
32762
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
66 |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
67 .search { |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
68 margin-right: 8px; |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
69 } |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
70 |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
71 div#hint { |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
72 position: absolute; |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
73 display: none; |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
74 width: 250px; |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
75 padding: 5px; |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
76 background: #ffc; |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
77 border: 1px solid yellow; |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
78 border-radius: 5px; |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
79 } |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
80 |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
81 #searchform:hover div#hint { display: block; } |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31949
diff
changeset
|
82 |
29387
6b77adc2c7b5
hgweb: highlight data of the current revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
26670
diff
changeset
|
83 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:
26670
diff
changeset
|
84 tr.thisrev pre { color:#009900; } |
30074
8f34e217338b
hgweb: avoid line wrap between revision and annotate-info (issue5398)
Tooru Fujisawa <arai.unmht@gmail.com>
parents:
29626
diff
changeset
|
85 td.annotate { |
8f34e217338b
hgweb: avoid line wrap between revision and annotate-info (issue5398)
Tooru Fujisawa <arai.unmht@gmail.com>
parents:
29626
diff
changeset
|
86 white-space: nowrap; |
8f34e217338b
hgweb: avoid line wrap between revision and annotate-info (issue5398)
Tooru Fujisawa <arai.unmht@gmail.com>
parents:
29626
diff
changeset
|
87 } |
29522
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
88 div.annotate-info { |
33390
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
89 z-index: 5; |
29522
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
90 display: none; |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
91 position: absolute; |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
92 background-color: #FFFFFF; |
29626
4317aa562580
gitweb: make annotate popup use theme colors
Anton Shestakov <av6@dwimlabs.net>
parents:
29573
diff
changeset
|
93 border: 1px solid #d9d8d1; |
29522
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
94 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
|
95 color: #000000; |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
96 padding: 5px; |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
97 } |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
98 div.annotate-info a { color: #0000FF; text-decoration: underline; } |
9c37df347485
hgweb: add link to parents of annotated revision in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
29387
diff
changeset
|
99 td.annotate:hover div.annotate-info { display: inline; } |
1778
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
100 .linenr { color:#999999; text-decoration:none } |
6218
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
101 div.rss_logo { float: right; white-space: nowrap; } |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
102 div.rss_logo a { |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
103 padding:3px 6px; line-height:10px; |
1778
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
104 border:1px solid; border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e; |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
105 color:#ffffff; background-color:#ff6600; |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
106 font-weight:bold; font-family:sans-serif; font-size:10px; |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
107 text-align:center; text-decoration:none; |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
108 } |
6218
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
109 div.rss_logo a:hover { background-color:#ee5500; } |
3022 | 110 pre { margin: 0; } |
4538
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
111 span.logtags span { |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
112 padding: 0px 4px; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
113 font-size: 10px; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
114 font-weight: normal; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
115 border: 1px solid; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
116 background-color: #ffaaff; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
117 border-color: #ffccff #ff00ee #ff00ee #ffccff; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
118 } |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
119 span.logtags span.tagtag { |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
120 background-color: #ffffaa; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
121 border-color: #ffffcc #ffee00 #ffee00 #ffffcc; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
122 } |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
123 span.logtags span.branchtag { |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
124 background-color: #aaffaa; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
125 border-color: #ccffcc #00cc33 #00cc33 #ccffcc; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
126 } |
6250
bf0dd23f55fa
gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents:
6218
diff
changeset
|
127 span.logtags span.inbranchtag { |
bf0dd23f55fa
gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents:
6218
diff
changeset
|
128 background-color: #d5dde6; |
bf0dd23f55fa
gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents:
6218
diff
changeset
|
129 border-color: #e3ecf4 #9398f4 #9398f4 #e3ecf4; |
bf0dd23f55fa
gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents:
6218
diff
changeset
|
130 } |
13863
b602ac02f1ba
hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents:
12353
diff
changeset
|
131 span.logtags span.bookmarktag { |
b602ac02f1ba
hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents:
12353
diff
changeset
|
132 background-color: #afdffa; |
b602ac02f1ba
hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents:
12353
diff
changeset
|
133 border-color: #ccecff #46ace6 #46ace6 #ccecff; |
b602ac02f1ba
hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents:
12353
diff
changeset
|
134 } |
23744
d1933c2e3c8c
templates: use CSS classes for diff styling
Gregory Szorc <gregory.szorc@gmail.com>
parents:
20254
diff
changeset
|
135 span.difflineplus { color:#008800; } |
d1933c2e3c8c
templates: use CSS classes for diff styling
Gregory Szorc <gregory.szorc@gmail.com>
parents:
20254
diff
changeset
|
136 span.difflineminus { color:#cc0000; } |
d1933c2e3c8c
templates: use CSS classes for diff styling
Gregory Szorc <gregory.szorc@gmail.com>
parents:
20254
diff
changeset
|
137 span.difflineat { color:#990099; } |
26288
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
138 div.diffblocks { counter-reset: lineno; } |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
139 div.diffblock { counter-increment: lineno; } |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
140 pre.sourcelines { position: relative; counter-reset: lineno; } |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
141 pre.sourcelines > span { |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
142 display: inline-block; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
143 box-sizing: border-box; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
144 width: 100%; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
145 padding: 0 0 0 5em; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
146 counter-increment: lineno; |
26362
3bfc473f4d33
gitweb, monoblue: fix vertical align of spans in .sourcelines
Anton Shestakov <av6@dwimlabs.net>
parents:
26288
diff
changeset
|
147 vertical-align: top; |
26288
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
148 } |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
149 pre.sourcelines > span:before { |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
150 -moz-user-select: -moz-none; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
151 -khtml-user-select: none; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
152 -webkit-user-select: none; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
153 -ms-user-select: none; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
154 user-select: none; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
155 display: inline-block; |
33390
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
156 margin-left: -6em; |
26288
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
157 width: 4em; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
158 color: #999; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
159 text-align: right; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
160 content: counters(lineno,"."); |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
161 float: left; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
162 } |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
163 pre.sourcelines > a { |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
164 display: inline-block; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
165 position: absolute; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
166 left: 0px; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
167 width: 4em; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
168 height: 1em; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
169 } |
26363
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26362
diff
changeset
|
170 tr:target td, |
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26362
diff
changeset
|
171 pre.sourcelines > span:target, |
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26362
diff
changeset
|
172 pre.sourcelines.stripes > span:target { |
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26362
diff
changeset
|
173 background-color: #bfdfff; |
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26362
diff
changeset
|
174 } |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
175 |
31625
c208bc65318a
gitweb: use monospace font for commit messages
Gregory Szorc <gregory.szorc@gmail.com>
parents:
30074
diff
changeset
|
176 .description { |
c208bc65318a
gitweb: use monospace font for commit messages
Gregory Szorc <gregory.szorc@gmail.com>
parents:
30074
diff
changeset
|
177 font-family: monospace; |
c208bc65318a
gitweb: use monospace font for commit messages
Gregory Szorc <gregory.szorc@gmail.com>
parents:
30074
diff
changeset
|
178 } |
c208bc65318a
gitweb: use monospace font for commit messages
Gregory Szorc <gregory.szorc@gmail.com>
parents:
30074
diff
changeset
|
179 |
31949
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
180 /* Followlines */ |
32996
1c97df5e3b46
hgweb: plug followlines action in annotate view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32992
diff
changeset
|
181 tbody.sourcelines > tr.followlines-selected, |
31949
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
182 pre.sourcelines > span.followlines-selected { |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
183 background-color: #99C7E9 !important; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
184 } |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
185 |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
186 div#followlines { |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
187 background-color: #B7B7B7; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
188 border: 1px solid #CCC; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
189 border-radius: 5px; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
190 padding: 4px; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
191 position: fixed; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
192 } |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
193 |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
194 div.followlines-cancel { |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
195 text-align: right; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
196 } |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
197 |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
198 div.followlines-cancel > button { |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
199 line-height: 80%; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
200 padding: 0; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
201 border: 0; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
202 border-radius: 2px; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
203 background-color: inherit; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
204 font-weight: bold; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
205 } |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
206 |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
207 div.followlines-cancel > button:hover { |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
208 color: #FFFFFF; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
209 background-color: #CF1F1F; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
210 } |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
211 |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
212 div.followlines-link { |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
213 margin: 2px; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
214 margin-top: 4px; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
215 font-family: sans-serif; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
216 } |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
217 |
33390
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
218 .btn-followlines { |
31949
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
219 display: none; |
33390
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
220 cursor: pointer; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
221 box-sizing: content-box; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
222 font-size: 11px; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
223 width: 13px; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
224 height: 13px; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
225 border-radius: 3px; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
226 margin: 0px; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
227 margin-top: -2px; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
228 padding: 0px; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
229 background-color: #E5FDE5; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
230 border: 1px solid #9BC19B; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
231 font-family: monospace; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
232 text-align: center; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
233 line-height: 5px; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
234 } |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
235 |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
236 tr .btn-followlines { |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
237 position: absolute; |
31949
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
238 } |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
239 |
33390
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
240 span .btn-followlines { |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
241 float: left; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
242 } |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
243 |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
244 span.followlines-select .btn-followlines { |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
245 margin-left: -1.6em; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
246 } |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
247 |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
248 .btn-followlines:hover { |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
249 transform: scale(1.1, 1.1); |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
250 } |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
251 |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
252 .btn-followlines .followlines-plus { |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
253 color: green; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
254 } |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
255 |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
256 .btn-followlines .followlines-minus { |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
257 color: red; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
258 } |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
259 |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
260 .btn-followlines-end { |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
261 background-color: #ffdcdc; |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
262 } |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
263 |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
264 .sourcelines tr:hover .btn-followlines, |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
265 .sourcelines span.followlines-select:hover > .btn-followlines { |
31949
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
266 display: inline; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
267 } |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
268 |
33390
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
269 .btn-followlines-hidden, |
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
270 .sourcelines tr:hover .btn-followlines-hidden { |
31949
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
271 display: none; |
eaf3819631c2
gitweb: plug followlines UI in filerevision view
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
31625
diff
changeset
|
272 } |
33390
32331f54930c
hgweb: re-implement followlines UI selection using buttons
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
32996
diff
changeset
|
273 |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
274 /* Graph */ |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
275 div#wrapper { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
276 position: relative; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
277 margin: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
278 padding: 0; |
6729
855851eae70f
graph: improve script hiding tricks
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6693
diff
changeset
|
279 margin-top: 3px; |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
280 } |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
281 |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
282 canvas { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
283 position: absolute; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
284 z-index: 5; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
285 top: -0.9em; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
286 margin: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
287 } |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
288 |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
289 ul#nodebgs { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
290 list-style: none inside none; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
291 padding: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
292 margin: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
293 top: -0.7em; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
294 } |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
6729
diff
changeset
|
295 |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
296 ul#graphnodes li, ul#nodebgs li { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
297 height: 39px; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
298 } |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
299 |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
300 ul#graphnodes { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
301 position: absolute; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
302 z-index: 10; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
303 top: -0.8em; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
304 list-style: none inside none; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
305 padding: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
306 } |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
307 |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
308 ul#graphnodes li .info { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
309 display: block; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
310 font-size: 100%; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
311 position: relative; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
312 top: -3px; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
313 font-style: italic; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
314 } |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
315 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
316 /* Comparison */ |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
317 .legend { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
318 padding: 1.5% 0 1.5% 0; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
319 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
320 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
321 .legendinfo { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
322 border: 1px solid #d9d8d1; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
323 font-size: 80%; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
324 text-align: center; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
325 padding: 0.5%; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
326 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
327 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
328 .equal { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
329 background-color: #ffffff; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
330 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
331 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
332 .delete { |
17243
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
333 background-color: #faa; |
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
334 color: #333; |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
335 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
336 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
337 .insert { |
17243
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
338 background-color: #ffa; |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
339 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
340 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
341 .replace { |
17243
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
342 background-color: #e8e8e8; |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
343 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
344 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
345 .comparison { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
346 overflow-x: auto; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
347 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
348 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
349 .header th { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
350 text-align: center; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
351 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
352 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
353 .block { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
354 border-top: 1px solid #d9d8d1; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
355 } |
20254
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
356 |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
357 .scroll-loading { |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
358 -webkit-animation: change_color 1s linear 0s infinite alternate; |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
359 -moz-animation: change_color 1s linear 0s infinite alternate; |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
360 -o-animation: change_color 1s linear 0s infinite alternate; |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
361 animation: change_color 1s linear 0s infinite alternate; |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
362 } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
363 |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
364 @-webkit-keyframes change_color { |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
365 from { background-color: #A0CEFF; } to { } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
366 } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
367 @-moz-keyframes change_color { |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
368 from { background-color: #A0CEFF; } to { } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
369 } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
370 @-o-keyframes change_color { |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
371 from { background-color: #A0CEFF; } to { } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
372 } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
373 @keyframes change_color { |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
374 from { background-color: #A0CEFF; } to { } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
375 } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
376 |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
377 .scroll-loading-error { |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
378 background-color: #FFCCCC !important; |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
379 } |
26152
93258d53ec35
gitweb: add a margin for help text container
Anton Shestakov <av6@dwimlabs.net>
parents:
23744
diff
changeset
|
380 |
93258d53ec35
gitweb: add a margin for help text container
Anton Shestakov <av6@dwimlabs.net>
parents:
23744
diff
changeset
|
381 #doc { |
93258d53ec35
gitweb: add a margin for help text container
Anton Shestakov <av6@dwimlabs.net>
parents:
23744
diff
changeset
|
382 margin: 0 8px; |
93258d53ec35
gitweb: add a margin for help text container
Anton Shestakov <av6@dwimlabs.net>
parents:
23744
diff
changeset
|
383 } |