mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user