From f9bd2233e9ae1387f98a3b3b7f84b3eea166f2a3 Mon Sep 17 00:00:00 2001 From: Javier Arce Date: Mon, 18 Jan 2016 11:21:42 +0100 Subject: [PATCH] Update template --- .gitignore | 1 + icon_font/template.jst.ejs | 18 +- src/fonts/cartoIcon.eot | Bin 17008 -> 17008 bytes src/fonts/cartoIcon.ttf | Bin 16836 -> 16836 bytes src/fonts/cartoIcon.woff | Bin 10716 -> 10716 bytes src/scss/icon-font.css.scss | 918 +++++++++++------------------------- 6 files changed, 291 insertions(+), 646 deletions(-) diff --git a/.gitignore b/.gitignore index 1777db1..caf96cb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.DS_Store node_modules npm-debug.log .tmp diff --git a/icon_font/template.jst.ejs b/icon_font/template.jst.ejs index 9ee3433..2f5cc75 100644 --- a/icon_font/template.jst.ejs +++ b/icon_font/template.jst.ejs @@ -18,14 +18,18 @@ -moz-osx-font-smoothing: grayscale; line-height: 1; } -<% _.each(glyphs, function(glyph) { %> -<%= '/* SG' %> -<%= '# Icon font/' + glyph.fileName.split("_")[2] %> -``` -"> -``` -<%= '*/' %> +/* SG +# Icon font +``` +<% _.each(glyphs, function(glyph) { %> +

<%= glyph.fileName.split("_")[2] %>

+"> +<% }); %> +``` +*/ + +<% _.each(glyphs, function(glyph) { %> .IconFont-<%= glyph.fileName.split("_")[2] %>::before { content: '\<%= glyph.codePoint %>'; } diff --git a/src/fonts/cartoIcon.eot b/src/fonts/cartoIcon.eot index b9cc63b2b75dd53ef26ca5760ba955be25b5c6a6..69384a1606740e4489fe4e3571153a8ad1ca0466 100644 GIT binary patch delta 52 zcmey+!uX+uae@t#gv&&`4NN8x6F*Foa*>GVxB1Gz&G?G}2reC}+zz8RFJQdj008yk B6F>j} delta 52 zcmey+!uX+uae@ugmiUQw8<^C(CVrSE6~85(-{va=H{&k`Ah>j>=mL!1ynyk70{}35 B6!riB diff --git a/src/fonts/cartoIcon.ttf b/src/fonts/cartoIcon.ttf index 5b2e7c8731a7e3e7a384333d369173ecc8b3b6b6..1bdb64d597f8e8519a06016cc4066650e790eb2f 100644 GIT binary patch delta 45 tcmX@o%y^`kae@<*NyJ2#X;Ll{@%%Pl8MqmLF#y4(LzUZM^u{k28~|Wt5VQaQ delta 45 ucmX@o%y^`kae@<*TGvFEX;Sf9;`wd9GH^5gVgQ0mhl(!1=#5`4H~;{9PZ6^K diff --git a/src/fonts/cartoIcon.woff b/src/fonts/cartoIcon.woff index e7b42c36a25196dcfc25082c5d1365263bc6e47f..a6d1ec5930dc611bad8982617af221b40ca25312 100644 GIT binary patch delta 67 zcmV-J0KEU)Q`}RKa|tp4001`ob2M17e7+(nRyT=wew(ih+>F0~A`F)fRc?pTZ_59F Z=Zawb1LSfrFo8q?Y?lr)0JCEwc?QQ%8~6YK delta 67 zcmV-J0KEU)Q`}RKa|ts5001`ob0&(he7+(n*2FFG{5D@1xEX%|MHns}D!Krp-<1FV Z&K1G<2gv1MU;>E(0FIpx4YOk-c?Qej92Wop diff --git a/src/scss/icon-font.css.scss b/src/scss/icon-font.css.scss index 926dde0..c1bc793 100644 --- a/src/scss/icon-font.css.scss +++ b/src/scss/icon-font.css.scss @@ -19,1014 +19,654 @@ line-height: 1; } -/* SG -# Icon font/Clock +/* SG +# Icon font ``` + +

Clock

+ +

Stats

+ + +

Heart--empty

+ + +

Heart--fill

+ + +

Alert

+ + +

Rows

+ + +

Check

+ + +

Dribbble

+ + +

Twitter

+ + +

Wizard

+ + +

Info

+ + +

Fork

+ + +

Facebook

+ + +

Folder

+ + +

Dropbox

+ + +

Cloud

+ + +

Step

+ + +

AddDocument

+ + +

ArrowNext

+ + +

ArrowPrev

+ + +

Close

+ + +

CartoFante

+ + +

Lock

+ + +

CartoDB

+ + +

Lens

+ + +

CloseLimits

+ + +

DefaultUser

+ + +

Cockroach

+ + +

Floppy

+ + +

Trash

+ + +

Wifi

+ + +

Unlock

+ + +

Unlock--withEllipsis

+ + +

Gift

+ + +

People

+ + +

Play

+ + +

Add

+ + +

Map

+ + +

Anchor

+ + +

Key

+ + +

Calendar

+ + +

Document

+ + +

Eye

+ + +

Marker

+ + +

ProgressBar

+ + +

Book

+ + +

Notes

+ + +

Rectangles

+ + +

Mountain

+ + +

Points

+ + +

Snake

+ + +

Boss

+ + +

Rocket

+ + +

Barometer

+ + +

Dollar

+ + +

Email

+ + +

Label

+ + +

Outside

+ + +

Jigsaw

+ + +

Tools

+ + +

Question

+ + +

LayerStack

+ + +

Alarm

+ + +

CloudDownArrow

+ + +

Pencil

+ + +

FountainPen

+ + +

EmptyDoc

+ + +

MergeArrow

+ + +

MergeColumns

+ + +

MergeSpatial

+ + +

Globe

+ + +

ChevronDown

+ + +

Streets

+ + +

Keys

+ + +

FacebookSquare

+ + +

Fullscreen

+ + +

Rarrow

+ + +

Share

+ + +

Linkedin

+ + +

CalendarBlank

+ + +

CreativeCommons

+ + +

Bubble

+ + +

Bars

+ + +

ArrowMenu

+ + +

TieFighter

+ + +

Ray

+ + +

Markup

+ + +

Table

+ + +

Airlock

+ + +

Pin

+ + +

Attache

+ + +

Download

+ + ``` */ + .IconFont-Clock::before { content: '\E001'; } -/* SG -# Icon font/Stats -``` - -``` -*/ - .IconFont-Stats::before { content: '\E002'; } -/* SG -# Icon font/Heart--empty -``` - -``` -*/ - .IconFont-Heart--empty::before { content: '\E003'; } -/* SG -# Icon font/Heart--fill -``` - -``` -*/ - .IconFont-Heart--fill::before { content: '\E004'; } -/* SG -# Icon font/Alert -``` - -``` -*/ - .IconFont-Alert::before { content: '\E005'; } -/* SG -# Icon font/Rows -``` - -``` -*/ - .IconFont-Rows::before { content: '\E006'; } -/* SG -# Icon font/Check -``` - -``` -*/ - .IconFont-Check::before { content: '\E007'; } -/* SG -# Icon font/Dribbble -``` - -``` -*/ - .IconFont-Dribbble::before { content: '\E008'; } -/* SG -# Icon font/Twitter -``` - -``` -*/ - .IconFont-Twitter::before { content: '\E009'; } -/* SG -# Icon font/Wizard -``` - -``` -*/ - .IconFont-Wizard::before { content: '\E00A'; } -/* SG -# Icon font/Info -``` - -``` -*/ - .IconFont-Info::before { content: '\E00B'; } -/* SG -# Icon font/Fork -``` - -``` -*/ - .IconFont-Fork::before { content: '\E00C'; } -/* SG -# Icon font/Facebook -``` - -``` -*/ - .IconFont-Facebook::before { content: '\E00D'; } -/* SG -# Icon font/Folder -``` - -``` -*/ - .IconFont-Folder::before { content: '\E00E'; } -/* SG -# Icon font/Dropbox -``` - -``` -*/ - .IconFont-Dropbox::before { content: '\E00F'; } -/* SG -# Icon font/Cloud -``` - -``` -*/ - .IconFont-Cloud::before { content: '\E010'; } -/* SG -# Icon font/Step -``` - -``` -*/ - .IconFont-Step::before { content: '\E011'; } -/* SG -# Icon font/AddDocument -``` - -``` -*/ - .IconFont-AddDocument::before { content: '\E012'; } -/* SG -# Icon font/ArrowNext -``` - -``` -*/ - .IconFont-ArrowNext::before { content: '\E013'; } -/* SG -# Icon font/ArrowPrev -``` - -``` -*/ - .IconFont-ArrowPrev::before { content: '\E014'; } -/* SG -# Icon font/Close -``` - -``` -*/ - .IconFont-Close::before { content: '\E015'; } -/* SG -# Icon font/CartoFante -``` - -``` -*/ - .IconFont-CartoFante::before { content: '\E016'; } -/* SG -# Icon font/Lock -``` - -``` -*/ - .IconFont-Lock::before { content: '\E017'; } -/* SG -# Icon font/CartoDB -``` - -``` -*/ - .IconFont-CartoDB::before { content: '\E018'; } -/* SG -# Icon font/Lens -``` - -``` -*/ - .IconFont-Lens::before { content: '\E019'; } -/* SG -# Icon font/CloseLimits -``` - -``` -*/ - .IconFont-CloseLimits::before { content: '\E01A'; } -/* SG -# Icon font/DefaultUser -``` - -``` -*/ - .IconFont-DefaultUser::before { content: '\E01B'; } -/* SG -# Icon font/Cockroach -``` - -``` -*/ - .IconFont-Cockroach::before { content: '\E01C'; } -/* SG -# Icon font/Floppy -``` - -``` -*/ - .IconFont-Floppy::before { content: '\E01D'; } -/* SG -# Icon font/Trash -``` - -``` -*/ - .IconFont-Trash::before { content: '\E01E'; } -/* SG -# Icon font/Wifi -``` - -``` -*/ - .IconFont-Wifi::before { content: '\E01F'; } -/* SG -# Icon font/Unlock -``` - -``` -*/ - .IconFont-Unlock::before { content: '\E020'; } -/* SG -# Icon font/Unlock--withEllipsis -``` - -``` -*/ - .IconFont-Unlock--withEllipsis::before { content: '\E021'; } -/* SG -# Icon font/Gift -``` - -``` -*/ - .IconFont-Gift::before { content: '\E022'; } -/* SG -# Icon font/People -``` - -``` -*/ - .IconFont-People::before { content: '\E023'; } -/* SG -# Icon font/Play -``` - -``` -*/ - .IconFont-Play::before { content: '\E024'; } -/* SG -# Icon font/Add -``` - -``` -*/ - .IconFont-Add::before { content: '\E025'; } -/* SG -# Icon font/Map -``` - -``` -*/ - .IconFont-Map::before { content: '\E026'; } -/* SG -# Icon font/Anchor -``` - -``` -*/ - .IconFont-Anchor::before { content: '\E027'; } -/* SG -# Icon font/Key -``` - -``` -*/ - .IconFont-Key::before { content: '\E028'; } -/* SG -# Icon font/Calendar -``` - -``` -*/ - .IconFont-Calendar::before { content: '\E029'; } -/* SG -# Icon font/Document -``` - -``` -*/ - .IconFont-Document::before { content: '\E02A'; } -/* SG -# Icon font/Eye -``` - -``` -*/ - .IconFont-Eye::before { content: '\E02B'; } -/* SG -# Icon font/Marker -``` - -``` -*/ - .IconFont-Marker::before { content: '\E02C'; } -/* SG -# Icon font/ProgressBar -``` - -``` -*/ - .IconFont-ProgressBar::before { content: '\E02D'; } -/* SG -# Icon font/Book -``` - -``` -*/ - .IconFont-Book::before { content: '\E02E'; } -/* SG -# Icon font/Notes -``` - -``` -*/ - .IconFont-Notes::before { content: '\E02F'; } -/* SG -# Icon font/Rectangles -``` - -``` -*/ - .IconFont-Rectangles::before { content: '\E030'; } -/* SG -# Icon font/Mountain -``` - -``` -*/ - .IconFont-Mountain::before { content: '\E031'; } -/* SG -# Icon font/Points -``` - -``` -*/ - .IconFont-Points::before { content: '\E032'; } -/* SG -# Icon font/Snake -``` - -``` -*/ - .IconFont-Snake::before { content: '\E033'; } -/* SG -# Icon font/Boss -``` - -``` -*/ - .IconFont-Boss::before { content: '\E034'; } -/* SG -# Icon font/Rocket -``` - -``` -*/ - .IconFont-Rocket::before { content: '\E035'; } -/* SG -# Icon font/Barometer -``` - -``` -*/ - .IconFont-Barometer::before { content: '\E036'; } -/* SG -# Icon font/Dollar -``` - -``` -*/ - .IconFont-Dollar::before { content: '\E037'; } -/* SG -# Icon font/Email -``` - -``` -*/ - .IconFont-Email::before { content: '\E038'; } -/* SG -# Icon font/Label -``` - -``` -*/ - .IconFont-Label::before { content: '\E039'; } -/* SG -# Icon font/Outside -``` - -``` -*/ - .IconFont-Outside::before { content: '\E03A'; } -/* SG -# Icon font/Jigsaw -``` - -``` -*/ - .IconFont-Jigsaw::before { content: '\E03B'; } -/* SG -# Icon font/Tools -``` - -``` -*/ - .IconFont-Tools::before { content: '\E03C'; } -/* SG -# Icon font/Question -``` - -``` -*/ - .IconFont-Question::before { content: '\E03D'; } -/* SG -# Icon font/LayerStack -``` - -``` -*/ - .IconFont-LayerStack::before { content: '\E03E'; } -/* SG -# Icon font/Alarm -``` - -``` -*/ - .IconFont-Alarm::before { content: '\E03F'; } -/* SG -# Icon font/CloudDownArrow -``` - -``` -*/ - .IconFont-CloudDownArrow::before { content: '\E040'; } -/* SG -# Icon font/Pencil -``` - -``` -*/ - .IconFont-Pencil::before { content: '\E041'; } -/* SG -# Icon font/FountainPen -``` - -``` -*/ - .IconFont-FountainPen::before { content: '\E042'; } -/* SG -# Icon font/EmptyDoc -``` - -``` -*/ - .IconFont-EmptyDoc::before { content: '\E043'; } -/* SG -# Icon font/MergeArrow -``` - -``` -*/ - .IconFont-MergeArrow::before { content: '\E044'; } -/* SG -# Icon font/MergeColumns -``` - -``` -*/ - .IconFont-MergeColumns::before { content: '\E045'; } -/* SG -# Icon font/MergeSpatial -``` - -``` -*/ - .IconFont-MergeSpatial::before { content: '\E046'; } -/* SG -# Icon font/Globe -``` - -``` -*/ - .IconFont-Globe::before { content: '\E047'; } -/* SG -# Icon font/ChevronDown -``` - -``` -*/ - .IconFont-ChevronDown::before { content: '\E048'; } -/* SG -# Icon font/Streets -``` - -``` -*/ - .IconFont-Streets::before { content: '\E049'; } -/* SG -# Icon font/Keys -``` - -``` -*/ - .IconFont-Keys::before { content: '\E04A'; } -/* SG -# Icon font/FacebookSquare -``` - -``` -*/ - .IconFont-FacebookSquare::before { content: '\E04B'; } -/* SG -# Icon font/Fullscreen -``` - -``` -*/ - .IconFont-Fullscreen::before { content: '\E04C'; } -/* SG -# Icon font/Rarrow -``` - -``` -*/ - .IconFont-Rarrow::before { content: '\E04D'; } -/* SG -# Icon font/Share -``` - -``` -*/ - .IconFont-Share::before { content: '\E04E'; } -/* SG -# Icon font/Linkedin -``` - -``` -*/ - .IconFont-Linkedin::before { content: '\E04F'; } -/* SG -# Icon font/CalendarBlank -``` - -``` -*/ - .IconFont-CalendarBlank::before { content: '\E050'; } -/* SG -# Icon font/CreativeCommons -``` - -``` -*/ - .IconFont-CreativeCommons::before { content: '\E051'; } -/* SG -# Icon font/Bubble -``` - -``` -*/ - .IconFont-Bubble::before { content: '\E052'; } -/* SG -# Icon font/Bars -``` - -``` -*/ - .IconFont-Bars::before { content: '\E053'; } -/* SG -# Icon font/ArrowMenu -``` - -``` -*/ - .IconFont-ArrowMenu::before { content: '\E054'; } -/* SG -# Icon font/TieFighter -``` - -``` -*/ - .IconFont-TieFighter::before { content: '\E055'; } -/* SG -# Icon font/Ray -``` - -``` -*/ - .IconFont-Ray::before { content: '\E056'; } -/* SG -# Icon font/Markup -``` - -``` -*/ - .IconFont-Markup::before { content: '\E057'; } -/* SG -# Icon font/Table -``` - -``` -*/ - .IconFont-Table::before { content: '\E058'; } -/* SG -# Icon font/Airlock -``` - -``` -*/ - .IconFont-Airlock::before { content: '\E059'; } -/* SG -# Icon font/Pin -``` - -``` -*/ - .IconFont-Pin::before { content: '\E05A'; } -/* SG -# Icon font/Attache -``` - -``` -*/ - .IconFont-Attache::before { content: '\E05B'; } -/* SG -# Icon font/Download -``` - -``` -*/ - .IconFont-Download::before { content: '\E05C'; }