author | Lars Hjemli <hjemli@gmail.com> | 2008-04-12 18:18:16 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-04-12 18:18:16 (UTC) |
commit | 72a69b77e7bf10cc3674e61e1ddd4d81618ee533 (patch) (unidiff) | |
tree | 96f6402b2d6e63182e668f2f458bdd27d3f255a6 | |
parent | 68cb84839f8fbc20688b22202489f4c2a54d3f55 (diff) | |
download | cgit-72a69b77e7bf10cc3674e61e1ddd4d81618ee533.zip cgit-72a69b77e7bf10cc3674e61e1ddd4d81618ee533.tar.gz cgit-72a69b77e7bf10cc3674e61e1ddd4d81618ee533.tar.bz2 |
Minor fixup in tree-view css
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -77,200 +77,199 @@ table.tabs td.branch form { | |||
77 | div.content { | 77 | div.content { |
78 | margin: 0px; | 78 | margin: 0px; |
79 | padding: 1em; | 79 | padding: 1em; |
80 | } | 80 | } |
81 | 81 | ||
82 | 82 | ||
83 | table.list { | 83 | table.list { |
84 | width: 100%; | 84 | width: 100%; |
85 | border: none; | 85 | border: none; |
86 | border-collapse: collapse; | 86 | border-collapse: collapse; |
87 | } | 87 | } |
88 | 88 | ||
89 | table.list tr { | 89 | table.list tr { |
90 | background: white; | 90 | background: white; |
91 | } | 91 | } |
92 | 92 | ||
93 | table.list tr:hover { | 93 | table.list tr:hover { |
94 | background: #eee; | 94 | background: #eee; |
95 | } | 95 | } |
96 | 96 | ||
97 | table.list tr.nohover:hover { | 97 | table.list tr.nohover:hover { |
98 | background: white; | 98 | background: white; |
99 | } | 99 | } |
100 | 100 | ||
101 | table.list th { | 101 | table.list th { |
102 | font-weight: normal; | 102 | font-weight: normal; |
103 | border-bottom: solid 1px #ccc; | 103 | border-bottom: solid 1px #ccc; |
104 | padding: 0.1em 0.5em 0.1em 0.5em; | 104 | padding: 0.1em 0.5em 0.1em 0.5em; |
105 | vertical-align: baseline; | 105 | vertical-align: baseline; |
106 | } | 106 | } |
107 | 107 | ||
108 | table.list td { | 108 | table.list td { |
109 | border: none; | 109 | border: none; |
110 | padding: 0.1em 0.5em 0.1em 0.5em; | 110 | padding: 0.1em 0.5em 0.1em 0.5em; |
111 | } | 111 | } |
112 | 112 | ||
113 | table.list td a { | 113 | table.list td a { |
114 | color: black; | 114 | color: black; |
115 | } | 115 | } |
116 | 116 | ||
117 | img { | 117 | img { |
118 | border: none; | 118 | border: none; |
119 | } | 119 | } |
120 | 120 | ||
121 | input#switch-btn { | 121 | input#switch-btn { |
122 | margin: 2px 0px 0px 0px; | 122 | margin: 2px 0px 0px 0px; |
123 | } | 123 | } |
124 | 124 | ||
125 | td#sidebar input.txt { | 125 | td#sidebar input.txt { |
126 | width: 100%; | 126 | width: 100%; |
127 | margin: 2px 0px 0px 0px; | 127 | margin: 2px 0px 0px 0px; |
128 | } | 128 | } |
129 | 129 | ||
130 | table#grid { | 130 | table#grid { |
131 | margin: 0px; | 131 | margin: 0px; |
132 | } | 132 | } |
133 | 133 | ||
134 | td#content { | 134 | td#content { |
135 | vertical-align: top; | 135 | vertical-align: top; |
136 | padding: 1em 2em 1em 1em; | 136 | padding: 1em 2em 1em 1em; |
137 | border: none; | 137 | border: none; |
138 | } | 138 | } |
139 | 139 | ||
140 | div#summary { | 140 | div#summary { |
141 | vertical-align: top; | 141 | vertical-align: top; |
142 | margin-bottom: 1em; | 142 | margin-bottom: 1em; |
143 | } | 143 | } |
144 | 144 | ||
145 | table#downloads { | 145 | table#downloads { |
146 | float: right; | 146 | float: right; |
147 | border-collapse: collapse; | 147 | border-collapse: collapse; |
148 | border: solid 1px #777; | 148 | border: solid 1px #777; |
149 | margin-left: 0.5em; | 149 | margin-left: 0.5em; |
150 | margin-bottom: 0.5em; | 150 | margin-bottom: 0.5em; |
151 | } | 151 | } |
152 | 152 | ||
153 | table#downloads th { | 153 | table#downloads th { |
154 | background-color: #ccc; | 154 | background-color: #ccc; |
155 | } | 155 | } |
156 | 156 | ||
157 | div#blob { | 157 | div#blob { |
158 | border: solid 1px black; | 158 | border: solid 1px black; |
159 | } | 159 | } |
160 | 160 | ||
161 | div.error { | 161 | div.error { |
162 | color: red; | 162 | color: red; |
163 | font-weight: bold; | 163 | font-weight: bold; |
164 | margin: 1em 2em; | 164 | margin: 1em 2em; |
165 | } | 165 | } |
166 | 166 | ||
167 | a.ls-blob, a.ls-dir, a.ls-mod { | 167 | a.ls-blob, a.ls-dir, a.ls-mod { |
168 | font-family: monospace; | 168 | font-family: monospace; |
169 | } | 169 | } |
170 | 170 | ||
171 | td.ls-size { | 171 | td.ls-size { |
172 | text-align: right; | 172 | text-align: right; |
173 | } | ||
174 | |||
175 | td.ls-size { | ||
176 | font-family: monospace; | 173 | font-family: monospace; |
174 | width: 10em; | ||
177 | } | 175 | } |
178 | 176 | ||
179 | td.ls-mode { | 177 | td.ls-mode { |
180 | font-family: monospace; | 178 | font-family: monospace; |
179 | width: 10em; | ||
181 | } | 180 | } |
182 | 181 | ||
183 | table.blob { | 182 | table.blob { |
184 | margin-top: 0.5em; | 183 | margin-top: 0.5em; |
185 | border-top: solid 1px black; | 184 | border-top: solid 1px black; |
186 | } | 185 | } |
187 | 186 | ||
188 | table.blob td.no { | 187 | table.blob td.no { |
189 | border-right: solid 1px black; | 188 | border-right: solid 1px black; |
190 | color: black; | 189 | color: black; |
191 | background-color: #eee; | 190 | background-color: #eee; |
192 | text-align: right; | 191 | text-align: right; |
193 | } | 192 | } |
194 | 193 | ||
195 | table.blob td.no a { | 194 | table.blob td.no a { |
196 | color: black; | 195 | color: black; |
197 | } | 196 | } |
198 | 197 | ||
199 | table.blob td.no a:hover { | 198 | table.blob td.no a:hover { |
200 | color: black; | 199 | color: black; |
201 | text-decoration: none; | 200 | text-decoration: none; |
202 | } | 201 | } |
203 | 202 | ||
204 | table.blob td.txt { | 203 | table.blob td.txt { |
205 | white-space: pre; | 204 | white-space: pre; |
206 | font-family: monospace; | 205 | font-family: monospace; |
207 | padding-left: 0.5em; | 206 | padding-left: 0.5em; |
208 | } | 207 | } |
209 | 208 | ||
210 | table.nowrap td { | 209 | table.nowrap td { |
211 | white-space: nowrap; | 210 | white-space: nowrap; |
212 | } | 211 | } |
213 | 212 | ||
214 | table.commit-info { | 213 | table.commit-info { |
215 | border-collapse: collapse; | 214 | border-collapse: collapse; |
216 | margin-top: 1.5em; | 215 | margin-top: 1.5em; |
217 | } | 216 | } |
218 | 217 | ||
219 | table.commit-info th { | 218 | table.commit-info th { |
220 | text-align: left; | 219 | text-align: left; |
221 | font-weight: normal; | 220 | font-weight: normal; |
222 | padding: 0.1em 1em 0.1em 0.1em; | 221 | padding: 0.1em 1em 0.1em 0.1em; |
223 | vertical-align: top; | 222 | vertical-align: top; |
224 | } | 223 | } |
225 | 224 | ||
226 | table.commit-info td { | 225 | table.commit-info td { |
227 | font-weight: normal; | 226 | font-weight: normal; |
228 | padding: 0.1em 1em 0.1em 0.1em; | 227 | padding: 0.1em 1em 0.1em 0.1em; |
229 | } | 228 | } |
230 | 229 | ||
231 | div.commit-subject { | 230 | div.commit-subject { |
232 | font-weight: bold; | 231 | font-weight: bold; |
233 | font-size: 125%; | 232 | font-size: 125%; |
234 | margin: 1.5em 0em 0.5em 0em; | 233 | margin: 1.5em 0em 0.5em 0em; |
235 | padding: 0em; | 234 | padding: 0em; |
236 | } | 235 | } |
237 | 236 | ||
238 | div.commit-msg { | 237 | div.commit-msg { |
239 | white-space: pre; | 238 | white-space: pre; |
240 | font-family: monospace; | 239 | font-family: monospace; |
241 | } | 240 | } |
242 | 241 | ||
243 | div.diffstat-header { | 242 | div.diffstat-header { |
244 | font-weight: bold; | 243 | font-weight: bold; |
245 | padding-top: 1.5em; | 244 | padding-top: 1.5em; |
246 | } | 245 | } |
247 | 246 | ||
248 | table.diffstat { | 247 | table.diffstat { |
249 | border-collapse: collapse; | 248 | border-collapse: collapse; |
250 | border: solid 1px #aaa; | 249 | border: solid 1px #aaa; |
251 | background-color: #eee; | 250 | background-color: #eee; |
252 | } | 251 | } |
253 | 252 | ||
254 | table.diffstat th { | 253 | table.diffstat th { |
255 | font-weight: normal; | 254 | font-weight: normal; |
256 | text-align: left; | 255 | text-align: left; |
257 | text-decoration: underline; | 256 | text-decoration: underline; |
258 | padding: 0.1em 1em 0.1em 0.1em; | 257 | padding: 0.1em 1em 0.1em 0.1em; |
259 | font-size: 100%; | 258 | font-size: 100%; |
260 | } | 259 | } |
261 | 260 | ||
262 | table.diffstat td { | 261 | table.diffstat td { |
263 | padding: 0.2em 0.2em 0.1em 0.1em; | 262 | padding: 0.2em 0.2em 0.1em 0.1em; |
264 | font-size: 100%; | 263 | font-size: 100%; |
265 | border: none; | 264 | border: none; |
266 | } | 265 | } |
267 | 266 | ||
268 | table.diffstat td.mode { | 267 | table.diffstat td.mode { |
269 | white-space: nowrap; | 268 | white-space: nowrap; |
270 | } | 269 | } |
271 | 270 | ||
272 | table.diffstat td span.modechange { | 271 | table.diffstat td span.modechange { |
273 | padding-left: 1em; | 272 | padding-left: 1em; |
274 | color: red; | 273 | color: red; |
275 | } | 274 | } |
276 | 275 | ||