Skip to main content

Font Awesome for Plone

Project description

Introduction
============

This addon registers `Font Awesome <http://fortawesome.github.io/Font-Awesome/>`_ into Plone CSS registry.

Version of Font Awesome: 4.7.0

License
=======

- The Font Awesome font is licensed under the SIL Open Font License
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
- The Font Awesome pictograms are licensed under the 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://fortawesome.github.com/Font-Awesome "

How to install
==============

This addon can be installed with the typical Plone addon installation process. Please see the official
documentation_ for a description.

For Plone 5, import the "collective.fontawesome (Plone 5)" profile.

.. _documentation: http://plone.org/documentation/kb/installing-add-ons-quick-how-to

.. warning:: ie7 support has been removed

How to use
==========

To use an icon you can add 'fa fa-X' to your tag where X is the icon you want::


<ul>
<li class="fa fa-glass">item 1</li>
<li class="fa fa-music">item 2</li>
<li class="fa fa-search">item 3</li>
</ul>

Or just use CSS for your class 'myclass'::

.myclass:before {
content: "\f000";
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
text-decoration: inherit;
}

Available CSS classes and values for the content attribute can be found in the `Font Awesome cheat sheet <http://fortawesome.github.io/Font-Awesome/cheatsheet/>`_ or in the `source code <https://github.com/FortAwesome/Font-Awesome/blob/master/css/font-awesome.css#L171>`_ (file: font-awesome.css#L171 at the time of writing).

An example page is avaible in the addon, here is a screenshot:

.. image:: https://raw.githubusercontent.com/collective/collective.fontawesome/master/docs/screenshot.png

Replacing Plone's default icons with FontAwesome fonts
======================================================

There is now a separate Generic Setup profile called ``replace-plone-icons`` which
will replace Plone's default icons (e.g. for content types and actions) with
Font Awesome icons.

IMPORTANT: You still need to install the ``default`` profile as well.

Credits
=======

Companies
---------

* Makina-Corpus http://www.makina-corpus.com

People
------

- JeanMichel FRANCOIS aka toutpt <toutpt@gmail.com>
- Eric Bréhault, <ebrehault@gmail.com>
- Gauthier Bastien, <gauthier.bastien@imio.be>

Changelog
=========

1.0.5 (2017-05-23)
------------------

- Updated to fontawesome 4.7.0 [ewohnlich]
- Updated sample in @@example.collective.fontawesome to show what is
new in version 4.7.0 [gbastien]


1.0.4 (2016-12-05)
------------------

- Update to fontawesome 4.6.3 [gbastien]
- Include *.woff2 in MANIFEST.in so file is present in the release
or we have an error in the browser console while trying to import
file fontawesome-webfont.woff2 [gbastien]


1.0.3 (2015-07-10)
------------------

- Update to fontawesome 4.1.0 [jcbrand]
- Update to fontawesome 4.3.0 [ebrehault]
- Add new GenericSetup profile that replaces Plone's default icons for content
types and actions with FontAwesome fonts. [jcbrand]
- Plone 5 compliancy [ebrehault]


1.0.2 (2013-05-14)
------------------

- Update to fontawesome 3.1.1


1.0.1 (2013-05-06)
------------------

- Fix packaging (manifest)


1.0 (2013-05-06)
----------------

- Package created using templer
[JeanMichel aka toutpt]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.fontawesome-1.0.5.tar.gz (726.9 kB view details)

Uploaded Source

File details

Details for the file collective.fontawesome-1.0.5.tar.gz.

File metadata

File hashes

Hashes for collective.fontawesome-1.0.5.tar.gz
Algorithm Hash digest
SHA256 f15baecca8595ceb33ad64abdfb8139403f7f3cdceca11dd2485f94014260c3f
MD5 5dbd0ee7a6afe20bbc3988a132bc3b17
BLAKE2b-256 33983da2c3944d357f3c368e128edcb3d310a9dc12cd73224da77a24027523cc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page