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