fix fuzzy finder directory styles

This commit is contained in:
Justin Palmer 2013-02-03 14:25:15 -08:00
parent f33132e75c
commit 0a8245435c
2 changed files with 6 additions and 4 deletions

View File

@ -46,9 +46,9 @@ class FuzzyFinderView extends SelectList
typeClass = 'pdf-name'
else
typeClass = 'text-name'
@span fs.base(path), class: "file #{typeClass}"
@span fs.base(path), class: "file label #{typeClass}"
if folder = fs.directory(path)
@span "- #{folder}/", class: 'directory'
@span "#{folder}/", class: 'directory'
openPath: (path) ->
@rootView.open(path, {@allowActiveEditorChange}) if path

View File

@ -1,6 +1,8 @@
.fuzzy-finder .directory {
color: #b2b2b2;
padding-left: .5em;
color: rgba(255, 255, 255, 0.4);
word-break: break-word;
display: block;
margin-left: 28px;
}
.fuzzy-finder .file:before {