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