annotate templates/static/style-paper.css @ 7313:15981c8f6cf1

paper: don't keep the menu affixed to the top This makes scrolling slow and causes browsers to use a lot of CPU time.
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 05 Nov 2008 09:42:52 +0100
parents 288dda59233c
children a0843c82d1a2
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
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
57 .menu a { color: black; display: block; }
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
58
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
59 .search {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
60 position: absolute;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
61 top: .7em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
62 right: 2em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
63 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
64
7299
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
65 form.search span {
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
66 display: none;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
67 position: absolute;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
68 top: 40px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
69 right: 0px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
70 width: 190px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
71 padding: 5px;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
72 background: #ffc;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
73 font-size: 70%;
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
74 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
75 -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
76 -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
77 }
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
78
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
79 form.search:hover span { display: block; }
288dda59233c coal/paper: show a search tip when hovering over search box
Benoit Allard <benoit@aeteurope.nl>
parents: 7181
diff changeset
80
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
81 a { text-decoration:none; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
82 .age { white-space:nowrap; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
83 .date { white-space:nowrap; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
84 .indexlinks { white-space:nowrap; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
85 .parity0 { background-color: #f5f5f5; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
86 .parity1 { background-color: white; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
87 .plusline { color: green; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
88 .minusline { color: red; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
89 .atline { color: purple; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
90
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
91 .navigate {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
92 text-align: right;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
93 font-size: 60%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
94 margin: 1em 0 1em 0;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
95 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
96
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
97 .tag {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
98 color: #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
99 font-size: 70%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
100 font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
101 margin-left: .5em;
6571
e6f71ca3de8a coal: fix CSS errors as reported by Firefox
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6463
diff changeset
102 vertical-align: baseline;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
103 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
104
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
105 /* Common */
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
106 pre { margin: 0; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
107
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
108 h2 { font-size: 120%; border-bottom: 1px solid #999; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
109 h3 {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
110 margin-top: -.7em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
111 font-size: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
112 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
113
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
114 /* log and tags tables */
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
115 .bigtable {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
116 border-bottom: 1px solid #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
117 border-collapse: collapse;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
118 font-size: 90%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
119 width: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
120 font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
121 text-align: left;
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
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
124 .bigtable td {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
125 padding: 1px 4px 1px 4px;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
126 vertical-align: top;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
127 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
128
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
129 .bigtable th {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
130 padding: 1px 4px 1px 4px;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
131 border-bottom: 1px solid #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
132 font-size: smaller;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
133 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
134 .bigtable tr { border: none; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
135 .bigtable .age { width: 6em; }
7181
1e39a2459359 coal/paper: widen author column in log table
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6905
diff changeset
136 .bigtable .author { width: 12em; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
137 .bigtable .description { }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
138 .bigtable .node { width: 5em; font-family: monospace;}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
139 .bigtable .lineno { width: 2em; text-align: right;}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
140 .bigtable .lineno a { color: #999; font-size: smaller; font-family: monospace;}
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
141 .bigtable td.source { font-family: monospace; white-space: pre; }
6452
d93f2f39bef4 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6451
diff changeset
142 .bigtable .permissions { width: 8em; text-align: left;}
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
143 .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
144 .bigtable .annotate { text-align: right; }
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
145 .bigtable td.annotate { font-size: smaller; }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
146
6454
eec89a03db08 coal: even more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6453
diff changeset
147 .fileline { font-family: monospace; }
6463
5e011a402352 coal: more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6454
diff changeset
148 .fileline img { border: 0; }
6454
eec89a03db08 coal: even more tweaks
Matt Mackall <mpm@selenic.com>
parents: 6453
diff changeset
149
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
150 /* Changeset entry */
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
151 #changesetEntry {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
152 border-collapse: collapse;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
153 font-size: 90%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
154 width: 100%;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
155 margin-bottom: 1em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
156 }
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 #changesetEntry th {
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
159 padding: 1px 4px 1px 4px;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
160 width: 4em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
161 text-align: right;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
162 font-weight: normal;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
163 color: #999;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
164 margin-right: .5em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
165 vertical-align: top;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
166 }
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
167
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
168 div.description {
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents: 6571
diff changeset
169 border-left: 2px solid #999;
6436
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
170 margin: 1em 0 1em 0;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
171 padding: .3em;
856ae126f48c templates: add coal web theme
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
172 }
6692
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
173
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
174 /* Graph */
6692
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
175 div#wrapper {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
176 position: relative;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
177 border-top: 1px solid black;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
178 border-bottom: 1px solid black;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
179 margin: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
180 padding: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
181 }
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
182
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
183 canvas {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
184 position: absolute;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
185 z-index: 5;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
186 top: -0.7em;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
187 margin: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
188 }
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
189
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
190 ul#nodebgs {
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
191 list-style: none inside none;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
192 padding: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
193 margin: 0;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
194 top: -0.7em;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
195 }
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
196
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
197 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
198 height: 39px;
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
199 }
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6661
diff changeset
200
6692
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
201 ul#graphnodes {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
202 position: absolute;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
203 z-index: 10;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
204 top: -1.0em;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
205 list-style: none inside none;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
206 padding: 0;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
207 }
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
208
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
209 ul#graphnodes li .info {
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
210 display: block;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
211 font-size: 70%;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
212 position: relative;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
213 top: -3px;
683428d1e639 make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents: 6661
diff changeset
214 }