diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b71564f1..94ce20e7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,23 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p --- +## [5.0.0-alpha2](https://github.com/FortAwesome/Font-Awesome-Pro/releases/tag/5.0.0-alpha2) - 2017-06-27 + +### Added +* How/When to upgrade from FA4 to FA5 #454 + +### Fixed +* Links to SVG files broken in the example files #456 +* Misnamed icon names in examples #445 +* Mangled HTML in the Getting Started example #442 +* Bad grammar and typos #443 +* fas-arrow-to-top is identical to fas-arrow-to-right #423 +* Vertical alignment issues with webfont implementation #444 +* Add browser compatibility tables to demo #435 +* Remove MAC OS feces from builds #437 +* TTF naming issues that prevent correct usage/installation #450 +* Correct CSS for SVG framework stacking, was reversed from normal #452 + ## [5.0.0-alpha1](https://github.com/FortAwesome/Font-Awesome-Pro/releases/tag/5.0.0-alpha1) - 2017-06-23 ### Added diff --git a/README.md b/README.md index 5641bacf4..d724efc86 100644 --- a/README.md +++ b/README.md @@ -4,25 +4,25 @@ The internet's most popular icon toolkit is being redesigned and built from scra Not familiar with Font Awesome 5? [Learn more](https://www.kickstarter.com/projects/232193852/font-awesome-5) about our successful Kickstarter and plan. You can also **[pre-order your copy of Font Awesome Pro](http://five.fontawesome.io/)** and save off of the release price. -## 5.0.0-alpha1 release +## 5.0.0-alpha2 release Download Font Awesome 5 Pro preview release: -* [For Mac](https://github.com/FortAwesome/Font-Awesome-Pro/releases/download/5.0.0-alpha1/fontawesome-5.0.0-alpha1-mac.zip) -* [For Linux](https://github.com/FortAwesome/Font-Awesome-Pro/releases/download/5.0.0-alpha1/fontawesome-5.0.0-alpha1-linux.zip) -* [For Windows](https://github.com/FortAwesome/Font-Awesome-Pro/releases/download/5.0.0-alpha1/fontawesome-5.0.0-alpha1-win.zip) +* [For Mac](https://github.com/FortAwesome/Font-Awesome-Pro/releases/download/5.0.0-alpha2/fontawesome-5.0.0-alpha2-mac.zip) +* [For Linux](https://github.com/FortAwesome/Font-Awesome-Pro/releases/download/5.0.0-alpha2/fontawesome-5.0.0-alpha2-linux.zip) +* [For Windows](https://github.com/FortAwesome/Font-Awesome-Pro/releases/download/5.0.0-alpha2/fontawesome-5.0.0-alpha2-win.zip) After you unzip the file run the following command in a terminal or shell for Mac of Linux: ```shell -$ cd fontawesome-5.0.0-alpha1-mac +$ cd fontawesome-5.0.0-alpha2-mac $ ./demo ``` Windows users: ```shell -C:\Users\myusername\fontawesome-5.0.0-alpha1-win>demo.exe +C:\Users\myusername\fontawesome-5.0.0-alpha2-win>demo.exe ``` This launches a local web server that will give you easy access to the documentation for this release. diff --git a/css/font-awesome-core.css b/css/font-awesome-core.css index 9debf7a37..8311fe1c8 100644 --- a/css/font-awesome-core.css +++ b/css/font-awesome-core.css @@ -1 +1 @@ -.fa,.fas,.far,.fal,.fab{display:inline-block;font-style:normal;font-variant:normal;font-weight:normal;font-family:"Font Awesome 5";line-height:1;vertical-align:15%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:.14286em;text-align:center}.fa-li.fa-lg{left:-1.85714em}.fa-border{padding:.2em .25em .15em;border:solid 0.08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-alarm-clock:before{content:""}.fa-align-center:before{content:""}.fa-align-justify:before{content:""}.fa-align-left:before{content:""}.fa-align-right:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-area-chart:before{content:""}.fa-arrow-alt-circle-down:before{content:""}.fa-arrow-alt-circle-left:before{content:""}.fa-arrow-alt-circle-right:before{content:""}.fa-arrow-alt-circle-up:before{content:""}.fa-arrow-alt-down:before{content:""}.fa-arrow-alt-from-bottom:before{content:""}.fa-arrow-alt-from-left:before{content:""}.fa-arrow-alt-from-right:before{content:""}.fa-arrow-alt-from-top:before{content:""}.fa-arrow-alt-left:before{content:""}.fa-arrow-alt-right:before{content:""}.fa-arrow-alt-square-down:before{content:""}.fa-arrow-alt-square-left:before{content:""}.fa-arrow-alt-square-right:before{content:""}.fa-arrow-alt-square-up:before{content:""}.fa-arrow-alt-to-bottom:before{content:""}.fa-arrow-alt-to-left:before{content:""}.fa-arrow-alt-to-right:before{content:""}.fa-arrow-alt-to-top:before{content:""}.fa-arrow-alt-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-arrow-circle-left:before{content:""}.fa-arrow-circle-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-down:before{content:""}.fa-arrow-from-bottom:before{content:""}.fa-arrow-from-left:before{content:""}.fa-arrow-from-right:before{content:""}.fa-arrow-from-top:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-square-down:before{content:""}.fa-arrow-square-left:before{content:""}.fa-arrow-square-right:before{content:""}.fa-arrow-square-up:before{content:""}.fa-arrow-to-bottom:before{content:""}.fa-arrow-to-left:before{content:""}.fa-arrow-to-right:before{content:""}.fa-arrow-to-top:before{content:""}.fa-arrow-up:before{content:""}.fa-arrows-h:before{content:""}.fa-arrows-alt-h:before{content:""}.fa-arrows-v:before{content:""}.fa-arrows-alt-v:before{content:""}.fa-backward:before{content:""}.fa-badge:before{content:""}.fa-badge-check:before{content:""}.fa-ban:before{content:""}.fa-bar-chart:before{content:""}.fa-bars:before{content:""}.fa-bold:before{content:""}.fa-bomb:before{content:""}.fa-book:before{content:""}.fa-bullhorn:before{content:""}.fa-calendar:before{content:""}.fa-calendar-alt:before{content:""}.fa-calendar-edit:before{content:""}.fa-calendar-exclamation:before{content:""}.fa-calendar-check:before{content:""}.fa-calendar-minus:before{content:""}.fa-calendar-plus:before{content:""}.fa-calendar-times:before{content:""}.fa-camera:before{content:""}.fa-camera-alt:before{content:""}.fa-camera-retro:before{content:""}.fa-caret-circle-down:before{content:""}.fa-caret-circle-left:before{content:""}.fa-caret-circle-right:before{content:""}.fa-caret-circle-up:before{content:""}.fa-caret-down:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-caret-square-down:before{content:""}.fa-caret-square-left:before{content:""}.fa-caret-square-right:before{content:""}.fa-caret-square-up:before{content:""}.fa-caret-up:before{content:""}.fa-check:before{content:""}.fa-check-circle:before{content:""}.fa-check-square:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-double-down:before{content:""}.fa-chevron-double-left:before{content:""}.fa-chevron-double-right:before{content:""}.fa-chevron-double-up:before{content:""}.fa-chevron-down:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-chevron-square-down:before{content:""}.fa-chevron-square-left:before{content:""}.fa-chevron-square-right:before{content:""}.fa-chevron-square-up:before{content:""}.fa-chevron-up:before{content:""}.fa-circle:before{content:""}.fa-clipboard:before{content:""}.fa-clock:before{content:""}.fa-closed-captioning:before{content:""}.fa-club:before{content:""}.fa-code:before{content:""}.fa-coffee:before{content:""}.fa-cog:before{content:""}.fa-columns:before{content:""}.fa-comment:before{content:""}.fa-comment-alt:before{content:""}.fa-compress:before{content:""}.fa-compress-wide:before{content:""}.fa-copy:before{content:""}.fa-crosshairs:before{content:""}.fa-cut:before{content:""}.fa-diamond:before{content:""}.fa-download:before{content:""}.fa-edit:before{content:""}.fa-eject:before{content:""}.fa-envelope:before{content:""}.fa-eraser:before{content:""}.fa-exclamation:before{content:""}.fa-exclamation-circle:before{content:""}.fa-exclamation-square:before{content:""}.fa-exclamation-triangle:before{content:""}.fa-expand:before{content:""}.fa-expand-arrows:before{content:""}.fa-expand-arrows-alt:before{content:""}.fa-expand-wide:before{content:""}.fa-fast-backward:before{content:""}.fa-fast-forward:before{content:""}.fa-file:before{content:""}.fa-file-alt:before{content:""}.fa-file-check:before{content:""}.fa-file-edit:before{content:""}.fa-file-exclamation:before{content:""}.fa-file-minus:before{content:""}.fa-file-plus:before{content:""}.fa-file-times:before{content:""}.fa-film:before{content:""}.fa-flag:before{content:""}.fa-flask:before{content:""}.fa-font:before{content:""}.fa-font-awesome:before{content:""}.fa-font-awesome-alt:before{content:""}.fa-forward:before{content:""}.fa-gamepad:before{content:""}.fa-github:before{content:""}.fa-github-alt:before{content:""}.fa-github-square:before{content:""}.fa-glass-martini:before{content:""}.fa-h1:before{content:""}.fa-h2:before{content:""}.fa-h3:before{content:""}.fa-heading:before{content:""}.fa-headphones:before{content:""}.fa-heart:before{content:""}.fa-hexagon:before{content:""}.fa-home:before{content:""}.fa-image:before{content:""}.fa-images:before{content:""}.fa-inbox:before{content:""}.fa-inbox-in:before{content:""}.fa-inbox-out:before{content:""}.fa-indent:before{content:""}.fa-info:before{content:""}.fa-info-circle:before{content:""}.fa-info-square:before{content:""}.fa-italic:before{content:""}.fa-jack-o-lantern:before{content:""}.fa-leaf:before{content:""}.fa-line-chart:before{content:""}.fa-link:before{content:""}.fa-list:before{content:""}.fa-list-alt:before{content:""}.fa-list-ol:before{content:""}.fa-list-ul:before{content:""}.fa-lock:before{content:""}.fa-lock-alt:before{content:""}.fa-long-arrow-down:before{content:""}.fa-long-arrow-alt-down:before{content:""}.fa-long-arrow-left:before{content:""}.fa-long-arrow-alt-left:before{content:""}.fa-long-arrow-right:before{content:""}.fa-long-arrow-alt-right:before{content:""}.fa-long-arrow-up:before{content:""}.fa-long-arrow-alt-up:before{content:""}.fa-magic:before{content:""}.fa-minus:before{content:""}.fa-minus-circle:before{content:""}.fa-minus-hexagon:before{content:""}.fa-minus-octagon:before{content:""}.fa-minus-square:before{content:""}.fa-music:before{content:""}.fa-octagon:before{content:""}.fa-outdent:before{content:""}.fa-paint-brush:before{content:""}.fa-paper-plane:before{content:""}.fa-paperclip:before{content:""}.fa-paragraph:before{content:""}.fa-paste:before{content:""}.fa-pause:before{content:""}.fa-pause-circle:before{content:""}.fa-pen:before{content:""}.fa-pen-alt:before{content:""}.fa-pen-square:before{content:""}.fa-pencil:before{content:""}.fa-pencil-alt:before{content:""}.fa-play:before{content:""}.fa-play-circle:before{content:""}.fa-plus:before{content:""}.fa-plus-circle:before{content:""}.fa-plus-hexagon:before{content:""}.fa-plus-octagon:before{content:""}.fa-plus-square:before{content:""}.fa-poo:before{content:""}.fa-power-off:before{content:""}.fa-print:before{content:""}.fa-question:before{content:""}.fa-question-circle:before{content:""}.fa-question-square:before{content:""}.fa-random:before{content:""}.fa-rectangle-landscape:before{content:""}.fa-rectangle-portrait:before{content:""}.fa-rectangle-wide:before{content:""}.fa-redo:before{content:""}.fa-redo-alt:before{content:""}.fa-road:before{content:""}.fa-rocket:before{content:""}.fa-save:before{content:""}.fa-scrubber:before{content:""}.fa-search:before{content:""}.fa-search-minus:before{content:""}.fa-search-plus:before{content:""}.fa-share:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-share-square:before{content:""}.fa-shield:before{content:""}.fa-shield-check:before{content:""}.fa-shopping-cart:before{content:""}.fa-sign-in:before{content:""}.fa-sign-in-alt:before{content:""}.fa-sign-out:before{content:""}.fa-sign-out-alt:before{content:""}.fa-signal:before{content:""}.fa-smile:before{content:""}.fa-sort:before{content:""}.fa-sort-up:before{content:""}.fa-sort-down:before{content:""}.fa-spade:before{content:""}.fa-square:before{content:""}.fa-star:before{content:""}.fa-star-exclamation:before{content:""}.fa-step-backward:before{content:""}.fa-step-forward:before{content:""}.fa-sticky-note:before{content:""}.fa-stop:before{content:""}.fa-stop-circle:before{content:""}.fa-stopwatch:before{content:""}.fa-strikethrough:before{content:""}.fa-subscript:before{content:""}.fa-superscript:before{content:""}.fa-sync:before{content:""}.fa-sync-alt:before{content:""}.fa-table:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-th:before{content:""}.fa-th-large:before{content:""}.fa-th-list:before{content:""}.fa-thumbs-down:before{content:""}.fa-thumbs-up:before{content:""}.fa-times:before{content:""}.fa-times-circle:before{content:""}.fa-times-hexagon:before{content:""}.fa-times-octagon:before{content:""}.fa-times-square:before{content:""}.fa-trash:before{content:""}.fa-trash-alt:before{content:""}.fa-triangle:before{content:""}.fa-trophy:before{content:""}.fa-trophy-alt:before{content:""}.fa-underline:before{content:""}.fa-undo:before{content:""}.fa-undo-alt:before{content:""}.fa-upload:before{content:""}.fa-unlink:before{content:""}.fa-usd:before{content:""}.fa-usd-circle:before{content:""}.fa-usd-square:before{content:""}.fa-user:before{content:""}.fa-utensil-fork:before{content:""}.fa-utensil-knife:before{content:""}.fa-utensil-spoon:before{content:""}.fa-utensils-alt:before{content:""}.fa-utensils:before{content:""}.fa-volume-down:before{content:""}.fa-volume-mute:before{content:""}.fa-volume-off:before{content:""}.fa-volume-up:before{content:""}.fa-watch:before{content:""}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} +.fa,.fas,.far,.fal,.fab{display:inline-block;font-style:normal;font-variant:normal;font-weight:normal;font-family:"Font Awesome 5";line-height:1;vertical-align:-15%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:.14286em;text-align:center}.fa-li.fa-lg{left:-1.85714em}.fa-border{padding:.2em .25em .15em;border:solid 0.08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-alarm-clock:before{content:""}.fa-align-center:before{content:""}.fa-align-justify:before{content:""}.fa-align-left:before{content:""}.fa-align-right:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-area-chart:before{content:""}.fa-arrow-alt-circle-down:before{content:""}.fa-arrow-alt-circle-left:before{content:""}.fa-arrow-alt-circle-right:before{content:""}.fa-arrow-alt-circle-up:before{content:""}.fa-arrow-alt-down:before{content:""}.fa-arrow-alt-from-bottom:before{content:""}.fa-arrow-alt-from-left:before{content:""}.fa-arrow-alt-from-right:before{content:""}.fa-arrow-alt-from-top:before{content:""}.fa-arrow-alt-left:before{content:""}.fa-arrow-alt-right:before{content:""}.fa-arrow-alt-square-down:before{content:""}.fa-arrow-alt-square-left:before{content:""}.fa-arrow-alt-square-right:before{content:""}.fa-arrow-alt-square-up:before{content:""}.fa-arrow-alt-to-bottom:before{content:""}.fa-arrow-alt-to-left:before{content:""}.fa-arrow-alt-to-right:before{content:""}.fa-arrow-alt-to-top:before{content:""}.fa-arrow-alt-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-arrow-circle-left:before{content:""}.fa-arrow-circle-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-down:before{content:""}.fa-arrow-from-bottom:before{content:""}.fa-arrow-from-left:before{content:""}.fa-arrow-from-right:before{content:""}.fa-arrow-from-top:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-square-down:before{content:""}.fa-arrow-square-left:before{content:""}.fa-arrow-square-right:before{content:""}.fa-arrow-square-up:before{content:""}.fa-arrow-to-bottom:before{content:""}.fa-arrow-to-left:before{content:""}.fa-arrow-to-right:before{content:""}.fa-arrow-to-top:before{content:""}.fa-arrow-up:before{content:""}.fa-arrows:before{content:""}.fa-arrows-alt:before{content:""}.fa-arrows-h:before{content:""}.fa-arrows-alt-h:before{content:""}.fa-arrows-v:before{content:""}.fa-arrows-alt-v:before{content:""}.fa-backward:before{content:""}.fa-badge:before{content:""}.fa-badge-check:before{content:""}.fa-ban:before{content:""}.fa-bar-chart:before{content:""}.fa-bars:before{content:""}.fa-bold:before{content:""}.fa-bomb:before{content:""}.fa-book:before{content:""}.fa-bullhorn:before{content:""}.fa-calendar:before{content:""}.fa-calendar-alt:before{content:""}.fa-calendar-edit:before{content:""}.fa-calendar-exclamation:before{content:""}.fa-calendar-check:before{content:""}.fa-calendar-minus:before{content:""}.fa-calendar-plus:before{content:""}.fa-calendar-times:before{content:""}.fa-camera:before{content:""}.fa-camera-alt:before{content:""}.fa-camera-retro:before{content:""}.fa-caret-circle-down:before{content:""}.fa-caret-circle-left:before{content:""}.fa-caret-circle-right:before{content:""}.fa-caret-circle-up:before{content:""}.fa-caret-down:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-caret-square-down:before{content:""}.fa-caret-square-left:before{content:""}.fa-caret-square-right:before{content:""}.fa-caret-square-up:before{content:""}.fa-caret-up:before{content:""}.fa-check:before{content:""}.fa-check-circle:before{content:""}.fa-check-square:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-double-down:before{content:""}.fa-chevron-double-left:before{content:""}.fa-chevron-double-right:before{content:""}.fa-chevron-double-up:before{content:""}.fa-chevron-down:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-chevron-square-down:before{content:""}.fa-chevron-square-left:before{content:""}.fa-chevron-square-right:before{content:""}.fa-chevron-square-up:before{content:""}.fa-chevron-up:before{content:""}.fa-circle:before{content:""}.fa-clipboard:before{content:""}.fa-clock:before{content:""}.fa-closed-captioning:before{content:""}.fa-club:before{content:""}.fa-code:before{content:""}.fa-coffee:before{content:""}.fa-cog:before{content:""}.fa-columns:before{content:""}.fa-comment:before{content:""}.fa-comment-alt:before{content:""}.fa-compress:before{content:""}.fa-compress-wide:before{content:""}.fa-copy:before{content:""}.fa-crosshairs:before{content:""}.fa-cut:before{content:""}.fa-diamond:before{content:""}.fa-download:before{content:""}.fa-edit:before{content:""}.fa-eject:before{content:""}.fa-envelope:before{content:""}.fa-eraser:before{content:""}.fa-exchange:before{content:""}.fa-exchange-alt:before{content:""}.fa-exclamation:before{content:""}.fa-exclamation-circle:before{content:""}.fa-exclamation-square:before{content:""}.fa-exclamation-triangle:before{content:""}.fa-expand:before{content:""}.fa-expand-arrows:before{content:""}.fa-expand-arrows-alt:before{content:""}.fa-expand-wide:before{content:""}.fa-external-link:before{content:""}.fa-external-link-alt:before{content:""}.fa-external-link-square:before{content:""}.fa-external-link-square-alt:before{content:""}.fa-fast-backward:before{content:""}.fa-fast-forward:before{content:""}.fa-file:before{content:""}.fa-file-alt:before{content:""}.fa-file-check:before{content:""}.fa-file-edit:before{content:""}.fa-file-exclamation:before{content:""}.fa-file-minus:before{content:""}.fa-file-plus:before{content:""}.fa-file-times:before{content:""}.fa-film:before{content:""}.fa-flag:before{content:""}.fa-flask:before{content:""}.fa-font:before{content:""}.fa-font-awesome:before{content:""}.fa-font-awesome-alt:before{content:""}.fa-forward:before{content:""}.fa-gamepad:before{content:""}.fa-github:before{content:""}.fa-github-alt:before{content:""}.fa-github-square:before{content:""}.fa-glass-martini:before{content:""}.fa-h1:before{content:""}.fa-h2:before{content:""}.fa-h3:before{content:""}.fa-heading:before{content:""}.fa-headphones:before{content:""}.fa-heart:before{content:""}.fa-hexagon:before{content:""}.fa-home:before{content:""}.fa-image:before{content:""}.fa-images:before{content:""}.fa-inbox:before{content:""}.fa-inbox-in:before{content:""}.fa-inbox-out:before{content:""}.fa-indent:before{content:""}.fa-info:before{content:""}.fa-info-circle:before{content:""}.fa-info-square:before{content:""}.fa-italic:before{content:""}.fa-jack-o-lantern:before{content:""}.fa-leaf:before{content:""}.fa-line-chart:before{content:""}.fa-link:before{content:""}.fa-list:before{content:""}.fa-list-alt:before{content:""}.fa-list-ol:before{content:""}.fa-list-ul:before{content:""}.fa-lock:before{content:""}.fa-lock-alt:before{content:""}.fa-long-arrow-down:before{content:""}.fa-long-arrow-alt-down:before{content:""}.fa-long-arrow-left:before{content:""}.fa-long-arrow-alt-left:before{content:""}.fa-long-arrow-right:before{content:""}.fa-long-arrow-alt-right:before{content:""}.fa-long-arrow-up:before{content:""}.fa-long-arrow-alt-up:before{content:""}.fa-magic:before{content:""}.fa-minus:before{content:""}.fa-minus-circle:before{content:""}.fa-minus-hexagon:before{content:""}.fa-minus-octagon:before{content:""}.fa-minus-square:before{content:""}.fa-music:before{content:""}.fa-octagon:before{content:""}.fa-outdent:before{content:""}.fa-paint-brush:before{content:""}.fa-paper-plane:before{content:""}.fa-paperclip:before{content:""}.fa-paragraph:before{content:""}.fa-paste:before{content:""}.fa-pause:before{content:""}.fa-pause-circle:before{content:""}.fa-pen:before{content:""}.fa-pen-alt:before{content:""}.fa-pen-square:before{content:""}.fa-pencil:before{content:""}.fa-pencil-alt:before{content:""}.fa-play:before{content:""}.fa-play-circle:before{content:""}.fa-plus:before{content:""}.fa-plus-circle:before{content:""}.fa-plus-hexagon:before{content:""}.fa-plus-octagon:before{content:""}.fa-plus-square:before{content:""}.fa-poo:before{content:""}.fa-power-off:before{content:""}.fa-print:before{content:""}.fa-question:before{content:""}.fa-question-circle:before{content:""}.fa-question-square:before{content:""}.fa-random:before{content:""}.fa-rectangle-landscape:before{content:""}.fa-rectangle-portrait:before{content:""}.fa-rectangle-wide:before{content:""}.fa-redo:before{content:""}.fa-redo-alt:before{content:""}.fa-retweet-alt:before{content:""}.fa-road:before{content:""}.fa-rocket:before{content:""}.fa-save:before{content:""}.fa-scrubber:before{content:""}.fa-search:before{content:""}.fa-search-minus:before{content:""}.fa-search-plus:before{content:""}.fa-share:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-share-square:before{content:""}.fa-shield:before{content:""}.fa-shield-check:before{content:""}.fa-shopping-cart:before{content:""}.fa-sign-in:before{content:""}.fa-sign-in-alt:before{content:""}.fa-sign-out:before{content:""}.fa-sign-out-alt:before{content:""}.fa-signal:before{content:""}.fa-smile:before{content:""}.fa-sort:before{content:""}.fa-sort-up:before{content:""}.fa-sort-down:before{content:""}.fa-spade:before{content:""}.fa-square:before{content:""}.fa-star:before{content:""}.fa-star-exclamation:before{content:""}.fa-step-backward:before{content:""}.fa-step-forward:before{content:""}.fa-sticky-note:before{content:""}.fa-stop:before{content:""}.fa-stop-circle:before{content:""}.fa-stopwatch:before{content:""}.fa-strikethrough:before{content:""}.fa-subscript:before{content:""}.fa-superscript:before{content:""}.fa-sync:before{content:""}.fa-sync-alt:before{content:""}.fa-table:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-th:before{content:""}.fa-th-large:before{content:""}.fa-th-list:before{content:""}.fa-thumbs-down:before{content:""}.fa-thumbs-up:before{content:""}.fa-times:before{content:""}.fa-times-circle:before{content:""}.fa-times-hexagon:before{content:""}.fa-times-octagon:before{content:""}.fa-times-square:before{content:""}.fa-trash:before{content:""}.fa-trash-alt:before{content:""}.fa-triangle:before{content:""}.fa-trophy:before{content:""}.fa-trophy-alt:before{content:""}.fa-underline:before{content:""}.fa-undo:before{content:""}.fa-undo-alt:before{content:""}.fa-upload:before{content:""}.fa-unlink:before{content:""}.fa-usd:before{content:""}.fa-usd-circle:before{content:""}.fa-usd-square:before{content:""}.fa-user:before{content:""}.fa-utensil-fork:before{content:""}.fa-utensil-knife:before{content:""}.fa-utensil-spoon:before{content:""}.fa-utensils-alt:before{content:""}.fa-utensils:before{content:""}.fa-volume-down:before{content:""}.fa-volume-mute:before{content:""}.fa-volume-off:before{content:""}.fa-volume-up:before{content:""}.fa-watch:before{content:""}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} diff --git a/examples/index.html b/examples/index.html index 24e282727..ffd7765f8 100644 --- a/examples/index.html +++ b/examples/index.html @@ -24,11 +24,11 @@ + -
+- Our SVG Framework let's you reference icons just as you always have with Font Awesome and renders them as SVGs within your UI, complete with all of the supportive styling you know and love. This requires the use of JavaScript. Here's how to try it out: + Our SVG Framework lets you reference icons just as you always have with Font Awesome and renders them as SVGs within your UI, complete with all of the supportive styling you know and love. This requires the use of JavaScript. Here's how to try it out:
js/fontawesome.js.
js/packs/solid.js) in the js/packs directory.
<head> of your document.
<body> of your document.
Need another example? Check out the SVG Framework demo.
+Need another example? Check out the SVG Framework demo.
+ +| Platform | +Edge | +IE | +Chrome | +Firefox | +Safari | +Opera | +Yandex | +
|---|---|---|---|---|---|---|---|
| + Desktop + | ++ last 2 major versions + | ++ last 2 major versions (11, 10) + | ++ last 2 major versions + | ++ last 2 major versions + | ++ last 2 major versions + | ++ last 2 major versions + | ++ 14 + | +
| + Mobile + | ++ N/A + | ++ N/A + | +
+ iOS latest + Android 6, 5, 4 + |
+
+ iOS latest + Android 6, 5, 4 + |
+ + iOS 9, 10 + | ++ N/A + | ++ N/A + | +
- A Font Awesome traditionalist? We get ya. Font Awesome 5 still let's you load your icons as a custom icon font (using CSS's @font-face). Here's how:
+ A Font Awesome traditionalist? We get ya. Font Awesome 5 still lets you load your icons as a custom icon font (using CSS's @font-face). Here's how:
css/font-awesome-core.css
css/font-awesome-light.css) in the css/ directory.
webfonts/fontawesome-light-300.woff2) in the webfonts/ directory.
<head> of your document.
<body> of your document.
Need another example? Check out the Web Font demo.
+Need another example? Check out the Web Font demo.
+ +| Platform | +Edge | +IE | +Chrome | +Firefox | +Safari | +Opera | +Yandex | +
|---|---|---|---|---|---|---|---|
| + Desktop + | ++ last 2 major versions + | ++ last 3 major versions (11, 10, 9) + | ++ last 2 major versions + | ++ last 2 major versions + | ++ last 2 major versions + | ++ last 2 major versions + | ++ 14 + | +
| + Mobile + | ++ N/A + | ++ N/A + | +
+ iOS latest + Android 6, 5, 4 + |
+
+ iOS latest + Android 6, 5, 4 + |
+ + iOS 9, 10 + | ++ N/A + | ++ N/A + | +
sprites/solid.svg) in the sprites directory.
<body> of your document call an individual icon like this…
<body>
<svg>
- <use xlink:href="solid.svg#user"></use>
+ <use xlink:href="solid.svg#user"></use>
</svg>
</body>
Need another example? Check out the SVG Sprites demo.
+Need another example? Check out the SVG Sprites demo.
-Cross-origin caveat: This requires that you are serving the sprite from the same domain and port as the page.
+| Platform | +Edge | +IE | +Chrome | +Firefox | +Safari | +Opera | +Yandex | +
|---|---|---|---|---|---|---|---|
| + Desktop + | ++ last 2 major versions + | ++ No* + | ++ last 2 major versions + | ++ last 2 major versions + | ++ last 2 major versions + | ++ last 2 major versions + | ++ 14 + | +
| + Mobile + | ++ N/A + | ++ N/A + | +
+ iOS latest + Android 6, 5, 4 + |
+
+ iOS latest + Android 6, 5, 4 + |
+ + iOS 9, 10 + | ++ N/A + | ++ N/A + | +
* IE will not automatically download SVG documents referenced with xlink:href
Serving locally: For this sprite to load you need to be serving it from http or https. If you try to open examples/svg-sprite.html from the file system (if your address begins with file://) it will fail to load.
This requires that you are serving the sprite from the same domain and port as the page.
+ +For this sprite to load you need to be serving it from http or https. If you try to open examples/svg-sprite.html from the file system (if your address begins with file://) it will fail to load.
webfonts/fontawesome-light-300.ttf) in the webfonts/ directory.
+ For those that are super-stoked to start using version 5, you can upgrade the version of Font Awesome you're using on a site or project. Below are the basic steps we recommend following: +
+ +fontawesome/ folder of web fonts and CSS/SCSS/LESS (if you're using Font Awesome's CDN, you can skip this step.)
+ Remove the reference to Font Awesome V4's JS or CSS from the <head> of your document.
<link rel="stylesheet" href="path/to/font-awesome-v4/css/font-awesome.min.css">
+ <script src="https://use.fontawesome.com/your-embed-code.js"</script>
+ Not all icons and aliases from V4 have made it to V5 yet. You'll want to double-check your pages and views to make sure the icons you need are in V5. If not, you may want to stick with 4 in the meantime.
+- We're still in pre-alpha land with Font Awesome 5, so we need your help. Please provide feedback about this release specfically in our designated thread. Design feedback, bugs and questions are welcome there. For future feature and icon requests, check out our contributing doc. + We're still in pre-alpha land with Font Awesome 5, so we need your help. Please provide feedback about this release specifically in our designated thread. Design feedback, bugs and questions are welcome there. For future feature and icon requests, check out our contributing doc.