Skip to content

Instantly share code, notes, and snippets.

@coopermaruyama
Forked from ds0nt/gist:54c32f2d67622d683838
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coopermaruyama/94e998f4da993111db16 to your computer and use it in GitHub Desktop.
Save coopermaruyama/94e998f4da993111db16 to your computer and use it in GitHub Desktop.
Easily discern nesting on Atom's tree-view
.tree-view {
overflow-y: auto;
padding-right: 0;
.selected {
&::before {
background: none !important;
}
& > * {
text-shadow: -8px 0px 27px hsla(48, 48%, 94%, 0.6),
10px 0px 27px hsl(48, 75%, 94%),
10px 0px 27px hsl(48, 75%, 94%),
47px 0px 19px hsla(48, 75%, 94%, 0.3);
}
}
li {
clear: both;
padding: 0px 10px !important;
float: left;
overflow-x: visible;
border: none;
&.expanded {
position: relative;
margin: 5px -70px 5px 0;
border: 2px groove hsla(260, 30%, 23%, 0.9);
width: 100%;
border-right: none;
&::after {
display: block;
width: 100%;
height: 100%;
}
}
}
.list-tree {
padding-left: 5px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment