font-awesome-sass-mixins 0.1.2 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0817e3525f4ba503c98ddf2694b2ad763336896
4
- data.tar.gz: fc772b2e76fe1de29e12abde27a4c91b842abc5a
3
+ metadata.gz: b151be44777d1c2f1bb275991cc409c61c982145
4
+ data.tar.gz: b94266d17d62c5518d32fbf394fa1528ecfb8859
5
5
  SHA512:
6
- metadata.gz: 179ea2296bc49bd0efc4d32aec12ba7eb033ae989f7d333dbfad71bf5290aa2fc28b7d6cdc7bb3546dbae9c875b39d4d33ac677145f7537ae9c5385bd113c6c3
7
- data.tar.gz: 6459fd6aededcbd4c4fa5e9c2ab51b7b6d6a79d242ac0976f121665112824f52d7d28eb22f8979dbf109a9f6e2c45712df12172828ccbe80eaae4083d18bb5ca
6
+ metadata.gz: 07fd5ebc5d0c2c6cf053c07a444c59e0d7cf00d66e5cb7d1d6690b765ac71f70ea94d63b4f037981b09a9100b4fef70e6cb2a34b919a8a5bf22d48f369aa55fa
7
+ data.tar.gz: 409256ab32eccc812d4780217d73d9b20e0fa6812e8169ff495a90dda4fd4a414bcec728f582e2f20752a699e6624774f653c1fa285e571015b35fda012dc79a
data/README.md CHANGED
@@ -1,2 +1,40 @@
1
1
  # font-awesome-sass-mixins
2
2
  For those of us who want to use Font Awesome without class tags and without loading every single class definition.
3
+
4
+
5
+ ### Installation
6
+
7
+ ```bash
8
+ gem install font-awesome-sass-mixins
9
+ ```
10
+ then
11
+
12
+ ```sass
13
+ @import font-awesome-mixins
14
+ ```
15
+
16
+ - Make sure you have the @font-face declaration somewhere in your SASS already. I may add that automatically in the near future.
17
+ - Make sure your fonts directory is also setup and that your @font-face points at it. This gem cannot really help you with that, it's out of scope.
18
+
19
+ ### Usage
20
+
21
+ ```sass
22
+ .my-element
23
+ +fa-icon(pencil)
24
+ ```
25
+
26
+ ### Compilation
27
+ ###### (no Rails or Compass hooks yet sorry)
28
+
29
+ ```bash
30
+ sass -r font-awesome-sass-mixins my/sass/dir/styles.sass
31
+ ```
32
+
33
+ ### Current Feature
34
+
35
+ - Basic icon inclusion
36
+
37
+ ### Future Feature
38
+
39
+ - Convenience parameters for controlling attributes like color, size etc...
40
+
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'font-awesome-sass-mixins'
3
- s.version = '0.1.2'
3
+ s.version = '4.3.0'
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.licenses = ['MIT']
6
6
  s.summary = 'Font Awesome SASS mixins for pure SASS usage.'
@@ -14,5 +14,5 @@ Gem::Specification.new do |s|
14
14
  s.test_files = `git ls-files -- test/*`.split("\n")
15
15
  s.require_paths = ['lib']
16
16
 
17
- s.add_runtime_dependency 'sass', '~> 3.2'
18
- end
17
+ s.add_runtime_dependency 'sass'
18
+ end
@@ -1,10 +1,11 @@
1
1
  %fa-base-styles
2
2
  display: inline-block
3
- font: normal normal normal 14px/1 FontAwesome
3
+ font: normal normal normal #{$fa-font-size-base}/1 FontAwesome
4
4
  font-size: inherit
5
5
  text-rendering: auto
6
6
  -webkit-font-smoothing: antialiased
7
7
  -moz-osx-font-smoothing: grayscale
8
+ transform: translate(0, 0)
8
9
  %fa-icon-adjust
9
10
  &:before
10
11
  content: "\f042"
@@ -146,6 +147,9 @@
146
147
  %fa-icon-bars
147
148
  &:before
148
149
  content: "\f0c9"
150
+ %fa-icon-bed
151
+ &:before
152
+ content: "\f236"
149
153
  %fa-icon-beer
150
154
  &:before
151
155
  content: "\f0fc"
@@ -227,6 +231,9 @@
227
231
  %fa-icon-bus
228
232
  &:before
229
233
  content: "\f207"
234
+ %fa-icon-buysellads
235
+ &:before
236
+ content: "\f20d"
230
237
  %fa-icon-cab
231
238
  &:before
232
239
  content: "\f1ba"
@@ -272,6 +279,12 @@
272
279
  %fa-icon-caret-up
273
280
  &:before
274
281
  content: "\f0d8"
282
+ %fa-icon-cart-arrow-down
283
+ &:before
284
+ content: "\f218"
285
+ %fa-icon-cart-plus
286
+ &:before
287
+ content: "\f217"
275
288
  %fa-icon-cc
276
289
  &:before
277
290
  content: "\f20a"
@@ -416,6 +429,9 @@
416
429
  %fa-icon-compress
417
430
  &:before
418
431
  content: "\f066"
432
+ %fa-icon-connectdevelop
433
+ &:before
434
+ content: "\f20e"
419
435
  %fa-icon-copy
420
436
  &:before
421
437
  content: "\f0c5"
@@ -449,6 +465,9 @@
449
465
  %fa-icon-dashboard
450
466
  &:before
451
467
  content: "\f0e4"
468
+ %fa-icon-dashcube
469
+ &:before
470
+ content: "\f210"
452
471
  %fa-icon-database
453
472
  &:before
454
473
  content: "\f1c0"
@@ -464,6 +483,9 @@
464
483
  %fa-icon-deviantart
465
484
  &:before
466
485
  content: "\f1bd"
486
+ %fa-icon-diamond
487
+ &:before
488
+ content: "\f219"
467
489
  %fa-icon-digg
468
490
  &:before
469
491
  content: "\f1a6"
@@ -551,6 +573,12 @@
551
573
  %fa-icon-facebook
552
574
  &:before
553
575
  content: "\f09a"
576
+ %fa-icon-facebook-f
577
+ &:before
578
+ content: "\f09a"
579
+ %fa-icon-facebook-official
580
+ &:before
581
+ content: "\f230"
554
582
  %fa-icon-facebook-square
555
583
  &:before
556
584
  content: "\f082"
@@ -674,6 +702,9 @@
674
702
  %fa-icon-font
675
703
  &:before
676
704
  content: "\f031"
705
+ %fa-icon-forumbee
706
+ &:before
707
+ content: "\f211"
677
708
  %fa-icon-forward
678
709
  &:before
679
710
  content: "\f04e"
@@ -704,6 +735,9 @@
704
735
  %fa-icon-gears
705
736
  &:before
706
737
  content: "\f085"
738
+ %fa-icon-genderless
739
+ &:before
740
+ content: "\f1db"
707
741
  %fa-icon-gift
708
742
  &:before
709
743
  content: "\f06b"
@@ -746,6 +780,9 @@
746
780
  %fa-icon-graduation-cap
747
781
  &:before
748
782
  content: "\f19d"
783
+ %fa-icon-gratipay
784
+ &:before
785
+ content: "\f184"
749
786
  %fa-icon-group
750
787
  &:before
751
788
  content: "\f0c0"
@@ -782,6 +819,9 @@
782
819
  %fa-icon-heart-o
783
820
  &:before
784
821
  content: "\f08a"
822
+ %fa-icon-heartbeat
823
+ &:before
824
+ content: "\f21e"
785
825
  %fa-icon-history
786
826
  &:before
787
827
  content: "\f1da"
@@ -791,6 +831,9 @@
791
831
  %fa-icon-hospital-o
792
832
  &:before
793
833
  content: "\f0f8"
834
+ %fa-icon-hotel
835
+ &:before
836
+ content: "\f236"
794
837
  %fa-icon-html5
795
838
  &:before
796
839
  content: "\f13b"
@@ -860,6 +903,9 @@
860
903
  %fa-icon-leaf
861
904
  &:before
862
905
  content: "\f06c"
906
+ %fa-icon-leanpub
907
+ &:before
908
+ content: "\f212"
863
909
  %fa-icon-legal
864
910
  &:before
865
911
  content: "\f0e3"
@@ -953,18 +999,39 @@
953
999
  %fa-icon-map-marker
954
1000
  &:before
955
1001
  content: "\f041"
1002
+ %fa-icon-mars
1003
+ &:before
1004
+ content: "\f222"
1005
+ %fa-icon-mars-double
1006
+ &:before
1007
+ content: "\f227"
1008
+ %fa-icon-mars-stroke
1009
+ &:before
1010
+ content: "\f229"
1011
+ %fa-icon-mars-stroke-h
1012
+ &:before
1013
+ content: "\f22b"
1014
+ %fa-icon-mars-stroke-v
1015
+ &:before
1016
+ content: "\f22a"
956
1017
  %fa-icon-maxcdn
957
1018
  &:before
958
1019
  content: "\f136"
959
1020
  %fa-icon-meanpath
960
1021
  &:before
961
1022
  content: "\f20c"
1023
+ %fa-icon-medium
1024
+ &:before
1025
+ content: "\f23a"
962
1026
  %fa-icon-medkit
963
1027
  &:before
964
1028
  content: "\f0fa"
965
1029
  %fa-icon-meh-o
966
1030
  &:before
967
1031
  content: "\f11a"
1032
+ %fa-icon-mercury
1033
+ &:before
1034
+ content: "\f223"
968
1035
  %fa-icon-microphone
969
1036
  &:before
970
1037
  content: "\f130"
@@ -998,12 +1065,18 @@
998
1065
  %fa-icon-mortar-board
999
1066
  &:before
1000
1067
  content: "\f19d"
1068
+ %fa-icon-motorcycle
1069
+ &:before
1070
+ content: "\f21c"
1001
1071
  %fa-icon-music
1002
1072
  &:before
1003
1073
  content: "\f001"
1004
1074
  %fa-icon-navicon
1005
1075
  &:before
1006
1076
  content: "\f0c9"
1077
+ %fa-icon-neuter
1078
+ &:before
1079
+ content: "\f22c"
1007
1080
  %fa-icon-newspaper-o
1008
1081
  &:before
1009
1082
  content: "\f1ea"
@@ -1076,6 +1149,9 @@
1076
1149
  %fa-icon-pinterest
1077
1150
  &:before
1078
1151
  content: "\f0d2"
1152
+ %fa-icon-pinterest-p
1153
+ &:before
1154
+ content: "\f231"
1079
1155
  %fa-icon-pinterest-square
1080
1156
  &:before
1081
1157
  content: "\f0d3"
@@ -1223,12 +1299,18 @@
1223
1299
  %fa-icon-search-plus
1224
1300
  &:before
1225
1301
  content: "\f00e"
1302
+ %fa-icon-sellsy
1303
+ &:before
1304
+ content: "\f213"
1226
1305
  %fa-icon-send
1227
1306
  &:before
1228
1307
  content: "\f1d8"
1229
1308
  %fa-icon-send-o
1230
1309
  &:before
1231
1310
  content: "\f1d9"
1311
+ %fa-icon-server
1312
+ &:before
1313
+ content: "\f233"
1232
1314
  %fa-icon-share
1233
1315
  &:before
1234
1316
  content: "\f064"
@@ -1253,6 +1335,12 @@
1253
1335
  %fa-icon-shield
1254
1336
  &:before
1255
1337
  content: "\f132"
1338
+ %fa-icon-ship
1339
+ &:before
1340
+ content: "\f21a"
1341
+ %fa-icon-shirtsinbulk
1342
+ &:before
1343
+ content: "\f214"
1256
1344
  %fa-icon-shopping-cart
1257
1345
  &:before
1258
1346
  content: "\f07a"
@@ -1265,9 +1353,15 @@
1265
1353
  %fa-icon-signal
1266
1354
  &:before
1267
1355
  content: "\f012"
1356
+ %fa-icon-simplybuilt
1357
+ &:before
1358
+ content: "\f215"
1268
1359
  %fa-icon-sitemap
1269
1360
  &:before
1270
1361
  content: "\f0e8"
1362
+ %fa-icon-skyatlas
1363
+ &:before
1364
+ content: "\f216"
1271
1365
  %fa-icon-skype
1272
1366
  &:before
1273
1367
  content: "\f17e"
@@ -1382,6 +1476,9 @@
1382
1476
  %fa-icon-stop
1383
1477
  &:before
1384
1478
  content: "\f04d"
1479
+ %fa-icon-street-view
1480
+ &:before
1481
+ content: "\f21d"
1385
1482
  %fa-icon-strikethrough
1386
1483
  &:before
1387
1484
  content: "\f0cc"
@@ -1394,6 +1491,9 @@
1394
1491
  %fa-icon-subscript
1395
1492
  &:before
1396
1493
  content: "\f12c"
1494
+ %fa-icon-subway
1495
+ &:before
1496
+ content: "\f239"
1397
1497
  %fa-icon-suitcase
1398
1498
  &:before
1399
1499
  content: "\f0f2"
@@ -1496,6 +1596,15 @@
1496
1596
  %fa-icon-toggle-up
1497
1597
  &:before
1498
1598
  content: "\f151"
1599
+ %fa-icon-train
1600
+ &:before
1601
+ content: "\f238"
1602
+ %fa-icon-transgender
1603
+ &:before
1604
+ content: "\f224"
1605
+ %fa-icon-transgender-alt
1606
+ &:before
1607
+ content: "\f225"
1499
1608
  %fa-icon-trash
1500
1609
  &:before
1501
1610
  content: "\f1f8"
@@ -1574,9 +1683,30 @@
1574
1683
  %fa-icon-user-md
1575
1684
  &:before
1576
1685
  content: "\f0f0"
1686
+ %fa-icon-user-plus
1687
+ &:before
1688
+ content: "\f234"
1689
+ %fa-icon-user-secret
1690
+ &:before
1691
+ content: "\f21b"
1692
+ %fa-icon-user-times
1693
+ &:before
1694
+ content: "\f235"
1577
1695
  %fa-icon-users
1578
1696
  &:before
1579
1697
  content: "\f0c0"
1698
+ %fa-icon-venus
1699
+ &:before
1700
+ content: "\f221"
1701
+ %fa-icon-venus-double
1702
+ &:before
1703
+ content: "\f226"
1704
+ %fa-icon-venus-mars
1705
+ &:before
1706
+ content: "\f228"
1707
+ %fa-icon-viacoin
1708
+ &:before
1709
+ content: "\f237"
1580
1710
  %fa-icon-video-camera
1581
1711
  &:before
1582
1712
  content: "\f03d"
@@ -1610,6 +1740,9 @@
1610
1740
  %fa-icon-weixin
1611
1741
  &:before
1612
1742
  content: "\f1d7"
1743
+ %fa-icon-whatsapp
1744
+ &:before
1745
+ content: "\f232"
1613
1746
  %fa-icon-wheelchair
1614
1747
  &:before
1615
1748
  content: "\f193"
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: font-awesome-sass-mixins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 4.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter M. Elias
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-16 00:00:00.000000000 Z
11
+ date: 2015-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.2'
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '3.2'
26
+ version: '0'
27
27
  description: ''
28
28
  email: petermelias@gmail.com
29
29
  executables: []