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

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;