From 1bb45601ee7615513609f0ba77170976ee09d52d Mon Sep 17 00:00:00 2001 From: Marcello di Simone Date: Fri, 24 May 2013 11:21:08 +0200 Subject: [PATCH] Added a stylus version of the styles based on the 3.2.0-wip branch --- .../assets/font-awesome/stylus/bootstrap.styl | 87 ++++++++++++++ build/assets/font-awesome/stylus/core.styl | 111 ++++++++++++++++++ build/assets/font-awesome/stylus/extras.styl | 39 ++++++ .../font-awesome/stylus/font-awesome-ie7.styl | 88 ++++++++++++++ .../font-awesome/stylus/font-awesome.styl | 32 +++++ build/assets/font-awesome/stylus/icons.styl | 6 + build/assets/font-awesome/stylus/mixins.styl | 45 +++++++ build/assets/font-awesome/stylus/path.styl | 15 +++ .../assets/font-awesome/stylus/variables.styl | 11 ++ 9 files changed, 434 insertions(+) create mode 100644 build/assets/font-awesome/stylus/bootstrap.styl create mode 100644 build/assets/font-awesome/stylus/core.styl create mode 100644 build/assets/font-awesome/stylus/extras.styl create mode 100644 build/assets/font-awesome/stylus/font-awesome-ie7.styl create mode 100644 build/assets/font-awesome/stylus/font-awesome.styl create mode 100644 build/assets/font-awesome/stylus/icons.styl create mode 100644 build/assets/font-awesome/stylus/mixins.styl create mode 100644 build/assets/font-awesome/stylus/path.styl create mode 100644 build/assets/font-awesome/stylus/variables.styl diff --git a/build/assets/font-awesome/stylus/bootstrap.styl b/build/assets/font-awesome/stylus/bootstrap.styl new file mode 100644 index 000000000..6140b2e2f --- /dev/null +++ b/build/assets/font-awesome/stylus/bootstrap.styl @@ -0,0 +1,87 @@ +/* BOOTSTRAP SPECIFIC CLASSES + * -------------------------- */ + +/* Bootstrap 2.0 sprites.less reset */ +[class^="icon-"] +[class*=" icon-"] + display inline + width auto + height auto + line-height normal + vertical-align baseline + background-image none + background-position 0% 0% + background-repeat repeat + margin-top 0 + + +/* more sprites.less reset */ +.icon-white + background-image none + +.nav-pills > .active > a +.nav-list > .active > a +.navbar-inverse .nav > .active > a +.dropdown-menu > li > a:hover +.dropdown-menu > .active > a +.dropdown-submenu:hover > a + & > [class^="icon-"] + & > [class*=" icon-"] + background-image none + + +/* keeps Bootstrap styles with and without icons the same */ +.btn, .nav + [class^="icon-"] + [class*=" icon-"] + // display inline + &.icon-large + line-height .9em + + &.icon-spin + display inline-block + +.nav-tabs +.nav-pills + [class^="icon-"] + [class*=" icon-"] + &, &.icon-large + line-height .9em + +.btn + [class^="icon-"] + [class*=" icon-"] + &.pull-left + &.pull-right + &.icon-2x + margin-top .18em + + &.icon-spin.icon-large + line-height .8em + + &.btn-small + [class^="icon-"] + [class*=" icon-"] + &.pull-left + &.pull-right + &.icon-2x + margin-top .25em + + &.btn-large + [class^="icon-"] + [class*=" icon-"] + margin-top 0 // overrides bootstrap default + &.pull-left + &.pull-right + &.icon-2x + margin-top .05em + + &.pull-left.icon-2x + margin-right .2em + + &.pull-right.icon-2x + margin-left .2em + + + + diff --git a/build/assets/font-awesome/stylus/core.styl b/build/assets/font-awesome/stylus/core.styl new file mode 100644 index 000000000..fe71977f9 --- /dev/null +++ b/build/assets/font-awesome/stylus/core.styl @@ -0,0 +1,111 @@ +/* FONT AWESOME CORE + * -------------------------- */ + +[class^="icon-"] +[class*=" icon-"] + font-family FontAwesome + font-weight normal + font-style normal + text-decoration inherit + -webkit-font-smoothing antialiased + *margin-right .3em + + &:before + text-decoration inherit + display inline-block + speak none + + &.hide + display none + + &.pull-left + margin-right .3em + + &.pull-right + margin-left .3em + + &.icon-fixed-width + display inline-block + width (18/14)em + text-align center + + &.icon-large + width (22/14)em + +.icon-large:before + vertical-align -10% + font-size (4/3)em + +/* makes sure icons active on rollover in links */ +a + [class^="icon-"], + [class*=" icon-"] + &, &:before + display inline + +ul.icons-ul + list-style-type none + text-indent -(10/14)em + margin-left (30/14)em + + > li + .icon-li + width (10/14)em + display inline-block + text-align center + +.icon-muted + color iconMuted + +.icon-light + color iconLight + +.icon-dark + color iconDark + +// Icon Borders +// ------------------------- + +.icon-border + border solid 1px borderColor + padding .2em .25em .15em + border-radius(3px) + +// Icon Sizes +// ------------------------- + +.icon-2x + font-size 2em + &.icon-border + border-width 2px + border-radius(4px) + +.icon-3x + font-size 3em + &.icon-border + border-width 3px + border-radius(5px) + +.icon-4x + font-size 4em + &.icon-border + border-width 4px + border-radius(6px) + +.icon-5x + font-size 5em + &.icon-border + border-width 5px + border-radius(7px) + +// Floats & Margins +// ------------------------- + +// Quick floats +.pull-right + float right + +.pull-left + float left + + diff --git a/build/assets/font-awesome/stylus/extras.styl b/build/assets/font-awesome/stylus/extras.styl new file mode 100644 index 000000000..7bf3bac44 --- /dev/null +++ b/build/assets/font-awesome/stylus/extras.styl @@ -0,0 +1,39 @@ +/* EXTRAS + * -------------------------- */ + +/* Stacked and layered icon */ +icon-stack() + +/* Animated rotating icon */ +.icon-spin + display inline-block + vendor: animation spin 2s infinite linear + +@keyframes spin + 0% + transform rotate(0deg) + 100% + transform rotate(359deg) + +/* Icon rotations and mirroring */ +.icon-rotate-90:before + vendor: transform rotate(90deg) + filter unquote('progid:DXImageTransform.Microsoft.BasicImage(rotation=1)') + + +.icon-rotate-180:before + vendor: transform rotate(180deg) + filter unquote('progid:DXImageTransform.Microsoft.BasicImage(rotation=2)') + + +.icon-rotate-270:before + vendor: transform rotate(270deg) + filter unquote('progid:DXImageTransform.Microsoft.BasicImage(rotation=3)') + + +.icon-flip-horizontal:before + vendor: transform scale(-1, 1) + + +.icon-flip-vertical:before + vendor: transform scale(1, -1) diff --git a/build/assets/font-awesome/stylus/font-awesome-ie7.styl b/build/assets/font-awesome/stylus/font-awesome-ie7.styl new file mode 100644 index 000000000..341ab3eff --- /dev/null +++ b/build/assets/font-awesome/stylus/font-awesome-ie7.styl @@ -0,0 +1,88 @@ +/*! + * Font Awesome 3.1.0 + * the iconic font designed for Bootstrap + * ------------------------------------------------------- + * The full suite of pictographic icons, examples, and documentation + * can be found at http://fontawesome.io + * + * License + * ------------------------------------------------------- + * - The Font Awesome font is licensed under the SIL Open Font License v1.1 - + * http://scripts.sil.org/OFL + * - Font Awesome CSS, LESS, and SASS files are licensed under the MIT License - + * http://opensource.org/licenses/mit-license.html + * - Font Awesome documentation licensed under CC BY 3.0 License - + * http://creativecommons.org/licenses/by/3.0/ + * - Attribution is no longer required in Font Awesome 3.0, but much appreciated: + * "Font Awesome by Dave Gandy - http://fontawesome.io" + + * Contact + * ------------------------------------------------------- + * Email: dave@fontawesome.io + * Twitter: http://twitter.com/fortaweso_me + * Work: Lead Product Designer @ http://kyruus.com + */ + +.icon-large + font-size (4/3)em + margin-top -4px + padding-top 3px + margin-bottom -4px + padding-bottom 3px + vertical-align middle + +.nav + [class^="icon-"] + [class*=" icon-"] + vertical-align inherit + margin-top -4px + padding-top 3px + margin-bottom -4px + padding-bottom 3px + + &.icon-large + vertical-align -25% + +.nav-pills +.nav-tabs + [class^="icon-"] + [class*=" icon-"] + &.icon-large + line-height .75em + margin-top -7px + padding-top 5px + margin-bottom -5px + padding-bottom 4px + +ul.icons-ul + text-indent -1em + margin-left (30/14)em + + > li + .icon-li + width 1em + margin-right 0 + +.btn + [class^="icon-"] + [class*=" icon-"] + &.pull-left + &.pull-right + vertical-align inherit + + &.icon-large + margin-top -.5em + +a + &[class^="icon-"] + &[class*=" icon-"] + cursor pointer + +buildIE7Icons(hash) + for icon, index in hash + .icon-{icon} + *zoom unquote("expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '" + icon[1] + "')") + +ie7Icons = ('glass' '') ('music' '') ('search' '') ('envelope' '') ('heart' '') ('star' '') ('star-empty' '') ('user' '') ('film' '') ('th-large' '') ('th' '') ('th-list' '') ('ok' '') ('remove' '') ('zoom-in' '') ('zoom-out' '') ('off' '') ('signal' '') ('cog' '') ('trash' '') ('home' '') ('file' '') ('time' '') ('road' '') ('download-alt' '') ('download' '') ('upload' '') ('inbox' '') ('play-circle' '') ('repeat' '') ('refresh' '') ('list-alt' '') ('lock' '') ('flag' '') ('headphones' '') ('volume-off' '') ('volume-down' '') ('volume-up' '') ('qrcode' '') ('barcode' '') ('tag' '') ('tags' '') ('book' '') ('bookmark' '') ('print' '') ('camera' '') ('font' '') ('bold' '') ('italic' '') ('text-height' '') ('text-width' '') ('align-left' '') ('align-center' '') ('align-right' '') ('align-justify' '') ('list' '') ('indent-left' '') ('indent-right' '') ('facetime-video' '') ('picture' '') ('pencil' '') ('map-marker' '') ('adjust' '') ('tint' '') ('edit' '') ('share' '') ('check' '') ('move' '') ('step-backward' '') ('fast-backward' '') ('backward' '') ('play' '') ('pause' '') ('stop' '') ('forward' '') ('fast-forward' '') ('step-forward' '') ('eject' '') ('chevron-left' '') ('chevron-right' '') ('plus-sign' '') ('minus-sign' '') ('remove-sign' '') ('ok-sign' '') ('question-sign' '') ('info-sign' '') ('screenshot' '') ('remove-circle' '') ('ok-circle' '') ('ban-circle' '') ('arrow-left' '') ('arrow-right' '') ('arrow-up' '') ('arrow-down' '') ('share-alt' '') ('resize-full' '') ('resize-small' '') ('plus' '') ('minus' '') ('asterisk' '') ('exclamation-sign' '') ('gift' '') ('leaf' '') ('fire' '') ('eye-open' '') ('eye-close' '') ('warning-sign' '') ('plane' '') ('calendar' '') ('random' '') ('comment' '') ('magnet' '') ('chevron-up' '') ('chevron-down' '') ('retweet' '') ('shopping-cart' '') ('folder-close' '') ('folder-open' '') ('resize-vertical' '') ('resize-horizontal' '') ('bar-chart' '') ('twitter-sign' '') ('facebook-sign' '') ('camera-retro' '') ('key' '') ('cogs' '') ('comments' '') ('thumbs-up' '') ('thumbs-down' '') ('star-half' '') ('heart-empty' '') ('signout' '') ('linkedin-sign' '') ('pushpin' '') ('external-link' '') ('signin' '') ('trophy' '') ('github-sign' '') ('upload-alt' '') ('lemon' '') ('phone' '') ('check-empty' '') ('bookmark-empty' '') ('phone-sign' '') ('twitter' '') ('facebook' '') ('github' '') ('unlock' '') ('credit-card' '') ('rss' '') ('hdd' '') ('bullhorn' '') ('bell' '') ('certificate' '') ('hand-right' '') ('hand-left' '') ('hand-up' '') ('hand-down' '') ('circle-arrow-left' '') ('circle-arrow-right' '') ('circle-arrow-up' '') ('circle-arrow-down' '') ('globe' '') ('wrench' '') ('tasks' '') ('filter' '') ('briefcase' '') ('fullscreen' '') ('group' '') ('link' '') ('cloud' '') ('beaker' '') ('cut' '') ('copy' '') ('paper-clip' '') ('save' '') ('sign-blank' '') ('reorder' '') ('list-ul' '') ('list-ol' '') ('strikethrough' '') ('underline' '') ('table' '') ('magic' '') ('truck' '') ('pinterest' '') ('pinterest-sign' '') ('google-plus-sign' '') ('google-plus' '') ('money' '') ('caret-down' '') ('caret-up' '') ('caret-left' '') ('caret-right' '') ('columns' '') ('sort' '') ('sort-down' '') ('sort-up' '') ('envelope-alt' '') ('linkedin' '') ('undo' '') ('legal' '') ('dashboard' '') ('comment-alt' '') ('comments-alt' '') ('bolt' '') ('sitemap' '') ('umbrella' '') ('paste' '') ('lightbulb' '') ('exchange' '') ('cloud-download' '') ('cloud-upload' '') ('user-md' '') ('stethoscope' '') ('suitcase' '') ('bell-alt' '') ('coffee' '') ('food' '') ('file-alt' '') ('building' '') ('hospital' '') ('ambulance' '') ('medkit' '') ('fighter-jet' '') ('beer' '') ('h-sign' '') ('plus-sign-alt' '') ('double-angle-left' '') ('double-angle-right' '') ('double-angle-up' '') ('double-angle-down' '') ('angle-left' '') ('angle-right' '') ('angle-up' '') ('angle-down' '') ('desktop' '') ('laptop' '') ('tablet' '') ('mobile-phone' '') ('circle-blank' '') ('quote-left' '') ('quote-right' '') ('spinner' '') ('circle' '') ('reply' '') ('folder-close-alt' '') ('folder-open-alt' '') ('expand-alt' '') ('collapse-alt' '') ('smile' '') ('frown' '') ('meh' '') ('gamepad' '') ('keyboard' '') ('flag-alt' '') ('flag-checkered' '') ('terminal' '') ('code' '') ('reply-all' '') ('mail-reply-all' '') ('star-half-empty' '') ('location-arrow' '') ('crop' '') ('code-fork' '') ('unlink' '') ('question' '') ('info' '') ('exclamation' '') ('superscript' '') ('subscript' '') ('eraser' '') ('puzzle-piece' '') ('microphone' '') ('microphone-off' '') ('shield' '') ('calendar-empty' '') ('fire-extinguisher' '') ('rocket' '') ('maxcdn' '') ('chevron-sign-left' '') ('chevron-sign-right' '') ('chevron-sign-up' '') ('chevron-sign-down' '') ('html5' '') ('css3' '') ('anchor' '') ('unlock-alt' '') ('bullseye' '') ('ellipsis-horizontal' '') ('ellipsis-vertical' '') ('rss-sign' '') ('play-sign' '') ('ticket' '') ('minus-sign-alt' '') ('check-minus' '') ('level-up' '') ('level-down' '') ('check-sign' '') ('edit-sign' '') ('external-link-sign' '') ('share-sign' '') + +buildIE7Icons(ie7Icons) diff --git a/build/assets/font-awesome/stylus/font-awesome.styl b/build/assets/font-awesome/stylus/font-awesome.styl new file mode 100644 index 000000000..735c215ed --- /dev/null +++ b/build/assets/font-awesome/stylus/font-awesome.styl @@ -0,0 +1,32 @@ +/*! + * Font Awesome 3.1.0 + * the iconic font designed for Bootstrap + * ------------------------------------------------------- + * The full suite of pictographic icons, examples, and documentation + * can be found at: http://fontawesome.io + * + * License + * ------------------------------------------------------- + * - The Font Awesome font is licensed under the SIL Open Font License v1.1 - + * http://scripts.sil.org/OFL + * - Font Awesome CSS, styl, and SASS files are licensed under the MIT License - + * http://opensource.org/licenses/mit-license.html + * - Font Awesome documentation licensed under CC BY 3.0 License - + * http://creativecommons.org/licenses/by/3.0/ + * - Attribution is no longer required in Font Awesome 3.0, but much appreciated: + * "Font Awesome by Dave Gandy - http://fontawesome.io" + + * Contact + * ------------------------------------------------------- + * Email: dave@fontawesome.io + * Twitter: http://twitter.com/fortaweso_me + * Work: Lead Product Designer @ http://kyruus.com + */ + +@import "variables.styl" +@import "mixins.styl" +@import "path.styl" +@import "core.styl" +@import "bootstrap.styl" +@import "extras.styl" +@import "icons.styl" diff --git a/build/assets/font-awesome/stylus/icons.styl b/build/assets/font-awesome/stylus/icons.styl new file mode 100644 index 000000000..5555fa503 --- /dev/null +++ b/build/assets/font-awesome/stylus/icons.styl @@ -0,0 +1,6 @@ +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ + +icons = (glass "\f000") (music "\f001") (search "\f002") (envelope "\f003") (heart "\f004") (star "\f005") (star-empty "\f006") (user "\f007") (film "\f008") (th-large "\f009") (th "\f00a") (th-list "\f00b") (ok "\f00c") (remove "\f00d") (zoom-in "\f00e") (zoom-out "\f010") (off "\f011") (signal "\f012") (cog "\f013") (trash "\f014") (home "\f015") (file "\f016") (time "\f017") (road "\f018") (download-alt "\f019") (download "\f01a") (upload "\f01b") (inbox "\f01c") (play-circle "\f01d") (repeat "\f01e") (rotate-right "\f01e") (refresh "\f021") (list-alt "\f022") (lock "\f023") (flag "\f024") (headphones "\f025") (volume-off "\f026") (volume-down "\f027") (volume-up "\f028") (qrcode "\f029") (barcode "\f02a") (tag "\f02b") (tags "\f02c") (book "\f02d") (bookmark "\f02e") (print "\f02f") (camera "\f030") (font "\f031") (bold "\f032") (italic "\f033") (text-height "\f034") (text-width "\f035") (align-left "\f036") (align-center "\f037") (align-right "\f038") (align-justify "\f039") (list "\f03a") (indent-left "\f03b") (indent-right "\f03c") (facetime-video "\f03d") (picture "\f03e") (pencil "\f040") (map-marker "\f041") (adjust "\f042") (tint "\f043") (edit "\f044") (share "\f045") (check "\f046") (move "\f047") (step-backward "\f048") (fast-backward "\f049") (backward "\f04a") (play "\f04b") (pause "\f04c") (stop "\f04d") (forward "\f04e") (fast-forward "\f050") (step-forward "\f051") (eject "\f052") (chevron-left "\f053") (chevron-right "\f054") (plus-sign "\f055") (minus-sign "\f056") (remove-sign "\f057") (ok-sign "\f058") (question-sign "\f059") (info-sign "\f05a") (screenshot "\f05b") (remove-circle "\f05c") (ok-circle "\f05d") (ban-circle "\f05e") (arrow-left "\f060") (arrow-right "\f061") (arrow-up "\f062") (arrow-down "\f063") (share-alt "\f064") (mail-forward "\f064") (resize-full "\f065") (resize-small "\f066") (plus "\f067") (minus "\f068") (asterisk "\f069") (exclamation-sign "\f06a") (gift "\f06b") (leaf "\f06c") (fire "\f06d") (eye-open "\f06e") (eye-close "\f070") (warning-sign "\f071") (plane "\f072") (calendar "\f073") (random "\f074") (comment "\f075") (magnet "\f076") (chevron-up "\f077") (chevron-down "\f078") (retweet "\f079") (shopping-cart "\f07a") (folder-close "\f07b") (folder-open "\f07c") (resize-vertical "\f07d") (resize-horizontal "\f07e") (bar-chart "\f080") (twitter-sign "\f081") (facebook-sign "\f082") (camera-retro "\f083") (key "\f084") (cogs "\f085") (comments "\f086") (thumbs-up "\f087") (thumbs-down "\f088") (star-half "\f089") (heart-empty "\f08a") (signout "\f08b") (linkedin-sign "\f08c") (pushpin "\f08d") (external-link "\f08e") (signin "\f090") (trophy "\f091") (github-sign "\f092") (upload-alt "\f093") (lemon "\f094") (phone "\f095") (check-empty "\f096") (bookmark-empty "\f097") (phone-sign "\f098") (twitter "\f099") (facebook "\f09a") (github "\f09b") (unlock "\f09c") (credit-card "\f09d") (rss "\f09e") (hdd "\f0a0") (bullhorn "\f0a1") (bell "\f0a2") (certificate "\f0a3") (hand-right "\f0a4") (hand-left "\f0a5") (hand-up "\f0a6") (hand-down "\f0a7") (circle-arrow-left "\f0a8") (circle-arrow-right "\f0a9") (circle-arrow-up "\f0aa") (circle-arrow-down "\f0ab") (globe "\f0ac") (wrench "\f0ad") (tasks "\f0ae") (filter "\f0b0") (briefcase "\f0b1") (fullscreen "\f0b2") (group "\f0c0") (link "\f0c1") (cloud "\f0c2") (beaker "\f0c3") (cut "\f0c4") (copy "\f0c5") (paper-clip "\f0c6") (save "\f0c7") (sign-blank "\f0c8") (reorder "\f0c9") (list-ul "\f0ca") (list-ol "\f0cb") (strikethrough "\f0cc") (underline "\f0cd") (table "\f0ce") (magic "\f0d0") (truck "\f0d1") (pinterest "\f0d2") (pinterest-sign "\f0d3") (google-plus-sign "\f0d4") (google-plus "\f0d5") (money "\f0d6") (caret-down "\f0d7") (caret-up "\f0d8") (caret-left "\f0d9") (caret-right "\f0da") (columns "\f0db") (sort "\f0dc") (sort-down "\f0dd") (sort-up "\f0de") (envelope-alt "\f0e0") (linkedin "\f0e1") (undo "\f0e2") (rotate-left "\f0e2") (legal "\f0e3") (dashboard "\f0e4") (comment-alt "\f0e5") (comments-alt "\f0e6") (bolt "\f0e7") (sitemap "\f0e8") (umbrella "\f0e9") (paste "\f0ea") (lightbulb "\f0eb") (exchange "\f0ec") (cloud-download "\f0ed") (cloud-upload "\f0ee") (user-md "\f0f0") (stethoscope "\f0f1") (suitcase "\f0f2") (bell-alt "\f0f3") (coffee "\f0f4") (food "\f0f5") (file-alt "\f0f6") (building "\f0f7") (hospital "\f0f8") (ambulance "\f0f9") (medkit "\f0fa") (fighter-jet "\f0fb") (beer "\f0fc") (h-sign "\f0fd") (plus-sign-alt "\f0fe") (double-angle-left "\f100") (double-angle-right "\f101") (double-angle-up "\f102") (double-angle-down "\f103") (angle-left "\f104") (angle-right "\f105") (angle-up "\f106") (angle-down "\f107") (desktop "\f108") (laptop "\f109") (tablet "\f10a") (mobile-phone "\f10b") (circle-blank "\f10c") (quote-left "\f10d") (quote-right "\f10e") (spinner "\f110") (circle "\f111") (reply "\f112")(mail-reply "\f112") (folder-close-alt "\f114") (folder-open-alt "\f115") (expand-alt "\f116") (collapse-alt "\f117") (smile "\f118") (frown "\f119") (meh "\f11a") (gamepad "\f11b") (keyboard "\f11c") (flag-alt "\f11d") (flag-checkered "\f11e") (terminal "\f120") (code "\f121") (reply-all "\f122") (mail-reply-all "\f122") (star-half-empty "\f123") (location-arrow "\f124") (crop "\f125") (code-fork "\f126") (unlink "\f127") (question "\f128") (info "\f129") (exclamation "\f12a") (superscript "\f12b") (subscript "\f12c") (eraser "\f12d") (puzzle-piece "\f12e") (microphone "\f130") (microphone-off "\f131") (shield "\f132") (calendar-empty "\f133") (fire-extinguisher "\f134") (rocket "\f135") (maxcdn "\f136") (chevron-sign-left "\f137") (chevron-sign-right "\f138") (chevron-sign-up "\f139") (chevron-sign-down "\f13a") (html5 "\f13b") (css3 "\f13c") (anchor "\f13d") (unlock-alt "\f13e") (bullseye "\f140") (ellipsis-horizontal "\f141") (ellipsis-vertical "\f142") (rss-sign "\f143") (play-sign "\f144") (ticket "\f145") (minus-sign-alt "\f146") (check-minus "\f147") (level-up "\f148") (level-down "\f149") (check-sign "\f14a") (edit-sign "\f14b") (external-link-sign "\f14c") (share-sign "\f14d") + +buildIcons(icons) diff --git a/build/assets/font-awesome/stylus/mixins.styl b/build/assets/font-awesome/stylus/mixins.styl new file mode 100644 index 000000000..2cdb5d367 --- /dev/null +++ b/build/assets/font-awesome/stylus/mixins.styl @@ -0,0 +1,45 @@ +// Mixins +// -------------------------- + +border-radius(radius) + -webkit-border-radius radius + -moz-border-radius radius + border-radius radius + + +icon-stack(width = 2em, height = 2em, top-font-size = 1em, base-font-size = 2em) + .icon-stack + position relative + display inline-block + width width + height height + line-height width + vertical-align -35% + + [class^="icon-"] + [class*=" icon-"] + display block + text-align center + position absolute + width 100% + height 100% + font-size top-font-size + line-height inherit + *line-height height + + .icon-stack-base + font-size base-font-size + *line-height (height / base-font-size) + +vendor(prop, args...) + for prefix in vendor-prefixes + unless prefix == official + property = '-' + prefix + '-' + prop + add-property(property, args) + add-property(prop, args) + +buildIcons(hash) + for icon, index in hash + .icon-{icon}:before + content icon[1] + diff --git a/build/assets/font-awesome/stylus/path.styl b/build/assets/font-awesome/stylus/path.styl new file mode 100644 index 000000000..cf714bce5 --- /dev/null +++ b/build/assets/font-awesome/stylus/path.styl @@ -0,0 +1,15 @@ +/* FONT PATH + * -------------------------- */ + +@font-face { + font-family: 'FontAwesome'; + src: url(FontAwesomePath + '/fontawesome-webfont.eot?v=' + FontAwesomeVersion); + src: url(FontAwesomePath + '/fontawesome-webfont.eot?#iefix&v=' + FontAwesomeVersion) format('embedded-opentype'), + url(FontAwesomePath + '/fontawesome-webfont.woff?v=' + FontAwesomeVersion) format('woff'), + url(FontAwesomePath + '/fontawesome-webfont.ttf?v=' + FontAwesomeVersion) format('truetype'), + url(FontAwesomePath + '/fontawesome-webfont.svg#fontawesomeregular?v=' + FontAwesomeVersion) format('svg'); + // src: url(FontAwesomePath + '/FontAwesome.otf') format('opentype'); // used when developing fonts + + font-weight: normal; + font-style: normal; +} diff --git a/build/assets/font-awesome/stylus/variables.styl b/build/assets/font-awesome/stylus/variables.styl new file mode 100644 index 000000000..ef425984a --- /dev/null +++ b/build/assets/font-awesome/stylus/variables.styl @@ -0,0 +1,11 @@ +// Variables +// -------------------------- + +FontAwesomePath = "../font"; +FontAwesomeVersion = "3.1.0"; +borderColor = #eee; +iconMuted = #eee; +iconLight = #fff; +iconDark = #333; + +vendor-prefixes = webkit moz o ms official