fomantic-ui-sass 2.6.4

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.
Files changed (165) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +27 -0
  3. data/.rspec +1 -0
  4. data/.travis.yml +5 -0
  5. data/CHANGELOG.md +370 -0
  6. data/Gemfile +4 -0
  7. data/LICENSE.txt +22 -0
  8. data/README.md +177 -0
  9. data/Rakefile +8 -0
  10. data/app/assets/fonts/semantic-ui/brand-icons.eot +0 -0
  11. data/app/assets/fonts/semantic-ui/brand-icons.svg +1008 -0
  12. data/app/assets/fonts/semantic-ui/brand-icons.ttf +0 -0
  13. data/app/assets/fonts/semantic-ui/brand-icons.woff +0 -0
  14. data/app/assets/fonts/semantic-ui/brand-icons.woff2 +0 -0
  15. data/app/assets/fonts/semantic-ui/icons.eot +0 -0
  16. data/app/assets/fonts/semantic-ui/icons.otf +0 -0
  17. data/app/assets/fonts/semantic-ui/icons.svg +1518 -0
  18. data/app/assets/fonts/semantic-ui/icons.ttf +0 -0
  19. data/app/assets/fonts/semantic-ui/icons.woff +0 -0
  20. data/app/assets/fonts/semantic-ui/icons.woff2 +0 -0
  21. data/app/assets/fonts/semantic-ui/outline-icons.eot +0 -0
  22. data/app/assets/fonts/semantic-ui/outline-icons.svg +366 -0
  23. data/app/assets/fonts/semantic-ui/outline-icons.ttf +0 -0
  24. data/app/assets/fonts/semantic-ui/outline-icons.woff +0 -0
  25. data/app/assets/fonts/semantic-ui/outline-icons.woff2 +0 -0
  26. data/app/assets/images/semantic-ui/flags.png +0 -0
  27. data/app/assets/javascripts/semantic-ui.js +27 -0
  28. data/app/assets/javascripts/semantic-ui/accordion.js +613 -0
  29. data/app/assets/javascripts/semantic-ui/api.js +1167 -0
  30. data/app/assets/javascripts/semantic-ui/calendar.js +1476 -0
  31. data/app/assets/javascripts/semantic-ui/checkbox.js +828 -0
  32. data/app/assets/javascripts/semantic-ui/colorize.js +280 -0
  33. data/app/assets/javascripts/semantic-ui/dimmer.js +735 -0
  34. data/app/assets/javascripts/semantic-ui/dropdown.js +4030 -0
  35. data/app/assets/javascripts/semantic-ui/embed.js +706 -0
  36. data/app/assets/javascripts/semantic-ui/form.js +1707 -0
  37. data/app/assets/javascripts/semantic-ui/modal.js +1090 -0
  38. data/app/assets/javascripts/semantic-ui/nag.js +507 -0
  39. data/app/assets/javascripts/semantic-ui/popup.js +1532 -0
  40. data/app/assets/javascripts/semantic-ui/progress.js +923 -0
  41. data/app/assets/javascripts/semantic-ui/range.js +278 -0
  42. data/app/assets/javascripts/semantic-ui/rating.js +511 -0
  43. data/app/assets/javascripts/semantic-ui/search.js +1515 -0
  44. data/app/assets/javascripts/semantic-ui/shape.js +921 -0
  45. data/app/assets/javascripts/semantic-ui/sidebar.js +1033 -0
  46. data/app/assets/javascripts/semantic-ui/site.js +490 -0
  47. data/app/assets/javascripts/semantic-ui/state.js +708 -0
  48. data/app/assets/javascripts/semantic-ui/sticky.js +959 -0
  49. data/app/assets/javascripts/semantic-ui/tab.js +952 -0
  50. data/app/assets/javascripts/semantic-ui/toast.js +592 -0
  51. data/app/assets/javascripts/semantic-ui/transition.js +1106 -0
  52. data/app/assets/javascripts/semantic-ui/video.js +532 -0
  53. data/app/assets/javascripts/semantic-ui/visibility.js +1311 -0
  54. data/app/assets/javascripts/semantic-ui/visit.js +525 -0
  55. data/app/assets/stylesheets/semantic-ui.scss +5 -0
  56. data/app/assets/stylesheets/semantic-ui/collections/_all.scss +6 -0
  57. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +124 -0
  58. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +1158 -0
  59. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +2093 -0
  60. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +2193 -0
  61. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +606 -0
  62. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +1117 -0
  63. data/app/assets/stylesheets/semantic-ui/elements/_all.scss +16 -0
  64. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +4530 -0
  65. data/app/assets/stylesheets/semantic-ui/elements/_container.scss +145 -0
  66. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +259 -0
  67. data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +1036 -0
  68. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +762 -0
  69. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +6330 -0
  70. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +310 -0
  71. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +519 -0
  72. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +1395 -0
  73. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +959 -0
  74. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +458 -0
  75. data/app/assets/stylesheets/semantic-ui/elements/_placeholder.scss +242 -0
  76. data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +152 -0
  77. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +295 -0
  78. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +884 -0
  79. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +675 -0
  80. data/app/assets/stylesheets/semantic-ui/globals/_all.scss +3 -0
  81. data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +485 -0
  82. data/app/assets/stylesheets/semantic-ui/globals/_site.scss +206 -0
  83. data/app/assets/stylesheets/semantic-ui/globals/_variables.scss +4 -0
  84. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +247 -0
  85. data/app/assets/stylesheets/semantic-ui/modules/_all.scss +20 -0
  86. data/app/assets/stylesheets/semantic-ui/modules/_calendar.scss +165 -0
  87. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +718 -0
  88. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +464 -0
  89. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +1745 -0
  90. data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +165 -0
  91. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +646 -0
  92. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +148 -0
  93. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +789 -0
  94. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +523 -0
  95. data/app/assets/stylesheets/semantic-ui/modules/_range.scss +192 -0
  96. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +263 -0
  97. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +445 -0
  98. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +154 -0
  99. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +626 -0
  100. data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +78 -0
  101. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +92 -0
  102. data/app/assets/stylesheets/semantic-ui/modules/_toast.scss +291 -0
  103. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +2059 -0
  104. data/app/assets/stylesheets/semantic-ui/modules/_video.scss +125 -0
  105. data/app/assets/stylesheets/semantic-ui/views/_ad.scss +275 -0
  106. data/app/assets/stylesheets/semantic-ui/views/_all.scss +6 -0
  107. data/app/assets/stylesheets/semantic-ui/views/_card.scss +1124 -0
  108. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +296 -0
  109. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +314 -0
  110. data/app/assets/stylesheets/semantic-ui/views/_item.scss +555 -0
  111. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +583 -0
  112. data/app/helpers/semantic_breadcrumbs_helper.rb +10 -0
  113. data/app/helpers/semantic_flash_helper.rb +22 -0
  114. data/app/helpers/semantic_icon_helper.rb +8 -0
  115. data/app/views/semantic/_breadcrumbs.html.erb +12 -0
  116. data/fomantic-ui-sass.gemspec +31 -0
  117. data/lib/fomantic-ui-sass.rb +62 -0
  118. data/lib/fomantic/ui/sass/breadcrumbs.rb +41 -0
  119. data/lib/fomantic/ui/sass/engine.rb +23 -0
  120. data/lib/fomantic/ui/sass/version.rb +8 -0
  121. data/spec/dummy/README.rdoc +28 -0
  122. data/spec/dummy/Rakefile +6 -0
  123. data/spec/dummy/app/assets/images/.keep +0 -0
  124. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  125. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  126. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  127. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  128. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  129. data/spec/dummy/app/mailers/.keep +0 -0
  130. data/spec/dummy/app/models/.keep +0 -0
  131. data/spec/dummy/app/models/concerns/.keep +0 -0
  132. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  133. data/spec/dummy/bin/bundle +3 -0
  134. data/spec/dummy/bin/rails +4 -0
  135. data/spec/dummy/bin/rake +4 -0
  136. data/spec/dummy/config.ru +4 -0
  137. data/spec/dummy/config/application.rb +28 -0
  138. data/spec/dummy/config/boot.rb +5 -0
  139. data/spec/dummy/config/environment.rb +5 -0
  140. data/spec/dummy/config/environments/development.rb +29 -0
  141. data/spec/dummy/config/environments/production.rb +80 -0
  142. data/spec/dummy/config/environments/test.rb +36 -0
  143. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  144. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  145. data/spec/dummy/config/initializers/inflections.rb +16 -0
  146. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  147. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  148. data/spec/dummy/config/initializers/session_store.rb +3 -0
  149. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  150. data/spec/dummy/config/locales/en.yml +23 -0
  151. data/spec/dummy/config/routes.rb +2 -0
  152. data/spec/dummy/lib/assets/.keep +0 -0
  153. data/spec/dummy/log/.keep +0 -0
  154. data/spec/dummy/public/404.html +58 -0
  155. data/spec/dummy/public/422.html +58 -0
  156. data/spec/dummy/public/500.html +57 -0
  157. data/spec/dummy/public/favicon.ico +0 -0
  158. data/spec/helpers/semantic_breadcrumbs_helper_spec.rb +38 -0
  159. data/spec/helpers/semantic_flash_helper_spec.rb +36 -0
  160. data/spec/helpers/semantic_icon_helper_spec.rb +48 -0
  161. data/spec/spec_helper.rb +17 -0
  162. data/tasks/converter.rb +216 -0
  163. data/templates/project/manifest.rb +29 -0
  164. data/templates/project/styles.scss +1 -0
  165. metadata +390 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f39658965cafd7f798f930b78dee24e89ee82b3e4aee3e99457b80b43251c87b
4
+ data.tar.gz: d387fb09ccaccd096874c67e4759266051d7d10464956d9b3615d52551643969
5
+ SHA512:
6
+ metadata.gz: 40d6f07e7935d636eb73ef0fb721aa913efb39e6d9cb658dd02f762e5acccbfe1623d4c43c6c20b82ea1df1a4768ca88b38a0e89a67d92003660c72adbed7312
7
+ data.tar.gz: 95cb1b9c33a86e26e4d3a647fe9ed28bd22711c44ad2283ec5e84317444d26efccda59d5ed6a55eac07e53eae86219758012299be2820ee69c4cdc4ff7f0e26a
data/.gitignore ADDED
@@ -0,0 +1,27 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ .DS_Store
19
+ .env
20
+ .project
21
+ .idea
22
+
23
+ spec/dummy/db/*.sqlite3
24
+ spec/dummy/log/*.log
25
+ spec/dummy/tmp/
26
+ spec/dummy/.sass-cache
27
+
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.5
4
+ - 2.3.1
5
+ script: bundle exec rspec spec
data/CHANGELOG.md ADDED
@@ -0,0 +1,370 @@
1
+ ## 2.4.0.1
2
+
3
+ * Include new placeholder element #133
4
+
5
+ ## 2.4.0.0
6
+
7
+ * Update Semantic UI to 2.4.0
8
+
9
+ ## 2.3.3.0
10
+
11
+ * Update Semantic UI to 2.3.3
12
+
13
+ ## 2.3.1.2
14
+
15
+ * update icons font
16
+
17
+ ## 2.3.1.1
18
+
19
+ * add missing brand-icon files #128
20
+
21
+ ## 2.3.1.0
22
+
23
+ * Update Semantic UI to 2.3.1
24
+
25
+ ## 2.3.0.0
26
+
27
+ * Update Semantic UI to 2.3.0
28
+
29
+ ## 2.2.14
30
+
31
+ * Update Semantic UI to 2.2.14
32
+
33
+ ## 2.2.12.1
34
+
35
+ * Add sprockets support #120
36
+
37
+ ## 2.2.10.1
38
+
39
+ * Fix flag.png path
40
+
41
+ ## 2.2.10.0
42
+
43
+ * Update Semantic UI to 2.2.10
44
+
45
+ ## 2.2.9.3
46
+
47
+ * Fix semantic-ui.js require statements
48
+
49
+ ## 2.2.9.2
50
+
51
+ * Update semantic-ui.js to 2.2.9
52
+
53
+ ## 2.2.9.1
54
+
55
+ * Fix compass template error
56
+
57
+ ## 2.2.9.0
58
+
59
+ * before_action instead before_filter
60
+
61
+ * Update Semantic UI to 2.2.9
62
+
63
+ ## 2.2.7.1
64
+
65
+ * Fix invalid image-url for flags.png
66
+
67
+ ## 2.2.7.0
68
+
69
+ * Replace flags image with optimized one
70
+
71
+ * Change gem install to secure HTTPS URL
72
+
73
+ * Update Semantic UI to 2.2.7
74
+
75
+ ## 2.2.6.0
76
+
77
+ * Add import-google-fonts variable
78
+
79
+ * Update Semantic UI to 2.2.6
80
+
81
+ ## 2.2.4.0
82
+
83
+ * Update Semantic UI to 2.2.4
84
+
85
+ ## 2.2.3.0
86
+
87
+ * Add font-name variable to change easily custom fonts
88
+ * Fix undefined method `start_with?` for sprockets 4
89
+ * Add font-family variable
90
+ * Update Semantic UI to 2.2.3
91
+
92
+ ## 2.2.2.2
93
+
94
+ * Update fonts to version 2.2.2 #81
95
+
96
+ ## 2.2.2.1
97
+
98
+ * Add font-url variable
99
+
100
+ ## 2.2.2.0
101
+
102
+ * Update Semantic UI to 2.2.2
103
+
104
+ ## 2.2.1.1
105
+
106
+ * Fix #79
107
+
108
+ ## 2.2.1.0
109
+
110
+ * Update Semantic UI to 2.2.1
111
+ * Fixed font url error #78
112
+
113
+ ## 2.2.0.0
114
+
115
+ * Update Semantic UI to 2.2.0
116
+ * Fixed rails 5 error
117
+ * Allow any HTML options in semantic_icon
118
+ * Add latin-ext subset to Google Font import URL.
119
+
120
+ ## 2.1.8.0
121
+
122
+ * Update Semantic UI to 2.1.8
123
+
124
+ ## 2.1.6.0
125
+
126
+ * Update Semantic UI to 2.1.6
127
+
128
+ ## 2.1.4.0
129
+
130
+ * Rename breadcrumb methods to follow semantic_ naming
131
+
132
+ * Update Semantic UI to 2.1.4
133
+
134
+ ## 2.0.7.0
135
+
136
+ * Update Semantic UI to 2.0.7
137
+
138
+ ## 2.0.4.0
139
+
140
+ * Update Semantic UI to 2.0.4
141
+
142
+ ## 1.12.3.0
143
+
144
+ * Update Semantic UI to 1.12.3
145
+
146
+ ## 1.11.4.1
147
+
148
+ * Removes reference to a absent icon file
149
+
150
+ ## 1.11.4.0
151
+
152
+ * Update Semantic UI to 1.11.4
153
+
154
+ ## 1.8.1.0
155
+
156
+ * Update Semantic UI to 1.8.1
157
+
158
+ ## 1.8.0.0
159
+
160
+ * Update Semantic UI to 1.8.0
161
+
162
+ ## 1.7.3.0
163
+
164
+ * Update Semantic UI to 1.7.3
165
+
166
+ ## 1.7.0.0
167
+
168
+ * Update Semantic UI to 1.7.0
169
+
170
+ ## 1.6.2.0
171
+
172
+ * Update Semantic UI to 1.6.2
173
+
174
+ ## 1.5.0.0
175
+
176
+ * Update Semantic UI to 1.5.0
177
+
178
+ ## 1.4.1.0
179
+
180
+ * Update Semantic UI to 1.4.1
181
+
182
+ ## 1.2.0.0
183
+
184
+ * Update Semantic UI to 1.2.0
185
+
186
+
187
+ ## 0.19.3.1
188
+
189
+ * Fix fonts urls for asset pipeline
190
+
191
+ ## 0.19.3.0
192
+
193
+ * Fix font-url
194
+
195
+ * Update Semantic UI to 0.19.3
196
+
197
+ ## 0.16.1.0
198
+
199
+ * Update Semantic UI to 0.16.1
200
+
201
+ ## 0.15.5.0
202
+
203
+ * Update Semantic UI to 0.15.5
204
+
205
+ ## 0.15.4.2
206
+
207
+ * Fix netsted import error
208
+
209
+ ## 0.15.4.1
210
+
211
+ * Fix depend_on_asset
212
+
213
+ ## 0.15.4.0
214
+
215
+ * Update Semantic UI to 0.15.4
216
+
217
+ ## 0.15.2.0
218
+
219
+ * Update Semantic UI to 0.15.2
220
+
221
+ ## 0.15.1.0
222
+
223
+ * Update Semantic UI to 0.15.1
224
+
225
+ ## 0.14.0.0
226
+
227
+ * Update Semantic UI to 0.14.0
228
+
229
+ ## 0.13.1.0
230
+
231
+ * Update Semantic UI to 0.13.1
232
+
233
+ ## 0.13.0.0
234
+
235
+ * Update Semantic UI to 0.13.0
236
+
237
+ ## 0.12.5.0
238
+
239
+ * Update Semantic UI to 0.12.5
240
+
241
+ ## 0.12.4.0
242
+
243
+ * Update Semantic UI to 0.12.4
244
+
245
+ ## 0.12.3.0
246
+
247
+ * Update Semantic UI to 0.12.3
248
+
249
+ ## 0.12.2.0
250
+
251
+ * Update Semantic UI to 0.12.2
252
+
253
+ ## 0.12.1.0
254
+
255
+ * Update Semantic UI to 0.12.1
256
+
257
+ ## 0.12.0.0
258
+
259
+ * Update Semantic UI to 0.12.0
260
+
261
+ ## 0.11.0.0
262
+
263
+ * Update Semantic UI to 0.11.0
264
+
265
+ ## 0.10.3.0
266
+
267
+ * Update Semantic UI to 0.10.3
268
+
269
+ ## 0.10.2.0
270
+
271
+ * Update Semantic UI to 0.10.2
272
+
273
+ ## 0.10.1.0
274
+
275
+ * Update Semantic UI to 0.10.1
276
+
277
+ ## 0.10.0.0
278
+
279
+ * Update Semantic UI to 0.10.0
280
+
281
+ ## 0.9.6.0
282
+
283
+ * Update Semantic UI to 0.9.6
284
+
285
+ ## 0.9.5.0
286
+
287
+ * Update Semantic UI to 0.9.5
288
+
289
+ ## 0.9.4.0
290
+
291
+ * Update Semantic UI to 0.9.4
292
+
293
+ ## 0.9.3.0
294
+
295
+ * Update Semantic UI to 0.9.3
296
+
297
+ ## 0.9.2.0
298
+
299
+ * Update Semantic UI to 0.9.2
300
+
301
+ ## 0.9.1.0
302
+
303
+ * Update Semantic UI to 0.9.1
304
+
305
+ * Add breadcrumbs helper
306
+
307
+ ## 0.9.0.0
308
+
309
+ * Update Semantic UI to 0.9.0
310
+
311
+ * Add browsers setting for autoprefixer
312
+
313
+ ## 0.8.6.0
314
+
315
+ * Update Semantic UI to 0.8.6
316
+
317
+ ## 0.8.5.0
318
+
319
+ * Update Semantic UI to 0.8.5
320
+
321
+ ## 0.8.4.0
322
+
323
+ * Update Semantic UI to 0.8.4
324
+
325
+ ## 0.8.3.0
326
+
327
+ * Update Semantic UI to 0.8.3
328
+
329
+ ## 0.8.0.0
330
+
331
+ ## 0.8.2.0
332
+
333
+ * Update Semantic UI to 0.8.2
334
+
335
+ * Add autoprefixer
336
+
337
+ * Remove sqlite3
338
+
339
+ ## 0.8.1.0
340
+
341
+ * Update Semantic UI to 0.8.1
342
+
343
+ ## 0.8.0.0
344
+
345
+ * Add flash helper
346
+
347
+ * Add icon helper
348
+
349
+ * Update Semantic UI to 0.8.0
350
+
351
+ ## 0.0.3
352
+
353
+ * Fix typo in semantic-ui.js
354
+
355
+ * Update Semantic UI
356
+
357
+ ## 0.0.2
358
+
359
+ ### Features
360
+
361
+ * Add support for compass
362
+
363
+ ```console
364
+ gem install semantic-ui-sass
365
+ compass create compass-project -r semantic-ui-sass --using semantic-ui
366
+ ```
367
+
368
+ ## 0.0.1
369
+
370
+ * Initial version
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in semantic-ui-sass.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 doabit
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,177 @@
1
+ # Fomantic UI for Sass
2
+
3
+ `fomantic-ui-sass` is an Sass-powered version of [Fomantic UI](https://github.com/fomantic/Femantic-UI) and ready to drop into Rails, Compass, or Sprockets.
4
+ It was forked from [`semantic-ui-sass`](https://github.com/doabit/semantic-ui-sass) to track Fomantic UI, a community fork of Semantic UI,
5
+ and is intended to be a drop-in replacement.
6
+
7
+ [![Build Status](https://travis-ci.org/shanecav84/fomantic-ui-sass.svg?branch=master)](https://travis-ci.org/shanecav84/fomantic-ui-sass)
8
+
9
+ ## NOTE
10
+
11
+ The gem only has default theme.
12
+
13
+ ## Installation and Usage
14
+
15
+ ```ruby
16
+ gem 'fomantic-ui-sass'
17
+ ```
18
+
19
+ `bundle install` and restart your server to make the files available through the pipeline.
20
+
21
+ # fomantic-ui-sass with Rails or Sprockets
22
+
23
+ ## CSS
24
+
25
+ Import Semantic in an SCSS file (for example, `application.css.scss`) to get all of Semantic's styles
26
+
27
+ ```css
28
+ @import "semantic-ui";
29
+ ```
30
+
31
+ You can also include modules
32
+
33
+ ```css
34
+ @import "semantic-ui/collections/menu";
35
+ ```
36
+
37
+ ## Custom font
38
+
39
+ ```css
40
+ $font-url: 'http://fonts.useso.com/css?family=Lato:400,700,400italic,700italic&subset=latin';
41
+ @import 'semantic-ui';
42
+ ```
43
+
44
+ ## Skip font loading
45
+ ```css
46
+ $import-google-fonts: false;
47
+ @import 'semantic-ui';
48
+ ```
49
+
50
+ ## Custom font family
51
+ ```css
52
+ $font-family: 'custom-font-family';
53
+ @import 'semantic-ui';
54
+ ```
55
+
56
+ ## All variables, you can custom any of that
57
+ ```css
58
+ $import-google-fonts: true !default;
59
+ $font-url: 'https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic&subset=latin,latin-ext' !default;
60
+ $font-name: 'Lato' !default;
61
+ $font-family: $font-name, 'Helvetica Neue', Arial, Helvetica, sans-serif !default;
62
+ ```
63
+
64
+ ## Javascripts
65
+
66
+ We have a helper that includes all Semantic javascripts. Put this in your Javascript manifest (usually in `application.js`) to
67
+
68
+ ```js
69
+ // Loads all Semantic javascripts
70
+ //= require semantic-ui
71
+ ```
72
+
73
+ You can also load individual modules, provided you also require any dependencies.
74
+
75
+ ```js
76
+ //= require semantic-ui/modal
77
+ //= require semantic-ui/dropdown
78
+ ```
79
+
80
+ # fomantic-ui-sass with Compass
81
+
82
+ ## New project
83
+
84
+ Install the gem and create a new project using the gem.
85
+
86
+ ```console
87
+ gem install semantic-ui-sass
88
+ compass create compass-project -r semantic-ui-sass --using semantic-ui
89
+ ```
90
+
91
+ This will sort a few things out:
92
+
93
+ * You'll get a starting `styles.scss`
94
+ * You'll get a compiled stylesheet compiled & ready to drop into your application
95
+ * We'll also copy the Semantic javascripts & images & fonts into their respective folders for you
96
+
97
+ ## Existing project
98
+
99
+ Install the gem, add the require statement to the top of your configuration file, and install the extension.
100
+
101
+ ```console
102
+ gem install fomantic-ui-sass
103
+ ```
104
+
105
+ ```ruby
106
+ # In config.rb
107
+ require 'semantic-ui-sass'
108
+ ```
109
+
110
+ ```console
111
+ compass install semantic-ui
112
+ ```
113
+
114
+ ### NOTE
115
+
116
+ When using compass, you should visit file in local server, eg `http://localhost:3000/index.html`, rather than `file:///Users/doabit/demo/index.html`
117
+
118
+ # Rails Helpers
119
+
120
+ ## Breadcrumbs helper
121
+
122
+ Add breadcrumbs helper `<%= semantic_breadcrumbs %>` to your layout.
123
+
124
+ ```ruby
125
+ class ApplicationController
126
+ semantic_breadcrumb :index, :root_path
127
+ end
128
+ ```
129
+
130
+ ```ruby
131
+ class ExamplesController < ApplicationController
132
+ semantic_breadcrumb :index, :examples_path
133
+
134
+ def index
135
+ end
136
+
137
+ def show
138
+ @example = Example.find params[:id]
139
+ semantic_breadcrumb @example.name, example_path(@example)
140
+ # semantic_breadcrumb :show, example_path(@example)
141
+ end
142
+ end
143
+ ```
144
+
145
+ ## Flash helper
146
+
147
+ Add flash helper `<%= semantic_flash %>` to your layout
148
+
149
+ ## Icon helper
150
+
151
+ ```ruby
152
+ semantic_icon('add')
153
+ # => <i class="add icon"></i>
154
+ semantic_icon(:add)
155
+ # => <i class="add icon"></i>
156
+ semantic_icon('add sign')
157
+ # => <i class="add sign icon"></i>
158
+ semantic_icon('add', 'sign')
159
+ # => <i class="add sign icon"></i>
160
+ semantic_icon(:add, :sign)
161
+ # => <i class="add sign icon"></i>
162
+ semantic_icon('add', id: 'id')
163
+ # => <i class="add icon" id="id"></i>
164
+ ```
165
+
166
+ ## TODO
167
+
168
+ * Add global variables
169
+ * Add rails helpers like `render_flash`?
170
+
171
+ ## Contributing
172
+
173
+ 1. Fork it
174
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
175
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
176
+ 4. Push to the branch (`git push origin my-new-feature`)
177
+ 5. Create new Pull Request