From 267ee09c1869073923bb7196bd8bf5255166445b Mon Sep 17 00:00:00 2001 From: Daniel Hendricks Date: Sat, 23 Sep 2017 02:07:12 -0500 Subject: [PATCH] Added SASS files --- sass/_file-icon-base.scss | 28 ++++ sass/_file-icon-classic-list.scss | 217 ++++++++++++++++++++++++++++++ sass/_file-icon-vivid-list.scss | 112 +++++++++++++++ sass/file-icon-classic.scss | 2 + sass/file-icon-vivid.scss | 2 + 5 files changed, 361 insertions(+) create mode 100755 sass/_file-icon-base.scss create mode 100644 sass/_file-icon-classic-list.scss create mode 100644 sass/_file-icon-vivid-list.scss create mode 100644 sass/file-icon-classic.scss create mode 100644 sass/file-icon-vivid.scss diff --git a/sass/_file-icon-base.scss b/sass/_file-icon-base.scss new file mode 100755 index 0000000..63ee712 --- /dev/null +++ b/sass/_file-icon-base.scss @@ -0,0 +1,28 @@ +$file-icon-css-path: '../icons' !default; + +.fiv-background { + background-size: contain; + background-position: 50%; + background-repeat: no-repeat; +} + +@mixin file-family( $short, $mult ) { + .fiv-#{$short} { + @extend .fiv-background; + position: relative; + display: inline-block; + line-height: 1em; + width: #{$mult}em; + &:before { + content: '\00a0'; + } + } +} + +@mixin file-icon( $family, $short, $ext ) { + .fiv-#{$short} { + &.fiv-icon-#{$ext} { + background-image: url('#{$file-icon-css-path}/#{$family}/#{$ext}.svg'); + } + } +} diff --git a/sass/_file-icon-classic-list.scss b/sass/_file-icon-classic-list.scss new file mode 100644 index 0000000..67ed88d --- /dev/null +++ b/sass/_file-icon-classic-list.scss @@ -0,0 +1,217 @@ +@include file-family(cla, 0.72); +@include file-icon(classic, cla, 3g2); +@include file-icon(classic, cla, 3ga); +@include file-icon(classic, cla, 3gp); +@include file-icon(classic, cla, 7z); +@include file-icon(classic, cla, aa); +@include file-icon(classic, cla, aac); +@include file-icon(classic, cla, ai); +@include file-icon(classic, cla, aif); +@include file-icon(classic, cla, aifc); +@include file-icon(classic, cla, aiff); +@include file-icon(classic, cla, amr); +@include file-icon(classic, cla, apk); +@include file-icon(classic, cla, app); +@include file-icon(classic, cla, asax); +@include file-icon(classic, cla, ascx); +@include file-icon(classic, cla, ash); +@include file-icon(classic, cla, ashx); +@include file-icon(classic, cla, asmx); +@include file-icon(classic, cla, asp); +@include file-icon(classic, cla, aspx); +@include file-icon(classic, cla, asx); +@include file-icon(classic, cla, au); +@include file-icon(classic, cla, aup); +@include file-icon(classic, cla, avi); +@include file-icon(classic, cla, axd); +@include file-icon(classic, cla, bash); +@include file-icon(classic, cla, bat); +@include file-icon(classic, cla, bin); +@include file-icon(classic, cla, blank); +@include file-icon(classic, cla, bmp); +@include file-icon(classic, cla, bpg); +@include file-icon(classic, cla, browser); +@include file-icon(classic, cla, bz2); +@include file-icon(classic, cla, c); +@include file-icon(classic, cla, cab); +@include file-icon(classic, cla, caf); +@include file-icon(classic, cla, cal); +@include file-icon(classic, cla, cd); +@include file-icon(classic, cla, cer); +@include file-icon(classic, cla, class); +@include file-icon(classic, cla, com); +@include file-icon(classic, cla, compile); +@include file-icon(classic, cla, config); +@include file-icon(classic, cla, cpp); +@include file-icon(classic, cla, cr2); +@include file-icon(classic, cla, crt); +@include file-icon(classic, cla, cs); +@include file-icon(classic, cla, csh); +@include file-icon(classic, cla, csproj); +@include file-icon(classic, cla, css); +@include file-icon(classic, cla, csv); +@include file-icon(classic, cla, cue); +@include file-icon(classic, cla, dat); +@include file-icon(classic, cla, db); +@include file-icon(classic, cla, dbf); +@include file-icon(classic, cla, deb); +@include file-icon(classic, cla, dll); +@include file-icon(classic, cla, dmg); +@include file-icon(classic, cla, dng); +@include file-icon(classic, cla, doc); +@include file-icon(classic, cla, docx); +@include file-icon(classic, cla, dot); +@include file-icon(classic, cla, dotx); +@include file-icon(classic, cla, dpj); +@include file-icon(classic, cla, dtd); +@include file-icon(classic, cla, eot); +@include file-icon(classic, cla, eps); +@include file-icon(classic, cla, exe); +@include file-icon(classic, cla, f4v); +@include file-icon(classic, cla, flac); +@include file-icon(classic, cla, flv); +@include file-icon(classic, cla, gadget); +@include file-icon(classic, cla, gem); +@include file-icon(classic, cla, gif); +@include file-icon(classic, cla, gitignore); +@include file-icon(classic, cla, gpg); +@include file-icon(classic, cla, gz); +@include file-icon(classic, cla, h); +@include file-icon(classic, cla, htm); +@include file-icon(classic, cla, html); +@include file-icon(classic, cla, ics); +@include file-icon(classic, cla, iff); +@include file-icon(classic, cla, image); +@include file-icon(classic, cla, img); +@include file-icon(classic, cla, iso); +@include file-icon(classic, cla, jar); +@include file-icon(classic, cla, java); +@include file-icon(classic, cla, jbg); +@include file-icon(classic, cla, jpe); +@include file-icon(classic, cla, jpeg); +@include file-icon(classic, cla, jpg); +@include file-icon(classic, cla, js); +@include file-icon(classic, cla, json); +@include file-icon(classic, cla, jsp); +@include file-icon(classic, cla, key); +@include file-icon(classic, cla, ksh); +@include file-icon(classic, cla, less); +@include file-icon(classic, cla, licx); +@include file-icon(classic, cla, log); +@include file-icon(classic, cla, m2v); +@include file-icon(classic, cla, m3u); +@include file-icon(classic, cla, m3u8); +@include file-icon(classic, cla, m4a); +@include file-icon(classic, cla, m4r); +@include file-icon(classic, cla, m4v); +@include file-icon(classic, cla, master); +@include file-icon(classic, cla, md); +@include file-icon(classic, cla, mdb); +@include file-icon(classic, cla, mdf); +@include file-icon(classic, cla, mid); +@include file-icon(classic, cla, midi); +@include file-icon(classic, cla, mkv); +@include file-icon(classic, cla, mov); +@include file-icon(classic, cla, mp2); +@include file-icon(classic, cla, mp3); +@include file-icon(classic, cla, mp4); +@include file-icon(classic, cla, mpa); +@include file-icon(classic, cla, mpe); +@include file-icon(classic, cla, mpeg); +@include file-icon(classic, cla, mpg); +@include file-icon(classic, cla, mpga); +@include file-icon(classic, cla, msi); +@include file-icon(classic, cla, msu); +@include file-icon(classic, cla, nef); +@include file-icon(classic, cla, odb); +@include file-icon(classic, cla, odt); +@include file-icon(classic, cla, ogg); +@include file-icon(classic, cla, ogv); +@include file-icon(classic, cla, otf); +@include file-icon(classic, cla, ott); +@include file-icon(classic, cla, ovf); +@include file-icon(classic, cla, p12); +@include file-icon(classic, cla, p7b); +@include file-icon(classic, cla, pages); +@include file-icon(classic, cla, part); +@include file-icon(classic, cla, pdb); +@include file-icon(classic, cla, pdf); +@include file-icon(classic, cla, pem); +@include file-icon(classic, cla, pfx); +@include file-icon(classic, cla, pgp); +@include file-icon(classic, cla, php); +@include file-icon(classic, cla, png); +@include file-icon(classic, cla, pps); +@include file-icon(classic, cla, ppsx); +@include file-icon(classic, cla, ppt); +@include file-icon(classic, cla, pptx); +@include file-icon(classic, cla, prop); +@include file-icon(classic, cla, ps); +@include file-icon(classic, cla, psd); +@include file-icon(classic, cla, psp); +@include file-icon(classic, cla, pub); +@include file-icon(classic, cla, py); +@include file-icon(classic, cla, qt); +@include file-icon(classic, cla, ra); +@include file-icon(classic, cla, ram); +@include file-icon(classic, cla, rar); +@include file-icon(classic, cla, raw); +@include file-icon(classic, cla, rb); +@include file-icon(classic, cla, rdf); +@include file-icon(classic, cla, resx); +@include file-icon(classic, cla, rm); +@include file-icon(classic, cla, rpm); +@include file-icon(classic, cla, rtf); +@include file-icon(classic, cla, rub); +@include file-icon(classic, cla, sass); +@include file-icon(classic, cla, scss); +@include file-icon(classic, cla, sdm); +@include file-icon(classic, cla, sh); +@include file-icon(classic, cla, sitemap); +@include file-icon(classic, cla, skin); +@include file-icon(classic, cla, sln); +@include file-icon(classic, cla, sql); +@include file-icon(classic, cla, svg); +@include file-icon(classic, cla, sys); +@include file-icon(classic, cla, tar); +@include file-icon(classic, cla, tcsh); +@include file-icon(classic, cla, tex); +@include file-icon(classic, cla, tga); +@include file-icon(classic, cla, tgz); +@include file-icon(classic, cla, tif); +@include file-icon(classic, cla, tiff); +@include file-icon(classic, cla, torrent); +@include file-icon(classic, cla, ts); +@include file-icon(classic, cla, tsv); +@include file-icon(classic, cla, ttf); +@include file-icon(classic, cla, txt); +@include file-icon(classic, cla, udf); +@include file-icon(classic, cla, vb); +@include file-icon(classic, cla, vbproj); +@include file-icon(classic, cla, vcd); +@include file-icon(classic, cla, vcs); +@include file-icon(classic, cla, vdi); +@include file-icon(classic, cla, vmdk); +@include file-icon(classic, cla, vob); +@include file-icon(classic, cla, war); +@include file-icon(classic, cla, wav); +@include file-icon(classic, cla, webinfo); +@include file-icon(classic, cla, webm); +@include file-icon(classic, cla, webp); +@include file-icon(classic, cla, wma); +@include file-icon(classic, cla, wmv); +@include file-icon(classic, cla, woff); +@include file-icon(classic, cla, woff2); +@include file-icon(classic, cla, wsf); +@include file-icon(classic, cla, xcf); +@include file-icon(classic, cla, xls); +@include file-icon(classic, cla, xlsx); +@include file-icon(classic, cla, xml); +@include file-icon(classic, cla, xpi); +@include file-icon(classic, cla, xrb); +@include file-icon(classic, cla, xspf); +@include file-icon(classic, cla, xz); +@include file-icon(classic, cla, yml); +@include file-icon(classic, cla, z); +@include file-icon(classic, cla, zip); +@include file-icon(classic, cla, zsh); diff --git a/sass/_file-icon-vivid-list.scss b/sass/_file-icon-vivid-list.scss new file mode 100644 index 0000000..ad96b25 --- /dev/null +++ b/sass/_file-icon-vivid-list.scss @@ -0,0 +1,112 @@ +@include file-family(viv, 0.75); +@include file-icon(vivid, viv, 3g2); +@include file-icon(vivid, viv, 3ga); +@include file-icon(vivid, viv, 3gp); +@include file-icon(vivid, viv, 7z); +@include file-icon(vivid, viv, aa); +@include file-icon(vivid, viv, aac); +@include file-icon(vivid, viv, aif); +@include file-icon(vivid, viv, aifc); +@include file-icon(vivid, viv, aiff); +@include file-icon(vivid, viv, amr); +@include file-icon(vivid, viv, app); +@include file-icon(vivid, viv, asf); +@include file-icon(vivid, viv, ash); +@include file-icon(vivid, viv, asx); +@include file-icon(vivid, viv, au); +@include file-icon(vivid, viv, avi); +@include file-icon(vivid, viv, bash); +@include file-icon(vivid, viv, bat); +@include file-icon(vivid, viv, blank); +@include file-icon(vivid, viv, bmp); +@include file-icon(vivid, viv, bz2); +@include file-icon(vivid, viv, cab); +@include file-icon(vivid, viv, caf); +@include file-icon(vivid, viv, com); +@include file-icon(vivid, viv, cpp); +@include file-icon(vivid, viv, csh); +@include file-icon(vivid, viv, css); +@include file-icon(vivid, viv, cue); +@include file-icon(vivid, viv, dmg); +@include file-icon(vivid, viv, eot); +@include file-icon(vivid, viv, exe); +@include file-icon(vivid, viv, flac); +@include file-icon(vivid, viv, gif); +@include file-icon(vivid, viv, gz); +@include file-icon(vivid, viv, htm); +@include file-icon(vivid, viv, html); +@include file-icon(vivid, viv, iff); +@include file-icon(vivid, viv, img); +@include file-icon(vivid, viv, iso); +@include file-icon(vivid, viv, jar); +@include file-icon(vivid, viv, java); +@include file-icon(vivid, viv, jpe); +@include file-icon(vivid, viv, jpeg); +@include file-icon(vivid, viv, jpg); +@include file-icon(vivid, viv, js); +@include file-icon(vivid, viv, json); +@include file-icon(vivid, viv, ksh); +@include file-icon(vivid, viv, less); +@include file-icon(vivid, viv, log); +@include file-icon(vivid, viv, m3u); +@include file-icon(vivid, viv, m3u8); +@include file-icon(vivid, viv, m4a); +@include file-icon(vivid, viv, m4v); +@include file-icon(vivid, viv, mid); +@include file-icon(vivid, viv, midi); +@include file-icon(vivid, viv, mov); +@include file-icon(vivid, viv, mp2); +@include file-icon(vivid, viv, mp4); +@include file-icon(vivid, viv, mpa); +@include file-icon(vivid, viv, mpg); +@include file-icon(vivid, viv, mpga); +@include file-icon(vivid, viv, msi); +@include file-icon(vivid, viv, msu); +@include file-icon(vivid, viv, ogg); +@include file-icon(vivid, viv, otf); +@include file-icon(vivid, viv, ovf); +@include file-icon(vivid, viv, pdf); +@include file-icon(vivid, viv, php); +@include file-icon(vivid, viv, png); +@include file-icon(vivid, viv, pps); +@include file-icon(vivid, viv, ppsx); +@include file-icon(vivid, viv, ppt); +@include file-icon(vivid, viv, pptx); +@include file-icon(vivid, viv, psd); +@include file-icon(vivid, viv, py); +@include file-icon(vivid, viv, rar); +@include file-icon(vivid, viv, raw); +@include file-icon(vivid, viv, rb); +@include file-icon(vivid, viv, rdf); +@include file-icon(vivid, viv, rm); +@include file-icon(vivid, viv, rpm); +@include file-icon(vivid, viv, rtf); +@include file-icon(vivid, viv, rub); +@include file-icon(vivid, viv, sass); +@include file-icon(vivid, viv, scss); +@include file-icon(vivid, viv, sh); +@include file-icon(vivid, viv, tar); +@include file-icon(vivid, viv, tcsh); +@include file-icon(vivid, viv, tgz); +@include file-icon(vivid, viv, tif); +@include file-icon(vivid, viv, tiff); +@include file-icon(vivid, viv, ttf); +@include file-icon(vivid, viv, txt); +@include file-icon(vivid, viv, udf); +@include file-icon(vivid, viv, vcd); +@include file-icon(vivid, viv, vdi); +@include file-icon(vivid, viv, vmdk); +@include file-icon(vivid, viv, vob); +@include file-icon(vivid, viv, wav); +@include file-icon(vivid, viv, wma); +@include file-icon(vivid, viv, wmv); +@include file-icon(vivid, viv, woff); +@include file-icon(vivid, viv, woff2); +@include file-icon(vivid, viv, xml); +@include file-icon(vivid, viv, xpi); +@include file-icon(vivid, viv, xrb); +@include file-icon(vivid, viv, xspf); +@include file-icon(vivid, viv, xz); +@include file-icon(vivid, viv, z); +@include file-icon(vivid, viv, zip); +@include file-icon(vivid, viv, zsh); diff --git a/sass/file-icon-classic.scss b/sass/file-icon-classic.scss new file mode 100644 index 0000000..6f7c57e --- /dev/null +++ b/sass/file-icon-classic.scss @@ -0,0 +1,2 @@ +@import "file-icon-base"; +@import "file-icon-classic-list"; diff --git a/sass/file-icon-vivid.scss b/sass/file-icon-vivid.scss new file mode 100644 index 0000000..267082e --- /dev/null +++ b/sass/file-icon-vivid.scss @@ -0,0 +1,2 @@ +@import "file-icon-base"; +@import "file-icon-vivid-list";