author | Lars Hjemli <hjemli@gmail.com> | 2007-06-17 11:17:00 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-06-17 11:17:00 (UTC) |
commit | 426032f767763b46f462de51d1ebded34f671d79 (patch) (unidiff) | |
tree | c94684f2d5f6c4ea500ebc60a36a7d74ff76cadb /cgit.css | |
parent | 486c87ec2906c445ca505c877720d56e02aed784 (diff) | |
download | cgit-426032f767763b46f462de51d1ebded34f671d79.zip cgit-426032f767763b46f462de51d1ebded34f671d79.tar.gz cgit-426032f767763b46f462de51d1ebded34f671d79.tar.bz2 |
ui-tree: html/css cleanup
Various fixes to make html and css more "clean". The only visible change
is the link to file/directory log: it is now printed as "L" (for Log)
instead of "H" (for History).
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 17 |
1 files changed, 4 insertions, 13 deletions
@@ -81,214 +81,205 @@ table#layout { | |||
81 | border-collapse: collapse; | 81 | border-collapse: collapse; |
82 | margin: 0px; | 82 | margin: 0px; |
83 | } | 83 | } |
84 | 84 | ||
85 | td#header, td#logo { | 85 | td#header, td#logo { |
86 | color: #666; | 86 | color: #666; |
87 | background-color: #ddd; | 87 | background-color: #ddd; |
88 | border-bottom: solid 1px #000; | 88 | border-bottom: solid 1px #000; |
89 | } | 89 | } |
90 | 90 | ||
91 | td#header { | 91 | td#header { |
92 | font-size: 150%; | 92 | font-size: 150%; |
93 | font-weight: bold; | 93 | font-weight: bold; |
94 | padding: 0.2em 0.5em; | 94 | padding: 0.2em 0.5em; |
95 | vertical-align: text-bottom; | 95 | vertical-align: text-bottom; |
96 | } | 96 | } |
97 | 97 | ||
98 | td#logo { | 98 | td#logo { |
99 | text-align: right; | 99 | text-align: right; |
100 | vertical-align: middle; | 100 | vertical-align: middle; |
101 | padding-right: 0.5em; | 101 | padding-right: 0.5em; |
102 | } | 102 | } |
103 | 103 | ||
104 | td#crumb, td#search { | 104 | td#crumb, td#search { |
105 | color: #ccc; | 105 | color: #ccc; |
106 | border-top: solid 3px #555; | 106 | border-top: solid 3px #555; |
107 | background-color: #666; | 107 | background-color: #666; |
108 | border-bottom: solid 1px #333; | 108 | border-bottom: solid 1px #333; |
109 | padding: 2px 1em; | 109 | padding: 2px 1em; |
110 | } | 110 | } |
111 | 111 | ||
112 | td#crumb { | 112 | td#crumb { |
113 | font-weight: bold; | 113 | font-weight: bold; |
114 | } | 114 | } |
115 | 115 | ||
116 | td#crumb a { | 116 | td#crumb a { |
117 | color: #ccc; | 117 | color: #ccc; |
118 | background-color: #666; | 118 | background-color: #666; |
119 | } | 119 | } |
120 | 120 | ||
121 | td#crumb a:hover { | 121 | td#crumb a:hover { |
122 | color: #eee; | 122 | color: #eee; |
123 | background-color: #666; | 123 | background-color: #666; |
124 | } | 124 | } |
125 | 125 | ||
126 | td#search { | 126 | td#search { |
127 | text-align: right; | 127 | text-align: right; |
128 | vertical-align: middle; | 128 | vertical-align: middle; |
129 | padding-right: 0.5em; | 129 | padding-right: 0.5em; |
130 | } | 130 | } |
131 | 131 | ||
132 | td#search form { | 132 | td#search form { |
133 | margin: 0px; | 133 | margin: 0px; |
134 | padding: 0px; | 134 | padding: 0px; |
135 | } | 135 | } |
136 | 136 | ||
137 | td#search input { | 137 | td#search input { |
138 | font-size: 9pt; | 138 | font-size: 9pt; |
139 | padding: 0px; | 139 | padding: 0px; |
140 | width: 10em; | 140 | width: 10em; |
141 | border: solid 1px #333; | 141 | border: solid 1px #333; |
142 | color: #333; | 142 | color: #333; |
143 | background-color: #fff; | 143 | background-color: #fff; |
144 | } | 144 | } |
145 | 145 | ||
146 | div#summary { | 146 | div#summary { |
147 | vertical-align: top; | 147 | vertical-align: top; |
148 | margin-bottom: 1em; | 148 | margin-bottom: 1em; |
149 | } | 149 | } |
150 | 150 | ||
151 | table#downloads { | 151 | table#downloads { |
152 | float: right; | 152 | float: right; |
153 | border-collapse: collapse; | 153 | border-collapse: collapse; |
154 | border: solid 1px #777; | 154 | border: solid 1px #777; |
155 | margin-left: 0.5em; | 155 | margin-left: 0.5em; |
156 | margin-bottom: 0.5em; | 156 | margin-bottom: 0.5em; |
157 | } | 157 | } |
158 | 158 | ||
159 | table#downloads th { | 159 | table#downloads th { |
160 | background-color: #ccc; | 160 | background-color: #ccc; |
161 | } | 161 | } |
162 | 162 | ||
163 | td#content { | 163 | td#content { |
164 | padding: 1em 0.5em; | 164 | padding: 1em 0.5em; |
165 | } | 165 | } |
166 | 166 | ||
167 | div#blob { | 167 | div#blob { |
168 | border: solid 1px black; | 168 | border: solid 1px black; |
169 | } | 169 | } |
170 | 170 | ||
171 | div.error { | 171 | div.error { |
172 | color: red; | 172 | color: red; |
173 | font-weight: bold; | 173 | font-weight: bold; |
174 | margin: 1em 2em; | 174 | margin: 1em 2em; |
175 | } | 175 | } |
176 | 176 | ||
177 | td.ls-blob, td.ls-dir, td.ls-mod { | 177 | a.ls-blob, a.ls-dir, a.ls-mod { |
178 | font-family: monospace; | 178 | font-family: monospace; |
179 | } | 179 | } |
180 | 180 | ||
181 | div.ls-dir a { | 181 | td.ls-size { |
182 | font-weight: bold; | ||
183 | } | ||
184 | |||
185 | th.filesize, td.filesize { | ||
186 | text-align: right; | 182 | text-align: right; |
187 | } | 183 | } |
188 | 184 | ||
189 | td.filesize { | 185 | td.ls-size { |
190 | font-family: monospace; | 186 | font-family: monospace; |
191 | } | 187 | } |
192 | 188 | ||
193 | td.links { | 189 | td.ls-mode { |
194 | font-size: 80%; | ||
195 | padding-left: 2em; | ||
196 | } | ||
197 | |||
198 | td.filemode { | ||
199 | font-family: monospace; | 190 | font-family: monospace; |
200 | } | 191 | } |
201 | 192 | ||
202 | table.blob { | 193 | table.blob { |
203 | margin-top: 0.5em; | 194 | margin-top: 0.5em; |
204 | border-top: solid 1px black; | 195 | border-top: solid 1px black; |
205 | } | 196 | } |
206 | 197 | ||
207 | table.blob td.no { | 198 | table.blob td.no { |
208 | border-right: solid 1px black; | 199 | border-right: solid 1px black; |
209 | color: black; | 200 | color: black; |
210 | background-color: #eee; | 201 | background-color: #eee; |
211 | text-align: right; | 202 | text-align: right; |
212 | } | 203 | } |
213 | 204 | ||
214 | table.blob td.txt { | 205 | table.blob td.txt { |
215 | white-space: pre; | 206 | white-space: pre; |
216 | font-family: monospace; | 207 | font-family: monospace; |
217 | padding-left: 0.5em; | 208 | padding-left: 0.5em; |
218 | } | 209 | } |
219 | 210 | ||
220 | table.nowrap td { | 211 | table.nowrap td { |
221 | white-space: nowrap; | 212 | white-space: nowrap; |
222 | } | 213 | } |
223 | 214 | ||
224 | table.commit-info { | 215 | table.commit-info { |
225 | border-collapse: collapse; | 216 | border-collapse: collapse; |
226 | margin-top: 1.5em; | 217 | margin-top: 1.5em; |
227 | } | 218 | } |
228 | 219 | ||
229 | table.commit-info th { | 220 | table.commit-info th { |
230 | text-align: left; | 221 | text-align: left; |
231 | font-weight: normal; | 222 | font-weight: normal; |
232 | padding: 0.1em 1em 0.1em 0.1em; | 223 | padding: 0.1em 1em 0.1em 0.1em; |
233 | } | 224 | } |
234 | 225 | ||
235 | table.commit-info td { | 226 | table.commit-info td { |
236 | font-weight: normal; | 227 | font-weight: normal; |
237 | padding: 0.1em 1em 0.1em 0.1em; | 228 | padding: 0.1em 1em 0.1em 0.1em; |
238 | } | 229 | } |
239 | 230 | ||
240 | div.commit-subject { | 231 | div.commit-subject { |
241 | font-weight: bold; | 232 | font-weight: bold; |
242 | font-size: 125%; | 233 | font-size: 125%; |
243 | margin: 1.5em 0em 0.5em 0em; | 234 | margin: 1.5em 0em 0.5em 0em; |
244 | padding: 0em; | 235 | padding: 0em; |
245 | } | 236 | } |
246 | 237 | ||
247 | div.commit-msg { | 238 | div.commit-msg { |
248 | white-space: pre; | 239 | white-space: pre; |
249 | font-family: monospace; | 240 | font-family: monospace; |
250 | } | 241 | } |
251 | 242 | ||
252 | div.diffstat-header { | 243 | div.diffstat-header { |
253 | font-weight: bold; | 244 | font-weight: bold; |
254 | padding-top: 1.5em; | 245 | padding-top: 1.5em; |
255 | } | 246 | } |
256 | 247 | ||
257 | table.diffstat { | 248 | table.diffstat { |
258 | border-collapse: collapse; | 249 | border-collapse: collapse; |
259 | width: 100%; | 250 | width: 100%; |
260 | border: solid 1px #aaa; | 251 | border: solid 1px #aaa; |
261 | background-color: #eee; | 252 | background-color: #eee; |
262 | } | 253 | } |
263 | 254 | ||
264 | table.diffstat tr:hover { | 255 | table.diffstat tr:hover { |
265 | background-color: #ccc; | 256 | background-color: #ccc; |
266 | } | 257 | } |
267 | 258 | ||
268 | table.diffstat th { | 259 | table.diffstat th { |
269 | font-weight: normal; | 260 | font-weight: normal; |
270 | text-align: left; | 261 | text-align: left; |
271 | text-decoration: underline; | 262 | text-decoration: underline; |
272 | padding: 0.1em 1em 0.1em 0.1em; | 263 | padding: 0.1em 1em 0.1em 0.1em; |
273 | font-size: 100%; | 264 | font-size: 100%; |
274 | } | 265 | } |
275 | 266 | ||
276 | table.diffstat td { | 267 | table.diffstat td { |
277 | padding: 0.2em 0.2em 0.1em 0.1em; | 268 | padding: 0.2em 0.2em 0.1em 0.1em; |
278 | font-size: 100%; | 269 | font-size: 100%; |
279 | border: none; | 270 | border: none; |
280 | } | 271 | } |
281 | 272 | ||
282 | table.diffstat td.mode { | 273 | table.diffstat td.mode { |
283 | white-space: nowrap; | 274 | white-space: nowrap; |
284 | } | 275 | } |
285 | 276 | ||
286 | table.diffstat td span.modechange { | 277 | table.diffstat td span.modechange { |
287 | padding-left: 1em; | 278 | padding-left: 1em; |
288 | color: red; | 279 | color: red; |
289 | } | 280 | } |
290 | 281 | ||
291 | table.diffstat td.add a { | 282 | table.diffstat td.add a { |
292 | color: green; | 283 | color: green; |
293 | } | 284 | } |
294 | 285 | ||