diff options
author | Lars Hjemli <hjemli@gmail.com> | 2007-06-17 03:20:42 (JST) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-06-17 03:20:42 (JST) |
commit | ffc69736a606fd8f9a10468cce48b9a37b428944 (patch) | |
tree | b080c702391244a525fa0e7c97758f7f7fa0c383 /cgit.css | |
parent | 849f0f0f02f858e21fbe59295846e51628f82915 (diff) | |
download | cgit-ffc69736a606fd8f9a10468cce48b9a37b428944.zip cgit-ffc69736a606fd8f9a10468cce48b9a37b428944.tar.gz |
ui-tree: unify with ui-view, use path to select tree/blob
This teaches ui-tree to show both trees and blobs, thereby making ui-view
superfluous. At the same time, ui-tree is extended to honour the specified
path instead of requiering a tree/blob sha1.
Diffstat (limited to 'cgit.css')
-rw-r--r-- | cgit.css | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -199,10 +199,22 @@ td.filemode { | |||
199 | font-family: monospace; | 199 | font-family: monospace; |
200 | } | 200 | } |
201 | 201 | ||
202 | td.blob { | 202 | table.blob { |
203 | margin-top: 0.5em; | ||
204 | border-top: solid 1px black; | ||
205 | } | ||
206 | |||
207 | table.blob td.no { | ||
208 | border-right: solid 1px black; | ||
209 | color: black; | ||
210 | background-color: #eee; | ||
211 | text-align: right; | ||
212 | } | ||
213 | |||
214 | table.blob td.txt { | ||
203 | white-space: pre; | 215 | white-space: pre; |
204 | font-family: monospace; | 216 | font-family: monospace; |
205 | background-color: white; | 217 | padding-left: 0.5em; |
206 | } | 218 | } |
207 | 219 | ||
208 | table.nowrap td { | 220 | table.nowrap td { |