annotate mercurial/templates/static/style-paper.css @ 14563:81fc9678b018

paper, coal: define the diffstat templates The templates output the filename, the total number of changes to the file and a bar graph of the adds and removes. The filename is a link into the diff output. The diffstat is not yet displayed, but it can be manually added to the changeset page template.
author Steven Brown <StevenGBrown@gmail.com>
date Thu, 09 Jun 2011 01:19:39 +0800
parents 1708a0cad774
children 1ae119269ddc
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
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
63 .menu a { color: black; display: block; }
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
64
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
65 .search {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
66 position: absolute;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
67 top: .7em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
68 right: 2em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
69 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
70
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
71 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
72 display: none;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
73 position: absolute;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
74 top: 40px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
75 right: 0px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
76 width: 190px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
77 padding: 5px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
78 background: #ffc;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
79 font-size: 70%;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
80 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
81 -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
82 -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
83 }
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
84
7725
6a888d491eaf coal/paper: switch to XHTML 1.1
Benoit Allard <benoit@aeteurope.nl>
parents: 7410
diff changeset
85 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
86
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
87 a { text-decoration:none; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
88 .age { white-space:nowrap; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
89 .date { white-space:nowrap; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
90 .indexlinks { white-space:nowrap; }
7340
06a6942554dc hgweb: improve color discrimination for paper and coal
Matt Mackall <mpm@selenic.com>
parents: 7327
diff changeset
91 .parity0 { background-color: #f0f0f0; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
92 .parity1 { background-color: white; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
93 .plusline { color: green; }
7340
06a6942554dc hgweb: improve color discrimination for paper and coal
Matt Mackall <mpm@selenic.com>
parents: 7327
diff changeset
94 .minusline { color: #dc143c; } /* crimson */
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
95 .atline { color: purple; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
96
14563
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
97 .diffstat-file {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
98 white-space: nowrap;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
99 font-size: 90%;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
100 }
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
101 .diffstat-total {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
102 white-space: nowrap;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
103 font-size: 90%;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
104 }
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
105 .diffstat-graph {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
106 width: 100%;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
107 }
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
108 .diffstat-add {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
109 background-color: green;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
110 float: left;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
111 }
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
112 .diffstat-remove {
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
113 background-color: red;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
114 float: left;
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
115 }
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents: 13961
diff changeset
116
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
117 .navigate {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
118 text-align: right;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
119 font-size: 60%;
8506
93a9f4a0e361 coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents: 7725
diff changeset
120 margin: 1em 0;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
121 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
122
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
123 .tag {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
124 color: #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
125 font-size: 70%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
126 font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
127 margin-left: .5em;
6571
e6f71ca3de8a coal: fix CSS errors as reported by Firefox
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6463
diff changeset
128 vertical-align: baseline;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
129 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
130
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
131 .branchhead {
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
132 color: #000;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
133 font-size: 80%;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
134 font-weight: normal;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
135 margin-left: .5em;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
136 vertical-align: baseline;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
137 }
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
138
7408
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
139 ul#graphnodes .branchhead {
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
140 font-size: 75%;
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
141 }
f031a12dfc31 coal/paper/monoblue: show branch names in hgweb graph
Benoit Allard <benoit@aeteurope.nl>
parents: 7407
diff changeset
142
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
143 .branchname {
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
144 color: #000;
10575
136eed1ac69c trailing spaces (and one stray tab)
Thomas Arendsen Hein <thomas@intevation.de>
parents: 9999
diff changeset
145 font-size: 60%;
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
146 font-weight: normal;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
147 margin-left: .5em;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
148 vertical-align: baseline;
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
149 }
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
150
7410
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
151 h3 .branchname {
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
152 font-size: 80%;
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
153 }
f1111704061e coal/paper: show branch name in changeset view
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7408
diff changeset
154
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
155 /* Common */
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
156 pre { margin: 0; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
157
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
158 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
159 h2 a { color: #000; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
160 h3 {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
161 margin-top: -.7em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
162 font-size: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
163 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
164
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
165 /* log and tags tables */
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
166 .bigtable {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
167 border-bottom: 1px solid #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
168 border-collapse: collapse;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
169 font-size: 90%;
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
170 width: 100%;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
171 font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
172 text-align: left;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
173 }
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 .bigtable td {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
176 vertical-align: top;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
177 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
178
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
179 .bigtable th {
8506
93a9f4a0e361 coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents: 7725
diff changeset
180 padding: 1px 4px;
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
181 border-bottom: 1px solid #999;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
182 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
183 .bigtable tr { border: none; }
9721
1d75c683ada1 templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8713
diff changeset
184 .bigtable .age { width: 7em; }
7181
1e39a2459359 coal/paper: widen author column in log table
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6905
diff changeset
185 .bigtable .author { width: 12em; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
186 .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
187 .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
188 .bigtable .node { width: 5em; font-family: monospace;}
6452
d93f2f39bef4 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6451
diff changeset
189 .bigtable .permissions { width: 8em; text-align: left;}
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
190 .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
191 .bigtable .annotate { text-align: right; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
192 .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
193 .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
194
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
195 .source, .sourcefirst, .sourcelast {
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
196 font-family: monospace;
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
197 white-space: pre;
8508
8c5e32a4f2f9 coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents: 8506
diff changeset
198 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
199 font-size: 90%;
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7340
diff changeset
200 }
8508
8c5e32a4f2f9 coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net>
parents: 8506
diff changeset
201 .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
202 .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
203 .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
204 .bottomline { border-bottom: 1px solid #999; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
205
6454
eec89a03db08 coal: even more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6453
diff changeset
206 .fileline { font-family: monospace; }
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
207 .fileline img { border: 0; }
6454
eec89a03db08 coal: even more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6453
diff changeset
208
8713
de6bb29e208a hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8509
diff changeset
209 .tagEntry .closed { color: #99f; }
de6bb29e208a hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8509
diff changeset
210
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
211 /* Changeset entry */
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
212 #changesetEntry {
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
213 border-collapse: collapse;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
214 font-size: 90%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
215 width: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
216 margin-bottom: 1em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
217 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
218
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
219 #changesetEntry th {
8506
93a9f4a0e361 coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net>
parents: 7725
diff changeset
220 padding: 1px 4px;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
221 width: 4em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
222 text-align: right;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
223 font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
224 color: #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
225 margin-right: .5em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
226 vertical-align: top;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
227 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
228
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
229 div.description {
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
230 border-left: 2px solid #999;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
231 margin: 1em 0 1em 0;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
232 padding: .3em;
13934
ebe1ddbbefd7 paper: preserve whitespace on description instead of adding breaks
Adrian Buehlmann <adrian@cadifra.com>
parents: 13850
diff changeset
233 white-space: pre;
13961
1708a0cad774 paper: use monospace font for description
Adrian Buehlmann <adrian@cadifra.com>
parents: 13934
diff changeset
234 font-family: monospace;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
235 }
6692
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
236
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
237 /* Graph */
6692
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
238 div#wrapper {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
239 position: relative;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
240 border-top: 1px solid black;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
241 border-bottom: 1px solid black;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
242 margin: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
243 padding: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
244 }
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
245
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
246 canvas {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
247 position: absolute;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
248 z-index: 5;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
249 top: -0.7em;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
250 margin: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
251 }
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
252
8509
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
253 ul#graphnodes {
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
254 position: absolute;
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
255 z-index: 10;
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
256 top: -1.0em;
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
257 list-style: none inside none;
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
258 padding: 0;
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
259 }
5cd232ebc317 coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net>
parents: 8508
diff changeset
260
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
261 ul#nodebgs {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
262 list-style: none inside none;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
263 padding: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
264 margin: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
265 top: -0.7em;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
266 }
7327
a1758089ee35 Kill trailing whitespace in templates
Thomas Arendsen Hein <thomas@intevation.de>
parents: 7314
diff changeset
267
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
268 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
269 height: 39px;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
270 }
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
271
6692
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
272 ul#graphnodes li .info {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
273 display: block;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
274 font-size: 70%;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
275 position: relative;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
276 top: -3px;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
277 }