Mercurial > hg
annotate mercurial/templates/static/style-gitweb.css @ 26536:93a3687a94d7
hgweb: ensure both foreground and background colors are specified (issue4872)
When users configure the default foreground or background color to
non-default (black on white) values, several hgweb styles lack
contrast for headers and table row items. This patch fixes that by
ensuring that where either foreground or background colors are
specified, both are specified.
author | Gijs Kruitbosch <gijskruitbosch@gmail.com> |
---|---|
date | Wed, 07 Oct 2015 21:08:14 +0100 |
parents | f29ee23bf361 |
children | ab2cd800f1b0 |
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; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
7 div.page_nav { padding:8px; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
8 div.page_nav a:visited { color:#0000cc; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
9 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
|
10 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
|
11 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
|
12 div.page_body { padding:8px; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
13 div.title, a.title { |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
14 display:block; padding:6px 8px; |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
15 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
|
16 } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
17 a.title:hover { background-color: #d9d8d1; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
18 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
|
19 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
|
20 .age { white-space:nowrap; } |
1778
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
21 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
|
22 div.log_link { |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
23 padding:0px 8px; |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
24 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
|
25 position:relative; float:left; width:136px; |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
26 } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
27 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
|
28 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
|
29 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
|
30 table { padding:8px 4px; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
31 th { padding:2px 5px; font-size:12px; text-align:left; } |
26288
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
32 tr.light:hover, .parity0:hover, pre.sourcelines.stripes > :nth-child(4n+1):hover { background-color:#edece6; } |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
33 tr.dark, .parity1, pre.sourcelines.stripes > :nth-child(4n+3) { background-color:#f6f6f0; } |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
34 tr.dark:hover, .parity1:hover, pre.sourcelines.stripes > :nth-child(4n+3):hover { background-color:#edece6; } |
1778
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
35 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
|
36 td.closed { background-color: #99f; } |
1778
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
37 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
|
38 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
|
39 td.indexlinks a { |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
40 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
|
41 border: 1px solid; |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
42 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
|
43 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
|
44 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
|
45 font-size: 10px; |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
46 } |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
47 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
|
48 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
|
49 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
|
50 div.index_include { border:solid #d9d8d1; border-width:0px 0px 1px; padding:12px 8px; } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
51 div.search { margin:4px 8px; position:absolute; top:56px; right:12px } |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
52 .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
|
53 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
|
54 div.rss_logo a { |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
55 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
|
56 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
|
57 color:#ffffff; background-color:#ff6600; |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
58 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
|
59 text-align:center; text-decoration:none; |
b08b87cecc37
[hgweb] Move CSS from headers into static files
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
60 } |
6218
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
5679
diff
changeset
|
61 div.rss_logo a:hover { background-color:#ee5500; } |
3022 | 62 pre { margin: 0; } |
4538
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
63 span.logtags span { |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
64 padding: 0px 4px; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
65 font-size: 10px; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
66 font-weight: normal; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
67 border: 1px solid; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
68 background-color: #ffaaff; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
69 border-color: #ffccff #ff00ee #ff00ee #ffccff; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
70 } |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
71 span.logtags span.tagtag { |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
72 background-color: #ffffaa; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
73 border-color: #ffffcc #ffee00 #ffee00 #ffffcc; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
74 } |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
75 span.logtags span.branchtag { |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
76 background-color: #aaffaa; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
77 border-color: #ccffcc #00cc33 #00cc33 #ccffcc; |
4272ae760bb1
gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3478
diff
changeset
|
78 } |
6250
bf0dd23f55fa
gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents:
6218
diff
changeset
|
79 span.logtags span.inbranchtag { |
bf0dd23f55fa
gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents:
6218
diff
changeset
|
80 background-color: #d5dde6; |
bf0dd23f55fa
gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents:
6218
diff
changeset
|
81 border-color: #e3ecf4 #9398f4 #9398f4 #e3ecf4; |
bf0dd23f55fa
gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents:
6218
diff
changeset
|
82 } |
13863
b602ac02f1ba
hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents:
12353
diff
changeset
|
83 span.logtags span.bookmarktag { |
b602ac02f1ba
hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents:
12353
diff
changeset
|
84 background-color: #afdffa; |
b602ac02f1ba
hgweb: add bookmark labels to gitweb theme (based on 270f57d35525)
Yuya Nishihara <yuya@tcha.org>
parents:
12353
diff
changeset
|
85 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
|
86 } |
23744
d1933c2e3c8c
templates: use CSS classes for diff styling
Gregory Szorc <gregory.szorc@gmail.com>
parents:
20254
diff
changeset
|
87 span.difflineplus { color:#008800; } |
d1933c2e3c8c
templates: use CSS classes for diff styling
Gregory Szorc <gregory.szorc@gmail.com>
parents:
20254
diff
changeset
|
88 span.difflineminus { color:#cc0000; } |
d1933c2e3c8c
templates: use CSS classes for diff styling
Gregory Szorc <gregory.szorc@gmail.com>
parents:
20254
diff
changeset
|
89 span.difflineat { color:#990099; } |
26288
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
90 div.diffblocks { counter-reset: lineno; } |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
91 div.diffblock { counter-increment: lineno; } |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
92 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
|
93 pre.sourcelines > span { |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
94 display: inline-block; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
95 box-sizing: border-box; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
96 width: 100%; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
97 padding: 0 0 0 5em; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
98 counter-increment: lineno; |
26362
3bfc473f4d33
gitweb, monoblue: fix vertical align of spans in .sourcelines
Anton Shestakov <av6@dwimlabs.net>
parents:
26288
diff
changeset
|
99 vertical-align: top; |
26288
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
100 } |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
101 pre.sourcelines > span:before { |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
102 -moz-user-select: -moz-none; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
103 -khtml-user-select: none; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
104 -webkit-user-select: none; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
105 -ms-user-select: none; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
106 user-select: none; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
107 display: inline-block; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
108 margin-left: -5em; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
109 width: 4em; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
110 color: #999; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
111 text-align: right; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
112 content: counters(lineno,"."); |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
113 float: left; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
114 } |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
115 pre.sourcelines > a { |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
116 display: inline-block; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
117 position: absolute; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
118 left: 0px; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
119 width: 4em; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
120 height: 1em; |
2239626369f5
gitweb: port code selection without line numbers from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26152
diff
changeset
|
121 } |
26363
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26362
diff
changeset
|
122 tr:target td, |
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26362
diff
changeset
|
123 pre.sourcelines > span:target, |
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26362
diff
changeset
|
124 pre.sourcelines.stripes > span:target { |
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26362
diff
changeset
|
125 background-color: #bfdfff; |
f29ee23bf361
gitweb, monoblue: port highlighting linked lines from paper
Anton Shestakov <av6@dwimlabs.net>
parents:
26362
diff
changeset
|
126 } |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
127 |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
128 /* Graph */ |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
129 div#wrapper { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
130 position: relative; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
131 margin: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
132 padding: 0; |
6729
855851eae70f
graph: improve script hiding tricks
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6693
diff
changeset
|
133 margin-top: 3px; |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
134 } |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
135 |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
136 canvas { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
137 position: absolute; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
138 z-index: 5; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
139 top: -0.9em; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
140 margin: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
141 } |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
142 |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
143 ul#nodebgs { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
144 list-style: none inside none; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
145 padding: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
146 margin: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
147 top: -0.7em; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
148 } |
7327
a1758089ee35
Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents:
6729
diff
changeset
|
149 |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
150 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
|
151 height: 39px; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
152 } |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
153 |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
154 ul#graphnodes { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
155 position: absolute; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
156 z-index: 10; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
157 top: -0.8em; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
158 list-style: none inside none; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
159 padding: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
160 } |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
161 |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
162 ul#graphnodes li .info { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
163 display: block; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
164 font-size: 100%; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
165 position: relative; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
166 top: -3px; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
167 font-style: italic; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6250
diff
changeset
|
168 } |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
169 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
170 /* Comparison */ |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
171 .legend { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
172 padding: 1.5% 0 1.5% 0; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
173 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
174 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
175 .legendinfo { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
176 border: 1px solid #d9d8d1; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
177 font-size: 80%; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
178 text-align: center; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
179 padding: 0.5%; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
180 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
181 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
182 .equal { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
183 background-color: #ffffff; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
184 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
185 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
186 .delete { |
17243
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
187 background-color: #faa; |
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
188 color: #333; |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
189 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
190 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
191 .insert { |
17243
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
192 background-color: #ffa; |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
193 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
194 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
195 .replace { |
17243
106cdea0183d
hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents:
17202
diff
changeset
|
196 background-color: #e8e8e8; |
17202
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
197 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
198 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
199 .comparison { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
200 overflow-x: auto; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
201 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
202 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
203 .header th { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
204 text-align: center; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
205 } |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
206 |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
207 .block { |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
208 border-top: 1px solid #d9d8d1; |
1ae119269ddc
hgweb: side-by-side comparison functionality
wujek srujek
parents:
13863
diff
changeset
|
209 } |
20254
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
210 |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
211 .scroll-loading { |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
212 -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
|
213 -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
|
214 -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
|
215 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
|
216 } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
217 |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
218 @-webkit-keyframes change_color { |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
219 from { background-color: #A0CEFF; } to { } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
220 } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
221 @-moz-keyframes change_color { |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
222 from { background-color: #A0CEFF; } to { } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
223 } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
224 @-o-keyframes change_color { |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
225 from { background-color: #A0CEFF; } to { } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
226 } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
227 @keyframes change_color { |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
228 from { background-color: #A0CEFF; } to { } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
229 } |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
230 |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
231 .scroll-loading-error { |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
232 background-color: #FFCCCC !important; |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
19076
diff
changeset
|
233 } |
26152
93258d53ec35
gitweb: add a margin for help text container
Anton Shestakov <av6@dwimlabs.net>
parents:
23744
diff
changeset
|
234 |
93258d53ec35
gitweb: add a margin for help text container
Anton Shestakov <av6@dwimlabs.net>
parents:
23744
diff
changeset
|
235 #doc { |
93258d53ec35
gitweb: add a margin for help text container
Anton Shestakov <av6@dwimlabs.net>
parents:
23744
diff
changeset
|
236 margin: 0 8px; |
93258d53ec35
gitweb: add a margin for help text container
Anton Shestakov <av6@dwimlabs.net>
parents:
23744
diff
changeset
|
237 } |