Don’t put folder icon on templates ‘folder’

After showing this to a few people the consensus seems to be that
‘Templates’ isn’t itself a folder. Therefore it shouldn’t have a folder
icon.

This has the advantage of disambiguating between being in a folder:
> [screenshot]

…and being in a subfolder:
> [screenshot]
This commit is contained in:
Chris Hill-Scott
2018-12-06 22:24:05 +00:00
parent 7390f49c4b
commit ee1c8ccf53
4 changed files with 7 additions and 23 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 266 B

View File

@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="20" viewBox="0 0 26 20"><path d="M10.3 0H0v20h26V4H12l-1.5-4h-.2z" fill="#dee0e2"/><path d="M9.1 2l1 2.7.5 1.3H24v12H2V2h7.1m1.4-2H0v20h26V4H12l-1.5-4z" fill="#0b0c0c"/></svg>

Before

Width:  |  Height:  |  Size: 235 B

View File

@@ -121,12 +121,13 @@
white-space: nowrap;
a:first-child,
&-folder {
a,
&-folder,
&-subfolder {
display: inline-block;
vertical-align: top;
padding: 5px 0 0 60px;
padding: 5px 0 0 0;
background-repeat: no-repeat;
background-size: 38px auto;
background-position: 0 1px;
@@ -139,8 +140,9 @@
display: inline-block;
vertical-align: top;
&:first-child {
&.folder-heading-folder {
padding: 5px 0 0 60px;
background-image: file-url('folder-blue.svg');
max-width: 33%;
overflow: hidden;
@@ -154,23 +156,6 @@
}
&-folder {
padding-left: 0;
&:first-child {
background-image: file-url('folder-black.svg');
padding-left: $gutter * 2;
@include ie-lte(8) {
background-image: file-url('folder-black.png');
}
}
}
&-separator {
display: inline-block;