diff options
author | davegandy <dave@davegandy.com> | 2013-10-01 04:55:40 +0400 |
---|---|---|
committer | davegandy <dave@davegandy.com> | 2013-10-01 04:55:40 +0400 |
commit | a3f056991c815e0e12edd5f22b1401bf2e54f510 (patch) | |
tree | 08a3d403e53caaf2b7835268a087af40efb340ce /less/core.less | |
parent | 676f6ad7b4ce18373e5c7871c3b09e10a6b15f53 (diff) |
final adjustments to changing css icon prefix
Diffstat (limited to 'less/core.less')
-rw-r--r-- | less/core.less | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/less/core.less b/less/core.less index 8ca3bf7c1..e43a54a6d 100644 --- a/less/core.less +++ b/less/core.less @@ -1,13 +1,11 @@ /* FONT AWESOME CORE * -------------------------- */ -[class^="fa-"], -[class*=" fa-"] { +.fa { .icon-FontAwesome(); } -[class^="fa-"]:before, -[class*=" fa-"]:before { +.fa:before { display: inline-block; text-decoration: inherit; speak: none; @@ -21,15 +19,13 @@ /* makes sure icons active on rollover in links */ a { - [class^="fa-"], - [class*=" fa-"] { + .fa { display: inline; } } /* increased font size for icon-large */ -[class^="fa-"], -[class*=" fa-"] { +.fa { &.fa-fixed-width { display: inline-block; width: (16em / 14); @@ -41,7 +37,7 @@ a { } } -.fas-ul { +.fa-ul { padding-left: 0; margin-left: @icons-li-width; list-style-type: none; @@ -58,8 +54,7 @@ a { } // allows usage of the hide class directly on font awesome icons -[class^="fa-"], -[class*=" fa-"] { +.fa { &.hide { display: none; } @@ -119,8 +114,7 @@ a { .pull-right { float: right; } .pull-left { float: left; } -[class^="fa-"], -[class*=" fa-"] { +.fa { &.pull-left { margin-right: .3em; } |