mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
💄
This commit is contained in:
@@ -18,13 +18,13 @@ class FileView extends View
|
||||
|
||||
extension = fs.extension(@getPath())
|
||||
if fs.isCompressedExtension(extension)
|
||||
@fileName.addClass('compressed-name')
|
||||
@fileName.addClass('compressed-icon')
|
||||
else if fs.isImageExtension(extension)
|
||||
@fileName.addClass('image-name')
|
||||
@fileName.addClass('image-icon')
|
||||
else if fs.isPdfExtension(extension)
|
||||
@fileName.addClass('pdf-name')
|
||||
@fileName.addClass('pdf-icon')
|
||||
else
|
||||
@fileName.addClass('text-name')
|
||||
@fileName.addClass('text-icon')
|
||||
|
||||
@updateStatus()
|
||||
|
||||
|
||||
@@ -139,22 +139,22 @@
|
||||
}
|
||||
|
||||
|
||||
.tree-view .file .text-name:before {
|
||||
.tree-view .file .text-icon:before {
|
||||
content: "\f011";
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.tree-view .file .image-name:before {
|
||||
.tree-view .file .image-icon:before {
|
||||
content: "\f012";
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.tree-view .file .compressed-name:before {
|
||||
.tree-view .file .compressed-icon:before {
|
||||
content: "\f013";
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.tree-view .file .pdf-name:before {
|
||||
.tree-view .file .pdf-icon:before {
|
||||
content: "\f014";
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user