author | Georg Lukas <georg@op-co.de> | 2009-11-28 02:07:34 (UTC) |
---|---|---|
committer | Georg Lukas <georg@op-co.de> | 2009-11-28 02:07:34 (UTC) |
commit | 545b5a5dcae2a0c322381493ee90f6c37353da9c (patch) (unidiff) | |
tree | efc130ef25bb9974ad2df31aa374f6b86d5fdd0f /cgit.css | |
parent | 56522ebe1387721d10196e835346257e7494abad (diff) | |
download | cgit-545b5a5dcae2a0c322381493ee90f6c37353da9c.zip cgit-545b5a5dcae2a0c322381493ee90f6c37353da9c.tar.gz cgit-545b5a5dcae2a0c322381493ee90f6c37353da9c.tar.bz2 |
cgit.css: highlight directories in tree
-rw-r--r-- | cgit.css | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -117,96 +117,101 @@ table.list { | |||
117 | } | 117 | } |
118 | 118 | ||
119 | table.list tr { | 119 | table.list tr { |
120 | background: white; | 120 | background: white; |
121 | } | 121 | } |
122 | 122 | ||
123 | table.list tr.logheader { | 123 | table.list tr.logheader { |
124 | background: #eee; | 124 | background: #eee; |
125 | } | 125 | } |
126 | 126 | ||
127 | table.list tr:hover { | 127 | table.list tr:hover { |
128 | background: #eee; | 128 | background: #eee; |
129 | } | 129 | } |
130 | 130 | ||
131 | table.list tr.nohover:hover { | 131 | table.list tr.nohover:hover { |
132 | background: white; | 132 | background: white; |
133 | } | 133 | } |
134 | 134 | ||
135 | table.list th { | 135 | table.list th { |
136 | font-weight: bold; | 136 | font-weight: bold; |
137 | /* color: #888; | 137 | /* color: #888; |
138 | border-top: dashed 1px #888; | 138 | border-top: dashed 1px #888; |
139 | border-bottom: dashed 1px #888; | 139 | border-bottom: dashed 1px #888; |
140 | */ | 140 | */ |
141 | padding: 0.1em 0.5em 0.05em 0.5em; | 141 | padding: 0.1em 0.5em 0.05em 0.5em; |
142 | vertical-align: baseline; | 142 | vertical-align: baseline; |
143 | } | 143 | } |
144 | 144 | ||
145 | table.list td { | 145 | table.list td { |
146 | border: none; | 146 | border: none; |
147 | padding: 0.1em 0.5em 0.1em 0.5em; | 147 | padding: 0.1em 0.5em 0.1em 0.5em; |
148 | } | 148 | } |
149 | 149 | ||
150 | table.list td.logsubject { | 150 | table.list td.logsubject { |
151 | font-family: monospace; | 151 | font-family: monospace; |
152 | font-weight: bold; | 152 | font-weight: bold; |
153 | } | 153 | } |
154 | 154 | ||
155 | table.list td.logmsg { | 155 | table.list td.logmsg { |
156 | font-family: monospace; | 156 | font-family: monospace; |
157 | white-space: pre; | 157 | white-space: pre; |
158 | padding: 1em 0.5em 2em 0.5em; | 158 | padding: 1em 0.5em 2em 0.5em; |
159 | } | 159 | } |
160 | 160 | ||
161 | table.list td a { | 161 | table.list td a { |
162 | color: black; | 162 | color: black; |
163 | } | 163 | } |
164 | 164 | ||
165 | table.list td a.ls-dir { | ||
166 | font-weight: bold; | ||
167 | color: #00f; | ||
168 | } | ||
169 | |||
165 | table.list td a:hover { | 170 | table.list td a:hover { |
166 | color: #00f; | 171 | color: #00f; |
167 | } | 172 | } |
168 | 173 | ||
169 | img { | 174 | img { |
170 | border: none; | 175 | border: none; |
171 | } | 176 | } |
172 | 177 | ||
173 | input#switch-btn { | 178 | input#switch-btn { |
174 | margin: 2px 0px 0px 0px; | 179 | margin: 2px 0px 0px 0px; |
175 | } | 180 | } |
176 | 181 | ||
177 | td#sidebar input.txt { | 182 | td#sidebar input.txt { |
178 | width: 100%; | 183 | width: 100%; |
179 | margin: 2px 0px 0px 0px; | 184 | margin: 2px 0px 0px 0px; |
180 | } | 185 | } |
181 | 186 | ||
182 | table#grid { | 187 | table#grid { |
183 | margin: 0px; | 188 | margin: 0px; |
184 | } | 189 | } |
185 | 190 | ||
186 | td#content { | 191 | td#content { |
187 | vertical-align: top; | 192 | vertical-align: top; |
188 | padding: 1em 2em 1em 1em; | 193 | padding: 1em 2em 1em 1em; |
189 | border: none; | 194 | border: none; |
190 | } | 195 | } |
191 | 196 | ||
192 | div#summary { | 197 | div#summary { |
193 | vertical-align: top; | 198 | vertical-align: top; |
194 | margin-bottom: 1em; | 199 | margin-bottom: 1em; |
195 | } | 200 | } |
196 | 201 | ||
197 | table#downloads { | 202 | table#downloads { |
198 | float: right; | 203 | float: right; |
199 | border-collapse: collapse; | 204 | border-collapse: collapse; |
200 | border: solid 1px #777; | 205 | border: solid 1px #777; |
201 | margin-left: 0.5em; | 206 | margin-left: 0.5em; |
202 | margin-bottom: 0.5em; | 207 | margin-bottom: 0.5em; |
203 | } | 208 | } |
204 | 209 | ||
205 | table#downloads th { | 210 | table#downloads th { |
206 | background-color: #ccc; | 211 | background-color: #ccc; |
207 | } | 212 | } |
208 | 213 | ||
209 | div#blob { | 214 | div#blob { |
210 | border: solid 1px black; | 215 | border: solid 1px black; |
211 | } | 216 | } |
212 | 217 | ||