forked from pattern-lab/edition-node-gulp
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from jgiardino/card
Included component for an icon with a circle around it, in small, med…
- Loading branch information
Showing
7 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<span class="{{ iconFamily }} {{ iconName }}"></span> | ||
<span class="{{ iconFamily }} {{ iconName }} {{iconModifier}}"></span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{{> basics-icon iconFamily="pficon" iconName="pficon-middleware" iconModifier="pf-icon--md" }} | ||
{{> basics-icon iconFamily="pficon" iconName="pficon-middleware" iconModifier="pf-icon--lg" }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: PatternFly Icon with Circle Decorator | ||
--- | ||
|
||
## Overview | ||
|
||
PatternFly icons can display at larger sizes as shown in the [Aggregate Status Card](http://www.patternfly.org/pattern-library/cards/aggregate-status-card/#/api) or the [Card View Variations](http://www.patternfly.org/pattern-library/content-views/card-view/#/api). | ||
|
||
|
||
## Usage | ||
|
||
| Class | Usage | | ||
| -- | -- | | ||
| `.pf-icon--md` **Applied to:** `.pficon` or `.fa` | **Outcome:** Displays a medium icon **Required:** Yes **Remarks:** Always use it with an icon family and icon name class. | | ||
| `.pf-icon--lg` **Applied to:** `.pficon` or `.fa` | **Outcome:** Displays a large icon **Required:** Yes **Remarks:** Always use it with an icon family and icon name class. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{{> basics-icon iconFamily="pficon" iconName="pficon-middleware" iconModifier="pf-icon--circle" }} | ||
{{> basics-icon iconFamily="pficon" iconName="pficon-middleware" iconModifier="pf-icon--circle pf-icon--md" }} | ||
{{> basics-icon iconFamily="pficon" iconName="pficon-middleware" iconModifier="pf-icon--circle pf-icon--lg" }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: PatternFly Icon with Circle Decorator | ||
--- | ||
|
||
## Overview | ||
|
||
Some PatternFly patterns display an icon with a circle arount it. For example, in the [list view](http://www.patternfly.org/pattern-library/content-views/list-view/#/api) or [card view](http://www.patternfly.org/pattern-library/content-views/card-view/#/api). | ||
|
||
|
||
## Usage | ||
|
||
| Class | Usage | | ||
| -- | -- | | ||
| `.pf-icon--circle` **Applied to:** `.pficon` or `.fa` | **Outcome:** Displays an icon with a circle around it **Required:** Yes **Remarks:** Always use it with an icon family and icon name class. Can be used with any size icon. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters