Mercurial > hg
annotate templates/static/style-paper.css @ 6905:248e54a9456e
coal/paper: make output well-formed and fix css syntax error breaking rendering
author | Rocco Rutte <pdmef@gmx.net> |
---|---|
date | Mon, 18 Aug 2008 15:58:17 +0200 |
parents | 105d8676a688 |
children | 1e39a2459359 |
rev | line source |
---|---|
6436 | 1 body { |
2 margin: 0; | |
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 | 5 font-family: sans-serif; |
6436 | 6 } |
7 | |
6453 | 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 | 10 } |
11 | |
6436 | 12 .main { |
6453 | 13 position: relative; |
6436 | 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 | 16 } |
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 | 22 .overflow { |
23 width: 100%; | |
24 overflow: auto; | |
25 } | |
26 | |
27 .menu { | |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
28 width: 90px; |
6436 | 29 margin: 0; |
6463 | 30 font-size: 80%; |
6436 | 31 text-align: left; |
32 position: fixed; | |
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 | 36 } |
37 | |
6864
105d8676a688
coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents:
6694
diff
changeset
|
38 #.menu { |
105d8676a688
coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents:
6694
diff
changeset
|
39 position: absolute !important; |
105d8676a688
coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents:
6694
diff
changeset
|
40 top:expression(eval(document.body.scrollTop + 27)); |
105d8676a688
coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents:
6694
diff
changeset
|
41 } |
105d8676a688
coal/paper: fixed box via an expression for IE < 7
rubik <ribik@sina.com>
parents:
6694
diff
changeset
|
42 |
6436 | 43 .menu ul { |
44 list-style: none; | |
45 padding: 0; | |
46 margin: 10px 0 0 0; | |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
47 border-left: 2px solid #999; |
6436 | 48 } |
49 | |
50 .menu li { | |
51 margin-bottom: 3px; | |
52 padding: 2px 4px; | |
53 background: white; | |
54 color: black; | |
55 font-weight: normal; | |
56 } | |
57 | |
58 .menu li.active { | |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
59 font-weight: bold; |
6436 | 60 } |
61 | |
6463 | 62 .menu a { color: black; display: block; } |
63 | |
6436 | 64 .search { |
65 position: absolute; | |
66 top: .7em; | |
67 right: 2em; | |
68 } | |
69 | |
70 a { text-decoration:none; } | |
71 .age { white-space:nowrap; } | |
72 .date { white-space:nowrap; } | |
73 .indexlinks { white-space:nowrap; } | |
74 .parity0 { background-color: #f5f5f5; } | |
75 .parity1 { background-color: white; } | |
76 .plusline { color: green; } | |
77 .minusline { color: red; } | |
78 .atline { color: purple; } | |
79 | |
80 .navigate { | |
81 text-align: right; | |
82 font-size: 60%; | |
83 margin: 1em 0 1em 0; | |
84 } | |
85 | |
86 .tag { | |
87 color: #999; | |
88 font-size: 70%; | |
89 font-weight: normal; | |
90 margin-left: .5em; | |
6571
e6f71ca3de8a
coal: fix CSS errors as reported by Firefox
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6463
diff
changeset
|
91 vertical-align: baseline; |
6436 | 92 } |
93 | |
94 /* Common */ | |
95 pre { margin: 0; } | |
96 | |
97 h2 { font-size: 120%; border-bottom: 1px solid #999; } | |
98 h3 { | |
99 margin-top: -.7em; | |
100 font-size: 100%; | |
101 } | |
102 | |
103 /* log and tags tables */ | |
104 .bigtable { | |
105 border-bottom: 1px solid #999; | |
106 border-collapse: collapse; | |
107 font-size: 90%; | |
108 width: 100%; | |
109 font-weight: normal; | |
110 text-align: left; | |
111 } | |
112 | |
113 .bigtable td { | |
114 padding: 1px 4px 1px 4px; | |
115 vertical-align: top; | |
116 } | |
117 | |
118 .bigtable th { | |
119 padding: 1px 4px 1px 4px; | |
120 border-bottom: 1px solid #999; | |
121 font-size: smaller; | |
122 } | |
123 .bigtable tr { border: none; } | |
124 .bigtable .age { width: 6em; } | |
6451 | 125 .bigtable .author { width: 10em; } |
6436 | 126 .bigtable .description { } |
127 .bigtable .node { width: 5em; font-family: monospace;} | |
128 .bigtable .lineno { width: 2em; text-align: right;} | |
129 .bigtable .lineno a { color: #999; font-size: smaller; font-family: monospace;} | |
130 .bigtable td.source { font-family: monospace; white-space: pre; } | |
6452 | 131 .bigtable .permissions { width: 8em; text-align: left;} |
6436 | 132 .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
|
133 .bigtable .annotate { text-align: right; } |
6436 | 134 .bigtable td.annotate { font-size: smaller; } |
135 | |
6454 | 136 .fileline { font-family: monospace; } |
6463 | 137 .fileline img { border: 0; } |
6454 | 138 |
6436 | 139 /* Changeset entry */ |
140 #changesetEntry { | |
141 border-collapse: collapse; | |
142 font-size: 90%; | |
143 width: 100%; | |
144 margin-bottom: 1em; | |
145 } | |
146 | |
147 #changesetEntry th { | |
148 padding: 1px 4px 1px 4px; | |
149 width: 4em; | |
150 text-align: right; | |
151 font-weight: normal; | |
152 color: #999; | |
153 margin-right: .5em; | |
154 vertical-align: top; | |
155 } | |
156 | |
157 div.description { | |
6661
d1a312daa574
hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
6571
diff
changeset
|
158 border-left: 2px solid #999; |
6436 | 159 margin: 1em 0 1em 0; |
160 padding: .3em; | |
161 } | |
6692
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
162 |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
163 /* Graph */ |
6692
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
164 div#wrapper { |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
165 position: relative; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
166 border-top: 1px solid black; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
167 border-bottom: 1px solid black; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
168 margin: 0; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
169 padding: 0; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
170 } |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
171 |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
172 canvas { |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
173 position: absolute; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
174 z-index: 5; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
175 top: -0.7em; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
176 margin: 0; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
177 } |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
178 |
6693
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
179 ul#nodebgs { |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
180 list-style: none inside none; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
181 padding: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
182 margin: 0; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
183 top: -0.7em; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
184 } |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
185 |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
186 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
|
187 height: 39px; |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
188 } |
7f58dec6aeb7
hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents:
6661
diff
changeset
|
189 |
6692
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
190 ul#graphnodes { |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
191 position: absolute; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
192 z-index: 10; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
193 top: -1.0em; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
194 list-style: none inside none; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
195 padding: 0; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
196 } |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
197 |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
198 ul#graphnodes li .info { |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
199 display: block; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
200 font-size: 70%; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
201 position: relative; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
202 top: -3px; |
683428d1e639
make graph view work with paper style
Matt Mackall <mpm@selenic.com>
parents:
6661
diff
changeset
|
203 } |