Download the PHP package atelierspierrot/gentleface-sprites without Composer

On this page you can find all versions of the php package atelierspierrot/gentleface-sprites. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package gentleface-sprites

Gentleface CSS Sprites

The UNOFFICIAL sprites of the Free Wireframe Toolbar Icons for GUI designers by Gentleface UI / UX design.

!! - This work is unofficial and is not liable for Gentleface, but was developed and is available for public download and use with their agreement in the conditions explained below.

Overview

This package proposes some CSS sprites constructed on the Gentleface custom toolbar icons. The original set of icons is proposed under Creative Commons "Attribution - Non Commercial" license, free of use for NON COMMERCIAL usage as long as you attach image credits to "Gentleface UI / UX design". See the bottom of this page for more infos about protection licenses.

To learn more about "CSS sprites" conception, see the Sprite (computer graphics) wikipedia's page.

As the original icons set, the sprites proposed icons in black and white, 16x16, 24x24, 32x32 and 48x48 pixels.

Usage

Installation

This package is a "standalone" CSS framework. To use it, you just need to get its sources from GitHub and include the src/ content of the package in your project assets.

If you are a Bower user, the package is registered so you can write in your bower.json:

"dependencies": {
    ...
    "atelierspierrot/gentleface-sprites": "dev-master"
}

If you are a Composer user, the package is referenced to Packagist so you can write in your composer.json:

"require": {
    ...
    "atelierspierrot/gentleface-sprites": "dev-master"
}

The package has a library-assets type to allow handling by the Assets Manager Composer's extension. If you plan to use the manager, you can use the assets-install branch of the package, which has the AssetsManager in its requirements (to be sure it will be loaded before the sprite and be able to move it in the project assets).

HTML usage

Once the package is included in your project, you can start to use the sprites framework.

To do so, you first need to include the CSS definitions:

<link rel="stylesheet" href="path/to/package/src/gentleface-sprites.min.css" />

Then you can start writing some Gentleface icons spans using the framework explained below.

A demonstration page is available in the global package (that requires a PHP server) in demo/ ; it shows in particular the list of available icons and their names.

CSS Framework

The package defines some CSS sprites classes to render some icons easily and with least of work.

The CSS framework to use the sprites is based on three central classes:

For instance, to render a black, 24 by 24 pixels image of the "balance" icon, you will write:

<span class="gentleface-24 black balance"></span>

As the sprites are not defined with restrictive CSS rules, you may encounter rendering problems (such as margins or paddings defined globally in your document) that can be avoid adding a reset class to your icons:

<span class="gentleface-24 black reset balance"></span>

A simple gentleface class is designed as a shortcut that defaults to the black icons in size 16x16. For instance, the followings are equivalent:

<span class="gentleface-16 black balance"></span>
<span class="gentleface balance"></span>

Finally, some classes can be used to define common effects on icons:

Examples:

<a href="#" title="Icon with hover effect">
    <span class="gentleface-48 hover-white rss"></span>
</a>

<a href="#" title="Inversed icon with hover effect">
    <span class="gentleface-32 white hover-black rss"></span>
</a>

<ul>
    <li title="Classic state icon">
        <span class="gentleface-24 active-white shield"></span>
    </li>
    <li class="active" title="Active state icon">
        <span class="gentleface-24 active-white shield"></span>
    </li>
</ul>

Credits

As mentioned above, the original set of icons is made by Gentleface and proposed under Creative Commons Attribution-Non Commercial license. You are free to use it in personal (non-commercial) works but you must always add a link to www.gentleface.com in a prominent place (e.g. the page footer), including the CC-BY-NC license and the reference to www.gentleface.com on every page using the icons.

To use these icons (and this package by extension) on commercial websites, applications (including web applications) and services, you can by a Royalty Free license on Gentleface.com. This licensed version includes EPS and SWF vector files.

The sprites were generated with the help of website-performance.org and are CSS3 valid.

The minified version of the CSS file of the package was processed with the YUI Compressor.

The PNG sprites are optimized using Smush.it (TM).


All versions of gentleface-sprites with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package atelierspierrot/gentleface-sprites contains the following files

Loading the files please wait ....