]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/aesthetic-ui/styles/tree-view.less
Update atoms
[rbdr/dotfiles] / atom / packages / aesthetic-ui / styles / tree-view.less
1 @import "ui-variables";
2 @import "ui-mixins";
3
4 .tree-view {
5 font-size: @font-size;
6 background: @tree-view-background-color;
7 .ui-inset-shadow;
8 position: relative;
9 padding-bottom: 108px;
10
11 // Let the selector war commence!!
12 .list-item.list-item.list-item.list-item {
13 line-height: 20px;
14 }
15
16 box-shadow: none;
17 --webkit-font-smoothing: none;
18
19 &:after {
20 pointer-events: none;
21 background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMQAAAC0CAMAAAD8WnOYAAAAq1BMVEX////O7//39/eYz//08/OZz9DAwMCAgIDNzP8AAAAlgIDO//5hz9HPz8/r6+tg0P/g4eGYmutjmtLX19eZz+2Yz9rb8vzX6/ak0//n8/hjmf/J6/360QBe0xuMz/eWx/634f1yz9v1LAA5mP98zv99sNzi7PG5z/xksNTO4fat1eObu+PG0tug0NiKz9iFsf7t+/2l1u3C4MSLw/KKw9MlAP9ov/IhgAGW//8yrco8AAAQQklEQVR42uyXy2rEMBAEe4q6CfL/nxs2CSSHgL2XRS22B2NsdGlqXkr4E/l9//P/OnJxOk98v1WpE8Cdkn79LjjBBqHdQhLeJPbQGeORUJ9PyAEoDiEh9R3qFBKxvc0S+j2I3BgWbp1y5IaFzetGD5gU5ICrOZN+FiLtIIL0+1Cw20LCQmTvFnolFdorG10Riy0kou11HdYPC/MK8UTcl1/qBhHlO/ZeUy9MjCxstpCMHkBCB1f3nHAU7SchYjMKRxlWN4lxRMXUysHHw2onoWgxidFxMli8yH6M6lC9jY+PWN018Um92aw4EsNA2KWugKFpYzAkh9297EJgr/P+DzeUJdJ9GOgZhoGWleSWQ/GpJP82aZjDviLiWid9UwMMhXa/+GblCYmpg4VZD+bRQoOtc2mU8nJFAyMsb5VFQ1jbVmPObCpojeCssmTWFV4DQIWGWHxGhnn87J7Hl0jMIK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ACBJSve9WlBB2kQlC2qjsdpiwLLa4Se/SX5NmBkYymtKv7CEdPt+kS9+H/RBBQgS4Zyeibm/tx9hMI57QMX4kgpMW5YBQOsDBd3SrXbEskfWrq6xHfvzWRmRCNMD45u+KUtfIZX9NPLjRsXtTfKkHNsca92O442TZoKFLOHa7r6P6mNnC2+I9YwdK4G17zkghlN/IjDBR3cbDbtdd8UnHZ330r9SH4NGZH+7wU0GDZ0365M8d/+qKwAc7oUN8hGG/N0+VCA6Vxn2n0eg6Y0KGXKtJDKyaUYkUtkIIIez1ToKAffSvtCG2iC0iTSTSGQ8cqMp744SOAPDSl6zU/ym1Xac2gMHBpqruiV9O0UP0Y74OUO5V6FAotagPASGXqI+oCUWw6V+TBxk17vB74wc9uQARFunaNrP2tvIRPyIRjFtoCCQsiDbYRSoaTw3Km96WfSkPixmaklDZUd5xcWGPJtDUfmhH9sweWDaetSWswRjQpjzEDxE6b1yULXiGCo1/4dZ0HpmgKMAHobCjKtb6QN0vetOEjr+ZfPavRGYMbTyDISQp+LA4IBFAbhsAqRBctDIjoy0wLPEQOijuxhM0DXl3beTKg5VS3hRG5UtvpZJNBIAEgwPXZM0EYFi1+NdCpYp4LwiMi7I6ieD/lOZEbSsTjQZ7poWAgtJRUkQTFg3da2SiNK+oc5oQqTDV7r9SI/asmhDtBhsrFzt2SpCqbyGSj7ow8eZC20kFBKLAFwnQz0rfwJMzFoyVOHJVxn4q/gVf6kAb8wu8wwAAAABJRU5ErkJggg==');
22 background-position: bottom left;
23 background-repeat: no-repeat;
24 width: 100%;
25 height: 200px;
26 position: fixed;
27 bottom: 0;
28 z-index: -4;
29 left: 0;
30 content: '';
31 image-rendering: pixelated;
32 }
33
34 .selected::before {
35 width: 0;
36 height: 0;
37 margin-left: 2px;
38 margin-right: 2px;
39 }
40
41 .directory.selected > .header > .name {
42 position: relative;
43 color: white;
44 &:after {
45 content: '';
46 width: calc(100% ~"-" 15px);
47 height: 120%;
48 position: absolute;
49 left: 18px;
50 z-index: -2;
51 border: 1px dotted gray;
52 top: -1px;
53 background-color: navy;
54 }
55 }
56 .file.selected > span {
57 position: relative;
58 color: white;
59 &:after {
60 content: '';
61 width: calc(100% ~"-" 15px);
62 height: 120%;
63 position: absolute;
64 left: 18px;
65 z-index: -2;
66 border: 1px dotted gray;
67 top: -1px;
68 background-color: navy;
69 }
70 }
71 }
72
73 .tree-view-resizer {
74 .tree-view-resize-handle {
75 width: 8px;
76 background: #D3D0C7;
77 border-left: 1px solid gray;
78 }
79 }
80
81 .focusable-panel {
82 opacity: 1;
83
84 &:focus {
85 .selected::before {
86 background: @background-color-selected;
87 color: white;
88 }
89 }
90 }
91
92 .directory.entry {
93 &.expanded {
94 .header {
95 &::before {
96 // Plus sign.
97 content: '';
98 left: 1px;
99 background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJAgMAAACd/+6DAAAACVBMVEX///+/v78AAABCS8n0AAAAFElEQVQI12MIDXVgQIZeK1D4IHkAbMQGB9awVs4AAAAASUVORK5CYII=');
100 background-position: center center;
101 background-repeat: no-repeat;
102 height: 9px !important;
103 width: 12px !important;
104 image-rendering: pixelated;
105 z-index: 1;
106 }
107 .icon-file-directory::before {
108 // Directory icon.
109 background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAZ0lEQVR4AZWPhw0AMQgD2fXX8kyM9B3p0ouVjg+IXZsCkCwdEwAHvHUAYsoGNRl9gIHcDzObAowApPl4rADd9P6v4XvWPuDpAWD8Byo8Q4rUJYAPN10BwJRugHCnwGwAhGwugA1tAzeXZSkYJ9mbPwAAAABJRU5ErkJggg==');
110 content: '';
111 image-rendering: pixelated;
112 z-index: 1;
113 transform: translateY(1px);
114 }
115 }
116 }
117 &.collapsed {
118 .header {
119 &::before {
120 // Minus sign.
121 background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJAgMAAACd/+6DAAAACVBMVEX///+/v78AAABCS8n0AAAAGElEQVQI12MIDXVgAMMGCPZagWADIUgeAJDECAeFz1XEAAAAAElFTkSuQmCC') !important;
122 background-position: center center;
123 background-repeat: no-repeat;
124 content: '' !important;
125 height: 9px !important;
126 width: 12px !important;
127 image-rendering: pixelated;
128 }
129 .icon-file-directory::before {
130 // Directory icon.
131 background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAYElEQVR4AZ2NxxWAMAzF2DVreSatkxvpPRTDf8KnCB3u44ogcoyEPQnhhbXWORISeHDi/8Ds1FqnC87xhoBJzS7IEygF+lUXUBb4UUBZYL+XAg+vNwGMhiLET7cu6PdH8BLwRqwGgozlAAAAAElFTkSuQmCC');
132 content: '';
133 image-rendering: pixelated;
134 transform: translateY(1px);
135 }
136 }
137 }
138 }
139
140 /* filetypes */
141
142 .icon-file-text::before {
143 background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAT0lEQVR42mNggIKGhob/xGAGXAAkSQgcOHAAtyHEGgACWA0hxgCgMnRMmgHILsFpAL4AJMqAURfQ0AVEG0CxCygyACRBLMYwAEs6JwYzAAB9sXFvgXLcRQAAAABJRU5ErkJggg==');
144 background-position: center center;
145 content: '';
146 height: 16px;
147 width: 16px;
148 image-rendering: pixelated;
149 }
150
151 .icon-file-media::before {
152 background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAj0lEQVR42o2SARIAIQRFO7qjdbN2FRIRO3/ameXtRw0ARkUtCvz4it57DKkCMDTkfxmARwWw8rcGyQEAGtndJ2oWsRNdbFvABPs3DXDFFsDJ+hHArTh0YAA0PC6OAeKAZsDrY7BqMXcw24UFksmfM8od6LBbeDq4rbIMsCs8Lk8FULnSVwBPvCIHyGwnkvgAtFsewSfEAL4AAAAASUVORK5CYII=');
153 background-position: center center;
154 content: '';
155 height: 16px;
156 width: 16px;
157 image-rendering: pixelated;
158 }
159
160 .icon-file-binary::before {
161 background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAgklEQVR42r2SSw7AIAhEOTpH42ZU/CJB1IUlnQSJeQ4FQETeCaKQC1EQUQw5AUgsITtAumJ1B9BO/gGcTEVNh11AwrpqLpQbH3DV0hJQX8ipuKp1KWk3gQMFAJxhuo13LTDkr9SA+wFKPgHk0DT+AXfbAhg52knMq2qBkdzFcnY/1AerkX9hkHz/KAAAAABJRU5ErkJggg==');
162 background-position: center center;
163 content: '';
164 height: 16px;
165 width: 16px;
166 image-rendering: pixelated;
167 }
168
169 .icon-book::before {
170 background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAARElEQVR42mNgQID/RNJYwX8QaGhowEtjNQRZklgaqwHEgAMHDtDYAKgkunMHyAXorhl1Ab1cQLYBIAliMa5c+Z8EjAIAc/wzNSUthNwAAAAASUVORK5CYII=');
171 background-position: center center;
172 content: '';
173 height: 16px;
174 margin-left: 2px;
175 margin-right: 3px !important; // This counteracts the default 5px right margin
176 width: 16px;
177 image-rendering: pixelated;
178 }
179
180 .icon-repo::before {
181 background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAsklEQVR4AZ2R1wGDMAwFtRKrsIJX4lMrsMpbyblEQlF6eS643IkUm99kXbUk+VmQ23SmQzDXtQ/f9633My3zYYStEbihGbTkVTdrTw86gFw9o9VrL8MpmkKntyO9Np8EHyeFokNgrtpFA9Bx6iiiEKgcNAmaGYx0QSVcOCIWRbPogrpASqjPA/aVkHR/g7m6UOsQimZe2v9QxH06Te//dDqS1+fuNMwhDM/u2p4Frrr9kRMAOsBw6rbrYwAAAABJRU5ErkJggg==');
182 background-position: center center;
183 content: '';
184 height: 16px;
185 width: 16px;
186 image-rendering: pixelated;
187 }
188
189 /* lines */
190
191 ol.entries {
192 position: relative !important;
193 }
194
195 ol.entries > li {
196 &::after {
197 width: 0;
198 top: -11px;
199 left: 24px;
200 bottom: 12px;
201 position: absolute;
202 border-left: 1px dotted gray;
203 content: '';
204 display: block;
205 }
206 &.file::after {
207 left: 7px;
208 }
209 &:last-child::after {
210 bottom: auto;
211 height: 19px;
212 }
213 }
214
215 .icon::before {
216 top: 4px;
217 }
218
219 .entry {
220 position: relative;
221 }
222
223 .entry.file::before {
224 &.selected {
225 background: none;
226 }
227 position: absolute;
228 background: none !important;
229 border-bottom: 1px dotted gray;
230 width: 11px;
231 height: 0;
232 top: 9px;
233 left: 7px;
234 }
235
236 .entry.directory::before {
237 position: absolute;
238 background: none !important;
239 border-bottom: 1px dotted gray;
240 width: 11px;
241 height: 0;
242 top: 10px;
243 left: 22px;
244 }