adding sprites.less reset which fixes issue #6

This commit is contained in:
Dave Gandy 2012-03-09 01:27:06 -05:00 committed by Maxime Fabre
parent 52bb683a3a
commit 5df2d1fc34
6 changed files with 222 additions and 422 deletions

16
css/font-awesome.css vendored
View File

@ -29,6 +29,22 @@
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
/* sprites.less reset */
[class^="icon-"], [class*=" icon-"] {
display: inline;
width: auto;
height: auto;
line-height: inherit;
vertical-align: baseline;
background-image: none;
background-position: 0% 0%;
background-repeat: repeat;
}
li[class^="icon-"], li[class*=" icon-"] {
display: block;
}
/* Font Awesome styles
------------------------------------------------------- */
[class^="icon-"]:before, [class*=" icon-"]:before { [class^="icon-"]:before, [class*=" icon-"]:before {
font-family: FontAwesome; font-family: FontAwesome;
font-weight: normal; font-weight: normal;

View File

@ -28,6 +28,22 @@
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
/* sprites.less reset */
[class^="icon-"], [class*=" icon-"] {
display: inline;
width: auto;
height: auto;
line-height: inherit;
vertical-align: baseline;
background-image: none;
background-position: 0% 0%;
background-repeat: repeat;
}
li[class^="icon-"], li[class*=" icon-"] {
display: block;
}
/* Font Awesome styles
------------------------------------------------------- */
[class^="icon-"]:before, [class*=" icon-"]:before { [class^="icon-"]:before, [class*=" icon-"]:before {
font-family: FontAwesome; font-family: FontAwesome;
font-weight: normal; font-weight: normal;
@ -72,423 +88,153 @@ li[class^="icon-"].icon-large:before, li[class*=" icon-"].icon-large:before {
} }
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
readers do not read off random characters that represent icons */ readers do not read off random characters that represent icons */
.icon-glass:before { .icon-glass:before { content: "\f000"; }
content: "\f000"; .icon-music:before { content: "\f001"; }
} .icon-search:before { content: "\f002"; }
.icon-music:before { .icon-envelope:before { content: "\f003"; }
content: "\f001"; .icon-heart:before { content: "\f004"; }
} .icon-star:before { content: "\f005"; }
.icon-search:before { .icon-star-empty:before { content: "\f006"; }
content: "\f002"; .icon-user:before { content: "\f007"; }
} .icon-film:before { content: "\f008"; }
.icon-envelope:before { .icon-th-large:before { content: "\f009"; }
content: "\f003"; .icon-th:before { content: "\f00a"; }
} .icon-th-list:before { content: "\f00b"; }
.icon-heart:before { .icon-ok:before { content: "\f00c"; }
content: "\f004"; .icon-remove:before { content: "\f00d"; }
} .icon-zoom-in:before { content: "\f00e"; }
.icon-star:before {
content: "\f005"; .icon-zoom-out:before { content: "\f010"; }
} .icon-off:before { content: "\f011"; }
.icon-star-empty:before { .icon-signal:before { content: "\f012"; }
content: "\f006"; .icon-cog:before { content: "\f013"; }
} .icon-trash:before { content: "\f014"; }
.icon-user:before { .icon-home:before { content: "\f015"; }
content: "\f007"; .icon-file:before { content: "\f016"; }
} .icon-time:before { content: "\f017"; }
.icon-film:before { .icon-road:before { content: "\f018"; }
content: "\f008"; .icon-download-alt:before { content: "\f019"; }
} .icon-download:before { content: "\f01a"; }
.icon-th-large:before { .icon-upload:before { content: "\f01b"; }
content: "\f009"; .icon-inbox:before { content: "\f01c"; }
} .icon-play-circle:before { content: "\f01d"; }
.icon-th:before { .icon-repeat:before { content: "\f01e"; }
content: "\f00a";
} // \f020 is not a valid unicode character. all shifted one down
.icon-th-list:before { .icon-refresh:before { content: "\f021"; }
content: "\f00b"; .icon-list-alt:before { content: "\f022"; }
} .icon-lock:before { content: "\f023"; }
.icon-ok:before { .icon-flag:before { content: "\f024"; }
content: "\f00c"; .icon-headphones:before { content: "\f025"; }
} .icon-volume-off:before { content: "\f026"; }
.icon-remove:before { .icon-volume-down:before { content: "\f027"; }
content: "\f00d"; .icon-volume-up:before { content: "\f028"; }
} .icon-qrcode:before { content: "\f029"; }
.icon-zoom-in:before { .icon-barcode:before { content: "\f02a"; }
content: "\f00e"; .icon-tag:before { content: "\f02b"; }
} .icon-tags:before { content: "\f02c"; }
.icon-zoom-out:before { .icon-book:before { content: "\f02d"; }
content: "\f010"; .icon-bookmark:before { content: "\f02e"; }
} .icon-print:before { content: "\f02f"; }
.icon-off:before {
content: "\f011"; .icon-camera:before { content: "\f030"; }
} .icon-font:before { content: "\f031"; }
.icon-signal:before { .icon-bold:before { content: "\f032"; }
content: "\f012"; .icon-italic:before { content: "\f033"; }
} .icon-text-height:before { content: "\f034"; }
.icon-cog:before { .icon-text-width:before { content: "\f035"; }
content: "\f013"; .icon-align-left:before { content: "\f036"; }
} .icon-align-center:before { content: "\f037"; }
.icon-trash:before { .icon-align-right:before { content: "\f038"; }
content: "\f014"; .icon-align-justify:before { content: "\f039"; }
} .icon-list:before { content: "\f03a"; }
.icon-home:before { .icon-indent-left:before { content: "\f03b"; }
content: "\f015"; .icon-indent-right:before { content: "\f03c"; }
} .icon-facetime-video:before { content: "\f03d"; }
.icon-file:before { .icon-picture:before { content: "\f03e"; }
content: "\f016";
} .icon-pencil:before { content: "\f040"; }
.icon-time:before { .icon-map-marker:before { content: "\f041"; }
content: "\f017"; .icon-adjust:before { content: "\f042"; }
} .icon-tint:before { content: "\f043"; }
.icon-road:before { .icon-edit:before { content: "\f044"; }
content: "\f018"; .icon-share:before { content: "\f045"; }
} .icon-check:before { content: "\f046"; }
.icon-download-alt:before { .icon-move:before { content: "\f047"; }
content: "\f019"; .icon-step-backward:before { content: "\f048"; }
} .icon-fast-backward:before { content: "\f049"; }
.icon-download:before { .icon-backward:before { content: "\f04a"; }
content: "\f01a"; .icon-play:before { content: "\f04b"; }
} .icon-pause:before { content: "\f04c"; }
.icon-upload:before { .icon-stop:before { content: "\f04d"; }
content: "\f01b"; .icon-forward:before { content: "\f04e"; }
}
.icon-inbox:before { .icon-fast-forward:before { content: "\f050"; }
content: "\f01c"; .icon-step-forward:before { content: "\f051"; }
} .icon-eject:before { content: "\f052"; }
.icon-play-circle:before { .icon-chevron-left:before { content: "\f053"; }
content: "\f01d"; .icon-chevron-right:before { content: "\f054"; }
} .icon-plus-sign:before { content: "\f055"; }
.icon-repeat:before { .icon-minus-sign:before { content: "\f056"; }
content: "\f01e"; .icon-remove-sign:before { content: "\f057"; }
} .icon-ok-sign:before { content: "\f058"; }
.icon-refresh:before { .icon-question-sign:before { content: "\f059"; }
content: "\f021"; .icon-info-sign:before { content: "\f05a"; }
} .icon-screenshot:before { content: "\f05b"; }
.icon-list-alt:before { .icon-remove-circle:before { content: "\f05c"; }
content: "\f022"; .icon-ok-circle:before { content: "\f05d"; }
} .icon-ban-circle:before { content: "\f05e"; }
.icon-lock:before {
content: "\f023"; .icon-arrow-left:before { content: "\f060"; }
} .icon-arrow-right:before { content: "\f061"; }
.icon-flag:before { .icon-arrow-up:before { content: "\f062"; }
content: "\f024"; .icon-arrow-down:before { content: "\f063"; }
} .icon-share-alt:before { content: "\f064"; }
.icon-headphones:before { .icon-resize-full:before { content: "\f065"; }
content: "\f025"; .icon-resize-small:before { content: "\f066"; }
} .icon-plus:before { content: "\f067"; }
.icon-volume-off:before { .icon-minus:before { content: "\f068"; }
content: "\f026"; .icon-asterisk:before { content: "\f069"; }
} .icon-exclamation-sign:before { content: "\f06a"; }
.icon-volume-down:before { .icon-gift:before { content: "\f06b"; }
content: "\f027"; .icon-leaf:before { content: "\f06c"; }
} .icon-fire:before { content: "\f06d"; }
.icon-volume-up:before { .icon-eye-open:before { content: "\f06e"; }
content: "\f028";
} .icon-eye-close:before { content: "\f070"; }
.icon-qrcode:before { .icon-warning-sign:before { content: "\f071"; }
content: "\f029"; .icon-plane:before { content: "\f072"; }
} .icon-calendar:before { content: "\f073"; }
.icon-barcode:before { .icon-random:before { content: "\f074"; }
content: "\f02a"; .icon-comment:before { content: "\f075"; }
} .icon-magnet:before { content: "\f076"; }
.icon-tag:before { .icon-chevron-up:before { content: "\f077"; }
content: "\f02b"; .icon-chevron-down:before { content: "\f078"; }
} .icon-retweet:before { content: "\f079"; }
.icon-tags:before { .icon-shopping-cart:before { content: "\f07a"; }
content: "\f02c"; .icon-folder-close:before { content: "\f07b"; }
} .icon-folder-open:before { content: "\f07c"; }
.icon-book:before { .icon-resize-vertical:before { content: "\f07d"; }
content: "\f02d"; .icon-resize-horizontal:before { content: "\f07e"; }
}
.icon-bookmark:before { .icon-bar-chart:before { content: "\f080"; }
content: "\f02e"; .icon-twitter-sign:before { content: "\f081"; }
} .icon-facebook-sign:before { content: "\f082"; }
.icon-print:before { .icon-camera-retro:before { content: "\f083"; }
content: "\f02f"; .icon-key:before { content: "\f084"; }
} .icon-cogs:before { content: "\f085"; }
.icon-camera:before { .icon-comments:before { content: "\f086"; }
content: "\f030"; .icon-thumbs-up:before { content: "\f087"; }
} .icon-thumbs-down:before { content: "\f088"; }
.icon-font:before { .icon-star-half:before { content: "\f089"; }
content: "\f031"; .icon-heart-empty:before { content: "\f08a"; }
} .icon-signout:before { content: "\f08b"; }
.icon-bold:before { .icon-linkedin-sign:before { content: "\f08c"; }
content: "\f032"; .icon-pushpin:before { content: "\f08d"; }
} .icon-external-link:before { content: "\f08e"; }
.icon-italic:before {
content: "\f033"; .icon-signin:before { content: "\f090"; }
} .icon-trophy:before { content: "\f091"; }
.icon-text-height:before { .icon-github-sign:before { content: "\f092"; }
content: "\f034"; .icon-upload-alt:before { content: "\f093"; }
} .icon-lemon:before { content: "\f094"; }
.icon-text-width:before {
content: "\f035";
}
.icon-align-left:before {
content: "\f036";
}
.icon-align-center:before {
content: "\f037";
}
.icon-align-right:before {
content: "\f038";
}
.icon-align-justify:before {
content: "\f039";
}
.icon-list:before {
content: "\f03a";
}
.icon-indent-left:before {
content: "\f03b";
}
.icon-indent-right:before {
content: "\f03c";
}
.icon-facetime-video:before {
content: "\f03d";
}
.icon-picture:before {
content: "\f03e";
}
.icon-pencil:before {
content: "\f040";
}
.icon-map-marker:before {
content: "\f041";
}
.icon-adjust:before {
content: "\f042";
}
.icon-tint:before {
content: "\f043";
}
.icon-edit:before {
content: "\f044";
}
.icon-share:before {
content: "\f045";
}
.icon-check:before {
content: "\f046";
}
.icon-move:before {
content: "\f047";
}
.icon-step-backward:before {
content: "\f048";
}
.icon-fast-backward:before {
content: "\f049";
}
.icon-backward:before {
content: "\f04a";
}
.icon-play:before {
content: "\f04b";
}
.icon-pause:before {
content: "\f04c";
}
.icon-stop:before {
content: "\f04d";
}
.icon-forward:before {
content: "\f04e";
}
.icon-fast-forward:before {
content: "\f050";
}
.icon-step-forward:before {
content: "\f051";
}
.icon-eject:before {
content: "\f052";
}
.icon-chevron-left:before {
content: "\f053";
}
.icon-chevron-right:before {
content: "\f054";
}
.icon-plus-sign:before {
content: "\f055";
}
.icon-minus-sign:before {
content: "\f056";
}
.icon-remove-sign:before {
content: "\f057";
}
.icon-ok-sign:before {
content: "\f058";
}
.icon-question-sign:before {
content: "\f059";
}
.icon-info-sign:before {
content: "\f05a";
}
.icon-screenshot:before {
content: "\f05b";
}
.icon-remove-circle:before {
content: "\f05c";
}
.icon-ok-circle:before {
content: "\f05d";
}
.icon-ban-circle:before {
content: "\f05e";
}
.icon-arrow-left:before {
content: "\f060";
}
.icon-arrow-right:before {
content: "\f061";
}
.icon-arrow-up:before {
content: "\f062";
}
.icon-arrow-down:before {
content: "\f063";
}
.icon-share-alt:before {
content: "\f064";
}
.icon-resize-full:before {
content: "\f065";
}
.icon-resize-small:before {
content: "\f066";
}
.icon-plus:before {
content: "\f067";
}
.icon-minus:before {
content: "\f068";
}
.icon-asterisk:before {
content: "\f069";
}
.icon-exclamation-sign:before {
content: "\f06a";
}
.icon-gift:before {
content: "\f06b";
}
.icon-leaf:before {
content: "\f06c";
}
.icon-fire:before {
content: "\f06d";
}
.icon-eye-open:before {
content: "\f06e";
}
.icon-eye-close:before {
content: "\f070";
}
.icon-warning-sign:before {
content: "\f071";
}
.icon-plane:before {
content: "\f072";
}
.icon-calendar:before {
content: "\f073";
}
.icon-random:before {
content: "\f074";
}
.icon-comment:before {
content: "\f075";
}
.icon-magnet:before {
content: "\f076";
}
.icon-chevron-up:before {
content: "\f077";
}
.icon-chevron-down:before {
content: "\f078";
}
.icon-retweet:before {
content: "\f079";
}
.icon-shopping-cart:before {
content: "\f07a";
}
.icon-folder-close:before {
content: "\f07b";
}
.icon-folder-open:before {
content: "\f07c";
}
.icon-resize-vertical:before {
content: "\f07d";
}
.icon-resize-horizontal:before {
content: "\f07e";
}
.icon-bar-chart:before {
content: "\f080";
}
.icon-twitter-sign:before {
content: "\f081";
}
.icon-facebook-sign:before {
content: "\f082";
}
.icon-camera-retro:before {
content: "\f083";
}
.icon-key:before {
content: "\f084";
}
.icon-cogs:before {
content: "\f085";
}
.icon-comments:before {
content: "\f086";
}
.icon-thumbs-up:before {
content: "\f087";
}
.icon-thumbs-down:before {
content: "\f088";
}
.icon-star-half:before {
content: "\f089";
}
.icon-heart-empty:before {
content: "\f08a";
}
.icon-signout:before {
content: "\f08b";
}
.icon-linkedin-sign:before {
content: "\f08c";
}
.icon-pushpin:before {
content: "\f08d";
}
.icon-external-link:before {
content: "\f08e";
}
.icon-signin:before {
content: "\f090";
}
.icon-trophy:before {
content: "\f091";
}
.icon-github-sign:before {
content: "\f092";
}
.icon-upload-alt:before {
content: "\f093";
}
.icon-lemon:before {
content: "\f094";
}

File diff suppressed because one or more lines are too long

View File

@ -34,6 +34,25 @@
font-style: normal; font-style: normal;
} }
/* sprites.less reset */
[class^="icon-"],
[class*=" icon-"] {
display: inline;
width: auto;
height: auto;
line-height: inherit;
vertical-align: baseline;
background-image: none;
background-position: 0% 0%;
background-repeat: repeat;
}
li[class^="icon-"],
li[class*=" icon-"] {
display: block;
}
/* Font Awesome styles
------------------------------------------------------- */
[class^="icon-"]:before, [class^="icon-"]:before,
[class*=" icon-"]:before { [class*=" icon-"]:before {
font-family: FontAwesome; font-family: FontAwesome;

View File

@ -244,8 +244,8 @@ footer {
padding-bottom: 60px; padding-bottom: 60px;
ul { ul {
margin-left: 30px; margin-left: 30px;
line-height: 25px;
li { li {
line-height: 25px;
&:before { &:before {
font-size: 20px; font-size: 20px;
vertical-align: top; vertical-align: top;

View File

@ -34,6 +34,25 @@
font-style: normal; font-style: normal;
} }
/* sprites.less reset */
[class^="icon-"],
[class*=" icon-"] {
display: inline;
width: auto;
height: auto;
line-height: inherit;
vertical-align: baseline;
background-image: none;
background-position: 0% 0%;
background-repeat: repeat;
}
li[class^="icon-"],
li[class*=" icon-"] {
display: block;
}
/* Font Awesome styles
------------------------------------------------------- */
[class^="icon-"]:before, [class^="icon-"]:before,
[class*=" icon-"]:before { [class*=" icon-"]:before {
font-family: FontAwesome; font-family: FontAwesome;