author | Lars Hjemli <hjemli@gmail.com> | 2010-06-19 09:35:57 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-06-19 10:56:06 (UTC) |
commit | a2cbd3c30b64a26b52b2003ba6569f3c083f4092 (patch) (unidiff) | |
tree | 235183b969b48eecf11d66cf34b2a9bccc73deb7 | |
parent | afc40725c1bd5a25446a704995ce3a02270537df (diff) | |
download | cgit-a2cbd3c30b64a26b52b2003ba6569f3c083f4092.zip cgit-a2cbd3c30b64a26b52b2003ba6569f3c083f4092.tar.gz cgit-a2cbd3c30b64a26b52b2003ba6569f3c083f4092.tar.bz2 |
ui-shared.c: path-limit style nitpick
This subjectively makes the path-limit bar less visually intrusive.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,308 +1,306 @@ | |||
1 | body, table, form { | 1 | body, table, form { |
2 | padding: 0em; | 2 | padding: 0em; |
3 | margin: 0em; | 3 | margin: 0em; |
4 | } | 4 | } |
5 | 5 | ||
6 | body { | 6 | body { |
7 | font-family: sans-serif; | 7 | font-family: sans-serif; |
8 | font-size: 10pt; | 8 | font-size: 10pt; |
9 | color: #333; | 9 | color: #333; |
10 | background: white; | 10 | background: white; |
11 | padding: 4px; | 11 | padding: 4px; |
12 | } | 12 | } |
13 | 13 | ||
14 | a { | 14 | a { |
15 | color: blue; | 15 | color: blue; |
16 | text-decoration: none; | 16 | text-decoration: none; |
17 | } | 17 | } |
18 | 18 | ||
19 | a:hover { | 19 | a:hover { |
20 | text-decoration: underline; | 20 | text-decoration: underline; |
21 | } | 21 | } |
22 | 22 | ||
23 | table { | 23 | table { |
24 | border-collapse: collapse; | 24 | border-collapse: collapse; |
25 | } | 25 | } |
26 | 26 | ||
27 | table#header { | 27 | table#header { |
28 | width: 100%; | 28 | width: 100%; |
29 | margin-bottom: 1em; | 29 | margin-bottom: 1em; |
30 | } | 30 | } |
31 | 31 | ||
32 | table#header td.logo { | 32 | table#header td.logo { |
33 | width: 96px; | 33 | width: 96px; |
34 | } | 34 | } |
35 | 35 | ||
36 | table#header td.main { | 36 | table#header td.main { |
37 | font-size: 250%; | 37 | font-size: 250%; |
38 | padding-left: 10px; | 38 | padding-left: 10px; |
39 | white-space: nowrap; | 39 | white-space: nowrap; |
40 | } | 40 | } |
41 | 41 | ||
42 | table#header td.main a { | 42 | table#header td.main a { |
43 | color: #000; | 43 | color: #000; |
44 | } | 44 | } |
45 | 45 | ||
46 | table#header td.form { | 46 | table#header td.form { |
47 | text-align: right; | 47 | text-align: right; |
48 | vertical-align: bottom; | 48 | vertical-align: bottom; |
49 | padding-right: 1em; | 49 | padding-right: 1em; |
50 | padding-bottom: 2px; | 50 | padding-bottom: 2px; |
51 | white-space: nowrap; | 51 | white-space: nowrap; |
52 | } | 52 | } |
53 | 53 | ||
54 | table#header td.form form, | 54 | table#header td.form form, |
55 | table#header td.form input, | 55 | table#header td.form input, |
56 | table#header td.form select { | 56 | table#header td.form select { |
57 | font-size: 90%; | 57 | font-size: 90%; |
58 | } | 58 | } |
59 | 59 | ||
60 | table#header td.sub { | 60 | table#header td.sub { |
61 | color: #777; | 61 | color: #777; |
62 | border-top: solid 1px #ccc; | 62 | border-top: solid 1px #ccc; |
63 | padding-left: 10px; | 63 | padding-left: 10px; |
64 | } | 64 | } |
65 | 65 | ||
66 | table.tabs { | 66 | table.tabs { |
67 | /* border-bottom: solid 2px #ccc; */ | 67 | border-bottom: solid 3px #ccc; |
68 | border-collapse: collapse; | 68 | border-collapse: collapse; |
69 | margin-top: 2em; | 69 | margin-top: 2em; |
70 | margin-bottom: 0px; | 70 | margin-bottom: 0px; |
71 | width: 100%; | 71 | width: 100%; |
72 | } | 72 | } |
73 | 73 | ||
74 | table.tabs td { | 74 | table.tabs td { |
75 | padding: 0px 1em; | 75 | padding: 0px 1em; |
76 | vertical-align: bottom; | 76 | vertical-align: bottom; |
77 | } | 77 | } |
78 | 78 | ||
79 | table.tabs td a { | 79 | table.tabs td a { |
80 | padding: 2px 0.75em; | 80 | padding: 2px 0.75em; |
81 | color: #777; | 81 | color: #777; |
82 | font-size: 110%; | 82 | font-size: 110%; |
83 | } | 83 | } |
84 | 84 | ||
85 | table.tabs td a.active { | 85 | table.tabs td a.active { |
86 | color: #000; | 86 | color: #000; |
87 | background-color: #ccc; | 87 | background-color: #ccc; |
88 | } | 88 | } |
89 | 89 | ||
90 | table.tabs td.form { | 90 | table.tabs td.form { |
91 | text-align: right; | 91 | text-align: right; |
92 | } | 92 | } |
93 | 93 | ||
94 | table.tabs td.form form { | 94 | table.tabs td.form form { |
95 | padding-bottom: 2px; | 95 | padding-bottom: 2px; |
96 | font-size: 90%; | 96 | font-size: 90%; |
97 | white-space: nowrap; | 97 | white-space: nowrap; |
98 | } | 98 | } |
99 | 99 | ||
100 | table.tabs td.form input, | 100 | table.tabs td.form input, |
101 | table.tabs td.form select { | 101 | table.tabs td.form select { |
102 | font-size: 90%; | 102 | font-size: 90%; |
103 | } | 103 | } |
104 | 104 | ||
105 | div.path { | 105 | div.path { |
106 | margin: 0px; | 106 | margin: 0px; |
107 | padding: 5px 2em 2px 2em; | 107 | padding: 5px 2em 2px 2em; |
108 | color: #000; | 108 | color: #000; |
109 | background-color: #ccc; | 109 | background-color: #eee; |
110 | font-weight: bold; | ||
111 | } | 110 | } |
112 | 111 | ||
113 | div.content { | 112 | div.content { |
114 | margin: 0px; | 113 | margin: 0px; |
115 | padding: 2em; | 114 | padding: 2em; |
116 | border-top: solid 3px #ccc; | ||
117 | border-bottom: solid 3px #ccc; | 115 | border-bottom: solid 3px #ccc; |
118 | } | 116 | } |
119 | 117 | ||
120 | 118 | ||
121 | table.list { | 119 | table.list { |
122 | width: 100%; | 120 | width: 100%; |
123 | border: none; | 121 | border: none; |
124 | border-collapse: collapse; | 122 | border-collapse: collapse; |
125 | } | 123 | } |
126 | 124 | ||
127 | table.list tr { | 125 | table.list tr { |
128 | background: white; | 126 | background: white; |
129 | } | 127 | } |
130 | 128 | ||
131 | table.list tr.logheader { | 129 | table.list tr.logheader { |
132 | background: #eee; | 130 | background: #eee; |
133 | } | 131 | } |
134 | 132 | ||
135 | table.list tr:hover { | 133 | table.list tr:hover { |
136 | background: #eee; | 134 | background: #eee; |
137 | } | 135 | } |
138 | 136 | ||
139 | table.list tr.nohover:hover { | 137 | table.list tr.nohover:hover { |
140 | background: white; | 138 | background: white; |
141 | } | 139 | } |
142 | 140 | ||
143 | table.list th { | 141 | table.list th { |
144 | font-weight: bold; | 142 | font-weight: bold; |
145 | /* color: #888; | 143 | /* color: #888; |
146 | border-top: dashed 1px #888; | 144 | border-top: dashed 1px #888; |
147 | border-bottom: dashed 1px #888; | 145 | border-bottom: dashed 1px #888; |
148 | */ | 146 | */ |
149 | padding: 0.1em 0.5em 0.05em 0.5em; | 147 | padding: 0.1em 0.5em 0.05em 0.5em; |
150 | vertical-align: baseline; | 148 | vertical-align: baseline; |
151 | } | 149 | } |
152 | 150 | ||
153 | table.list td { | 151 | table.list td { |
154 | border: none; | 152 | border: none; |
155 | padding: 0.1em 0.5em 0.1em 0.5em; | 153 | padding: 0.1em 0.5em 0.1em 0.5em; |
156 | } | 154 | } |
157 | 155 | ||
158 | table.list td.logsubject { | 156 | table.list td.logsubject { |
159 | font-family: monospace; | 157 | font-family: monospace; |
160 | font-weight: bold; | 158 | font-weight: bold; |
161 | } | 159 | } |
162 | 160 | ||
163 | table.list td.logmsg { | 161 | table.list td.logmsg { |
164 | font-family: monospace; | 162 | font-family: monospace; |
165 | white-space: pre; | 163 | white-space: pre; |
166 | padding: 1em 0.5em 2em 0.5em; | 164 | padding: 1em 0.5em 2em 0.5em; |
167 | } | 165 | } |
168 | 166 | ||
169 | table.list td a { | 167 | table.list td a { |
170 | color: black; | 168 | color: black; |
171 | } | 169 | } |
172 | 170 | ||
173 | table.list td a.ls-dir { | 171 | table.list td a.ls-dir { |
174 | font-weight: bold; | 172 | font-weight: bold; |
175 | color: #00f; | 173 | color: #00f; |
176 | } | 174 | } |
177 | 175 | ||
178 | table.list td a:hover { | 176 | table.list td a:hover { |
179 | color: #00f; | 177 | color: #00f; |
180 | } | 178 | } |
181 | 179 | ||
182 | img { | 180 | img { |
183 | border: none; | 181 | border: none; |
184 | } | 182 | } |
185 | 183 | ||
186 | input#switch-btn { | 184 | input#switch-btn { |
187 | margin: 2px 0px 0px 0px; | 185 | margin: 2px 0px 0px 0px; |
188 | } | 186 | } |
189 | 187 | ||
190 | td#sidebar input.txt { | 188 | td#sidebar input.txt { |
191 | width: 100%; | 189 | width: 100%; |
192 | margin: 2px 0px 0px 0px; | 190 | margin: 2px 0px 0px 0px; |
193 | } | 191 | } |
194 | 192 | ||
195 | table#grid { | 193 | table#grid { |
196 | margin: 0px; | 194 | margin: 0px; |
197 | } | 195 | } |
198 | 196 | ||
199 | td#content { | 197 | td#content { |
200 | vertical-align: top; | 198 | vertical-align: top; |
201 | padding: 1em 2em 1em 1em; | 199 | padding: 1em 2em 1em 1em; |
202 | border: none; | 200 | border: none; |
203 | } | 201 | } |
204 | 202 | ||
205 | div#summary { | 203 | div#summary { |
206 | vertical-align: top; | 204 | vertical-align: top; |
207 | margin-bottom: 1em; | 205 | margin-bottom: 1em; |
208 | } | 206 | } |
209 | 207 | ||
210 | table#downloads { | 208 | table#downloads { |
211 | float: right; | 209 | float: right; |
212 | border-collapse: collapse; | 210 | border-collapse: collapse; |
213 | border: solid 1px #777; | 211 | border: solid 1px #777; |
214 | margin-left: 0.5em; | 212 | margin-left: 0.5em; |
215 | margin-bottom: 0.5em; | 213 | margin-bottom: 0.5em; |
216 | } | 214 | } |
217 | 215 | ||
218 | table#downloads th { | 216 | table#downloads th { |
219 | background-color: #ccc; | 217 | background-color: #ccc; |
220 | } | 218 | } |
221 | 219 | ||
222 | div#blob { | 220 | div#blob { |
223 | border: solid 1px black; | 221 | border: solid 1px black; |
224 | } | 222 | } |
225 | 223 | ||
226 | div.error { | 224 | div.error { |
227 | color: red; | 225 | color: red; |
228 | font-weight: bold; | 226 | font-weight: bold; |
229 | margin: 1em 2em; | 227 | margin: 1em 2em; |
230 | } | 228 | } |
231 | 229 | ||
232 | a.ls-blob, a.ls-dir, a.ls-mod { | 230 | a.ls-blob, a.ls-dir, a.ls-mod { |
233 | font-family: monospace; | 231 | font-family: monospace; |
234 | } | 232 | } |
235 | 233 | ||
236 | td.ls-size { | 234 | td.ls-size { |
237 | text-align: right; | 235 | text-align: right; |
238 | font-family: monospace; | 236 | font-family: monospace; |
239 | width: 10em; | 237 | width: 10em; |
240 | } | 238 | } |
241 | 239 | ||
242 | td.ls-mode { | 240 | td.ls-mode { |
243 | font-family: monospace; | 241 | font-family: monospace; |
244 | width: 10em; | 242 | width: 10em; |
245 | } | 243 | } |
246 | 244 | ||
247 | table.blob { | 245 | table.blob { |
248 | margin-top: 0.5em; | 246 | margin-top: 0.5em; |
249 | border-top: solid 1px black; | 247 | border-top: solid 1px black; |
250 | } | 248 | } |
251 | 249 | ||
252 | table.blob td.lines { | 250 | table.blob td.lines { |
253 | margin: 0; padding: 0 0 0 0.5em; | 251 | margin: 0; padding: 0 0 0 0.5em; |
254 | vertical-align: top; | 252 | vertical-align: top; |
255 | color: black; | 253 | color: black; |
256 | } | 254 | } |
257 | 255 | ||
258 | table.blob td.linenumbers { | 256 | table.blob td.linenumbers { |
259 | margin: 0; padding: 0 0.5em 0 0.5em; | 257 | margin: 0; padding: 0 0.5em 0 0.5em; |
260 | vertical-align: top; | 258 | vertical-align: top; |
261 | text-align: right; | 259 | text-align: right; |
262 | border-right: 1px solid gray; | 260 | border-right: 1px solid gray; |
263 | } | 261 | } |
264 | 262 | ||
265 | table.blob pre { | 263 | table.blob pre { |
266 | padding: 0; margin: 0; | 264 | padding: 0; margin: 0; |
267 | } | 265 | } |
268 | 266 | ||
269 | table.blob a.no { | 267 | table.blob a.no { |
270 | color: gray; | 268 | color: gray; |
271 | text-align: right; | 269 | text-align: right; |
272 | text-decoration: none; | 270 | text-decoration: none; |
273 | } | 271 | } |
274 | 272 | ||
275 | table.blob a.no a:hover { | 273 | table.blob a.no a:hover { |
276 | color: black; | 274 | color: black; |
277 | } | 275 | } |
278 | 276 | ||
279 | table.bin-blob { | 277 | table.bin-blob { |
280 | margin-top: 0.5em; | 278 | margin-top: 0.5em; |
281 | border: solid 1px black; | 279 | border: solid 1px black; |
282 | } | 280 | } |
283 | 281 | ||
284 | table.bin-blob th { | 282 | table.bin-blob th { |
285 | font-family: monospace; | 283 | font-family: monospace; |
286 | white-space: pre; | 284 | white-space: pre; |
287 | border: solid 1px #777; | 285 | border: solid 1px #777; |
288 | padding: 0.5em 1em; | 286 | padding: 0.5em 1em; |
289 | } | 287 | } |
290 | 288 | ||
291 | table.bin-blob td { | 289 | table.bin-blob td { |
292 | font-family: monospace; | 290 | font-family: monospace; |
293 | white-space: pre; | 291 | white-space: pre; |
294 | border-left: solid 1px #777; | 292 | border-left: solid 1px #777; |
295 | padding: 0em 1em; | 293 | padding: 0em 1em; |
296 | } | 294 | } |
297 | 295 | ||
298 | table.nowrap td { | 296 | table.nowrap td { |
299 | white-space: nowrap; | 297 | white-space: nowrap; |
300 | } | 298 | } |
301 | 299 | ||
302 | table.commit-info { | 300 | table.commit-info { |
303 | border-collapse: collapse; | 301 | border-collapse: collapse; |
304 | margin-top: 1.5em; | 302 | margin-top: 1.5em; |
305 | } | 303 | } |
306 | 304 | ||
307 | table.commit-info th { | 305 | table.commit-info th { |
308 | text-align: left; | 306 | text-align: left; |