Skip to content

Instantly share code, notes, and snippets.

@iamstarkov
Last active April 27, 2016 13:47
Show Gist options
  • Save iamstarkov/9caad415430af6633f38257f7dd0b145 to your computer and use it in GitHub Desktop.
Save iamstarkov/9caad415430af6633f38257f7dd0b145 to your computer and use it in GitHub Desktop.
Simplified atom's tree-view
/**
* Simplified atom's tree-view
* https://gist.github.com/iamstarkov/9caad415430af6633f38257f7dd0b145
*/
// remove icons
:root:root .tree-view .header.list-item::before,
:root:root .tree-view .icon::before {
display: none;
}
// make folders a bit bolder
:root:root .tree-view .icon-file-directory { font-weight: bolder; }
// append slash to folder names
:root:root .tree-view .icon-file-directory::after { content: '/'; }
// reduce left margin in the tree
:root:root .tree-view .entry {
margin-left: 0;
padding-left: 14px;
}
// reduce overall left margin in the tree
:root:root .tree-view .project-root > .entries.list-tree > .entry {
padding-left: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment