Skip to content

Commit

Permalink
Merge pull request #57 from 540co/1.4.0-wip
Browse files Browse the repository at this point in the history
1.4.0
  • Loading branch information
ostranme authored Feb 25, 2018
2 parents 49bc587 + 149f7b7 commit 79edeab
Show file tree
Hide file tree
Showing 154 changed files with 4,718 additions and 4,192 deletions.
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.4.0](https://github.com/540co/govicons/releases/tag/v1.4.0) - 2018-02-25
### Added
- This CHANGELOG file to hopefully serve as an evolving example of a
standardized open source project CHANGELOG.
- Wiki page for how to use icons on desktop apps
- Adding jefferson-memorial, white-house, lincoln-memorial, hard-hat, wheel-barrow, file-word, file-excel, pallet, factory, ambulance, poison, poison-bottle, train-front, metro-front icons
- Adding raw SVG source files
- Additional css classes for sizing (xs, sm, 6-10x)
- Accessibility support for screen readers

### Changed
- Fix typos in demo site.


## [1.3.0](https://github.com/540co/govicons/releases/tag/v1.3.0) - 2016-10-24
### Added
- Adding barcode, ruler, construction, fingerprint, nuclear-plant, radioactive, biohazard, microscope, dna, road-sign, road, road-barricade, submarine, radar, reticle-dot, reticle-crosshair, dogtags, medal-circle, medal-star, 18f-logo icons

## [1.2.0](https://github.com/540co/govicons/releases/tag/1.2.0) - 2016-03-17
### Added
- New NPM package `govicons`

### Changed
- Fix typos in LICENSE section of README

## [1.1.0](https://github.com/540co/govicons/releases/tag/1.1.0) - 2017-12-07
### Added
- Adding statue-of-liberty, liberty-bell, users, user-politician, shield-o, us-shield, missile, satellite, drone, security-camera, textile, leaf, recycle, mobile-phone, us-flag-straight icons
- WOFF File Format 2.0 (.woff2) for web fonts

### Changed
- Fix typos in README

### Fixed
- The "us-flag" icon should be named "us-flag-wavy"
- The "capital" icon should be named "capitol"
- The "clock" icon should be named "clock-o"
- The "ship" icon should be named "ship-front"
- SASS reference link in bower json


## [1.0.0](https://github.com/540co/govicons/releases/tag/1.0.0) - 2015-11-28
### Added
- 80 government themed icons
- Initial CSS, SASS, and LESS framework
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
## Govicons
## Gov Icons

*Version 1.3.0*
*Version 1.4.0*

**A Government font and CSS toolkit, inspired by [Font-Awesome](http://fontawesome.io)**.

Govicons is a icon font and CSS toolkit with 115 government themed icons, for easy scalable vector graphics on projects that needs government based icons. Govicons is created and maintained by [540](http://540.co).
Gov Icons is a icon font and CSS toolkit with 129 government themed icons, for easy scalable vector graphics on projects that needs government based icons. Gov Icons is created and maintained by [540](http://540.co).

![](https://media1.giphy.com/media/5ME9j9hbSJYrK/200.gif)

Expand All @@ -30,7 +30,11 @@ $ npm install govicons
```

#### Explore
Get started and learn how to use Govicons at <http://govicons.io>!
Get started and learn how to use Gov Icons at <http://govicons.io>!

## Change Log
- We'll keep track of each release in the [CHANGELOG.md](./CHANGELOG.md)
- Looking for older versions of Gov Icons? Check the [releases](https://github.com/540co/govicons/releases).

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "govicons",
"description": "Govicons - Government font and CSS toolkit",
"version": "1.3.0",
"version": "1.4.0",
"keywords": [
"government",
"font",
Expand Down
133 changes: 113 additions & 20 deletions css/govicons.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Govicons by @540co - https://github.com/540co/govicons - @540co
* Govicons v1.4.0 by @540co - https://github.com/540co/govicons - @540co
* License (Font: SIL OFL 1.1, CSS: MIT License)
*/
/* FONT PATH
Expand All @@ -12,26 +12,34 @@
url('../fonts/govicons-webfont.woff') format('woff'),
url('../fonts/govicons-webfont.woff2') format('woff2'),
url('../fonts/govicons-webfont.svg') format('svg');
font-weight: normal;
font-style: normal;
font-weight: normal;
}

.gi {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font: normal normal normal 14px/1 Govicons;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transform: translate(0, 0);
}

/* makes the font 33% larger relative to the icon container */
.gi-lg {
font-size: 1.33333333em;
font-size: 1.33333em;
line-height: 0.75em;
vertical-align: -15%;
}
.gi-xs {
font-size: .75em;
}
.gi-sm {
font-size: .875em;
}
.gi-1x {
font-size: 1em;
}
.gi-2x {
font-size: 2em;
}
Expand All @@ -44,27 +52,44 @@
.gi-5x {
font-size: 5em;
}
.gi-6x {
font-size: 6em;
}
.gi-7x {
font-size: 7em;
}
.gi-8x {
font-size: 8em;
}
.gi-9x {
font-size: 9em;
}
.gi-10x {
font-size: 10em;
}
.gi-fw {
width: 1.28571429em;
width: 1.25em;
text-align: center;
}
.gi-ul {
padding-left: 0;
margin-left: 2.14285714em;
margin-left: 2.5em;
list-style-type: none;
}
.gi-ul > li {
position: relative;
}
.gi-li {
position: absolute;
left: -2.14285714em;
width: 2.14285714em;
top: 0.14285714em;
text-align: center;
left: -2em;
position: absolute;
text-align: center;
width: 2em;
line-height: inherit;
}
.gi-li.gi-lg {
left: -1.85714286em;
.gi-border {
border: solid 0.08em #eee;
border-radius: .1em;
padding: .2em .25em .15em;
}
.gi-spin {
-webkit-animation: gi-spin 2s infinite linear;
Expand All @@ -80,8 +105,8 @@
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes gi-spin {
Expand All @@ -90,8 +115,8 @@
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
.gi-rotate-90 {
Expand Down Expand Up @@ -129,6 +154,7 @@
:root .gi-rotate-270,
:root .gi-flip-horizontal,
:root .gi-flip-vertical {
-webkit-filter: none;
filter: none;
}
.gi-stack {
Expand All @@ -153,9 +179,53 @@
font-size: 2em;
}
.gi-inverse {
color: #ffffff;
color: #fff;
}

/* Gov Icons uses the Unicode Private Use Area (PUA) to ensure screen
readers do not read off random characters that represent icons */
.gi-ambulance:before {
content: "\e980";
}
.gi-factory:before {
content: "\e972";
}
.gi-file-excel:before {
content: "\e973";
}
.gi-file-word:before {
content: "\e974";
}
.gi-hard-hat:before {
content: "\e975";
}
.gi-jefferson-memorial:before {
content: "\e976";
}
.gi-lincoln-memorial:before {
content: "\e977";
}
.gi-metro-front:before {
content: "\e978";
}
.gi-pallet:before {
content: "\e979";
}
.gi-poison:before {
content: "\e97a";
}
.gi-poison-bottle:before {
content: "\e97b";
}
.gi-train-front:before {
content: "\e97c";
}
.gi-wheel-barrow:before {
content: "\e97d";
}
.gi-white-house:before {
content: "\e97e";
}
.gi-barcode:before {
content: "\e95e";
}
Expand Down Expand Up @@ -213,6 +283,7 @@
.gi-medal-star:before {
content: "\e970";
}
.gi-18f:before,
.gi-18F-logo:before {
content: "\e971";
}
Expand Down Expand Up @@ -505,9 +576,31 @@
.gi-building:before {
content: "\e949";
}
.gi-fedapi:before,
.gi-540-fedapi:before {
content: "\e933";
}
.gi-540:before,
.gi-540-logo:before {
content: "\e900";
}

.sr-only {
border: 0;
clip: rect(0, 0, 0, 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}

.sr-only-focusable:active, .sr-only-focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
width: auto;
}
Loading

0 comments on commit 79edeab

Please sign in to comment.