Skip to content

Commit

Permalink
Added 'extra' set, open folder (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmhendricks committed Sep 18, 2018
1 parent cb605a0 commit 21f9635
Show file tree
Hide file tree
Showing 8 changed files with 93 additions and 0 deletions.
60 changes: 60 additions & 0 deletions dist/file-icon-extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*!
* File Icon Vectors 1.0 (https://github.com/dmhendricks/file-icon-vectors)
* Copyright 2018 Daniel M. Hendricks (https://www.danhendricks.com)
* Licensed under MIT (https://github.com/dmhendricks/file-icon-vectors/blob/master/LICENSE)
*/
.fiv-background, .fiv-ext {
background-size: contain;
background-position: 50%;
background-repeat: no-repeat;
}

.fiv-size-md {
font-size: 2.25em;
}

.fiv-size-lg {
font-size: 3.5em;
}

.fiv-size-xl {
font-size: 4.75em;
}

.fiv-ext {
position: relative;
display: inline-block;
line-height: 1em;
width: 1em;
}

.fiv-ext:before {
content: '\00a0';
}

.fiv-ext.fiv-icon-folder-closed {
background-image: url("icons/extra/folder-closed.svg");
}

.fiv-ext.fiv-icon-folder-open {
background-image: url("icons/extra/folder-open.svg");
}

.fiv-ext {
position: relative;
display: inline-block;
line-height: 1em;
width: 1em;
}

.fiv-ext:before {
content: '\00a0';
}

.fiv-ext.fiv-icon-folder-closed {
background-image: url("icons/extra/folder-closed.svg");
}

.fiv-ext.fiv-icon-folder-open {
background-image: url("icons/extra/folder-open.svg");
}
16 changes: 16 additions & 0 deletions dist/file-icon-extra.min.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*!
* File Icon Vectors 1.0 (https://github.com/dmhendricks/file-icon-vectors)
* Copyright 2018 Daniel M. Hendricks (https://www.danhendricks.com)
* Licensed under MIT (https://github.com/dmhendricks/file-icon-vectors/blob/master/LICENSE)
*/.fiv-background,.fiv-ext{background-size:contain;background-position:50%;background-repeat:no-repeat}
.fiv-size-md{font-size:2.25em}
.fiv-size-lg{font-size:3.5em}
.fiv-size-xl{font-size:4.75em}
.fiv-ext{position:relative;display:inline-block;line-height:1em;width:1em}
.fiv-ext:before{content:'\00a0'}
.fiv-ext.fiv-icon-folder-closed{background-image:url("icons/extra/folder-closed.svg")}
.fiv-ext.fiv-icon-folder-open{background-image:url("icons/extra/folder-open.svg")}
.fiv-ext{position:relative;display:inline-block;line-height:1em;width:1em}
.fiv-ext:before{content:'\00a0'}
.fiv-ext.fiv-icon-folder-closed{background-image:url("icons/extra/folder-closed.svg")}
.fiv-ext.fiv-icon-folder-open{background-image:url("icons/extra/folder-open.svg")}
1 change: 1 addition & 0 deletions dist/icons/extra/catalog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
["folder-closed","folder-open"]
1 change: 1 addition & 0 deletions dist/icons/extra/folder-closed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/icons/extra/folder-open.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
3 changes: 3 additions & 0 deletions src/scss/_file-icon-extra-list.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@include file-family(ext, 1);
@include file-icon(extra, ext, folder-closed);
@include file-icon(extra, ext, folder-open);
11 changes: 11 additions & 0 deletions src/scss/file-icon-extra.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*!
* File Icon Vectors 1.0 (https://github.com/dmhendricks/file-icon-vectors)
* Copyright 2018 Daniel M. Hendricks (https://www.danhendricks.com)
* Licensed under MIT (https://github.com/dmhendricks/file-icon-vectors/blob/master/LICENSE)
*/

@import "variables";
@import "file-icon-base";
@import "file-icon-aux";
@import "file-icon-extra-list";
@import "file-icon-extra-list";

0 comments on commit 21f9635

Please sign in to comment.