annotate mercurial/templates/static/style-paper.css @ 24042:bf661a03fddc

hgweb: use css margin instead of empty <p> before diffstat table The <p> elements were used to create an empty space between the diffstat link and the diffstat table, but they don't have any semantic meaning, so it is better to use css instead. Default margins for <p> elements can differ depending on the browser, but usually the margin is 1em (exceptions are IE 6 and 7 with 14pt, which is comparable). The css rule sets top margin to 1em. This change is a "better version" of 70cfa7e1611b, where <p> elements were simply properly closed.
author Anton Shestakov <engored@ya.ru>
date Thu, 05 Feb 2015 20:34:30 +0800
parents 9756f943634f
children 811a1842cfe5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
1 body {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
2 margin: 0;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
3 padding: 0;
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
4 background: white;
6451
b79a56619504 coal: minor fixes
Matt Mackall <mpm@selenic.com>
parents: 6436
diff changeset
5 font-family: sans-serif;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
6 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
7
6453
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
8 .container {
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
9 padding-left: 115px;
6453
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
10 }
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
11
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
12 .main {
6453
cb16217ff4d8 coal: more tweaking
Matt Mackall <mpm@selenic.com>
parents: 6452
diff changeset
13 position: relative;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
14 background: white;
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
15 padding: 2em 2em 2em 0;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
16 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
17
6864
105d8676a688 coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents: 6694
diff changeset
18 #.main {
105d8676a688 coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents: 6694
diff changeset
19 width: 98%;
105d8676a688 coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents: 6694
diff changeset
20 }
105d8676a688 coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents: 6694
diff changeset
21
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
22 .overflow {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
23 width: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
24 overflow: auto;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
25 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
26
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
27 .menu {
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
28 width: 90px;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
29 margin: 0;
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
30 font-size: 80%;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
31 text-align: left;
7313
15981c8f6cf1 paper: don't keep the menu affixed to the top
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7299
diff changeset
32 position: absolute;
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
33 top: 20px;
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
34 left: 20px;
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
35 right: auto;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
36 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
37
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
38 .menu ul {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
39 list-style: none;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
40 padding: 0;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
41 margin: 10px 0 0 0;
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
42 border-left: 2px solid #999;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
43 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
44
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
45 .menu li {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
46 margin-bottom: 3px;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
47 padding: 2px 4px;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
48 background: white;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
49 color: black;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
50 font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
51 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
52
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
53 .menu li.active {
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
54 font-weight: bold;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
55 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
56
8509
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
57 .menu img {
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
58 width: 75px;
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
59 height: 90px;
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
60 border: 0;
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
61 }
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
62
24041
9756f943634f hgweb: use css margin instead of empty <p> before <div class="atom-logo">
Anton Shestakov <engored@ya.ru>
parents: 20626
diff changeset
63 div.atom-logo {
9756f943634f hgweb: use css margin instead of empty <p> before <div class="atom-logo">
Anton Shestakov <engored@ya.ru>
parents: 20626
diff changeset
64 margin-top: 10px;
9756f943634f hgweb: use css margin instead of empty <p> before <div class="atom-logo">
Anton Shestakov <engored@ya.ru>
parents: 20626
diff changeset
65 }
9756f943634f hgweb: use css margin instead of empty <p> before <div class="atom-logo">
Anton Shestakov <engored@ya.ru>
parents: 20626
diff changeset
66
18200
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17243
diff changeset
67 .atom-logo img{
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17243
diff changeset
68 width: 14px;
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17243
diff changeset
69 height: 14px;
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17243
diff changeset
70 border: 0;
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17243
diff changeset
71 }
b31266671918 hgweb: add (Atom) subscribe link to the main paper template pages
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 17243
diff changeset
72
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
73 .menu a { color: black; display: block; }
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
74
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
75 .search {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
76 position: absolute;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
77 top: .7em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
78 right: 2em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
79 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
80
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
81 form.search div#hint {
7299
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
82 display: none;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
83 position: absolute;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
84 top: 40px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
85 right: 0px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
86 width: 190px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
87 padding: 5px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
88 background: #ffc;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
89 font-size: 70%;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
90 border: 1px solid yellow;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
91 -moz-border-radius: 5px; /* this works only in camino/firefox */
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
92 -webkit-border-radius: 5px; /* this is just for Safari */
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
93 }
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
94
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
95 form.search:hover div#hint { display: block; }
7299
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
96
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
97 a { text-decoration:none; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
98 .age { white-space:nowrap; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
99 .date { white-space:nowrap; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
100 .indexlinks { white-space:nowrap; }
19431
b8ecc3830c89 hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents: 19430
diff changeset
101 .parity0,
b8ecc3830c89 hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents: 19430
diff changeset
102 .stripes4 > :nth-child(4n+1),
b8ecc3830c89 hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents: 19430
diff changeset
103 .stripes2 > :nth-child(2n+1) { background-color: #f0f0f0; }
b8ecc3830c89 hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents: 19430
diff changeset
104 .parity1,
b8ecc3830c89 hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents: 19430
diff changeset
105 .stripes4 > :nth-child(4n+3),
b8ecc3830c89 hgweb: introduce separate classes for stripey background
Alexander Plavin <me@aplavin.ru>
parents: 19430
diff changeset
106 .stripes2 > :nth-child(2n+2) { background-color: white; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
107 .plusline { color: green; }
7340
06a6942554dc hgweb: improve color discrimination for paper and coal
Matt Mackall <mpm@selenic.com>
parents: 7327
diff changeset
108 .minusline { color: #dc143c; } /* crimson */
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
109 .atline { color: purple; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
110
24042
bf661a03fddc hgweb: use css margin instead of empty <p> before diffstat table
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
111 .diffstat-table {
bf661a03fddc hgweb: use css margin instead of empty <p> before diffstat table
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
112 margin-top: 1em;
bf661a03fddc hgweb: use css margin instead of empty <p> before diffstat table
Anton Shestakov <engored@ya.ru>
parents: 24041
diff changeset
113 }
14563
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
114 .diffstat-file {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
115 white-space: nowrap;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
116 font-size: 90%;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
117 }
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
118 .diffstat-total {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
119 white-space: nowrap;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
120 font-size: 90%;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
121 }
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
122 .diffstat-graph {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
123 width: 100%;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
124 }
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
125 .diffstat-add {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
126 background-color: green;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
127 float: left;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
128 }
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
129 .diffstat-remove {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
130 background-color: red;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
131 float: left;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
132 }
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
133
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
134 .navigate {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
135 text-align: right;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
136 font-size: 60%;
8506
93a9f4a0e361 coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents: 7725
diff changeset
137 margin: 1em 0;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
138 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
139
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
140 .tag {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
141 color: #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
142 font-size: 70%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
143 font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
144 margin-left: .5em;
6571
e6f71ca3de8a coal: fix CSS errors as reported by Firefox
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6463
diff changeset
145 vertical-align: baseline;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
146 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
147
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
148 .branchhead {
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
149 color: #000;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
150 font-size: 80%;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
151 font-weight: normal;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
152 margin-left: .5em;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
153 vertical-align: baseline;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
154 }
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
155
7408
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
156 ul#graphnodes .branchhead {
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
157 font-size: 75%;
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
158 }
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
159
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
160 .branchname {
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
161 color: #000;
10575
136eed1ac69c trailing spaces (and one stray tab)
Thomas Arendsen Hein <thomas@intevation.de>
parents: 9999
diff changeset
162 font-size: 60%;
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
163 font-weight: normal;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
164 margin-left: .5em;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
165 vertical-align: baseline;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
166 }
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
167
7410
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
168 h3 .branchname {
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
169 font-size: 80%;
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
170 }
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
171
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
172 /* Common */
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
173 pre { margin: 0; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
174
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
175 h2 { font-size: 120%; border-bottom: 1px solid #999; }
7314
a0843c82d1a2 coal/paper: link repo name to hgweb root
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7313
diff changeset
176 h2 a { color: #000; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
177 h3 {
20626
9096f83f9e7c paper: overlapping of section title on help pages (issue4051)
anuraggoel <anurag.dsps@gmail.com>
parents: 19762
diff changeset
178 margin-top: +.7em;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
179 font-size: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
180 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
181
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
182 /* log and tags tables */
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
183 .bigtable {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
184 border-bottom: 1px solid #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
185 border-collapse: collapse;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
186 font-size: 90%;
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
187 width: 100%;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
188 font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
189 text-align: left;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
190 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
191
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
192 .bigtable td {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
193 vertical-align: top;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
194 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
195
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
196 .bigtable th {
8506
93a9f4a0e361 coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents: 7725
diff changeset
197 padding: 1px 4px;
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
198 border-bottom: 1px solid #999;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
199 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
200 .bigtable tr { border: none; }
9721
1d75c683ada1 templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8713
diff changeset
201 .bigtable .age { width: 7em; }
18664
30d899febef8 hgweb: consistent author name width
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 18258
diff changeset
202 .bigtable .author { width: 15em; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
203 .bigtable .description { }
13850
1209e1d52b68 hgweb: add base link to file log for paper and coal styles (issue2452)
Kevin Gessner <kevin@fogcreek.com>
parents: 10575
diff changeset
204 .bigtable .description .base { font-size: 70%; float: right; line-height: 1.66; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
205 .bigtable .node { width: 5em; font-family: monospace;}
6452
d93f2f39bef4 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6451
diff changeset
206 .bigtable .permissions { width: 8em; text-align: left;}
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
207 .bigtable .size { width: 5em; text-align: right; }
6571
e6f71ca3de8a coal: fix CSS errors as reported by Firefox
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6463
diff changeset
208 .bigtable .annotate { text-align: right; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
209 .bigtable td.annotate { font-size: smaller; }
7394
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
210 .bigtable td.source { font-size: inherit; }
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
211
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
212 .source, .sourcefirst, .sourcelast {
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
213 font-family: monospace;
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
214 white-space: pre;
8508
8c5e32a4f2f9 coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents: 8506
diff changeset
215 padding: 1px 4px;
7394
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
216 font-size: 90%;
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
217 }
8508
8c5e32a4f2f9 coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents: 8506
diff changeset
218 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; }
7394
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
219 .sourcelast { border-top: 1px solid #999; }
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
220 .source a { color: #999; font-size: smaller; font-family: monospace;}
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
221 .bottomline { border-bottom: 1px solid #999; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
222
19387
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
223 .sourcelines {
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
224 font-size: 90%;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
225 position: relative;
19432
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
226 counter-reset: lineno;
19387
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
227 }
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
228
19430
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
229 .wrap > span {
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
230 white-space: pre-wrap;
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
231 }
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
232
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
233 .linewraptoggle {
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
234 float: right;
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
235 }
5ec5097b4c0f hgweb: add line wrapping switch to file source view
Alexander Plavin <me@aplavin.ru>
parents: 19389
diff changeset
236
19432
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
237 .diffblocks { counter-reset: lineno; }
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
238 .diffblocks > div { counter-increment: lineno; }
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
239
19387
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
240 .sourcelines > span {
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
241 display: inline-block;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
242 width: 100%;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
243 padding: 1px 0px;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
244 counter-increment: lineno;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
245 }
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
246
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
247 .sourcelines > span:before {
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
248 -moz-user-select: -moz-none;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
249 -khtml-user-select: none;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
250 -webkit-user-select: none;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
251 -ms-user-select: none;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
252 user-select: none;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
253 display: inline-block;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
254 width: 4em;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
255 margin-right: 1em;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
256 font-size: smaller;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
257 color: #999;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
258 text-align: right;
19432
e92d4b8530cb hgweb: file diff and changesets views behave like file source view
Alexander Plavin <me@aplavin.ru>
parents: 19431
diff changeset
259 content: counters(lineno, ".");
19492
dfc0fe1541d9 paper: fix rendering of the first tab in a line in Webkit (issue3990)
Alexander Plavin <me@aplavin.ru>
parents: 19459
diff changeset
260 float: left;
19387
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
261 }
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
262
19459
fbfe5748ef3e hgweb: highlight line which is linked to at comparison view
Alexander Plavin <me@aplavin.ru>
parents: 19458
diff changeset
263 .sourcelines > span:target, tr:target td {
19458
5e518418738e hgweb: change highlighted line color to be different from 'inserted' color
Alexander Plavin <me@aplavin.ru>
parents: 19432
diff changeset
264 background-color: #bfdfff;
19389
41c4bdd1d585 hgweb: color line which is linked to in file source view
Alexander Plavin <me@aplavin.ru>
parents: 19388
diff changeset
265 }
41c4bdd1d585 hgweb: color line which is linked to in file source view
Alexander Plavin <me@aplavin.ru>
parents: 19388
diff changeset
266
19387
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
267 .sourcelines > a {
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
268 display: inline-block;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
269 position: absolute;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
270 left: 0px;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
271 width: 4em;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
272 height: 1em;
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
273 }
f2e4fdb3dd27 hgweb: code selection without line numbers in file source view
Alexander Plavin <me@aplavin.ru>
parents: 18664
diff changeset
274
6454
eec89a03db08 coal: even more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6453
diff changeset
275 .fileline { font-family: monospace; }
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
276 .fileline img { border: 0; }
6454
eec89a03db08 coal: even more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6453
diff changeset
277
8713
de6bb29e208a hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8509
diff changeset
278 .tagEntry .closed { color: #99f; }
de6bb29e208a hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8509
diff changeset
279
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
280 /* Changeset entry */
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
281 #changesetEntry {
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
282 border-collapse: collapse;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
283 font-size: 90%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
284 width: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
285 margin-bottom: 1em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
286 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
287
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
288 #changesetEntry th {
8506
93a9f4a0e361 coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents: 7725
diff changeset
289 padding: 1px 4px;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
290 width: 4em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
291 text-align: right;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
292 font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
293 color: #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
294 margin-right: .5em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
295 vertical-align: top;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
296 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
297
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
298 div.description {
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
299 border-left: 2px solid #999;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
300 margin: 1em 0 1em 0;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
301 padding: .3em;
13934
ebe1ddbbefd7 paper: preserve whitespace on description instead of adding breaks
Adrian Buehlmann <adrian@cadifra.com>
parents: 13850
diff changeset
302 white-space: pre;
13961
1708a0cad774 paper: use monospace font for description
Adrian Buehlmann <adrian@cadifra.com>
parents: 13934
diff changeset
303 font-family: monospace;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
304 }
6692
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
305
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
306 /* Graph */
6692
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
307 div#wrapper {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
308 position: relative;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
309 border-top: 1px solid black;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
310 border-bottom: 1px solid black;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
311 margin: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
312 padding: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
313 }
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
314
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
315 canvas {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
316 position: absolute;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
317 z-index: 5;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
318 top: -0.7em;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
319 margin: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
320 }
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
321
8509
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
322 ul#graphnodes {
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
323 position: absolute;
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
324 z-index: 10;
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
325 top: -1.0em;
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
326 list-style: none inside none;
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
327 padding: 0;
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
328 }
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
329
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
330 ul#nodebgs {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
331 list-style: none inside none;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
332 padding: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
333 margin: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
334 top: -0.7em;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
335 }
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
336
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
337 ul#graphnodes li, ul#nodebgs li {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
338 height: 39px;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
339 }
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
340
6692
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
341 ul#graphnodes li .info {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
342 display: block;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
343 font-size: 70%;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
344 position: relative;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
345 top: -3px;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
346 }
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
347
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
348 /* Comparison */
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
349 .legend {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
350 padding: 1.5% 0 1.5% 0;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
351 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
352
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
353 .legendinfo {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
354 border: 1px solid #999;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
355 font-size: 80%;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
356 text-align: center;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
357 padding: 0.5%;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
358 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
359
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
360 .equal {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
361 background-color: #ffffff;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
362 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
363
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
364 .delete {
17243
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
365 background-color: #faa;
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
366 color: #333;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
367 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
368
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
369 .insert {
17243
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
370 background-color: #ffa;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
371 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
372
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
373 .replace {
17243
106cdea0183d hgweb: improve colors for comparison page
Matt Mackall <mpm@selenic.com>
parents: 17202
diff changeset
374 background-color: #e8e8e8;
17202
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
375 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
376
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
377 .header {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
378 text-align: center;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
379 }
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
380
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
381 .block {
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
382 border-top: 1px solid #999;
1ae119269ddc hgweb: side-by-side comparison functionality
wujek srujek
parents: 14563
diff changeset
383 }
18258
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
384
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
385 .breadcrumb {
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
386 color: gray;
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
387 }
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
388
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
389 .breadcrumb a {
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
390 color: blue;
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18200
diff changeset
391 }
19761
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
392
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
393 .scroll-loading {
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
394 -webkit-animation: change_color 1s linear 0s infinite alternate;
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
395 -moz-animation: change_color 1s linear 0s infinite alternate;
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
396 -o-animation: change_color 1s linear 0s infinite alternate;
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
397 animation: change_color 1s linear 0s infinite alternate;
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
398 }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
399
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
400 @-webkit-keyframes change_color {
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
401 from { background-color: #A0CEFF; } to { }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
402 }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
403 @-moz-keyframes change_color {
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
404 from { background-color: #A0CEFF; } to { }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
405 }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
406 @-o-keyframes change_color {
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
407 from { background-color: #A0CEFF; } to { }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
408 }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
409 @keyframes change_color {
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
410 from { background-color: #A0CEFF; } to { }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
411 }
b5c601035005 paper: add simple animation to the loading indicator
Alexander Plavin <alexander@plav.in>
parents: 19492
diff changeset
412
19762
e0666aaa1382 paper: add reddish background to ajax error message
Alexander Plavin <alexander@plav.in>
parents: 19761
diff changeset
413 .scroll-loading-error {
e0666aaa1382 paper: add reddish background to ajax error message
Alexander Plavin <alexander@plav.in>
parents: 19761
diff changeset
414 background-color: #FFCCCC !important;
e0666aaa1382 paper: add reddish background to ajax error message
Alexander Plavin <alexander@plav.in>
parents: 19761
diff changeset
415 }