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