entypo-rails 2.1.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1851d8401708c9d82b25fea2be92d4191da8593a
4
- data.tar.gz: 69928c1ec3a60b0d104a73535b4204c0ba1c2047
3
+ metadata.gz: bc4b542e48fd6c2dec8cc36130d4331eaeb99bfd
4
+ data.tar.gz: 01c878c3e110b3b6a6bdcb3ee1a661107c037172
5
5
  SHA512:
6
- metadata.gz: ceb3b63e47e6d325d8fbec09e4e3fb35b11d8096a06eeb87b6ed412b91166c767683d003d36638014470b4127306a1127401799c988b0ff410d0f1a363058b2e
7
- data.tar.gz: 4985683c542938d277539d79dd5f24a5e16be8a042cc112f728299504799d1e4620a36fbee308b01a2f54faf351ba673eea33853126172b110339ce3bb325254
6
+ metadata.gz: e06d64e3164d397ad968431952ac3534ae067214b1da9aead0c60e5c225f9cb827cedc807b3102e6c799d38cbfb38cd5258343243836c2620231598f18a0fc40
7
+ data.tar.gz: b237db4710bf456e53e92a825d5faed4219d57959cf09ff35a18bcc18b8f288b4fec72bef0fd3b17b2ec0560d11f7cf241946c2b2643d4d2e500b62c4d9452aa
data/README.md CHANGED
@@ -20,6 +20,10 @@ And then execute:
20
20
 
21
21
  $ bundle
22
22
 
23
+ Then start your server and open
24
+
25
+ http://localhost:3000/entypo/charmap
26
+
23
27
  ## Usage
24
28
 
25
29
  Either use the provided mappings, based on `icons-...` and the `:before`:
@@ -33,11 +37,14 @@ Either use the provided mappings, based on `icons-...` and the `:before`:
33
37
  ```html
34
38
  <!-- some_template.html... -->
35
39
  This is cool <i class="icon-thumbs-up"></i>.
40
+ Fork it on <i class="icon-social-github"></i>.
36
41
  ```
37
42
 
38
43
  or just include the entypo font face and do the mappings yourself, go to
39
- http://localhost:3000/_entypo/charmap in your browser for a list of all
40
- unicode codepoints and CSS classes.
44
+ http://localhost:3000/entypo/charmap in your browser for a list of all
45
+ unicode codepoints and CSS classes. This is only available in development
46
+ mode. Alternatively check out [entypo.css.scss](https://github.com/lwe/entypo-rails/blob/master/app/assets/stylesheets/entypo.css.scss),
47
+ the social font is prefixed with `.icon-social-`.
41
48
 
42
49
  ```scss
43
50
  // application.css[.scss]
@@ -54,8 +61,65 @@ i.cool:before { content: "\1F44D"; }
54
61
  This is cool <i class="cool"></i>.
55
62
  ```
56
63
 
64
+ ## Options
65
+
66
+ #### Change the `icon` prefix
67
+
68
+ Simply add an initializer like e.g. `config/initializers/entypo.rb` and add:
69
+
70
+ ```ruby
71
+ Entypo.css_prefix = "my-icon"
72
+ ```
73
+
74
+ After setting a new prefix restart your server and ensure to clear the Rails
75
+ asset caches in `tmp/cache/asset`, otherwise the new prefix might not be
76
+ picked up correctly.
77
+
78
+ **Note**: that the value is not checked, thus ensure to use onlu valid CSS
79
+ class names.
80
+
81
+ #### Enable the `/entypo/charmap` in a non-development environment
82
+
83
+ By default entypo-rails only enables the `/entypo/charmap` route in the
84
+ development environment. To enable it in another environment open the
85
+ environment specific configuration file from `config/environments/<env>.rb`
86
+ and append:
87
+
88
+ ```ruby
89
+ # at the end of the file...
90
+ Entypo.charmap = true
91
+ ```
92
+
93
+ #### Customize the charmap path (or add authorization etc.)
94
+
95
+ To use a custom URL for to display the charmap, first disable the automatic
96
+ route generation by adding an initializer e.g. `config/initializers/entypo.rb`
97
+ with:
98
+
99
+ ```ruby
100
+ Entypo.charmap = false
101
+ ```
102
+
103
+ Then add a new route to your application's `config/routes.rb` file:
104
+
105
+ ```ruby
106
+ Your::Application.routes.draw do
107
+ # other routes...
108
+ get '/custom/path/to/charmap', to: 'entypo/charmap#index'
109
+ end
110
+ ```
111
+
57
112
  ## Troubleshooting
58
113
 
114
+ **The prefix `icon` clashes with the prefix defined by
115
+ [bootstrap](http://getbootstrap.com/2.3.2/base-css.html#icons) and thus I'm
116
+ not able to use entypo icons.**
117
+
118
+ The prefix can be changed by setting `Entypo.css_prefix = "e-icon"` in an
119
+ initializer. Ensure that after changing the prefix the caches in
120
+ `tmp/cache/assets` should be cleared, otherwise it can happen that the prefix
121
+ is not picked up during development.
122
+
59
123
  **In production, the fonts are digested to entypo-
60
124
  4a74efb3ed26fe0c57556bcc0b7e871f... Meanhwile it's just entypo.eot in the CSS
61
125
  file, without the digest. Therefore the font cannot be loaded!**
@@ -71,6 +135,16 @@ RAILS_ENV=production rake assets:precompile
71
135
 
72
136
  ## Changes
73
137
 
138
+ _2.2.1_
139
+
140
+ - Ensure .erb files are included within packaged gem
141
+ - Fixed route drawing code to enable `/entypo/charmap` again
142
+ - Added icon prefix option, based on [#9](https://github.com/lwe/entypo-rails/pull/9) thx @xdite
143
+
144
+ _2.1.0_
145
+
146
+ - Added webkit font smooting [#8](https://github.com/lwe/entypo-rails/pull/8), by @vojto
147
+
74
148
  _2.0.2_
75
149
 
76
150
  - Fix /_entypo/charmap to load correct stylesheet from app/assets
@@ -0,0 +1,305 @@
1
+ @charset "UTF-8";
2
+ @import "entypo-fonts";
3
+
4
+ [class^="<%= Entypo.css_prefix %>-"], [class*=" <%= Entypo.css_prefix %>-"] {
5
+ font-family: entypo;
6
+ font-style: normal;
7
+ font-weight: normal;
8
+ display: inline-block;
9
+ width: 1.1em;
10
+ margin-right: .1em;
11
+ text-align: center;
12
+ -webkit-font-smoothing: antialiased;
13
+ }
14
+
15
+ /* main icon map */
16
+ .<%= Entypo.css_prefix %>-phone:before { content: '\1f4de'; } /* 1f4de */
17
+ .<%= Entypo.css_prefix %>-mobile:before { content: '\1f4f1'; } /* 1f4f1 */
18
+ .<%= Entypo.css_prefix %>-mouse:before { content: '\e789'; } /* e789 */
19
+ .<%= Entypo.css_prefix %>-address:before { content: '\e723'; } /* e723 */
20
+ .<%= Entypo.css_prefix %>-mail:before { content: '\2709'; } /* 2709 */
21
+ .<%= Entypo.css_prefix %>-paper-plane:before { content: '\e79b'; } /* e79b */
22
+ .<%= Entypo.css_prefix %>-pencil:before { content: '\270e'; } /* 270e */
23
+ .<%= Entypo.css_prefix %>-feather:before { content: '\2712'; } /* 2712 */
24
+ .<%= Entypo.css_prefix %>-attach:before { content: '\1f4ce'; } /* 1f4ce */
25
+ .<%= Entypo.css_prefix %>-inbox:before { content: '\e777'; } /* e777 */
26
+ .<%= Entypo.css_prefix %>-reply:before { content: '\e712'; } /* e712 */
27
+ .<%= Entypo.css_prefix %>-reply-all:before { content: '\e713'; } /* e713 */
28
+ .<%= Entypo.css_prefix %>-forward:before { content: '\27a6'; } /* 27a6 */
29
+ .<%= Entypo.css_prefix %>-user:before { content: '\1f464'; } /* 1f464 */
30
+ .<%= Entypo.css_prefix %>-users:before { content: '\1f465'; } /* 1f465 */
31
+ .<%= Entypo.css_prefix %>-add-user:before { content: '\e700'; } /* e700 */
32
+ .<%= Entypo.css_prefix %>-vcard:before { content: '\e722'; } /* e722 */
33
+ .<%= Entypo.css_prefix %>-export:before { content: '\e715'; } /* e715 */
34
+ .<%= Entypo.css_prefix %>-location:before { content: '\e724'; } /* e724 */
35
+ .<%= Entypo.css_prefix %>-map:before { content: '\e727'; } /* e727 */
36
+ .<%= Entypo.css_prefix %>-compass:before { content: '\e728'; } /* e728 */
37
+ .<%= Entypo.css_prefix %>-direction:before { content: '\27a2'; } /* 27a2 */
38
+ .<%= Entypo.css_prefix %>-share:before { content: '\e73c'; } /* e73c */
39
+ .<%= Entypo.css_prefix %>-shareable:before { content: '\e73e'; } /* e73e */
40
+ .<%= Entypo.css_prefix %>-heart:before { content: '\2665'; } /* 2665 */
41
+ .<%= Entypo.css_prefix %>-heart-empty:before { content: '\2661'; } /* 2661 */
42
+ .<%= Entypo.css_prefix %>-star:before { content: '\2605'; } /* 2605 */
43
+ .<%= Entypo.css_prefix %>-star-empty:before { content: '\2606'; } /* 2606 */
44
+ .<%= Entypo.css_prefix %>-thumbs-up:before { content: '\1f44d'; } /* 1f44d */
45
+ .<%= Entypo.css_prefix %>-thumbs-down:before { content: '\1f44e'; } /* 1f44e */
46
+ .<%= Entypo.css_prefix %>-chat:before { content: '\e720'; } /* e720 */
47
+ .<%= Entypo.css_prefix %>-comment:before { content: '\e718'; } /* e718 */
48
+ .<%= Entypo.css_prefix %>-quote:before { content: '\275e'; } /* 275e */
49
+ .<%= Entypo.css_prefix %>-home:before { content: '\2302'; } /* 2302 */
50
+ .<%= Entypo.css_prefix %>-popup:before { content: '\e74c'; } /* e74c */
51
+ .<%= Entypo.css_prefix %>-search:before { content: '\1f50d'; } /* 1f50d */
52
+ .<%= Entypo.css_prefix %>-flashlight:before { content: '\1f526'; } /* 1f526 */
53
+ .<%= Entypo.css_prefix %>-print:before { content: '\e716'; } /* e716 */
54
+ .<%= Entypo.css_prefix %>-bell:before { content: '\1f514'; } /* 1f514 */
55
+ .<%= Entypo.css_prefix %>-link:before { content: '\1f517'; } /* 1f517 */
56
+ .<%= Entypo.css_prefix %>-flag:before { content: '\2691'; } /* 2691 */
57
+ .<%= Entypo.css_prefix %>-cog:before { content: '\2699'; } /* 2699 */
58
+ .<%= Entypo.css_prefix %>-tools:before { content: '\2692'; } /* 2692 */
59
+ .<%= Entypo.css_prefix %>-trophy:before { content: '\1f3c6'; } /* 1f3c6 */
60
+ .<%= Entypo.css_prefix %>-tag:before { content: '\e70c'; } /* e70c */
61
+ .<%= Entypo.css_prefix %>-camera:before { content: '\1f4f7'; } /* 1f4f7 */
62
+ .<%= Entypo.css_prefix %>-megaphone:before { content: '\1f4e3'; } /* 1f4e3 */
63
+ .<%= Entypo.css_prefix %>-moon:before { content: '\263d'; } /* 263d */
64
+ .<%= Entypo.css_prefix %>-palette:before { content: '\1f3a8'; } /* 1f3a8 */
65
+ .<%= Entypo.css_prefix %>-leaf:before { content: '\1f342 '; } /* 1f342 */
66
+ .<%= Entypo.css_prefix %>-note:before { content: '\266a'; } /* 266a */
67
+ .<%= Entypo.css_prefix %>-beamed-note:before { content: '\266b'; } /* 266b */
68
+ .<%= Entypo.css_prefix %>-graduation-cap:before { content: '\1f393 '; } /* 1f393 */
69
+ .<%= Entypo.css_prefix %>-book:before { content: '\1f4d5 '; } /* 1f4d5 */
70
+ .<%= Entypo.css_prefix %>-newspaper:before { content: '\1f4f0'; } /* 1f4f0 */
71
+ .<%= Entypo.css_prefix %>-bag:before { content: '\1f45c'; } /* 1f45c */
72
+ .<%= Entypo.css_prefix %>-lifebuoy:before { content: '\e788'; } /* e788 */
73
+ .<%= Entypo.css_prefix %>-eye:before { content: '\e70a'; } /* e70a */
74
+ .<%= Entypo.css_prefix %>-clock:before { content: '\1f554'; } /* 1f554 */
75
+ .<%= Entypo.css_prefix %>-mic:before { content: '\1f3a4'; } /* 1f3a4 */
76
+ .<%= Entypo.css_prefix %>-calendar:before { content: '\1f4c5'; } /* 1f4c5 */
77
+ .<%= Entypo.css_prefix %>-flash:before { content: '\26a1'; } /* 26a1 */
78
+ .<%= Entypo.css_prefix %>-thunder-cloud:before { content: '\26c8'; } /* 26c8 */
79
+ .<%= Entypo.css_prefix %>-droplet:before { content: '\1f4a7'; } /* 1f4a7 */
80
+ .<%= Entypo.css_prefix %>-cd:before { content: '\1f4bf'; } /* 1f4bf */
81
+ .<%= Entypo.css_prefix %>-briefcase:before { content: '\1f4bc'; } /* 1f4bc */
82
+ .<%= Entypo.css_prefix %>-air:before { content: '\e753'; } /* e753 */
83
+ .<%= Entypo.css_prefix %>-hourglass:before { content: '\23f3'; } /* 23f3 */
84
+ .<%= Entypo.css_prefix %>-gauge:before { content: '\e7a2'; } /* e7a2 */
85
+ .<%= Entypo.css_prefix %>-language:before { content: '\e752'; } /* e752 */
86
+ .<%= Entypo.css_prefix %>-network:before { content: '\e776'; } /* e776 */
87
+ .<%= Entypo.css_prefix %>-key:before { content: '\1f511'; } /* 1f511 */
88
+ .<%= Entypo.css_prefix %>-battery:before { content: '\1f50b'; } /* 1f50b */
89
+ .<%= Entypo.css_prefix %>-bucket:before { content: '\e756'; } /* e756 */
90
+ .<%= Entypo.css_prefix %>-magnet:before { content: '\e7a1'; } /* e7a1 */
91
+ .<%= Entypo.css_prefix %>-drive:before { content: '\e755'; } /* e755 */
92
+ .<%= Entypo.css_prefix %>-cup:before { content: '\2615'; } /* 2615 */
93
+ .<%= Entypo.css_prefix %>-rocket:before { content: '\1f680'; } /* 1f680 */
94
+ .<%= Entypo.css_prefix %>-brush:before { content: '\e79a'; } /* e79a */
95
+ .<%= Entypo.css_prefix %>-suitcase:before { content: '\e78e'; } /* e78e */
96
+ .<%= Entypo.css_prefix %>-traffic-cone:before { content: '\e7a3'; } /* e7a3 */
97
+ .<%= Entypo.css_prefix %>-globe:before { content: '\1f30e'; } /* 1f30e */
98
+ .<%= Entypo.css_prefix %>-keyboard:before { content: '\2328'; } /* 2328 */
99
+ .<%= Entypo.css_prefix %>-publish:before { content: '\e74d'; } /* e74d */
100
+ .<%= Entypo.css_prefix %>-progress-3:before { content: '\e76b'; } /* e76b */
101
+ .<%= Entypo.css_prefix %>-progress-2:before { content: '\e76a'; } /* e76a */
102
+ .<%= Entypo.css_prefix %>-progress-1:before { content: '\e769'; } /* e769 */
103
+ .<%= Entypo.css_prefix %>-progress-0:before { content: '\e768'; } /* e768 */
104
+ .<%= Entypo.css_prefix %>-light-down:before { content: '\1f505'; } /* 1f505' */
105
+ .<%= Entypo.css_prefix %>-light-up:before { content: '\1f506'; } /* 1f506 */
106
+ .<%= Entypo.css_prefix %>-adjust:before { content: '\25d1'; } /* 25d1 */
107
+ .<%= Entypo.css_prefix %>-code:before { content: '\e714'; } /* e714 */
108
+ .<%= Entypo.css_prefix %>-monitor:before { content: '\1f4bb'; } /* 1f4bb */
109
+ .<%= Entypo.css_prefix %>-infinity:before { content: '\221e'; } /* 221e */
110
+ .<%= Entypo.css_prefix %>-credit-card:before { content: '\1f4b3'; } /* 1f4b3 */
111
+ .<%= Entypo.css_prefix %>-database:before { content: '\e754'; } /* e754 */
112
+ .<%= Entypo.css_prefix %>-clipboard:before { content: '\1f4cb'; } /* 1f4cb */
113
+ .<%= Entypo.css_prefix %>-box:before { content: '\1f4e6'; } /* 1f4e6 */
114
+ .<%= Entypo.css_prefix %>-ticket:before { content: '\1f3ab'; } /* 1f3ab */
115
+ .<%= Entypo.css_prefix %>-rss:before { content: '\e73a'; } /* e73a */
116
+ .<%= Entypo.css_prefix %>-signal:before { content: '\1f4f6'; } /* 1f4f6 */
117
+ .<%= Entypo.css_prefix %>-thermometer:before { content: '\e757'; } /* e757 */
118
+ .<%= Entypo.css_prefix %>-water:before { content: '\1f4a6'; } /* 1f4a6 */
119
+ .<%= Entypo.css_prefix %>-sweden:before { content: '\f601'; } /* f601 */
120
+ .<%= Entypo.css_prefix %>-lock:before { content: '\1f512'; } /* 1f512 */
121
+ .<%= Entypo.css_prefix %>-lock-open:before { content: '\1f513'; } /* 1f513 */
122
+ .<%= Entypo.css_prefix %>-logout:before { content: '\e741'; } /* e741 */
123
+ .<%= Entypo.css_prefix %>-login:before { content: '\e740'; } /* e740 */
124
+ .<%= Entypo.css_prefix %>-check:before { content: '\2713'; } /* 2713 */
125
+ .<%= Entypo.css_prefix %>-squared-plus:before { content: '\229e'; } /* 229e */
126
+ .<%= Entypo.css_prefix %>-squared-minus:before { content: '\229f'; } /* 229f */
127
+ .<%= Entypo.css_prefix %>-circled-plus:before { content: '\2795'; } /* 2795 */
128
+ .<%= Entypo.css_prefix %>-circled-minus:before { content: '\2796'; } /* 2796 */
129
+ .<%= Entypo.css_prefix %>-plus:before { content: '\2b'; } /* 2b */
130
+ .<%= Entypo.css_prefix %>-minus:before { content: '\2d'; } /* 2d */
131
+ .<%= Entypo.css_prefix %>-erase:before { content: '\232b'; } /* 232b */
132
+ .<%= Entypo.css_prefix %>-block:before { content: '\1f6ab'; } /* 1f6ab */
133
+ .<%= Entypo.css_prefix %>-info:before { content: '\2139'; } /* 2139 */
134
+ .<%= Entypo.css_prefix %>-circled-info:before { content: '\e705'; } /* e705 */
135
+ .<%= Entypo.css_prefix %>-help:before { content: '\2753'; } /* 2753 */
136
+ .<%= Entypo.css_prefix %>-circled-help:before { content: '\e704'; } /* e704 */
137
+ .<%= Entypo.css_prefix %>-ccw:before { content: '\27f2'; } /* 27f2 */
138
+ .<%= Entypo.css_prefix %>-cw:before { content: '\27f3'; } /* 27f3 */
139
+ .<%= Entypo.css_prefix %>-shuffle:before { content: '\1f500'; } /* 1f500 */
140
+ .<%= Entypo.css_prefix %>-back:before { content: '\1f519'; } /* 1f519 */
141
+ .<%= Entypo.css_prefix %>-level-up:before { content: '\21b0'; } /* 21b0 */
142
+ .<%= Entypo.css_prefix %>-level-down:before { content: '\21b3'; } /* 21b3 */
143
+ .<%= Entypo.css_prefix %>-retweet:before { content: '\e717'; } /* e717 */
144
+ .<%= Entypo.css_prefix %>-loop:before { content: '\1f501'; } /* 1f501 */
145
+ .<%= Entypo.css_prefix %>-back-in-time:before { content: '\e771'; } /* e771 */
146
+ .<%= Entypo.css_prefix %>-switch:before { content: '\21c6'; } /* 21c6 */
147
+ .<%= Entypo.css_prefix %>-layout:before { content: '\268f'; } /* 268f */
148
+ .<%= Entypo.css_prefix %>-list:before { content: '\2630'; } /* 2630 */
149
+ .<%= Entypo.css_prefix %>-doc:before { content: '\e730'; } /* e730 */
150
+ .<%= Entypo.css_prefix %>-docs:before { content: '\e736'; } /* e736 */
151
+ .<%= Entypo.css_prefix %>-text-doc-inverted:before { content: '\e731'; } /* e731 */
152
+ .<%= Entypo.css_prefix %>-landscape-doc:before { content: '\e737'; } /* e737 */
153
+ .<%= Entypo.css_prefix %>-picture:before { content: '\1f304'; } /* 1f304 */
154
+ .<%= Entypo.css_prefix %>-video:before { content: '\1f3ac'; } /* 1f3ac */
155
+ .<%= Entypo.css_prefix %>-music:before { content: '\1f3b5'; } /* 1f3b5 */
156
+ .<%= Entypo.css_prefix %>-folder:before { content: '\1f4c1 '; } /* 1f4c1 */
157
+ .<%= Entypo.css_prefix %>-archive:before { content: '\e738'; } /* e738 */
158
+ .<%= Entypo.css_prefix %>-trash:before { content: '\e729'; } /* e729 */
159
+ .<%= Entypo.css_prefix %>-upload:before { content: '\1f4e4'; } /* 1f4e4 */
160
+ .<%= Entypo.css_prefix %>-download:before { content: '\1f4e5'; } /* 1f4e5 */
161
+ .<%= Entypo.css_prefix %>-install:before { content: '\e778'; } /* e778 */
162
+ .<%= Entypo.css_prefix %>-cloud:before { content: '\2601'; } /* 2601 */
163
+ .<%= Entypo.css_prefix %>-upload-cloud:before { content: '\e711'; } /* e711 */
164
+ .<%= Entypo.css_prefix %>-bookmark:before { content: '\1f516'; } /* 1f516 */
165
+ .<%= Entypo.css_prefix %>-bookmarks:before { content: '\1f4d1'; } /* 1f4d1 */
166
+ .<%= Entypo.css_prefix %>-play:before { content: '\25b6'; } /* 25b6 */
167
+ .<%= Entypo.css_prefix %>-paus:before { content: '\2389'; } /* 2389 */
168
+ .<%= Entypo.css_prefix %>-record:before { content: '\26ab'; } /* 26ab */
169
+ .<%= Entypo.css_prefix %>-stop:before { content: '\25a0'; } /* 25a0 */
170
+ .<%= Entypo.css_prefix %>-to-end:before { content: '\23ed'; } /* 23ed */
171
+ .<%= Entypo.css_prefix %>-to-start:before { content: '\23ee'; } /* 23ee */
172
+ .<%= Entypo.css_prefix %>-resize-full:before { content: '\e744'; } /* e744 */
173
+ .<%= Entypo.css_prefix %>-resize-small:before { content: '\e746'; } /* e746 */
174
+ .<%= Entypo.css_prefix %>-volume:before { content: '\e742'; } /* e742 */
175
+ .<%= Entypo.css_prefix %>-sound:before { content: '\1f50a'; } /* 1f50a */
176
+ .<%= Entypo.css_prefix %>-mute:before { content: '\1f507'; } /* 1f507 */
177
+ .<%= Entypo.css_prefix %>-flow-cascade:before { content: '\e790'; } /* e790 */
178
+ .<%= Entypo.css_prefix %>-flow-branch:before { content: '\e791'; } /* e791 */
179
+ .<%= Entypo.css_prefix %>-flow-tree:before { content: '\e792'; } /* e792 */
180
+ .<%= Entypo.css_prefix %>-flow-line:before { content: '\e793'; } /* e793 */
181
+ .<%= Entypo.css_prefix %>-flow-parallel:before { content: '\e794'; } /* e794 */
182
+ .<%= Entypo.css_prefix %>-left-bold:before { content: '\e4ad'; } /* e4ad */
183
+ .<%= Entypo.css_prefix %>-right-bold:before { content: '\e4ae'; } /* e4ae */
184
+ .<%= Entypo.css_prefix %>-up-bold:before { content: '\e4af'; } /* e4af */
185
+ .<%= Entypo.css_prefix %>-down-bold:before { content: '\e4b0'; } /* e4b0 */
186
+ .<%= Entypo.css_prefix %>-left:before { content: '\261c'; } /* 261c */
187
+ .<%= Entypo.css_prefix %>-up:before { content: '\261d'; } /* 261d */
188
+ .<%= Entypo.css_prefix %>-right:before { content: '\261e'; } /* 261e */
189
+ .<%= Entypo.css_prefix %>-down:before { content: '\261f'; } /* 261f */
190
+ .<%= Entypo.css_prefix %>-circled-down:before { content: '\e758'; } /* e758 */
191
+ .<%= Entypo.css_prefix %>-circled-left:before { content: '\e759'; } /* e759 */
192
+ .<%= Entypo.css_prefix %>-circled-right:before { content: '\e75a'; } /* e75a */
193
+ .<%= Entypo.css_prefix %>-circled-up:before { content: '\e75b'; } /* e75b */
194
+ .<%= Entypo.css_prefix %>-left-thin:before { content: '\2190'; } /* 2190 */
195
+ .<%= Entypo.css_prefix %>-up-thin:before { content: '\2191'; } /* 2191 */
196
+ .<%= Entypo.css_prefix %>-right-thin:before { content: '\2192'; } /* 2192 */
197
+ .<%= Entypo.css_prefix %>-down-thin:before { content: '\2193'; } /* 2193 */
198
+ .<%= Entypo.css_prefix %>-arrow-combo:before { content: '\e74f'; } /* e74f */
199
+ .<%= Entypo.css_prefix %>-dot:before { content: '\e78b'; } /* e78b */
200
+ .<%= Entypo.css_prefix %>-two-dots:before { content: '\e78c'; } /* e78c */
201
+ .<%= Entypo.css_prefix %>-three-dots:before { content: '\e78d'; } /* e78d */
202
+ .<%= Entypo.css_prefix %>-cc:before { content: '\e7a5'; } /* e7a5 */
203
+ .<%= Entypo.css_prefix %>-cc-by:before { content: '\e7a6'; } /* e7a6 */
204
+ .<%= Entypo.css_prefix %>-cc-nc:before { content: '\e7a7'; } /* e7a7 */
205
+ .<%= Entypo.css_prefix %>-cc-nc-eu:before { content: '\e7a8'; } /* e7a8 */
206
+ .<%= Entypo.css_prefix %>-cc-nc-jp:before { content: '\e7a9'; } /* e7a9 */
207
+ .<%= Entypo.css_prefix %>-cc-sa:before { content: '\e7aa'; } /* e7aa */
208
+ .<%= Entypo.css_prefix %>-cc-nd:before { content: '\e7ab'; } /* e7ab */
209
+ .<%= Entypo.css_prefix %>-cc-pd:before { content: '\e7ac'; } /* e7ac */
210
+ .<%= Entypo.css_prefix %>-cc-zero:before { content: '\e7ad'; } /* e7ad */
211
+ .<%= Entypo.css_prefix %>-cc-share:before { content: '\e7ae'; } /* e7ae */
212
+ .<%= Entypo.css_prefix %>-cc-remix:before { content: '\e7af'; } /* e7af */
213
+ .<%= Entypo.css_prefix %>-db-logo:before { content: '\f603'; } /* f603 */
214
+ .<%= Entypo.css_prefix %>-db-shape:before { content: '\f600'; } /* f600 */
215
+ .<%= Entypo.css_prefix %>-save:before { content: '\1f4be'; } /* 1f4be */
216
+ .<%= Entypo.css_prefix %>-ff:before { content: '\23e9'; } /* 23e9 */
217
+ .<%= Entypo.css_prefix %>-fb:before { content: '\23ea'; } /* 23ea */
218
+ .<%= Entypo.css_prefix %>-pie-chart:before { content: '\e751'; } /* e751 */
219
+ .<%= Entypo.css_prefix %>-line-graph:before { content: '\1f4c8'; } /* 1f4c8 */
220
+ .<%= Entypo.css_prefix %>-bar-graph:before { content: '\1f4ca '; } /* 1f4ca */
221
+ .<%= Entypo.css_prefix %>-area-graph:before { content: '\1f53e'; } /* 1f53e */
222
+ .<%= Entypo.css_prefix %>-chevron-down:before { content: '\e75c'; } /* e75c */
223
+ .<%= Entypo.css_prefix %>-chevron-left:before { content: '\e75d'; } /* e75d */
224
+ .<%= Entypo.css_prefix %>-chevron-right:before { content: '\e75e'; } /* e75e */
225
+ .<%= Entypo.css_prefix %>-chevron-up:before { content: '\e75f'; } /* e75f */
226
+ .<%= Entypo.css_prefix %>-chevron-small-down:before { content: '\e760'; } /* e760 */
227
+ .<%= Entypo.css_prefix %>-chevron-small-left:before { content: '\e761'; } /* e761 */
228
+ .<%= Entypo.css_prefix %>-chevron-small-right:before { content: '\e762'; } /* e762 */
229
+ .<%= Entypo.css_prefix %>-chevron-small-up:before { content: '\e763'; } /* e763 */
230
+ .<%= Entypo.css_prefix %>-chevron-thin-down:before { content: '\e764'; } /* e764 */
231
+ .<%= Entypo.css_prefix %>-chevron-thin-left:before { content: '\e765'; } /* e765 */
232
+ .<%= Entypo.css_prefix %>-chevron-thin-right:before { content: '\e766'; } /* e766 */
233
+ .<%= Entypo.css_prefix %>-chevron-thin-up:before { content: '\e767'; } /* e767 */
234
+ .<%= Entypo.css_prefix %>-text-doc:before { content: '\1f4c4'; } /* 1f4c4 */
235
+ .<%= Entypo.css_prefix %>-open-book:before { content: '\1f4d6'; } /* 1f4d6 */
236
+ .<%= Entypo.css_prefix %>-voicemail:before { content: '\2707'; } /* 2707 */
237
+ .<%= Entypo.css_prefix %>-triangle-right:before { content: '\25b8'; } /* 25b8 */
238
+ .<%= Entypo.css_prefix %>-triangle-up:before { content: '\25b4'; } /* 25b4 */
239
+ .<%= Entypo.css_prefix %>-triangle-down:before { content: '\25be'; } /* 25be */
240
+ .<%= Entypo.css_prefix %>-triangle-left:before { content: '\25c2'; } /* 25c2 */
241
+ .<%= Entypo.css_prefix %>-airplane:before { content: '\2708'; } /* 2708 */
242
+ .<%= Entypo.css_prefix %>-light-bulb:before { content: '\1f4a1'; } /* 1f4a1 */
243
+ .<%= Entypo.css_prefix %>-add-to-list:before { content: '\e003'; } /* e003 */
244
+ .<%= Entypo.css_prefix %>-browser:before { content: '\e74e'; } /* e74e */
245
+ .<%= Entypo.css_prefix %>-cart:before { content: '\e73d'; } /* e73d */
246
+ .<%= Entypo.css_prefix %>-cross-hair:before { content: '\1f3af'; } /* 1f3af */
247
+ .<%= Entypo.css_prefix %>-squared-cross:before { content: '\274e'; } /* 274e */
248
+ .<%= Entypo.css_prefix %>-circled-cross:before { content: '\2716'; } /* 2716 */
249
+ .<%= Entypo.css_prefix %>-warning:before { content: '\26a0'; } /* 26a0 */
250
+ .<%= Entypo.css_prefix %>-cross:before { content: '\2715'; } /* 2715 */
251
+ .<%= Entypo.css_prefix %>-new:before { content: '\1f4a5'; } /* 1f4a5 */
252
+ .<%= Entypo.css_prefix %>-cycle:before { content: '\1f504'; } /* 1f504 */
253
+ .<%= Entypo.css_prefix %>-numbered-list:before { content: '\e005'; } /* e005 */
254
+ .<%= Entypo.css_prefix %>-right-1:before { content: '\27a1'; } /* 27a1 */
255
+ .<%= Entypo.css_prefix %>-left-1:before { content: '\2b05'; } /* 2b05 */
256
+ .<%= Entypo.css_prefix %>-up-1:before { content: '\2b06'; } /* 2b06 */
257
+ .<%= Entypo.css_prefix %>-down-1:before { content: '\2b07'; } /* 2b07 */
258
+
259
+ /* social extention map */
260
+ .<%= Entypo.css_prefix %>-social-github:before { content: '\f300'; } /* f300 */
261
+ .<%= Entypo.css_prefix %>-social-social-c-github:before { content: '\f301'; } /* f301 */
262
+ .<%= Entypo.css_prefix %>-social-flickr:before { content: '\f303'; } /* f303 */
263
+ .<%= Entypo.css_prefix %>-social-c-flickr:before { content: '\f304'; } /* f304 */
264
+ .<%= Entypo.css_prefix %>-social-vimeo:before { content: '\f306'; } /* f306 */
265
+ .<%= Entypo.css_prefix %>-social-c-vimeo:before { content: '\f307'; } /* f307 */
266
+ .<%= Entypo.css_prefix %>-social-twitter:before { content: '\f309'; } /* f309 */
267
+ .<%= Entypo.css_prefix %>-social-c-twitter:before { content: '\f30a'; } /* f30a */
268
+ .<%= Entypo.css_prefix %>-social-facebook:before { content: '\f30c'; } /* f30c */
269
+ .<%= Entypo.css_prefix %>-social-c-facebook:before { content: '\f30d'; } /* f30d */
270
+ .<%= Entypo.css_prefix %>-social-s-facebook:before { content: '\f30e'; } /* f30e */
271
+ .<%= Entypo.css_prefix %>-social-google+:before { content: '\f30f'; } /* f30f */
272
+ .<%= Entypo.css_prefix %>-social-c-google+:before { content: '\f310'; } /* f310 */
273
+ .<%= Entypo.css_prefix %>-social-pinterest:before { content: '\f312'; } /* f312 */
274
+ .<%= Entypo.css_prefix %>-social-c-pinterest:before { content: '\f313'; } /* f313 */
275
+ .<%= Entypo.css_prefix %>-social-tumblr:before { content: '\f315'; } /* f315 */
276
+ .<%= Entypo.css_prefix %>-social-c-tumblr:before { content: '\f316'; } /* f316 */
277
+ .<%= Entypo.css_prefix %>-social-linkedin:before { content: '\f318'; } /* f318 */
278
+ .<%= Entypo.css_prefix %>-social-c-linkedin:before { content: '\f319'; } /* f319 */
279
+ .<%= Entypo.css_prefix %>-social-dribbble:before { content: '\f31b'; } /* f31b */
280
+ .<%= Entypo.css_prefix %>-social-c-dribbble:before { content: '\f31c'; } /* f31c */
281
+ .<%= Entypo.css_prefix %>-social-stumbleupon:before { content: '\f31e'; } /* f31e */
282
+ .<%= Entypo.css_prefix %>-social-c-stumbleupon:before { content: '\f31f'; } /* f31f */
283
+ .<%= Entypo.css_prefix %>-social-lastfm:before { content: '\f321'; } /* f321 */
284
+ .<%= Entypo.css_prefix %>-social-c-lastfm:before { content: '\f322'; } /* f322 */
285
+ .<%= Entypo.css_prefix %>-social-rdio:before { content: '\f324'; } /* f324 */
286
+ .<%= Entypo.css_prefix %>-social-c-rdio:before { content: '\f325'; } /* f325 */
287
+ .<%= Entypo.css_prefix %>-social-spotify:before { content: '\f327'; } /* f327 */
288
+ .<%= Entypo.css_prefix %>-social-c-spotify:before { content: '\f328'; } /* f328 */
289
+ .<%= Entypo.css_prefix %>-social-qq:before { content: '\f32a'; } /* f32a */
290
+ .<%= Entypo.css_prefix %>-social-instagram:before { content: '\f32d'; } /* f32d */
291
+ .<%= Entypo.css_prefix %>-social-dropbox:before { content: '\f330'; } /* f330 */
292
+ .<%= Entypo.css_prefix %>-social-evernote:before { content: '\f333'; } /* f333 */
293
+ .<%= Entypo.css_prefix %>-social-flattr:before { content: '\f336'; } /* f336 */
294
+ .<%= Entypo.css_prefix %>-social-skype:before { content: '\f339'; } /* f339 */
295
+ .<%= Entypo.css_prefix %>-social-c-skype:before { content: '\f33a'; } /* f33a */
296
+ .<%= Entypo.css_prefix %>-social-renren:before { content: '\f33c'; } /* f33c */
297
+ .<%= Entypo.css_prefix %>-social-sina-weibo:before { content: '\f33f'; } /* f33f */
298
+ .<%= Entypo.css_prefix %>-social-paypal:before { content: '\f342'; } /* f342 */
299
+ .<%= Entypo.css_prefix %>-social-picasa:before { content: '\f345'; } /* f345 */
300
+ .<%= Entypo.css_prefix %>-social-soundcloud:before { content: '\f348'; } /* f348 */
301
+ .<%= Entypo.css_prefix %>-social-mixi:before { content: '\f34b'; } /* f34b */
302
+ .<%= Entypo.css_prefix %>-social-behance:before { content: '\f34e'; } /* f34e */
303
+ .<%= Entypo.css_prefix %>-social-google-circles:before { content: '\f351'; } /* f351 */
304
+ .<%= Entypo.css_prefix %>-social-vk:before { content: '\f354'; } /* f354 */
305
+ .<%= Entypo.css_prefix %>-social-smashing:before { content: '\f357'; } /* f357 */
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <title>entypo-rails: charmap <%= Entypo::VERSION %></title>
6
+ <%= stylesheet_link_tag 'entypo' %>
7
+ </head>
8
+ <body>
9
+ <ul>
10
+ <% @icons.each do |icon| %>
11
+ <li>
12
+ <i class="icon <%= icon.klass %>"></i>
13
+ <strong class="css"><%= ".#{icon.klass}" %></strong>
14
+ <span class="codepoint"><%= "U+#{icon.codepoint.upcase}" %></span>
15
+ </li>
16
+ <% end %>
17
+ </ul>
18
+ </body>
19
+ </html>
data/config/routes.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # Enable charmap in development mode, also makes it simpler to test it
2
2
  Rails.application.routes.draw do
3
- get '_entypo/charmap', :to => 'entypo/charmap#index' if Rails.env.development?
3
+ get 'entypo/charmap', :to => 'entypo/charmap#index' if Entypo.charmap?
4
4
  end
data/entypo-rails.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
10
10
 
11
11
  gem.licenses = ['MIT', 'CC BY 3.0', 'SIL Open Font License']
12
12
 
13
- gem.files = %w{.gitignore Gemfile Rakefile README.md LICENSE entypo-rails.gemspec} + Dir['**/*.{rb,scss,eot,svg,ttf,woff}']
13
+ gem.files = %w{.gitignore Gemfile Rakefile README.md LICENSE entypo-rails.gemspec} + Dir['**/*.{rb,erb,scss,eot,svg,ttf,woff}']
14
14
  gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
15
15
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
16
16
 
data/lib/entypo-rails.rb CHANGED
@@ -1,7 +1,25 @@
1
+ require 'rails'
2
+ require 'entypo/version'
3
+
1
4
  # The entypo-rails plugin provides access to the Entypo pictograms
2
5
  # by Daniel Bruce http://www.entypo.com in the Rails asset pipeline.
3
6
  module Entypo
4
7
 
8
+ # String used as CSS Prefix before the icon name defined by entypo, this can
9
+ # be set to avoid conflicts with other libraries like bootstrap.
10
+ #
11
+ # The default is "icon"
12
+ @@css_prefix = "icon"
13
+ mattr_accessor :css_prefix
14
+
15
+ # Boolean which controls in which cases the route charmap route is drawn (or
16
+ # not), when set to `true` the route is drawn.
17
+ #
18
+ # Defaults to `true` in Rails development env.
19
+ @@charmap = Rails.env.development?
20
+ mattr_accessor :charmap
21
+ def self.charmap?; charmap end
22
+
5
23
  # Dummy engine so that lib/assets/stylesheets and vendor/assets/fonts
6
24
  # are picked up by Rails asset pipeline.
7
25
  class Engine < ::Rails::Engine
@@ -16,7 +16,7 @@ module Entypo
16
16
  #
17
17
  # Returns Charmap instance.
18
18
  def self.instance
19
- @@instance ||= self.new File.expand_path('../../../app/assets/stylesheets/entypo.css.scss', __FILE__)
19
+ @@instance ||= self.new File.expand_path('../../../app/assets/stylesheets/entypo.css.scss.erb', __FILE__)
20
20
  end
21
21
 
22
22
  # Public: Returns Array of icons.
@@ -36,8 +36,8 @@ module Entypo
36
36
  private
37
37
 
38
38
  def load(path)
39
- File.read(path).split("\n").map do |line|
40
- if line =~ %r{\A\.(icon-[a-z0-9\-]+):before.*/\* ([0-9a-f]+)}
39
+ ERB.new(File.read(path)).result.split("\n").map do |line|
40
+ if line =~ %r{\A\.(#{Entypo.css_prefix}-[a-z0-9\-]+):before.*/\* ([0-9a-f]+)}
41
41
  Icon.new($1, $2)
42
42
  end
43
43
  end.compact.sort
@@ -1,7 +1,7 @@
1
1
  module Entypo
2
2
 
3
3
  # Gem version
4
- VERSION = "2.1.0"
4
+ VERSION = "2.2.1"
5
5
 
6
6
  # Entypo font version
7
7
  FONT_VERSION = "2.0-20121031"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: entypo-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas Westermann
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-14 00:00:00.000000000 Z
12
+ date: 2013-12-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -51,12 +51,25 @@ files:
51
51
  - lib/entypo/charmap.rb
52
52
  - lib/entypo/version.rb
53
53
  - lib/entypo-rails.rb
54
+ - pkg/app/controllers/entypo/charmap_controller.rb
55
+ - pkg/config/routes.rb
56
+ - pkg/lib/entypo/charmap.rb
57
+ - pkg/lib/entypo/version.rb
58
+ - pkg/lib/entypo-rails.rb
59
+ - app/assets/stylesheets/entypo.css.scss.erb
60
+ - app/views/entypo/charmap/index.html.erb
61
+ - pkg/app/assets/stylesheets/entypo.css.scss.erb
62
+ - pkg/app/views/entypo/charmap/index.html.erb
54
63
  - app/assets/stylesheets/entypo-fonts.css.scss
55
- - app/assets/stylesheets/entypo.css.scss
64
+ - pkg/app/assets/stylesheets/entypo-fonts.css.scss
56
65
  - app/assets/fonts/entypo.eot
66
+ - pkg/app/assets/fonts/entypo.eot
57
67
  - app/assets/fonts/entypo.svg
68
+ - pkg/app/assets/fonts/entypo.svg
58
69
  - app/assets/fonts/entypo.ttf
70
+ - pkg/app/assets/fonts/entypo.ttf
59
71
  - app/assets/fonts/entypo.woff
72
+ - pkg/app/assets/fonts/entypo.woff
60
73
  homepage: ''
61
74
  licenses:
62
75
  - MIT
@@ -1,305 +0,0 @@
1
- @charset "UTF-8";
2
- @import "entypo-fonts";
3
-
4
- [class^="icon-"], [class*=" icon-"] {
5
- font-family: entypo;
6
- font-style: normal;
7
- font-weight: normal;
8
- display: inline-block;
9
- width: 1.1em;
10
- margin-right: .1em;
11
- text-align: center;
12
- -webkit-font-smoothing: antialiased;
13
- }
14
-
15
- /* main icon map */
16
- .icon-phone:before { content: '\1f4de'; } /* 1f4de */
17
- .icon-mobile:before { content: '\1f4f1'; } /* 1f4f1 */
18
- .icon-mouse:before { content: '\e789'; } /* e789 */
19
- .icon-address:before { content: '\e723'; } /* e723 */
20
- .icon-mail:before { content: '\2709'; } /* 2709 */
21
- .icon-paper-plane:before { content: '\e79b'; } /* e79b */
22
- .icon-pencil:before { content: '\270e'; } /* 270e */
23
- .icon-feather:before { content: '\2712'; } /* 2712 */
24
- .icon-attach:before { content: '\1f4ce'; } /* 1f4ce */
25
- .icon-inbox:before { content: '\e777'; } /* e777 */
26
- .icon-reply:before { content: '\e712'; } /* e712 */
27
- .icon-reply-all:before { content: '\e713'; } /* e713 */
28
- .icon-forward:before { content: '\27a6'; } /* 27a6 */
29
- .icon-user:before { content: '\1f464'; } /* 1f464 */
30
- .icon-users:before { content: '\1f465'; } /* 1f465 */
31
- .icon-add-user:before { content: '\e700'; } /* e700 */
32
- .icon-vcard:before { content: '\e722'; } /* e722 */
33
- .icon-export:before { content: '\e715'; } /* e715 */
34
- .icon-location:before { content: '\e724'; } /* e724 */
35
- .icon-map:before { content: '\e727'; } /* e727 */
36
- .icon-compass:before { content: '\e728'; } /* e728 */
37
- .icon-direction:before { content: '\27a2'; } /* 27a2 */
38
- .icon-share:before { content: '\e73c'; } /* e73c */
39
- .icon-shareable:before { content: '\e73e'; } /* e73e */
40
- .icon-heart:before { content: '\2665'; } /* 2665 */
41
- .icon-heart-empty:before { content: '\2661'; } /* 2661 */
42
- .icon-star:before { content: '\2605'; } /* 2605 */
43
- .icon-star-empty:before { content: '\2606'; } /* 2606 */
44
- .icon-thumbs-up:before { content: '\1f44d'; } /* 1f44d */
45
- .icon-thumbs-down:before { content: '\1f44e'; } /* 1f44e */
46
- .icon-chat:before { content: '\e720'; } /* e720 */
47
- .icon-comment:before { content: '\e718'; } /* e718 */
48
- .icon-quote:before { content: '\275e'; } /* 275e */
49
- .icon-home:before { content: '\2302'; } /* 2302 */
50
- .icon-popup:before { content: '\e74c'; } /* e74c */
51
- .icon-search:before { content: '\1f50d'; } /* 1f50d */
52
- .icon-flashlight:before { content: '\1f526'; } /* 1f526 */
53
- .icon-print:before { content: '\e716'; } /* e716 */
54
- .icon-bell:before { content: '\1f514'; } /* 1f514 */
55
- .icon-link:before { content: '\1f517'; } /* 1f517 */
56
- .icon-flag:before { content: '\2691'; } /* 2691 */
57
- .icon-cog:before { content: '\2699'; } /* 2699 */
58
- .icon-tools:before { content: '\2692'; } /* 2692 */
59
- .icon-trophy:before { content: '\1f3c6'; } /* 1f3c6 */
60
- .icon-tag:before { content: '\e70c'; } /* e70c */
61
- .icon-camera:before { content: '\1f4f7'; } /* 1f4f7 */
62
- .icon-megaphone:before { content: '\1f4e3'; } /* 1f4e3 */
63
- .icon-moon:before { content: '\263d'; } /* 263d */
64
- .icon-palette:before { content: '\1f3a8'; } /* 1f3a8 */
65
- .icon-leaf:before { content: '\1f342 '; } /* 1f342 */
66
- .icon-note:before { content: '\266a'; } /* 266a */
67
- .icon-beamed-note:before { content: '\266b'; } /* 266b */
68
- .icon-graduation-cap:before { content: '\1f393 '; } /* 1f393 */
69
- .icon-book:before { content: '\1f4d5 '; } /* 1f4d5 */
70
- .icon-newspaper:before { content: '\1f4f0'; } /* 1f4f0 */
71
- .icon-bag:before { content: '\1f45c'; } /* 1f45c */
72
- .icon-lifebuoy:before { content: '\e788'; } /* e788 */
73
- .icon-eye:before { content: '\e70a'; } /* e70a */
74
- .icon-clock:before { content: '\1f554'; } /* 1f554 */
75
- .icon-mic:before { content: '\1f3a4'; } /* 1f3a4 */
76
- .icon-calendar:before { content: '\1f4c5'; } /* 1f4c5 */
77
- .icon-flash:before { content: '\26a1'; } /* 26a1 */
78
- .icon-thunder-cloud:before { content: '\26c8'; } /* 26c8 */
79
- .icon-droplet:before { content: '\1f4a7'; } /* 1f4a7 */
80
- .icon-cd:before { content: '\1f4bf'; } /* 1f4bf */
81
- .icon-briefcase:before { content: '\1f4bc'; } /* 1f4bc */
82
- .icon-air:before { content: '\e753'; } /* e753 */
83
- .icon-hourglass:before { content: '\23f3'; } /* 23f3 */
84
- .icon-gauge:before { content: '\e7a2'; } /* e7a2 */
85
- .icon-language:before { content: '\e752'; } /* e752 */
86
- .icon-network:before { content: '\e776'; } /* e776 */
87
- .icon-key:before { content: '\1f511'; } /* 1f511 */
88
- .icon-battery:before { content: '\1f50b'; } /* 1f50b */
89
- .icon-bucket:before { content: '\e756'; } /* e756 */
90
- .icon-magnet:before { content: '\e7a1'; } /* e7a1 */
91
- .icon-drive:before { content: '\e755'; } /* e755 */
92
- .icon-cup:before { content: '\2615'; } /* 2615 */
93
- .icon-rocket:before { content: '\1f680'; } /* 1f680 */
94
- .icon-brush:before { content: '\e79a'; } /* e79a */
95
- .icon-suitcase:before { content: '\e78e'; } /* e78e */
96
- .icon-traffic-cone:before { content: '\e7a3'; } /* e7a3 */
97
- .icon-globe:before { content: '\1f30e'; } /* 1f30e */
98
- .icon-keyboard:before { content: '\2328'; } /* 2328 */
99
- .icon-publish:before { content: '\e74d'; } /* e74d */
100
- .icon-progress-3:before { content: '\e76b'; } /* e76b */
101
- .icon-progress-2:before { content: '\e76a'; } /* e76a */
102
- .icon-progress-1:before { content: '\e769'; } /* e769 */
103
- .icon-progress-0:before { content: '\e768'; } /* e768 */
104
- .icon-light-down:before { content: '\1f505'; } /* 1f505' */
105
- .icon-light-up:before { content: '\1f506'; } /* 1f506 */
106
- .icon-adjust:before { content: '\25d1'; } /* 25d1 */
107
- .icon-code:before { content: '\e714'; } /* e714 */
108
- .icon-monitor:before { content: '\1f4bb'; } /* 1f4bb */
109
- .icon-infinity:before { content: '\221e'; } /* 221e */
110
- .icon-credit-card:before { content: '\1f4b3'; } /* 1f4b3 */
111
- .icon-database:before { content: '\e754'; } /* e754 */
112
- .icon-clipboard:before { content: '\1f4cb'; } /* 1f4cb */
113
- .icon-box:before { content: '\1f4e6'; } /* 1f4e6 */
114
- .icon-ticket:before { content: '\1f3ab'; } /* 1f3ab */
115
- .icon-rss:before { content: '\e73a'; } /* e73a */
116
- .icon-signal:before { content: '\1f4f6'; } /* 1f4f6 */
117
- .icon-thermometer:before { content: '\e757'; } /* e757 */
118
- .icon-water:before { content: '\1f4a6'; } /* 1f4a6 */
119
- .icon-sweden:before { content: '\f601'; } /* f601 */
120
- .icon-lock:before { content: '\1f512'; } /* 1f512 */
121
- .icon-lock-open:before { content: '\1f513'; } /* 1f513 */
122
- .icon-logout:before { content: '\e741'; } /* e741 */
123
- .icon-login:before { content: '\e740'; } /* e740 */
124
- .icon-check:before { content: '\2713'; } /* 2713 */
125
- .icon-squared-plus:before { content: '\229e'; } /* 229e */
126
- .icon-squared-minus:before { content: '\229f'; } /* 229f */
127
- .icon-circled-plus:before { content: '\2795'; } /* 2795 */
128
- .icon-circled-minus:before { content: '\2796'; } /* 2796 */
129
- .icon-plus:before { content: '\2b'; } /* 2b */
130
- .icon-minus:before { content: '\2d'; } /* 2d */
131
- .icon-erase:before { content: '\232b'; } /* 232b */
132
- .icon-block:before { content: '\1f6ab'; } /* 1f6ab */
133
- .icon-info:before { content: '\2139'; } /* 2139 */
134
- .icon-circled-info:before { content: '\e705'; } /* e705 */
135
- .icon-help:before { content: '\2753'; } /* 2753 */
136
- .icon-circled-help:before { content: '\e704'; } /* e704 */
137
- .icon-ccw:before { content: '\27f2'; } /* 27f2 */
138
- .icon-cw:before { content: '\27f3'; } /* 27f3 */
139
- .icon-shuffle:before { content: '\1f500'; } /* 1f500 */
140
- .icon-back:before { content: '\1f519'; } /* 1f519 */
141
- .icon-level-up:before { content: '\21b0'; } /* 21b0 */
142
- .icon-level-down:before { content: '\21b3'; } /* 21b3 */
143
- .icon-retweet:before { content: '\e717'; } /* e717 */
144
- .icon-loop:before { content: '\1f501'; } /* 1f501 */
145
- .icon-back-in-time:before { content: '\e771'; } /* e771 */
146
- .icon-switch:before { content: '\21c6'; } /* 21c6 */
147
- .icon-layout:before { content: '\268f'; } /* 268f */
148
- .icon-list:before { content: '\2630'; } /* 2630 */
149
- .icon-doc:before { content: '\e730'; } /* e730 */
150
- .icon-docs:before { content: '\e736'; } /* e736 */
151
- .icon-text-doc-inverted:before { content: '\e731'; } /* e731 */
152
- .icon-landscape-doc:before { content: '\e737'; } /* e737 */
153
- .icon-picture:before { content: '\1f304'; } /* 1f304 */
154
- .icon-video:before { content: '\1f3ac'; } /* 1f3ac */
155
- .icon-music:before { content: '\1f3b5'; } /* 1f3b5 */
156
- .icon-folder:before { content: '\1f4c1 '; } /* 1f4c1 */
157
- .icon-archive:before { content: '\e738'; } /* e738 */
158
- .icon-trash:before { content: '\e729'; } /* e729 */
159
- .icon-upload:before { content: '\1f4e4'; } /* 1f4e4 */
160
- .icon-download:before { content: '\1f4e5'; } /* 1f4e5 */
161
- .icon-install:before { content: '\e778'; } /* e778 */
162
- .icon-cloud:before { content: '\2601'; } /* 2601 */
163
- .icon-upload-cloud:before { content: '\e711'; } /* e711 */
164
- .icon-bookmark:before { content: '\1f516'; } /* 1f516 */
165
- .icon-bookmarks:before { content: '\1f4d1'; } /* 1f4d1 */
166
- .icon-play:before { content: '\25b6'; } /* 25b6 */
167
- .icon-paus:before { content: '\2389'; } /* 2389 */
168
- .icon-record:before { content: '\26ab'; } /* 26ab */
169
- .icon-stop:before { content: '\25a0'; } /* 25a0 */
170
- .icon-to-end:before { content: '\23ed'; } /* 23ed */
171
- .icon-to-start:before { content: '\23ee'; } /* 23ee */
172
- .icon-resize-full:before { content: '\e744'; } /* e744 */
173
- .icon-resize-small:before { content: '\e746'; } /* e746 */
174
- .icon-volume:before { content: '\e742'; } /* e742 */
175
- .icon-sound:before { content: '\1f50a'; } /* 1f50a */
176
- .icon-mute:before { content: '\1f507'; } /* 1f507 */
177
- .icon-flow-cascade:before { content: '\e790'; } /* e790 */
178
- .icon-flow-branch:before { content: '\e791'; } /* e791 */
179
- .icon-flow-tree:before { content: '\e792'; } /* e792 */
180
- .icon-flow-line:before { content: '\e793'; } /* e793 */
181
- .icon-flow-parallel:before { content: '\e794'; } /* e794 */
182
- .icon-left-bold:before { content: '\e4ad'; } /* e4ad */
183
- .icon-right-bold:before { content: '\e4ae'; } /* e4ae */
184
- .icon-up-bold:before { content: '\e4af'; } /* e4af */
185
- .icon-down-bold:before { content: '\e4b0'; } /* e4b0 */
186
- .icon-left:before { content: '\261c'; } /* 261c */
187
- .icon-up:before { content: '\261d'; } /* 261d */
188
- .icon-right:before { content: '\261e'; } /* 261e */
189
- .icon-down:before { content: '\261f'; } /* 261f */
190
- .icon-circled-down:before { content: '\e758'; } /* e758 */
191
- .icon-circled-left:before { content: '\e759'; } /* e759 */
192
- .icon-circled-right:before { content: '\e75a'; } /* e75a */
193
- .icon-circled-up:before { content: '\e75b'; } /* e75b */
194
- .icon-left-thin:before { content: '\2190'; } /* 2190 */
195
- .icon-up-thin:before { content: '\2191'; } /* 2191 */
196
- .icon-right-thin:before { content: '\2192'; } /* 2192 */
197
- .icon-down-thin:before { content: '\2193'; } /* 2193 */
198
- .icon-arrow-combo:before { content: '\e74f'; } /* e74f */
199
- .icon-dot:before { content: '\e78b'; } /* e78b */
200
- .icon-two-dots:before { content: '\e78c'; } /* e78c */
201
- .icon-three-dots:before { content: '\e78d'; } /* e78d */
202
- .icon-cc:before { content: '\e7a5'; } /* e7a5 */
203
- .icon-cc-by:before { content: '\e7a6'; } /* e7a6 */
204
- .icon-cc-nc:before { content: '\e7a7'; } /* e7a7 */
205
- .icon-cc-nc-eu:before { content: '\e7a8'; } /* e7a8 */
206
- .icon-cc-nc-jp:before { content: '\e7a9'; } /* e7a9 */
207
- .icon-cc-sa:before { content: '\e7aa'; } /* e7aa */
208
- .icon-cc-nd:before { content: '\e7ab'; } /* e7ab */
209
- .icon-cc-pd:before { content: '\e7ac'; } /* e7ac */
210
- .icon-cc-zero:before { content: '\e7ad'; } /* e7ad */
211
- .icon-cc-share:before { content: '\e7ae'; } /* e7ae */
212
- .icon-cc-remix:before { content: '\e7af'; } /* e7af */
213
- .icon-db-logo:before { content: '\f603'; } /* f603 */
214
- .icon-db-shape:before { content: '\f600'; } /* f600 */
215
- .icon-save:before { content: '\1f4be'; } /* 1f4be */
216
- .icon-ff:before { content: '\23e9'; } /* 23e9 */
217
- .icon-fb:before { content: '\23ea'; } /* 23ea */
218
- .icon-pie-chart:before { content: '\e751'; } /* e751 */
219
- .icon-line-graph:before { content: '\1f4c8'; } /* 1f4c8 */
220
- .icon-bar-graph:before { content: '\1f4ca '; } /* 1f4ca */
221
- .icon-area-graph:before { content: '\1f53e'; } /* 1f53e */
222
- .icon-chevron-down:before { content: '\e75c'; } /* e75c */
223
- .icon-chevron-left:before { content: '\e75d'; } /* e75d */
224
- .icon-chevron-right:before { content: '\e75e'; } /* e75e */
225
- .icon-chevron-up:before { content: '\e75f'; } /* e75f */
226
- .icon-chevron-small-down:before { content: '\e760'; } /* e760 */
227
- .icon-chevron-small-left:before { content: '\e761'; } /* e761 */
228
- .icon-chevron-small-right:before { content: '\e762'; } /* e762 */
229
- .icon-chevron-small-up:before { content: '\e763'; } /* e763 */
230
- .icon-chevron-thin-down:before { content: '\e764'; } /* e764 */
231
- .icon-chevron-thin-left:before { content: '\e765'; } /* e765 */
232
- .icon-chevron-thin-right:before { content: '\e766'; } /* e766 */
233
- .icon-chevron-thin-up:before { content: '\e767'; } /* e767 */
234
- .icon-text-doc:before { content: '\1f4c4'; } /* 1f4c4 */
235
- .icon-open-book:before { content: '\1f4d6'; } /* 1f4d6 */
236
- .icon-voicemail:before { content: '\2707'; } /* 2707 */
237
- .icon-triangle-right:before { content: '\25b8'; } /* 25b8 */
238
- .icon-triangle-up:before { content: '\25b4'; } /* 25b4 */
239
- .icon-triangle-down:before { content: '\25be'; } /* 25be */
240
- .icon-triangle-left:before { content: '\25c2'; } /* 25c2 */
241
- .icon-airplane:before { content: '\2708'; } /* 2708 */
242
- .icon-light-bulb:before { content: '\1f4a1'; } /* 1f4a1 */
243
- .icon-add-to-list:before { content: '\e003'; } /* e003 */
244
- .icon-browser:before { content: '\e74e'; } /* e74e */
245
- .icon-cart:before { content: '\e73d'; } /* e73d */
246
- .icon-cross-hair:before { content: '\1f3af'; } /* 1f3af */
247
- .icon-squared-cross:before { content: '\274e'; } /* 274e */
248
- .icon-circled-cross:before { content: '\2716'; } /* 2716 */
249
- .icon-warning:before { content: '\26a0'; } /* 26a0 */
250
- .icon-cross:before { content: '\2715'; } /* 2715 */
251
- .icon-new:before { content: '\1f4a5'; } /* 1f4a5 */
252
- .icon-cycle:before { content: '\1f504'; } /* 1f504 */
253
- .icon-numbered-list:before { content: '\e005'; } /* e005 */
254
- .icon-right-1:before { content: '\27a1'; } /* 27a1 */
255
- .icon-left-1:before { content: '\2b05'; } /* 2b05 */
256
- .icon-up-1:before { content: '\2b06'; } /* 2b06 */
257
- .icon-down-1:before { content: '\2b07'; } /* 2b07 */
258
-
259
- /* social extention map */
260
- .icon-social-github:before { content: '\f300'; } /* f300 */
261
- .icon-social-social-c-github:before { content: '\f301'; } /* f301 */
262
- .icon-social-flickr:before { content: '\f303'; } /* f303 */
263
- .icon-social-c-flickr:before { content: '\f304'; } /* f304 */
264
- .icon-social-vimeo:before { content: '\f306'; } /* f306 */
265
- .icon-social-c-vimeo:before { content: '\f307'; } /* f307 */
266
- .icon-social-twitter:before { content: '\f309'; } /* f309 */
267
- .icon-social-c-twitter:before { content: '\f30a'; } /* f30a */
268
- .icon-social-facebook:before { content: '\f30c'; } /* f30c */
269
- .icon-social-c-facebook:before { content: '\f30d'; } /* f30d */
270
- .icon-social-s-facebook:before { content: '\f30e'; } /* f30e */
271
- .icon-social-google+:before { content: '\f30f'; } /* f30f */
272
- .icon-social-c-google+:before { content: '\f310'; } /* f310 */
273
- .icon-social-pinterest:before { content: '\f312'; } /* f312 */
274
- .icon-social-c-pinterest:before { content: '\f313'; } /* f313 */
275
- .icon-social-tumblr:before { content: '\f315'; } /* f315 */
276
- .icon-social-c-tumblr:before { content: '\f316'; } /* f316 */
277
- .icon-social-linkedin:before { content: '\f318'; } /* f318 */
278
- .icon-social-c-linkedin:before { content: '\f319'; } /* f319 */
279
- .icon-social-dribbble:before { content: '\f31b'; } /* f31b */
280
- .icon-social-c-dribbble:before { content: '\f31c'; } /* f31c */
281
- .icon-social-stumbleupon:before { content: '\f31e'; } /* f31e */
282
- .icon-social-c-stumbleupon:before { content: '\f31f'; } /* f31f */
283
- .icon-social-lastfm:before { content: '\f321'; } /* f321 */
284
- .icon-social-c-lastfm:before { content: '\f322'; } /* f322 */
285
- .icon-social-rdio:before { content: '\f324'; } /* f324 */
286
- .icon-social-c-rdio:before { content: '\f325'; } /* f325 */
287
- .icon-social-spotify:before { content: '\f327'; } /* f327 */
288
- .icon-social-c-spotify:before { content: '\f328'; } /* f328 */
289
- .icon-social-qq:before { content: '\f32a'; } /* f32a */
290
- .icon-social-instagram:before { content: '\f32d'; } /* f32d */
291
- .icon-social-dropbox:before { content: '\f330'; } /* f330 */
292
- .icon-social-evernote:before { content: '\f333'; } /* f333 */
293
- .icon-social-flattr:before { content: '\f336'; } /* f336 */
294
- .icon-social-skype:before { content: '\f339'; } /* f339 */
295
- .icon-social-c-skype:before { content: '\f33a'; } /* f33a */
296
- .icon-social-renren:before { content: '\f33c'; } /* f33c */
297
- .icon-social-sina-weibo:before { content: '\f33f'; } /* f33f */
298
- .icon-social-paypal:before { content: '\f342'; } /* f342 */
299
- .icon-social-picasa:before { content: '\f345'; } /* f345 */
300
- .icon-social-soundcloud:before { content: '\f348'; } /* f348 */
301
- .icon-social-mixi:before { content: '\f34b'; } /* f34b */
302
- .icon-social-behance:before { content: '\f34e'; } /* f34e */
303
- .icon-social-google-circles:before { content: '\f351'; } /* f351 */
304
- .icon-social-vk:before { content: '\f354'; } /* f354 */
305
- .icon-social-smashing:before { content: '\f357'; } /* f357 */