summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2010-06-19 09:35:57 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2010-06-19 10:56:06 (UTC)
commita2cbd3c30b64a26b52b2003ba6569f3c083f4092 (patch) (unidiff)
tree235183b969b48eecf11d66cf34b2a9bccc73deb7
parentafc40725c1bd5a25446a704995ce3a02270537df (diff)
downloadcgit-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>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css6
1 files changed, 2 insertions, 4 deletions
diff --git a/cgit.css b/cgit.css
index 563f8e1..28a2eeb 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1,308 +1,306 @@
1body, table, form { 1body, table, form {
2 padding: 0em; 2 padding: 0em;
3 margin: 0em; 3 margin: 0em;
4} 4}
5 5
6body { 6body {
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
14a { 14a {
15 color: blue; 15 color: blue;
16 text-decoration: none; 16 text-decoration: none;
17} 17}
18 18
19a:hover { 19a:hover {
20 text-decoration: underline; 20 text-decoration: underline;
21} 21}
22 22
23table { 23table {
24 border-collapse: collapse; 24 border-collapse: collapse;
25} 25}
26 26
27table#header { 27table#header {
28 width: 100%; 28 width: 100%;
29 margin-bottom: 1em; 29 margin-bottom: 1em;
30} 30}
31 31
32table#header td.logo { 32table#header td.logo {
33 width: 96px; 33 width: 96px;
34} 34}
35 35
36table#header td.main { 36table#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
42table#header td.main a { 42table#header td.main a {
43 color: #000; 43 color: #000;
44} 44}
45 45
46table#header td.form { 46table#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
54table#header td.form form, 54table#header td.form form,
55table#header td.form input, 55table#header td.form input,
56table#header td.form select { 56table#header td.form select {
57 font-size: 90%; 57 font-size: 90%;
58} 58}
59 59
60table#header td.sub { 60table#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
66table.tabs { 66table.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
74table.tabs td { 74table.tabs td {
75 padding: 0px 1em; 75 padding: 0px 1em;
76 vertical-align: bottom; 76 vertical-align: bottom;
77} 77}
78 78
79table.tabs td a { 79table.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
85table.tabs td a.active { 85table.tabs td a.active {
86 color: #000; 86 color: #000;
87 background-color: #ccc; 87 background-color: #ccc;
88} 88}
89 89
90table.tabs td.form { 90table.tabs td.form {
91 text-align: right; 91 text-align: right;
92} 92}
93 93
94table.tabs td.form form { 94table.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
100table.tabs td.form input, 100table.tabs td.form input,
101table.tabs td.form select { 101table.tabs td.form select {
102 font-size: 90%; 102 font-size: 90%;
103} 103}
104 104
105div.path { 105div.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
113div.content { 112div.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
121table.list { 119table.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
127table.list tr { 125table.list tr {
128 background: white; 126 background: white;
129} 127}
130 128
131table.list tr.logheader { 129table.list tr.logheader {
132 background: #eee; 130 background: #eee;
133} 131}
134 132
135table.list tr:hover { 133table.list tr:hover {
136 background: #eee; 134 background: #eee;
137} 135}
138 136
139table.list tr.nohover:hover { 137table.list tr.nohover:hover {
140 background: white; 138 background: white;
141} 139}
142 140
143table.list th { 141table.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
153table.list td { 151table.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
158table.list td.logsubject { 156table.list td.logsubject {
159 font-family: monospace; 157 font-family: monospace;
160 font-weight: bold; 158 font-weight: bold;
161} 159}
162 160
163table.list td.logmsg { 161table.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
169table.list td a { 167table.list td a {
170 color: black; 168 color: black;
171} 169}
172 170
173table.list td a.ls-dir { 171table.list td a.ls-dir {
174 font-weight: bold; 172 font-weight: bold;
175 color: #00f; 173 color: #00f;
176} 174}
177 175
178table.list td a:hover { 176table.list td a:hover {
179 color: #00f; 177 color: #00f;
180} 178}
181 179
182img { 180img {
183 border: none; 181 border: none;
184} 182}
185 183
186input#switch-btn { 184input#switch-btn {
187 margin: 2px 0px 0px 0px; 185 margin: 2px 0px 0px 0px;
188} 186}
189 187
190td#sidebar input.txt { 188td#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
195table#grid { 193table#grid {
196 margin: 0px; 194 margin: 0px;
197} 195}
198 196
199td#content { 197td#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
205div#summary { 203div#summary {
206 vertical-align: top; 204 vertical-align: top;
207 margin-bottom: 1em; 205 margin-bottom: 1em;
208} 206}
209 207
210table#downloads { 208table#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
218table#downloads th { 216table#downloads th {
219 background-color: #ccc; 217 background-color: #ccc;
220} 218}
221 219
222div#blob { 220div#blob {
223 border: solid 1px black; 221 border: solid 1px black;
224} 222}
225 223
226div.error { 224div.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
232a.ls-blob, a.ls-dir, a.ls-mod { 230a.ls-blob, a.ls-dir, a.ls-mod {
233 font-family: monospace; 231 font-family: monospace;
234} 232}
235 233
236td.ls-size { 234td.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
242td.ls-mode { 240td.ls-mode {
243 font-family: monospace; 241 font-family: monospace;
244 width: 10em; 242 width: 10em;
245} 243}
246 244
247table.blob { 245table.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
252table.blob td.lines { 250table.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
258table.blob td.linenumbers { 256table.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
265table.blob pre { 263table.blob pre {
266 padding: 0; margin: 0; 264 padding: 0; margin: 0;
267} 265}
268 266
269table.blob a.no { 267table.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
275table.blob a.no a:hover { 273table.blob a.no a:hover {
276 color: black; 274 color: black;
277} 275}
278 276
279table.bin-blob { 277table.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
284table.bin-blob th { 282table.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
291table.bin-blob td { 289table.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
298table.nowrap td { 296table.nowrap td {
299 white-space: nowrap; 297 white-space: nowrap;
300} 298}
301 299
302table.commit-info { 300table.commit-info {
303 border-collapse: collapse; 301 border-collapse: collapse;
304 margin-top: 1.5em; 302 margin-top: 1.5em;
305} 303}
306 304
307table.commit-info th { 305table.commit-info th {
308 text-align: left; 306 text-align: left;