summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2008-04-12 18:18:16 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2008-04-12 18:18:16 (UTC)
commit72a69b77e7bf10cc3674e61e1ddd4d81618ee533 (patch) (unidiff)
tree96f6402b2d6e63182e668f2f458bdd27d3f255a6
parent68cb84839f8fbc20688b22202489f4c2a54d3f55 (diff)
downloadcgit-72a69b77e7bf10cc3674e61e1ddd4d81618ee533.zip
cgit-72a69b77e7bf10cc3674e61e1ddd4d81618ee533.tar.gz
cgit-72a69b77e7bf10cc3674e61e1ddd4d81618ee533.tar.bz2
Minor fixup in tree-view css
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css5
1 files changed, 2 insertions, 3 deletions
diff --git a/cgit.css b/cgit.css
index 80680c9..e06fdea 100644
--- a/cgit.css
+++ b/cgit.css
@@ -77,200 +77,199 @@ table.tabs td.branch form {
77div.content { 77div.content {
78 margin: 0px; 78 margin: 0px;
79 padding: 1em; 79 padding: 1em;
80} 80}
81 81
82 82
83table.list { 83table.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
89table.list tr { 89table.list tr {
90 background: white; 90 background: white;
91} 91}
92 92
93table.list tr:hover { 93table.list tr:hover {
94 background: #eee; 94 background: #eee;
95} 95}
96 96
97table.list tr.nohover:hover { 97table.list tr.nohover:hover {
98 background: white; 98 background: white;
99} 99}
100 100
101table.list th { 101table.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
108table.list td { 108table.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
113table.list td a { 113table.list td a {
114 color: black; 114 color: black;
115} 115}
116 116
117img { 117img {
118 border: none; 118 border: none;
119} 119}
120 120
121input#switch-btn { 121input#switch-btn {
122 margin: 2px 0px 0px 0px; 122 margin: 2px 0px 0px 0px;
123} 123}
124 124
125td#sidebar input.txt { 125td#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
130table#grid { 130table#grid {
131 margin: 0px; 131 margin: 0px;
132} 132}
133 133
134td#content { 134td#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
140div#summary { 140div#summary {
141 vertical-align: top; 141 vertical-align: top;
142 margin-bottom: 1em; 142 margin-bottom: 1em;
143} 143}
144 144
145table#downloads { 145table#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
153table#downloads th { 153table#downloads th {
154 background-color: #ccc; 154 background-color: #ccc;
155} 155}
156 156
157div#blob { 157div#blob {
158 border: solid 1px black; 158 border: solid 1px black;
159} 159}
160 160
161div.error { 161div.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
167a.ls-blob, a.ls-dir, a.ls-mod { 167a.ls-blob, a.ls-dir, a.ls-mod {
168 font-family: monospace; 168 font-family: monospace;
169} 169}
170 170
171td.ls-size { 171td.ls-size {
172 text-align: right; 172 text-align: right;
173}
174
175td.ls-size {
176 font-family: monospace; 173 font-family: monospace;
174 width: 10em;
177} 175}
178 176
179td.ls-mode { 177td.ls-mode {
180 font-family: monospace; 178 font-family: monospace;
179 width: 10em;
181} 180}
182 181
183table.blob { 182table.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
188table.blob td.no { 187table.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
195table.blob td.no a { 194table.blob td.no a {
196 color: black; 195 color: black;
197} 196}
198 197
199table.blob td.no a:hover { 198table.blob td.no a:hover {
200 color: black; 199 color: black;
201 text-decoration: none; 200 text-decoration: none;
202} 201}
203 202
204table.blob td.txt { 203table.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
210table.nowrap td { 209table.nowrap td {
211 white-space: nowrap; 210 white-space: nowrap;
212} 211}
213 212
214table.commit-info { 213table.commit-info {
215 border-collapse: collapse; 214 border-collapse: collapse;
216 margin-top: 1.5em; 215 margin-top: 1.5em;
217} 216}
218 217
219table.commit-info th { 218table.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
226table.commit-info td { 225table.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
231div.commit-subject { 230div.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
238div.commit-msg { 237div.commit-msg {
239 white-space: pre; 238 white-space: pre;
240 font-family: monospace; 239 font-family: monospace;
241} 240}
242 241
243div.diffstat-header { 242div.diffstat-header {
244 font-weight: bold; 243 font-weight: bold;
245 padding-top: 1.5em; 244 padding-top: 1.5em;
246} 245}
247 246
248table.diffstat { 247table.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
254table.diffstat th { 253table.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
262table.diffstat td { 261table.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
268table.diffstat td.mode { 267table.diffstat td.mode {
269 white-space: nowrap; 268 white-space: nowrap;
270} 269}
271 270
272table.diffstat td span.modechange { 271table.diffstat td span.modechange {
273 padding-left: 1em; 272 padding-left: 1em;
274 color: red; 273 color: red;
275} 274}
276 275