From ea068c5cd7e14dc65234c61ee641f8cc266d87f5 Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Mon, 21 Jan 2013 17:33:27 -0800 Subject: [PATCH] adding back some tree-view --- .atom/themes/Atom - Dark/tree-view.css | 39 --------------- .../tree-view/stylesheets/tree-view.css | 50 +++++++++++++++++++ 2 files changed, 50 insertions(+), 39 deletions(-) create mode 100644 src/packages/tree-view/stylesheets/tree-view.css diff --git a/.atom/themes/Atom - Dark/tree-view.css b/.atom/themes/Atom - Dark/tree-view.css index 1d1357e60..edd2bf2ec 100644 --- a/.atom/themes/Atom - Dark/tree-view.css +++ b/.atom/themes/Atom - Dark/tree-view.css @@ -1,30 +1,10 @@ .tree-view { - position: relative; - height: 100%; background: #1e1e1e; - overflow: auto; - cursor: default; - -webkit-user-select: none; border-right: 2px solid #191919; - min-width: 100px; - z-index: 2; -} - -.tree-view .tree-view-resizer { - position: absolute; - top: 0; - right: 0; - bottom: 0; - width: 10px; - background: transparent; - cursor: col-resize; - z-index: 3; } .tree-view .entry { text-shadow: 0 -1px 0 #000; - text-wrap: none; - white-space: nowrap; } .tree-view .entries { @@ -42,12 +22,6 @@ .tree-view .selected > .highlight { background-image: -webkit-linear-gradient(#4e4e4e, #434343); - position: absolute; - left: 0; - right: 0; - height: 24px; - margin-top:-24px; - z-index: -1; } .tree-view:focus .selected > .highlight { @@ -60,14 +34,6 @@ text-shadow: 0 -1px 0 #7E4521; } -.tree-view .entry.file .name { - display: block; -} - -.tree-view .disclosure-arrow { - display: inline-block; -} - .tree-view .directory .header { color: #bebebe; } @@ -102,14 +68,9 @@ } .tree-view-dialog { - position: absolute; - bottom: 0; - left: 0; - right: 0; background-color: #333; border-top: 1px solid #555; -webkit-box-shadow: 0 0 3px 3px rgba(0, 0, 0, .5); - z-index: 99; padding: 5px; } diff --git a/src/packages/tree-view/stylesheets/tree-view.css b/src/packages/tree-view/stylesheets/tree-view.css new file mode 100644 index 000000000..066366962 --- /dev/null +++ b/src/packages/tree-view/stylesheets/tree-view.css @@ -0,0 +1,50 @@ +.tree-view { + position: relative; + height: 100%; + overflow: auto; + cursor: default; + -webkit-user-select: none; + min-width: 100px; + z-index: 2; +} + +.tree-view .tree-view-resizer { + position: absolute; + top: 0; + right: 0; + bottom: 0; + width: 10px; + background: transparent; + cursor: col-resize; + z-index: 3; +} + +.tree-view .entry { + text-wrap: none; + white-space: nowrap; +} + +.tree-view .selected > .highlight { + position: absolute; + left: 0; + right: 0; + height: 24px; + margin-top:-24px; + z-index: -1; +} + +.tree-view .entry.file .name { + display: block; +} + +.tree-view .disclosure-arrow { + display: inline-block; +} + +.tree-view-dialog { + position: absolute; + bottom: 0; + left: 0; + right: 0; + z-index: 99; +} \ No newline at end of file