stylish 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (458) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +7 -10
  3. data/ARCHITECTURE.md +96 -0
  4. data/Gemfile +8 -0
  5. data/README.md +25 -29
  6. data/Rakefile +24 -0
  7. data/bin/stylish +33 -0
  8. data/lib/stylish.rb +36 -1
  9. data/lib/stylish/configuration.rb +37 -0
  10. data/lib/stylish/core_ext.rb +20 -0
  11. data/lib/stylish/developer.rb +13 -0
  12. data/lib/stylish/developer/config.rb +19 -0
  13. data/lib/stylish/developer/environment.rb +75 -0
  14. data/lib/stylish/developer/listing.rb +85 -0
  15. data/lib/stylish/developer/model_delegator.rb +51 -0
  16. data/lib/stylish/developer/modification.rb +139 -0
  17. data/lib/stylish/developer/path.rb +168 -0
  18. data/lib/stylish/developer/route.rb +97 -0
  19. data/lib/stylish/developer/server.rb +40 -0
  20. data/lib/stylish/engine.rb +12 -0
  21. data/lib/stylish/fs.rb +59 -0
  22. data/lib/stylish/manifest.rb +100 -0
  23. data/lib/stylish/models.rb +119 -0
  24. data/lib/stylish/models/component.rb +19 -0
  25. data/lib/stylish/models/layout.rb +19 -0
  26. data/lib/stylish/models/library.rb +134 -0
  27. data/lib/stylish/models/package.rb +156 -0
  28. data/lib/stylish/models/script.rb +10 -0
  29. data/lib/stylish/models/stylesheet.rb +9 -0
  30. data/lib/stylish/models/template.rb +9 -0
  31. data/lib/stylish/models/theme.rb +8 -0
  32. data/lib/stylish/util.rb +20 -0
  33. data/lib/stylish/version.rb +1 -1
  34. data/library/config.json +4 -0
  35. data/library/second-theme/manifest.json +8 -0
  36. data/library/second-theme/manifest.yml +6 -0
  37. data/library/second-theme/templates/footers/footer-01.html +3 -0
  38. data/library/second-theme/templates/footers/footer-02.html +3 -0
  39. data/library/second-theme/templates/headers/header-01.html +3 -0
  40. data/library/second-theme/templates/headers/header-02.html +3 -0
  41. data/library/second-theme/templates/landing-page-blocks/landing-page-block-01.html +3 -0
  42. data/library/second-theme/templates/landing-page-blocks/landing-page-block-02.html +3 -0
  43. data/library/test-theme/components/footers/footer-01.json +5 -0
  44. data/library/test-theme/components/footers/footer-02.json +5 -0
  45. data/library/test-theme/components/headers/header-01.json +5 -0
  46. data/library/test-theme/components/headers/header-02.json +5 -0
  47. data/library/test-theme/components/landing-page-blocks/landing-page-01.json +5 -0
  48. data/library/test-theme/components/landing-page-blocks/landing-page-02.json +5 -0
  49. data/library/test-theme/manifest.json +8 -0
  50. data/library/test-theme/manifest.yml +6 -0
  51. data/library/test-theme/pages/page-01.json +11 -0
  52. data/library/test-theme/templates/footers/footer-01.html +3 -0
  53. data/library/test-theme/templates/footers/footer-02.html +3 -0
  54. data/library/test-theme/templates/headers/header-01.html +3 -0
  55. data/library/test-theme/templates/headers/header-02.html +3 -0
  56. data/library/test-theme/templates/landing-page-blocks/landing-page-block-01.html +3 -0
  57. data/library/test-theme/templates/landing-page-blocks/landing-page-block-02.html +3 -0
  58. data/library/test-theme/templates/layouts/standard-layout.html +10 -0
  59. data/spec/acceptance/listing_assets_spec.rb +20 -0
  60. data/spec/acceptance/model_browsing_spec.rb +21 -0
  61. data/spec/acceptance/model_creation_spec.rb +16 -0
  62. data/spec/acceptance/model_deleting_spec.rb +10 -0
  63. data/spec/acceptance/model_updating_spec.rb +12 -0
  64. data/spec/acceptance/modifying_assets_spec.rb +50 -0
  65. data/spec/acceptance/server_info_spec.rb +10 -0
  66. data/spec/dummy/README.rdoc +28 -0
  67. data/spec/dummy/Rakefile +6 -0
  68. data/spec/dummy/app/assets/images/.keep +0 -0
  69. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  70. data/spec/dummy/app/assets/javascripts/test.coffee +4 -0
  71. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  72. data/spec/dummy/app/assets/stylesheets/test.css.scss +6 -0
  73. data/spec/dummy/app/assets/stylesheets/writable/existing.scss.css +0 -0
  74. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  75. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  76. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  77. data/spec/dummy/app/mailers/.keep +0 -0
  78. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  79. data/spec/dummy/bin/bundle +3 -0
  80. data/spec/dummy/bin/rails +4 -0
  81. data/spec/dummy/bin/rake +4 -0
  82. data/spec/dummy/config.ru +4 -0
  83. data/spec/dummy/config/application.rb +30 -0
  84. data/spec/dummy/config/boot.rb +5 -0
  85. data/spec/dummy/config/database.yml +25 -0
  86. data/spec/dummy/config/environment.rb +5 -0
  87. data/spec/dummy/config/environments/development.rb +37 -0
  88. data/spec/dummy/config/environments/production.rb +82 -0
  89. data/spec/dummy/config/environments/test.rb +39 -0
  90. data/spec/dummy/config/initializers/assets.rb +8 -0
  91. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  92. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  93. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  94. data/spec/dummy/config/initializers/inflections.rb +16 -0
  95. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  96. data/spec/dummy/config/initializers/session_store.rb +3 -0
  97. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  98. data/spec/dummy/config/locales/en.yml +23 -0
  99. data/spec/dummy/config/routes.rb +3 -0
  100. data/spec/dummy/config/secrets.yml +22 -0
  101. data/spec/dummy/db/migrate/20140822065900_create_books.rb +11 -0
  102. data/spec/dummy/db/migrate/20140822065916_create_authors.rb +9 -0
  103. data/spec/dummy/db/migrate/20140824215902_create_users.rb +10 -0
  104. data/spec/dummy/db/migrate/20140826193259_create_libraries.rb +10 -0
  105. data/spec/dummy/db/schema.rb +37 -0
  106. data/spec/dummy/db/test.sqlite3 +0 -0
  107. data/spec/dummy/lib/assets/.keep +0 -0
  108. data/spec/dummy/log/.keep +0 -0
  109. data/spec/dummy/public/404.html +67 -0
  110. data/spec/dummy/public/422.html +67 -0
  111. data/spec/dummy/public/500.html +66 -0
  112. data/spec/dummy/public/favicon.ico +0 -0
  113. data/spec/fixtures/config.json +3 -0
  114. data/spec/fixtures/test-theme/components/footers/footer-01.json +5 -0
  115. data/spec/fixtures/test-theme/components/footers/footer-02.json +5 -0
  116. data/spec/fixtures/test-theme/components/headers/header-01.json +5 -0
  117. data/spec/fixtures/test-theme/components/headers/header-02.json +5 -0
  118. data/spec/fixtures/test-theme/components/landing-page-blocks/landing-page-01.json +5 -0
  119. data/spec/fixtures/test-theme/components/landing-page-blocks/landing-page-02.json +5 -0
  120. data/spec/fixtures/test-theme/manifest.json +8 -0
  121. data/spec/fixtures/test-theme/manifest.yml +6 -0
  122. data/spec/fixtures/test-theme/pages/page-01.json +11 -0
  123. data/spec/fixtures/test-theme/templates/footers/footer-01.html +3 -0
  124. data/spec/fixtures/test-theme/templates/footers/footer-02.html +3 -0
  125. data/spec/fixtures/test-theme/templates/headers/header-01.html +3 -0
  126. data/spec/fixtures/test-theme/templates/headers/header-02.html +3 -0
  127. data/spec/fixtures/test-theme/templates/landing-page-blocks/landing-page-block-01.html +3 -0
  128. data/spec/fixtures/test-theme/templates/landing-page-blocks/landing-page-block-02.html +3 -0
  129. data/spec/fixtures/test-theme/templates/layouts/standard-01.html +9 -0
  130. data/spec/lib/stylish/configuration_spec.rb +8 -0
  131. data/spec/lib/stylish/developer/path_spec.rb +36 -0
  132. data/spec/lib/stylish/developer/route_spec.rb +5 -0
  133. data/spec/lib/stylish/manifest_spec.rb +48 -0
  134. data/spec/lib/stylish/models/library_spec.rb +38 -0
  135. data/spec/lib/stylish/models/package_spec.rb +35 -0
  136. data/spec/lib/stylish/models_spec.rb +12 -0
  137. data/spec/spec_helper.rb +38 -0
  138. data/spec/support/json_helper.rb +7 -0
  139. data/spec/test.css.scss +6 -0
  140. data/stylish.gemspec +17 -2
  141. data/support/editor-app/.gitignore +2 -0
  142. data/support/editor-app/development/bower.json +9 -0
  143. data/support/editor-app/development/package.json +28 -0
  144. data/support/editor-app/development/semantic/components/accordion.css +257 -0
  145. data/support/editor-app/development/semantic/components/accordion.js +558 -0
  146. data/support/editor-app/development/semantic/components/accordion.min.css +11 -0
  147. data/support/editor-app/development/semantic/components/accordion.min.js +11 -0
  148. data/support/editor-app/development/semantic/components/ad.css +277 -0
  149. data/support/editor-app/development/semantic/components/ad.min.css +11 -0
  150. data/support/editor-app/development/semantic/components/api.js +851 -0
  151. data/support/editor-app/development/semantic/components/api.min.js +11 -0
  152. data/support/editor-app/development/semantic/components/breadcrumb.css +125 -0
  153. data/support/editor-app/development/semantic/components/breadcrumb.min.css +11 -0
  154. data/support/editor-app/development/semantic/components/button.css +2391 -0
  155. data/support/editor-app/development/semantic/components/button.min.css +11 -0
  156. data/support/editor-app/development/semantic/components/card.css +758 -0
  157. data/support/editor-app/development/semantic/components/card.min.css +11 -0
  158. data/support/editor-app/development/semantic/components/checkbox.css +514 -0
  159. data/support/editor-app/development/semantic/components/checkbox.js +507 -0
  160. data/support/editor-app/development/semantic/components/checkbox.min.css +11 -0
  161. data/support/editor-app/development/semantic/components/checkbox.min.js +11 -0
  162. data/support/editor-app/development/semantic/components/comment.css +260 -0
  163. data/support/editor-app/development/semantic/components/comment.min.css +11 -0
  164. data/support/editor-app/development/semantic/components/dimmer.css +187 -0
  165. data/support/editor-app/development/semantic/components/dimmer.js +627 -0
  166. data/support/editor-app/development/semantic/components/dimmer.min.css +11 -0
  167. data/support/editor-app/development/semantic/components/dimmer.min.js +11 -0
  168. data/support/editor-app/development/semantic/components/divider.css +244 -0
  169. data/support/editor-app/development/semantic/components/divider.min.css +11 -0
  170. data/support/editor-app/development/semantic/components/dropdown.css +1085 -0
  171. data/support/editor-app/development/semantic/components/dropdown.js +1757 -0
  172. data/support/editor-app/development/semantic/components/dropdown.min.css +11 -0
  173. data/support/editor-app/development/semantic/components/dropdown.min.js +11 -0
  174. data/support/editor-app/development/semantic/components/feed.css +277 -0
  175. data/support/editor-app/development/semantic/components/feed.min.css +11 -0
  176. data/support/editor-app/development/semantic/components/flag.css +1017 -0
  177. data/support/editor-app/development/semantic/components/flag.min.css +11 -0
  178. data/support/editor-app/development/semantic/components/form.css +875 -0
  179. data/support/editor-app/development/semantic/components/form.js +1039 -0
  180. data/support/editor-app/development/semantic/components/form.min.css +11 -0
  181. data/support/editor-app/development/semantic/components/form.min.js +11 -0
  182. data/support/editor-app/development/semantic/components/grid.css +1816 -0
  183. data/support/editor-app/development/semantic/components/grid.min.css +11 -0
  184. data/support/editor-app/development/semantic/components/header.css +572 -0
  185. data/support/editor-app/development/semantic/components/header.min.css +11 -0
  186. data/support/editor-app/development/semantic/components/icon.css +2127 -0
  187. data/support/editor-app/development/semantic/components/icon.min.css +11 -0
  188. data/support/editor-app/development/semantic/components/image.css +275 -0
  189. data/support/editor-app/development/semantic/components/image.min.css +11 -0
  190. data/support/editor-app/development/semantic/components/input.css +455 -0
  191. data/support/editor-app/development/semantic/components/input.min.css +11 -0
  192. data/support/editor-app/development/semantic/components/item.css +458 -0
  193. data/support/editor-app/development/semantic/components/item.min.css +11 -0
  194. data/support/editor-app/development/semantic/components/label.css +930 -0
  195. data/support/editor-app/development/semantic/components/label.min.css +11 -0
  196. data/support/editor-app/development/semantic/components/list.css +879 -0
  197. data/support/editor-app/development/semantic/components/list.min.css +11 -0
  198. data/support/editor-app/development/semantic/components/loader.css +279 -0
  199. data/support/editor-app/development/semantic/components/loader.min.css +11 -0
  200. data/support/editor-app/development/semantic/components/menu.css +1596 -0
  201. data/support/editor-app/development/semantic/components/menu.min.css +11 -0
  202. data/support/editor-app/development/semantic/components/message.css +422 -0
  203. data/support/editor-app/development/semantic/components/message.min.css +11 -0
  204. data/support/editor-app/development/semantic/components/modal.css +431 -0
  205. data/support/editor-app/development/semantic/components/modal.js +860 -0
  206. data/support/editor-app/development/semantic/components/modal.min.css +11 -0
  207. data/support/editor-app/development/semantic/components/modal.min.js +11 -0
  208. data/support/editor-app/development/semantic/components/nag.css +149 -0
  209. data/support/editor-app/development/semantic/components/nag.js +477 -0
  210. data/support/editor-app/development/semantic/components/nag.min.css +11 -0
  211. data/support/editor-app/development/semantic/components/nag.min.js +11 -0
  212. data/support/editor-app/development/semantic/components/popup.css +294 -0
  213. data/support/editor-app/development/semantic/components/popup.js +1187 -0
  214. data/support/editor-app/development/semantic/components/popup.min.css +11 -0
  215. data/support/editor-app/development/semantic/components/popup.min.js +11 -0
  216. data/support/editor-app/development/semantic/components/progress.css +449 -0
  217. data/support/editor-app/development/semantic/components/progress.js +785 -0
  218. data/support/editor-app/development/semantic/components/progress.min.css +11 -0
  219. data/support/editor-app/development/semantic/components/progress.min.js +11 -0
  220. data/support/editor-app/development/semantic/components/rail.css +125 -0
  221. data/support/editor-app/development/semantic/components/rail.min.css +11 -0
  222. data/support/editor-app/development/semantic/components/rating.css +262 -0
  223. data/support/editor-app/development/semantic/components/rating.js +451 -0
  224. data/support/editor-app/development/semantic/components/rating.min.css +11 -0
  225. data/support/editor-app/development/semantic/components/rating.min.js +11 -0
  226. data/support/editor-app/development/semantic/components/reset.css +430 -0
  227. data/support/editor-app/development/semantic/components/reset.min.css +11 -0
  228. data/support/editor-app/development/semantic/components/reveal.css +294 -0
  229. data/support/editor-app/development/semantic/components/reveal.min.css +11 -0
  230. data/support/editor-app/development/semantic/components/search.css +330 -0
  231. data/support/editor-app/development/semantic/components/search.js +1055 -0
  232. data/support/editor-app/development/semantic/components/search.min.css +11 -0
  233. data/support/editor-app/development/semantic/components/search.min.js +11 -0
  234. data/support/editor-app/development/semantic/components/segment.css +590 -0
  235. data/support/editor-app/development/semantic/components/segment.min.css +11 -0
  236. data/support/editor-app/development/semantic/components/shape.css +155 -0
  237. data/support/editor-app/development/semantic/components/shape.js +830 -0
  238. data/support/editor-app/development/semantic/components/shape.min.css +11 -0
  239. data/support/editor-app/development/semantic/components/shape.min.js +11 -0
  240. data/support/editor-app/development/semantic/components/sidebar.css +621 -0
  241. data/support/editor-app/development/semantic/components/sidebar.js +1084 -0
  242. data/support/editor-app/development/semantic/components/sidebar.min.css +11 -0
  243. data/support/editor-app/development/semantic/components/sidebar.min.js +11 -0
  244. data/support/editor-app/development/semantic/components/site.css +147 -0
  245. data/support/editor-app/development/semantic/components/site.js +487 -0
  246. data/support/editor-app/development/semantic/components/site.min.css +11 -0
  247. data/support/editor-app/development/semantic/components/site.min.js +11 -0
  248. data/support/editor-app/development/semantic/components/state.js +690 -0
  249. data/support/editor-app/development/semantic/components/state.min.js +11 -0
  250. data/support/editor-app/development/semantic/components/statistic.css +410 -0
  251. data/support/editor-app/development/semantic/components/statistic.min.css +11 -0
  252. data/support/editor-app/development/semantic/components/step.css +433 -0
  253. data/support/editor-app/development/semantic/components/step.min.css +11 -0
  254. data/support/editor-app/development/semantic/components/sticky.css +80 -0
  255. data/support/editor-app/development/semantic/components/sticky.js +775 -0
  256. data/support/editor-app/development/semantic/components/sticky.min.css +11 -0
  257. data/support/editor-app/development/semantic/components/sticky.min.js +11 -0
  258. data/support/editor-app/development/semantic/components/tab.css +93 -0
  259. data/support/editor-app/development/semantic/components/tab.js +787 -0
  260. data/support/editor-app/development/semantic/components/tab.min.css +11 -0
  261. data/support/editor-app/development/semantic/components/tab.min.js +11 -0
  262. data/support/editor-app/development/semantic/components/table.css +999 -0
  263. data/support/editor-app/development/semantic/components/table.min.css +11 -0
  264. data/support/editor-app/development/semantic/components/transition.css +2152 -0
  265. data/support/editor-app/development/semantic/components/transition.js +936 -0
  266. data/support/editor-app/development/semantic/components/transition.min.css +11 -0
  267. data/support/editor-app/development/semantic/components/transition.min.js +11 -0
  268. data/support/editor-app/development/semantic/components/video.css +126 -0
  269. data/support/editor-app/development/semantic/components/video.js +540 -0
  270. data/support/editor-app/development/semantic/components/video.min.css +11 -0
  271. data/support/editor-app/development/semantic/components/video.min.js +11 -0
  272. data/support/editor-app/development/semantic/components/visibility.js +970 -0
  273. data/support/editor-app/development/semantic/components/visibility.min.js +11 -0
  274. data/support/editor-app/development/semantic/semantic.css +31768 -0
  275. data/support/editor-app/development/semantic/semantic.js +18317 -0
  276. data/support/editor-app/development/semantic/semantic.min.css +11 -0
  277. data/support/editor-app/development/semantic/semantic.min.js +17 -0
  278. data/support/editor-app/development/semantic/themes/basic/assets/fonts/icons.eot +0 -0
  279. data/support/editor-app/development/semantic/themes/basic/assets/fonts/icons.svg +450 -0
  280. data/support/editor-app/development/semantic/themes/basic/assets/fonts/icons.ttf +0 -0
  281. data/support/editor-app/development/semantic/themes/basic/assets/fonts/icons.woff +0 -0
  282. data/support/editor-app/development/semantic/themes/default/assets/fonts/icons.eot +0 -0
  283. data/support/editor-app/development/semantic/themes/default/assets/fonts/icons.otf +0 -0
  284. data/support/editor-app/development/semantic/themes/default/assets/fonts/icons.svg +504 -0
  285. data/support/editor-app/development/semantic/themes/default/assets/fonts/icons.ttf +0 -0
  286. data/support/editor-app/development/semantic/themes/default/assets/fonts/icons.woff +0 -0
  287. data/support/editor-app/development/semantic/themes/default/assets/images/flags.png +0 -0
  288. data/support/editor-app/development/src/apis/index.coffee +35 -0
  289. data/support/editor-app/development/src/components/editor.cjsx +58 -0
  290. data/support/editor-app/development/src/components/editor_drawer.cjsx +7 -0
  291. data/support/editor-app/development/src/components/header.cjsx +12 -0
  292. data/support/editor-app/development/src/components/index.coffee +9 -0
  293. data/support/editor-app/development/src/components/menus/icon_grid.cjsx +0 -0
  294. data/support/editor-app/development/src/components/sidebar.cjsx +24 -0
  295. data/support/editor-app/development/src/components/tiled_grid.cjsx +35 -0
  296. data/support/editor-app/development/src/index.cjsx +82 -0
  297. data/support/editor-app/development/src/lib/util.coffee +48 -0
  298. data/support/editor-app/development/src/pages/home.cjsx +46 -0
  299. data/support/editor-app/development/src/pages/index.coffee +6 -0
  300. data/support/editor-app/development/src/pages/package_details.cjsx +55 -0
  301. data/support/editor-app/development/src/registry.coffee +35 -0
  302. data/support/editor-app/development/src/styles/components/tiled_grid.css.scss +5 -0
  303. data/support/editor-app/development/src/styles/index.css.scss +240 -0
  304. data/support/editor-app/development/src/sugar.cjsx +126 -0
  305. data/support/editor-app/development/webpack.config.js +53 -0
  306. data/support/editor-app/dist/base.css +0 -0
  307. data/support/editor-app/dist/toolit.js +62 -0
  308. data/support/editor-app/dist/toolkit.js +44573 -0
  309. data/support/editor-app/index.html +50 -0
  310. data/support/editor-app/package.json +15 -0
  311. data/support/editor-app/semantic/components/accordion.css +257 -0
  312. data/support/editor-app/semantic/components/accordion.js +558 -0
  313. data/support/editor-app/semantic/components/accordion.min.css +11 -0
  314. data/support/editor-app/semantic/components/accordion.min.js +11 -0
  315. data/support/editor-app/semantic/components/ad.css +277 -0
  316. data/support/editor-app/semantic/components/ad.min.css +11 -0
  317. data/support/editor-app/semantic/components/api.js +851 -0
  318. data/support/editor-app/semantic/components/api.min.js +11 -0
  319. data/support/editor-app/semantic/components/breadcrumb.css +125 -0
  320. data/support/editor-app/semantic/components/breadcrumb.min.css +11 -0
  321. data/support/editor-app/semantic/components/button.css +2391 -0
  322. data/support/editor-app/semantic/components/button.min.css +11 -0
  323. data/support/editor-app/semantic/components/card.css +758 -0
  324. data/support/editor-app/semantic/components/card.min.css +11 -0
  325. data/support/editor-app/semantic/components/checkbox.css +514 -0
  326. data/support/editor-app/semantic/components/checkbox.js +507 -0
  327. data/support/editor-app/semantic/components/checkbox.min.css +11 -0
  328. data/support/editor-app/semantic/components/checkbox.min.js +11 -0
  329. data/support/editor-app/semantic/components/comment.css +260 -0
  330. data/support/editor-app/semantic/components/comment.min.css +11 -0
  331. data/support/editor-app/semantic/components/dimmer.css +187 -0
  332. data/support/editor-app/semantic/components/dimmer.js +627 -0
  333. data/support/editor-app/semantic/components/dimmer.min.css +11 -0
  334. data/support/editor-app/semantic/components/dimmer.min.js +11 -0
  335. data/support/editor-app/semantic/components/divider.css +244 -0
  336. data/support/editor-app/semantic/components/divider.min.css +11 -0
  337. data/support/editor-app/semantic/components/dropdown.css +1085 -0
  338. data/support/editor-app/semantic/components/dropdown.js +1757 -0
  339. data/support/editor-app/semantic/components/dropdown.min.css +11 -0
  340. data/support/editor-app/semantic/components/dropdown.min.js +11 -0
  341. data/support/editor-app/semantic/components/feed.css +277 -0
  342. data/support/editor-app/semantic/components/feed.min.css +11 -0
  343. data/support/editor-app/semantic/components/flag.css +1017 -0
  344. data/support/editor-app/semantic/components/flag.min.css +11 -0
  345. data/support/editor-app/semantic/components/form.css +875 -0
  346. data/support/editor-app/semantic/components/form.js +1039 -0
  347. data/support/editor-app/semantic/components/form.min.css +11 -0
  348. data/support/editor-app/semantic/components/form.min.js +11 -0
  349. data/support/editor-app/semantic/components/grid.css +1816 -0
  350. data/support/editor-app/semantic/components/grid.min.css +11 -0
  351. data/support/editor-app/semantic/components/header.css +572 -0
  352. data/support/editor-app/semantic/components/header.min.css +11 -0
  353. data/support/editor-app/semantic/components/icon.css +2127 -0
  354. data/support/editor-app/semantic/components/icon.min.css +11 -0
  355. data/support/editor-app/semantic/components/image.css +275 -0
  356. data/support/editor-app/semantic/components/image.min.css +11 -0
  357. data/support/editor-app/semantic/components/input.css +455 -0
  358. data/support/editor-app/semantic/components/input.min.css +11 -0
  359. data/support/editor-app/semantic/components/item.css +458 -0
  360. data/support/editor-app/semantic/components/item.min.css +11 -0
  361. data/support/editor-app/semantic/components/label.css +930 -0
  362. data/support/editor-app/semantic/components/label.min.css +11 -0
  363. data/support/editor-app/semantic/components/list.css +879 -0
  364. data/support/editor-app/semantic/components/list.min.css +11 -0
  365. data/support/editor-app/semantic/components/loader.css +279 -0
  366. data/support/editor-app/semantic/components/loader.min.css +11 -0
  367. data/support/editor-app/semantic/components/menu.css +1596 -0
  368. data/support/editor-app/semantic/components/menu.min.css +11 -0
  369. data/support/editor-app/semantic/components/message.css +422 -0
  370. data/support/editor-app/semantic/components/message.min.css +11 -0
  371. data/support/editor-app/semantic/components/modal.css +431 -0
  372. data/support/editor-app/semantic/components/modal.js +860 -0
  373. data/support/editor-app/semantic/components/modal.min.css +11 -0
  374. data/support/editor-app/semantic/components/modal.min.js +11 -0
  375. data/support/editor-app/semantic/components/nag.css +149 -0
  376. data/support/editor-app/semantic/components/nag.js +477 -0
  377. data/support/editor-app/semantic/components/nag.min.css +11 -0
  378. data/support/editor-app/semantic/components/nag.min.js +11 -0
  379. data/support/editor-app/semantic/components/popup.css +294 -0
  380. data/support/editor-app/semantic/components/popup.js +1187 -0
  381. data/support/editor-app/semantic/components/popup.min.css +11 -0
  382. data/support/editor-app/semantic/components/popup.min.js +11 -0
  383. data/support/editor-app/semantic/components/progress.css +449 -0
  384. data/support/editor-app/semantic/components/progress.js +785 -0
  385. data/support/editor-app/semantic/components/progress.min.css +11 -0
  386. data/support/editor-app/semantic/components/progress.min.js +11 -0
  387. data/support/editor-app/semantic/components/rail.css +125 -0
  388. data/support/editor-app/semantic/components/rail.min.css +11 -0
  389. data/support/editor-app/semantic/components/rating.css +262 -0
  390. data/support/editor-app/semantic/components/rating.js +451 -0
  391. data/support/editor-app/semantic/components/rating.min.css +11 -0
  392. data/support/editor-app/semantic/components/rating.min.js +11 -0
  393. data/support/editor-app/semantic/components/reset.css +430 -0
  394. data/support/editor-app/semantic/components/reset.min.css +11 -0
  395. data/support/editor-app/semantic/components/reveal.css +294 -0
  396. data/support/editor-app/semantic/components/reveal.min.css +11 -0
  397. data/support/editor-app/semantic/components/search.css +330 -0
  398. data/support/editor-app/semantic/components/search.js +1055 -0
  399. data/support/editor-app/semantic/components/search.min.css +11 -0
  400. data/support/editor-app/semantic/components/search.min.js +11 -0
  401. data/support/editor-app/semantic/components/segment.css +590 -0
  402. data/support/editor-app/semantic/components/segment.min.css +11 -0
  403. data/support/editor-app/semantic/components/shape.css +155 -0
  404. data/support/editor-app/semantic/components/shape.js +830 -0
  405. data/support/editor-app/semantic/components/shape.min.css +11 -0
  406. data/support/editor-app/semantic/components/shape.min.js +11 -0
  407. data/support/editor-app/semantic/components/sidebar.css +621 -0
  408. data/support/editor-app/semantic/components/sidebar.js +1084 -0
  409. data/support/editor-app/semantic/components/sidebar.min.css +11 -0
  410. data/support/editor-app/semantic/components/sidebar.min.js +11 -0
  411. data/support/editor-app/semantic/components/site.css +147 -0
  412. data/support/editor-app/semantic/components/site.js +487 -0
  413. data/support/editor-app/semantic/components/site.min.css +11 -0
  414. data/support/editor-app/semantic/components/site.min.js +11 -0
  415. data/support/editor-app/semantic/components/state.js +690 -0
  416. data/support/editor-app/semantic/components/state.min.js +11 -0
  417. data/support/editor-app/semantic/components/statistic.css +410 -0
  418. data/support/editor-app/semantic/components/statistic.min.css +11 -0
  419. data/support/editor-app/semantic/components/step.css +433 -0
  420. data/support/editor-app/semantic/components/step.min.css +11 -0
  421. data/support/editor-app/semantic/components/sticky.css +80 -0
  422. data/support/editor-app/semantic/components/sticky.js +775 -0
  423. data/support/editor-app/semantic/components/sticky.min.css +11 -0
  424. data/support/editor-app/semantic/components/sticky.min.js +11 -0
  425. data/support/editor-app/semantic/components/tab.css +93 -0
  426. data/support/editor-app/semantic/components/tab.js +787 -0
  427. data/support/editor-app/semantic/components/tab.min.css +11 -0
  428. data/support/editor-app/semantic/components/tab.min.js +11 -0
  429. data/support/editor-app/semantic/components/table.css +999 -0
  430. data/support/editor-app/semantic/components/table.min.css +11 -0
  431. data/support/editor-app/semantic/components/transition.css +2152 -0
  432. data/support/editor-app/semantic/components/transition.js +936 -0
  433. data/support/editor-app/semantic/components/transition.min.css +11 -0
  434. data/support/editor-app/semantic/components/transition.min.js +11 -0
  435. data/support/editor-app/semantic/components/video.css +126 -0
  436. data/support/editor-app/semantic/components/video.js +540 -0
  437. data/support/editor-app/semantic/components/video.min.css +11 -0
  438. data/support/editor-app/semantic/components/video.min.js +11 -0
  439. data/support/editor-app/semantic/components/visibility.js +970 -0
  440. data/support/editor-app/semantic/components/visibility.min.js +11 -0
  441. data/support/editor-app/semantic/semantic.css +31768 -0
  442. data/support/editor-app/semantic/semantic.js +18317 -0
  443. data/support/editor-app/semantic/semantic.min.css +11 -0
  444. data/support/editor-app/semantic/semantic.min.js +17 -0
  445. data/support/editor-app/semantic/themes/basic/assets/fonts/icons.eot +0 -0
  446. data/support/editor-app/semantic/themes/basic/assets/fonts/icons.svg +450 -0
  447. data/support/editor-app/semantic/themes/basic/assets/fonts/icons.ttf +0 -0
  448. data/support/editor-app/semantic/themes/basic/assets/fonts/icons.woff +0 -0
  449. data/support/editor-app/semantic/themes/default/assets/fonts/icons.eot +0 -0
  450. data/support/editor-app/semantic/themes/default/assets/fonts/icons.otf +0 -0
  451. data/support/editor-app/semantic/themes/default/assets/fonts/icons.svg +504 -0
  452. data/support/editor-app/semantic/themes/default/assets/fonts/icons.ttf +0 -0
  453. data/support/editor-app/semantic/themes/default/assets/fonts/icons.woff +0 -0
  454. data/support/editor-app/semantic/themes/default/assets/images/flags.png +0 -0
  455. data/support/editor-app/vendor/jquery.js +8829 -0
  456. data/support/library-server/Gemfile +0 -0
  457. data/support/library-server/config.ru +4 -0
  458. metadata +740 -7
@@ -0,0 +1,11 @@
1
+ /*
2
+ * # Semantic UI - 1.8.1
3
+ * https://github.com/Semantic-Org/Semantic-UI
4
+ * http://www.semantic-ui.com/
5
+ *
6
+ * Copyright 2014 Contributors
7
+ * Released under the MIT license
8
+ * http://opensource.org/licenses/MIT
9
+ *
10
+ */
11
+ .ui.items>.item{table-layout:fixed;display:table;margin:1em 0;width:100%;min-height:0;background:0 0;padding:0;border:none;border-radius:0;box-shadow:none;-webkit-transition:box-shadow .2s ease;transition:box-shadow .2s ease;z-index:''}.ui.items>.item a{cursor:pointer}.ui.items{margin:1.5em 0}.ui.items:first-child{margin-top:0!important}.ui.items:last-child{margin-bottom:0!important}.ui.items>.item{min-width:100%}.ui.items>.item:after{display:block;content:' ';height:0;clear:both;overflow:hidden;visibility:hidden}.ui.items>.item:first-child{margin-top:0}.ui.items>.item:last-child{margin-bottom:0}.ui.items>.item>.image{position:relative;display:table-cell;float:none;margin:0;padding:0;max-height:'';vertical-align:top}.ui.items>.item>.image>img{display:block;width:100%;height:auto;border-radius:.125rem;border:none}.ui.items>.item>.image:only-child>img{border-radius:0}.ui.items>.item>.content{display:block;background:0 0;margin:0;padding:0;box-shadow:none;font-size:1em;border:none;border-radius:0}.ui.items>.item>.content:after{display:block;content:' ';height:0;clear:both;overflow:hidden;visibility:hidden}.ui.items>.item>.image+.content{width:100%;display:table-cell;margin-left:0;vertical-align:top;padding-left:1.5em}.ui.items>.item>.content>.header{display:inline-block;margin:-.165em 0 0;font-family:Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;font-weight:700;color:rgba(0,0,0,.85)}.ui.items>.item>.content>.header:not(.ui){font-size:1.2em}.ui.items>.item [class*="left floated"]{float:left}.ui.items>.item [class*="right floated"]{float:right}.ui.items>.item .content img{display:inline-block;vertical-align:middle;width:2em}.ui.items>.item .avatar img,.ui.items>.item img.avatar{width:2em;height:2em;border-radius:500rem}.ui.items>.item>.content>.description{margin-top:.6em;max-width:550px;font-size:1em;line-height:1.33;color:rgba(0,0,0,.8)}.ui.items>.item>.content p{margin:0 0 .5em}.ui.items>.item>.content p:last-child{margin-bottom:0}.ui.items>.item .meta{font-size:1em;line-height:1em;color:rgba(0,0,0,.6)}.ui.items>.item .meta *{margin-right:.3em}.ui.items>.item .meta :last-child{margin-right:0}.ui.items>.item .meta [class*="right floated"]{margin-right:0;margin-left:.3em}.ui.items>.item>.content a:not(.ui){color:'';-webkit-transition:color .2s ease;transition:color .2s ease}.ui.items>.item>.content a:not(.ui):hover{color:''}.ui.items>.item>.content>a.header{color:rgba(0,0,0,.85)}.ui.items>.item>.content>a.header:hover{color:#00b2f3}.ui.items>.item .meta>a:not(.ui){color:rgba(0,0,0,.4)}.ui.items>.item .meta>a:not(.ui):hover{color:rgba(0,0,0,.8)}.ui.items>.item>.content .favorite.icon{cursor:pointer;opacity:.75;-webkit-transition:color .2s ease;transition:color .2s ease}.ui.items>.item>.content .favorite.icon:hover{opacity:1;color:#ffb70a}.ui.items>.item>.content .active.favorite.icon{color:#ffb70a}.ui.items>.item>.content .like.icon{cursor:pointer;opacity:.75;-webkit-transition:color .2s ease;transition:color .2s ease}.ui.items>.item>.content .like.icon:hover{opacity:1;color:#ff2733}.ui.items>.item>.content .active.like.icon{color:#ff2733}.ui.items>.item .extra{display:block;position:relative;background:0 0;margin:.5rem 0 0;width:100%;padding:0;top:0;left:0;color:rgba(0,0,0,.4);box-shadow:none;-webkit-transition:color .2s ease;transition:color .2s ease;border-top:none}.ui.items>.item .extra>*{margin:.25rem .5rem .25rem 0}.ui.items>.item .extra>[class*="right floated"]{margin:.25rem 0 .25rem .5rem}.ui.items>.item .extra:after{display:block;content:' ';height:0;clear:both;overflow:hidden;visibility:hidden}.ui.items>.item>.image:not(.ui){width:175px}@media only screen and (min-width:768px) and (max-width:991px){.ui.items>.item{margin:1em 0}.ui.items>.item>.image:not(.ui){width:150px}.ui.items>.item>.image+.content{display:block;padding:0 0 0 1em}}@media only screen and (max-width:767px){.ui.items>.item{margin:2em 0}.ui.items>.item>.image{display:block;margin-left:auto;margin-right:auto}.ui.items>.item>.image,.ui.items>.item>.image>img{max-width:100%!important;width:auto!important;max-height:250px!important}.ui.items>.item>.image+.content{display:block;padding:1.5em 0 0}}.ui.items>.item>.image+[class*="top aligned"].content{vertical-align:top}.ui.items>.item>.image+[class*="middle aligned"].content{vertical-align:middle}.ui.items>.item>.image+[class*="bottom aligned"].content{vertical-align:bottom}.ui.relaxed.items>.item{margin:1.5em 0}.ui[class*="very relaxed"].items>.item{margin:2em 0}.ui.divided.items>.item{border-top:1px solid rgba(39,41,43,.15);margin:0;padding:1em 0}.ui.divided.items>.item:first-child{border-top:none;margin-top:0!important;padding-top:0!important}.ui.divided.items>.item:last-child{margin-bottom:0!important;padding-bottom:0!important}.ui.relaxed.divided.items>.item{margin:0;padding:1.5em 0}.ui[class*="very relaxed"].divided.items>.item{margin:0;padding:2em 0}.ui.items a.item:hover,.ui.link.items>.item:hover{cursor:pointer}.ui.items a.item:hover .content .header,.ui.link.items>.item:hover .content .header{color:#00b2f3}.ui.items>.item{font-size:1em}
@@ -0,0 +1,930 @@
1
+ /*
2
+ * # Semantic UI - 1.8.1
3
+ * https://github.com/Semantic-Org/Semantic-UI
4
+ * http://www.semantic-ui.com/
5
+ *
6
+ * Copyright 2014 Contributors
7
+ * Released under the MIT license
8
+ * http://opensource.org/licenses/MIT
9
+ *
10
+ */
11
+
12
+
13
+
14
+ /*******************************
15
+ Label
16
+ *******************************/
17
+
18
+ .ui.label {
19
+ display: inline-block;
20
+ vertical-align: baseline;
21
+ line-height: 1;
22
+ margin: 0em 0.125em;
23
+ background-color: #e8e8e8;
24
+ border-color: #e8e8e8;
25
+ background-image: none;
26
+ padding: 0.6em 0.8em;
27
+ color: rgba(0, 0, 0, 0.6);
28
+ text-transform: none;
29
+ font-weight: bold;
30
+ border-radius: 0.2857rem;
31
+ box-sizing: border-box;
32
+ -webkit-transition: background 0.2s ease;
33
+ transition: background 0.2s ease;
34
+ }
35
+ .ui.label:first-child {
36
+ margin-left: 0em;
37
+ }
38
+ .ui.label:last-child {
39
+ margin-right: 0em;
40
+ }
41
+
42
+ /* Link */
43
+ a.ui.label {
44
+ cursor: pointer;
45
+ }
46
+
47
+ /* Inside Link */
48
+ .ui.label a {
49
+ cursor: pointer;
50
+ color: inherit;
51
+ opacity: 0.8;
52
+ -webkit-transition: 0.2s opacity ease;
53
+ transition: 0.2s opacity ease;
54
+ }
55
+ .ui.label a:hover {
56
+ opacity: 1;
57
+ }
58
+
59
+ /* Icon */
60
+ .ui.label .icon {
61
+ width: auto;
62
+ margin: 0em 0.75em 0em 0em;
63
+ }
64
+
65
+ /* Detail */
66
+ .ui.label .detail {
67
+ display: inline-block;
68
+ vertical-align: top;
69
+ font-weight: bold;
70
+ margin-left: 1em;
71
+ opacity: 0.8;
72
+ }
73
+ .ui.label .detail .icon {
74
+ margin: 0em 0.25em 0em 0em;
75
+ }
76
+
77
+ /* Removable label */
78
+ .ui.label .close.icon,
79
+ .ui.label .delete.icon {
80
+ cursor: pointer;
81
+ margin-right: 0em;
82
+ margin-left: 0.5em;
83
+ opacity: 0.8;
84
+ -webkit-transition: background 0.2s ease;
85
+ transition: background 0.2s ease;
86
+ }
87
+ .ui.label .delete.icon:hover {
88
+ opacity: 1;
89
+ }
90
+
91
+ /*-------------------
92
+ Group
93
+ --------------------*/
94
+
95
+ .ui.labels .label {
96
+ margin: 0em 0.5em 0.75em 0em;
97
+ }
98
+
99
+ /*-------------------
100
+ Coupling
101
+ --------------------*/
102
+
103
+
104
+ /* Remove border radius on attached segment */
105
+ .ui.attached.segment > .ui.top.left.attached.label,
106
+ .ui.bottom.attached.segment > .ui.top.left.attached.label {
107
+ border-top-left-radius: 0;
108
+ }
109
+ .ui.attached.segment > .ui.top.right.attached.label,
110
+ .ui.bottom.attached.segment > .ui.top.right.attached.label {
111
+ border-top-right-radius: 0;
112
+ }
113
+ .ui.top.attached.segment > .ui.bottom.left.attached.label {
114
+ border-bottom-left-radius: 0;
115
+ }
116
+ .ui.top.attached.segment > .ui.bottom.right.attached.label {
117
+ border-bottom-right-radius: 0;
118
+ }
119
+
120
+ /* Padding on next content after a label */
121
+ .ui.top.attached.label:first-child + :not(.attached) {
122
+ margin-top: 2rem !important;
123
+ }
124
+ .ui.bottom.attached.label:first-child ~ :last-child:not(.attached) {
125
+ margin-top: 0em;
126
+ margin-bottom: 2rem !important;
127
+ }
128
+
129
+
130
+ /*******************************
131
+ Types
132
+ *******************************/
133
+
134
+ .ui.image.label {
135
+ width: auto !important;
136
+ margin-top: 0em;
137
+ margin-bottom: 0em;
138
+ max-width: 9999px;
139
+ vertical-align: baseline;
140
+ text-transform: none;
141
+ background: #e8e8e8;
142
+ padding: 0.6em 0.8em 0.6em 0.5em;
143
+ border-radius: 0.2857rem;
144
+ box-shadow: none;
145
+ }
146
+ .ui.image.label img {
147
+ display: inline-block;
148
+ vertical-align: top;
149
+ height: 2.2em;
150
+ margin: -0.6em 0.5em -0.6em -0.5em;
151
+ border-radius: 0.2857rem;
152
+ }
153
+ .ui.image.label .detail {
154
+ background: rgba(0, 0, 0, 0.1);
155
+ margin: -0.6em -0.8em -0.6em 0.5em;
156
+ padding: 0.6em 0.8em;
157
+ border-radius: 0em 0.2857rem 0.2857rem 0em;
158
+ }
159
+
160
+ /*-------------------
161
+ Tag
162
+ --------------------*/
163
+
164
+ .ui.tag.labels .label,
165
+ .ui.tag.label {
166
+ margin-left: 1em;
167
+ position: relative;
168
+ padding-left: 1.5em;
169
+ padding-right: 1.5em;
170
+ border-radius: 0em 0.2857rem 0.2857rem 0em;
171
+ }
172
+ .ui.tag.labels .label:before,
173
+ .ui.tag.label:before {
174
+ position: absolute;
175
+ -webkit-transform: translateY(-50%) translateX(50%) rotate(-45deg);
176
+ -ms-transform: translateY(-50%) translateX(50%) rotate(-45deg);
177
+ transform: translateY(-50%) translateX(50%) rotate(-45deg);
178
+ top: 50%;
179
+ right: 100%;
180
+ content: '';
181
+ background-color: #e8e8e8;
182
+ background-image: none;
183
+ width: 1.56em;
184
+ height: 1.56em;
185
+ -webkit-transition: background 0.2s ease;
186
+ transition: background 0.2s ease;
187
+ }
188
+ .ui.tag.labels .label:after,
189
+ .ui.tag.label:after {
190
+ position: absolute;
191
+ content: '';
192
+ top: 50%;
193
+ left: -0.25em;
194
+ margin-top: -0.25em;
195
+ background-color: #ffffff !important;
196
+ width: 0.5em;
197
+ height: 0.5em;
198
+ box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.3);
199
+ border-radius: 500rem;
200
+ }
201
+
202
+ /*-------------------
203
+ Corner Label
204
+ --------------------*/
205
+
206
+ .ui.corner.label {
207
+ position: absolute;
208
+ top: 0em;
209
+ right: 0em;
210
+ margin: 0em;
211
+ padding: 0em;
212
+ text-align: center;
213
+ width: 3.25em;
214
+ height: 3.25em;
215
+ z-index: 1;
216
+ -webkit-transition: border-color 0.2s ease;
217
+ transition: border-color 0.2s ease;
218
+ }
219
+
220
+ /* Icon Label */
221
+ .ui.corner.label {
222
+ background-color: transparent !important;
223
+ }
224
+ .ui.corner.label:after {
225
+ position: absolute;
226
+ content: "";
227
+ right: 0em;
228
+ top: 0em;
229
+ z-index: -1;
230
+ width: 0em;
231
+ height: 0em;
232
+ background-color: transparent !important;
233
+ border-top: 0em solid transparent;
234
+ border-right: 3.25em solid transparent;
235
+ border-bottom: 3.25em solid transparent;
236
+ border-left: 0em solid transparent;
237
+ border-right-color: inherit;
238
+ -webkit-transition: border-color 0.2s ease;
239
+ transition: border-color 0.2s ease;
240
+ }
241
+ .ui.corner.label .icon {
242
+ position: relative;
243
+ top: 0.4em;
244
+ left: 0.75em;
245
+ font-size: 1em;
246
+ margin: 0em;
247
+ }
248
+
249
+ /* Left Corner */
250
+ .ui.left.corner.label,
251
+ .ui.left.corner.label:after {
252
+ right: auto;
253
+ left: 0em;
254
+ }
255
+ .ui.left.corner.label:after {
256
+ border-top: 3.25em solid transparent;
257
+ border-right: 3.25em solid transparent;
258
+ border-bottom: 0em solid transparent;
259
+ border-left: 0em solid transparent;
260
+ border-top-color: inherit;
261
+ }
262
+ .ui.left.corner.label .icon {
263
+ left: -0.75em;
264
+ }
265
+
266
+ /* Segment */
267
+ .ui.segment > .ui.corner.label {
268
+ top: -1px;
269
+ right: -1px;
270
+ }
271
+ .ui.segment > .ui.left.corner.label {
272
+ right: auto;
273
+ left: -1px;
274
+ }
275
+
276
+ /* Input */
277
+ .ui.input > .ui.corner.label {
278
+ top: 1px;
279
+ right: 1px;
280
+ }
281
+ .ui.input > .ui.right.corner.label {
282
+ right: auto;
283
+ left: 1px;
284
+ }
285
+
286
+ /*-------------------
287
+ Ribbon
288
+ --------------------*/
289
+
290
+ .ui.ribbon.label {
291
+ position: relative;
292
+ margin: 0em;
293
+ left: -webkit-calc( -1rem - 1.2em );
294
+ left: calc( -1rem - 1.2em );
295
+ padding-left: -webkit-calc( 1rem + 1.2em );
296
+ padding-left: calc( 1rem + 1.2em );
297
+ border-radius: 0em 0.2857rem 0.2857rem 0em;
298
+ border-color: rgba(0, 0, 0, 0.15);
299
+ }
300
+ .ui.ribbon.label:after {
301
+ position: absolute;
302
+ content: "";
303
+ top: 100%;
304
+ left: 0%;
305
+ background-color: transparent !important;
306
+ border-style: solid;
307
+ border-width: 0em 1.2em 1.2em 0em;
308
+ border-color: transparent;
309
+ border-right-color: inherit;
310
+ width: 0em;
311
+ height: 0em;
312
+ }
313
+ .ui[class*="right ribbon"].label {
314
+ text-align: left;
315
+ -webkit-transform: translateX(-100%);
316
+ -ms-transform: translateX(-100%);
317
+ transform: translateX(-100%);
318
+ left: -webkit-calc(100% + 1rem + 1.2em );
319
+ left: calc(100% + 1rem + 1.2em );
320
+ border-radius: 0.2857rem 0em 0em 0.2857rem;
321
+ padding-left: 0.8em;
322
+ padding-right: -webkit-calc( 1rem + 1.2em );
323
+ padding-right: calc( 1rem + 1.2em );
324
+ }
325
+ .ui[class*="right ribbon"].label:after {
326
+ left: auto;
327
+ right: 0%;
328
+ border-style: solid;
329
+ border-width: 1.2em 1.2em 0em 0em;
330
+ border-color: transparent;
331
+ border-top-color: inherit;
332
+ }
333
+
334
+ /*-------------------
335
+ Attached
336
+ --------------------*/
337
+
338
+ .ui.top.attached.label,
339
+ .ui.attached.label {
340
+ width: 100%;
341
+ position: absolute;
342
+ margin: 0em;
343
+ top: 0em;
344
+ left: 0em;
345
+ padding: 0.75em 1em;
346
+ border-radius: 0.2857rem 0.2857rem 0em 0em;
347
+ }
348
+ .ui.bottom.attached.label {
349
+ top: auto;
350
+ bottom: 0em;
351
+ border-radius: 0em 0em 0.2857rem 0.2857rem;
352
+ }
353
+ .ui.top.left.attached.label {
354
+ width: auto;
355
+ margin-top: 0em !important;
356
+ border-radius: 0.2857rem 0em 0.2857rem 0em;
357
+ }
358
+ .ui.top.right.attached.label {
359
+ width: auto;
360
+ left: auto;
361
+ right: 0em;
362
+ border-radius: 0em 0.2857rem 0em 0.2857rem;
363
+ }
364
+ .ui.bottom.left.attached.label {
365
+ width: auto;
366
+ top: auto;
367
+ bottom: 0em;
368
+ border-radius: 0em 0.2857rem 0em 0.2857rem;
369
+ }
370
+ .ui.bottom.right.attached.label {
371
+ top: auto;
372
+ bottom: 0em;
373
+ left: auto;
374
+ right: 0em;
375
+ width: auto;
376
+ border-radius: 0.2857rem 0em 0.2857rem 0em;
377
+ }
378
+
379
+
380
+ /*******************************
381
+ States
382
+ *******************************/
383
+
384
+
385
+ /*-------------------
386
+ Disabled
387
+ --------------------*/
388
+
389
+ .ui.label.disabled {
390
+ opacity: 0.5;
391
+ }
392
+
393
+ /*-------------------
394
+ Hover
395
+ --------------------*/
396
+
397
+ a.ui.labels .label:hover,
398
+ a.ui.label:hover {
399
+ background-color: #e0e0e0;
400
+ border-color: #e0e0e0;
401
+ background-image: none;
402
+ color: rgba(0, 0, 0, 0.8);
403
+ }
404
+ .ui.labels a.label:hover:before,
405
+ a.ui.label:hover:before {
406
+ background-color: #e0e0e0;
407
+ background-image: none;
408
+ color: rgba(0, 0, 0, 0.8);
409
+ }
410
+
411
+ /*-------------------
412
+ Visible
413
+ --------------------*/
414
+
415
+ .ui.labels.visible .label,
416
+ .ui.label.visible {
417
+ display: inline-block !important;
418
+ }
419
+
420
+ /*-------------------
421
+ Hidden
422
+ --------------------*/
423
+
424
+ .ui.labels.hidden .label,
425
+ .ui.label.hidden {
426
+ display: none !important;
427
+ }
428
+
429
+
430
+ /*******************************
431
+ Variations
432
+ *******************************/
433
+
434
+
435
+ /*-------------------
436
+ Colors
437
+ --------------------*/
438
+
439
+
440
+ /*--- Black ---*/
441
+
442
+ .ui.black.labels .label,
443
+ .ui.black.label {
444
+ background-color: #1b1c1d !important;
445
+ border-color: #1b1c1d !important;
446
+ color: #ffffff !important;
447
+ }
448
+ .ui.labels .black.label:before,
449
+ .ui.black.labels .label:before,
450
+ .ui.black.label:before {
451
+ background-color: #1b1c1d !important;
452
+ }
453
+ a.ui.black.labels .label:hover,
454
+ a.ui.black.label:hover {
455
+ background-color: #1b1c1d !important;
456
+ border-color: #1b1c1d !important;
457
+ }
458
+ .ui.labels a.black.label:hover:before,
459
+ .ui.black.labels a.label:hover:before,
460
+ a.ui.black.label:hover:before {
461
+ background-color: #1b1c1d !important;
462
+ }
463
+ .ui.black.corner.label,
464
+ .ui.black.corner.label:hover {
465
+ background-color: transparent !important;
466
+ }
467
+ .ui.black.ribbon.label {
468
+ border-color: #020203 !important;
469
+ }
470
+
471
+ /*--- Blue ---*/
472
+
473
+ .ui.blue.labels .label,
474
+ .ui.blue.label {
475
+ background-color: #3b83c0 !important;
476
+ border-color: #3b83c0 !important;
477
+ color: #ffffff !important;
478
+ }
479
+ .ui.labels .blue.label:before,
480
+ .ui.blue.labels .label:before,
481
+ .ui.blue.label:before {
482
+ background-color: #3b83c0 !important;
483
+ }
484
+ a.ui.blue.labels .label:hover,
485
+ .ui.blue.labels a.label:hover,
486
+ a.ui.blue.label:hover {
487
+ background-color: #458ac6 !important;
488
+ border-color: #458ac6 !important;
489
+ color: #ffffff !important;
490
+ }
491
+ .ui.labels a.blue.label:hover:before,
492
+ .ui.blue.labels a.label:hover:before,
493
+ a.ui.blue.label:hover:before {
494
+ background-color: #458ac6 !important;
495
+ }
496
+ .ui.blue.corner.label,
497
+ .ui.blue.corner.label:hover {
498
+ background-color: transparent !important;
499
+ }
500
+ .ui.blue.ribbon.label {
501
+ border-color: #2f6899 !important;
502
+ }
503
+
504
+ /*--- Green ---*/
505
+
506
+ .ui.green.labels .label,
507
+ .ui.green.label {
508
+ background-color: #5bbd72 !important;
509
+ border-color: #5bbd72 !important;
510
+ color: #ffffff !important;
511
+ }
512
+ .ui.labels .green.label:before,
513
+ .ui.green.labels .label:before,
514
+ .ui.green.label:before {
515
+ background-color: #5bbd72 !important;
516
+ }
517
+ a.ui.green.labels .label:hover,
518
+ a.ui.green.label:hover {
519
+ background-color: #66c17b !important;
520
+ border-color: #66c17b !important;
521
+ }
522
+ .ui.labels a.green.label:hover:before,
523
+ .ui.green.labels a.label:hover:before,
524
+ a.ui.green.label:hover:before {
525
+ background-color: #66c17b !important;
526
+ }
527
+ .ui.green.corner.label,
528
+ .ui.green.corner.label:hover {
529
+ background-color: transparent !important;
530
+ }
531
+ .ui.green.ribbon.label {
532
+ border-color: #42a359 !important;
533
+ }
534
+
535
+ /*--- Orange ---*/
536
+
537
+ .ui.orange.labels .label,
538
+ .ui.orange.label {
539
+ background-color: #e07b53 !important;
540
+ border-color: #e07b53 !important;
541
+ color: #ffffff !important;
542
+ }
543
+ .ui.labels .orange.label:before,
544
+ .ui.orange.labels .label:before,
545
+ .ui.orange.label:before {
546
+ background-color: #e07b53 !important;
547
+ }
548
+ a.ui.orange.labels .label:hover,
549
+ .ui.orange.labels a.label:hover,
550
+ a.ui.orange.label:hover {
551
+ background-color: #e28560 !important;
552
+ border-color: #e28560 !important;
553
+ color: #ffffff !important;
554
+ }
555
+ .ui.labels a.orange.label:hover:before,
556
+ .ui.orange.labels a.label:hover:before,
557
+ a.ui.orange.label:hover:before {
558
+ background-color: #e28560 !important;
559
+ }
560
+ .ui.orange.corner.label,
561
+ .ui.orange.corner.label:hover {
562
+ background-color: transparent !important;
563
+ }
564
+ .ui.orange.ribbon.label {
565
+ border-color: #d85a28 !important;
566
+ }
567
+
568
+ /*--- Pink ---*/
569
+
570
+ .ui.pink.labels .label,
571
+ .ui.pink.label {
572
+ background-color: #d9499a !important;
573
+ border-color: #d9499a !important;
574
+ color: #ffffff !important;
575
+ }
576
+ .ui.labels .pink.label:before,
577
+ .ui.pink.labels .label:before,
578
+ .ui.pink.label:before {
579
+ background-color: #d9499a !important;
580
+ }
581
+ a.ui.pink.labels .label:hover,
582
+ .ui.pink.labels a.label:hover,
583
+ a.ui.pink.label:hover {
584
+ background-color: #dc56a1 !important;
585
+ border-color: #dc56a1 !important;
586
+ color: #ffffff !important;
587
+ }
588
+ .ui.labels a.pink.label:hover:before,
589
+ .ui.pink.labels a.label:hover:before,
590
+ a.ui.pink.label:hover:before {
591
+ background-color: #dc56a1 !important;
592
+ }
593
+ .ui.pink.corner.label,
594
+ .ui.pink.corner.label:hover {
595
+ background-color: transparent !important;
596
+ }
597
+ .ui.pink.ribbon.label {
598
+ border-color: #c62981 !important;
599
+ }
600
+
601
+ /*--- Purple ---*/
602
+
603
+ .ui.purple.labels .label,
604
+ .ui.purple.label {
605
+ background-color: #564f8a !important;
606
+ border-color: #564f8a !important;
607
+ color: #ffffff !important;
608
+ }
609
+ .ui.labels .purple.label:before,
610
+ .ui.purple.labels .label:before,
611
+ .ui.purple.label:before {
612
+ background-color: #564f8a !important;
613
+ }
614
+ a.ui.purple.labels .label:hover,
615
+ .ui.purple.labels a.label:hover,
616
+ a.ui.purple.label:hover {
617
+ background-color: #5c5594 !important;
618
+ border-color: #5c5594 !important;
619
+ color: #ffffff !important;
620
+ }
621
+ .ui.labels a.purple.label:hover:before,
622
+ .ui.purple.labels a.label:hover:before,
623
+ a.ui.purple.label:hover:before {
624
+ background-color: #5c5594 !important;
625
+ }
626
+ .ui.purple.corner.label,
627
+ .ui.purple.corner.label:hover {
628
+ background-color: transparent !important;
629
+ }
630
+ .ui.purple.ribbon.label {
631
+ border-color: #423c6a !important;
632
+ }
633
+
634
+ /*--- Red ---*/
635
+
636
+ .ui.red.labels .label,
637
+ .ui.red.label {
638
+ background-color: #d95c5c !important;
639
+ border-color: #d95c5c !important;
640
+ color: #ffffff !important;
641
+ }
642
+ .ui.labels .red.label:before,
643
+ .ui.red.labels .label:before,
644
+ .ui.red.label:before {
645
+ background-color: #d95c5c !important;
646
+ }
647
+ .ui.red.corner.label,
648
+ .ui.red.corner.label:hover {
649
+ background-color: transparent !important;
650
+ }
651
+ a.ui.red.labels .label:hover,
652
+ a.ui.red.label:hover {
653
+ background-color: #dc6868 !important;
654
+ border-color: #dc6868 !important;
655
+ color: #ffffff !important;
656
+ }
657
+ .ui.labels a.red.label:hover:before,
658
+ .ui.red.labels a.label:hover:before,
659
+ a.ui.red.label:hover:before {
660
+ background-color: #dc6868 !important;
661
+ }
662
+ .ui.red.ribbon.label {
663
+ border-color: #cf3333 !important;
664
+ }
665
+
666
+ /*--- Teal ---*/
667
+
668
+ .ui.teal.labels .label,
669
+ .ui.teal.label {
670
+ background-color: #00b5ad !important;
671
+ border-color: #00b5ad !important;
672
+ color: #ffffff !important;
673
+ }
674
+ .ui.labels .teal.label:before,
675
+ .ui.teal.labels .label:before,
676
+ .ui.teal.label:before {
677
+ background-color: #00b5ad !important;
678
+ }
679
+ a.ui.teal.labels .label:hover,
680
+ .ui.teal.labels a.label:hover,
681
+ a.ui.teal.label:hover {
682
+ background-color: #00c4bc !important;
683
+ border-color: #00c4bc !important;
684
+ color: #ffffff !important;
685
+ }
686
+ .ui.labels a.teal.label:hover:before,
687
+ .ui.teal.labels a.label:hover:before,
688
+ a.ui.teal.label:hover:before {
689
+ background-color: #00c4bc !important;
690
+ }
691
+ .ui.teal.corner.label,
692
+ .ui.teal.corner.label:hover {
693
+ background-color: transparent !important;
694
+ }
695
+ .ui.teal.ribbon.label {
696
+ border-color: #00827c !important;
697
+ }
698
+
699
+ /*--- Yellow ---*/
700
+
701
+ .ui.yellow.labels .label,
702
+ .ui.yellow.label {
703
+ background-color: #f2c61f !important;
704
+ border-color: #f2c61f !important;
705
+ color: #ffffff !important;
706
+ }
707
+ .ui.labels .yellow.label:before,
708
+ .ui.yellow.labels .label:before,
709
+ .ui.yellow.label:before {
710
+ background-color: #f2c61f !important;
711
+ }
712
+ a.ui.yellow.labels .label:hover,
713
+ .ui.yellow.labels a.label:hover,
714
+ a.ui.yellow.label:hover {
715
+ background-color: #f3ca2d !important;
716
+ border-color: #f3ca2d !important;
717
+ color: #ffffff !important;
718
+ }
719
+ .ui.labels a.yellow.label:hover:before,
720
+ .ui.yellow.labels a.label:hover:before,
721
+ a.ui.yellow.label:hover:before {
722
+ background-color: #f3ca2d !important;
723
+ }
724
+ .ui.yellow.corner.label,
725
+ .ui.yellow.corner.label:hover {
726
+ background-color: transparent !important;
727
+ }
728
+ .ui.yellow.ribbon.label {
729
+ border-color: #d2a90c !important;
730
+ }
731
+
732
+ /*-------------------
733
+ Fluid
734
+ --------------------*/
735
+
736
+ .ui.label.fluid,
737
+ .ui.fluid.labels > .label {
738
+ width: 100%;
739
+ box-sizing: border-box;
740
+ }
741
+
742
+ /*-------------------
743
+ Inverted
744
+ --------------------*/
745
+
746
+ .ui.inverted.labels .label,
747
+ .ui.inverted.label {
748
+ color: #ffffff !important;
749
+ }
750
+
751
+ /*-------------------
752
+ Horizontal
753
+ --------------------*/
754
+
755
+ .ui.horizontal.labels .label,
756
+ .ui.horizontal.label {
757
+ margin: 0em 0.5em 0em 0em;
758
+ padding: 0.4em 0.8em;
759
+ min-width: 3em;
760
+ text-align: center;
761
+ }
762
+
763
+ /*-------------------
764
+ Circular
765
+ --------------------*/
766
+
767
+ .ui.circular.labels .label,
768
+ .ui.circular.label {
769
+ min-width: 2em;
770
+ min-height: 2em;
771
+ padding: 0.5em !important;
772
+ line-height: 1em;
773
+ text-align: center;
774
+ border-radius: 500rem;
775
+ }
776
+ .ui.empty.circular.labels .label,
777
+ .ui.empty.circular.label {
778
+ min-width: 0em;
779
+ min-height: 0em;
780
+ overflow: hidden;
781
+ width: 0.5em;
782
+ height: 0.5em;
783
+ vertical-align: baseline;
784
+ }
785
+
786
+ /*-------------------
787
+ Pointing
788
+ --------------------*/
789
+
790
+ .ui.pointing.label {
791
+ position: relative;
792
+ }
793
+ .ui.attached.pointing.label {
794
+ position: absolute;
795
+ }
796
+ .ui.pointing.label:before {
797
+ position: absolute;
798
+ content: '';
799
+ -webkit-transform: rotate(45deg);
800
+ -ms-transform: rotate(45deg);
801
+ transform: rotate(45deg);
802
+ background-image: none;
803
+ z-index: 2;
804
+ width: 0.6em;
805
+ height: 0.6em;
806
+ -webkit-transition: background 0.2s ease;
807
+ transition: background 0.2s ease;
808
+ }
809
+
810
+ /*--- Above ---*/
811
+
812
+ .ui.pointing.label:before {
813
+ background-color: #e8e8e8;
814
+ background-image: none;
815
+ }
816
+ .ui.pointing.label,
817
+ .ui.pointing.above.label {
818
+ margin-top: 1em;
819
+ }
820
+ .ui.pointing.label:before,
821
+ .ui.pointing.above.label:before {
822
+ margin-left: -0.3em;
823
+ top: -0.3em;
824
+ left: 50%;
825
+ }
826
+
827
+ /*--- Below ---*/
828
+
829
+ .ui.pointing.bottom.label,
830
+ .ui.pointing.below.label {
831
+ margin-top: 0em;
832
+ margin-bottom: 1em;
833
+ }
834
+ .ui.pointing.bottom.label:before,
835
+ .ui.pointing.below.label:before {
836
+ margin-left: -0.3em;
837
+ top: auto;
838
+ right: auto;
839
+ bottom: -0.3em;
840
+ left: 50%;
841
+ }
842
+
843
+ /*--- Left ---*/
844
+
845
+ .ui.pointing.left.label {
846
+ margin-top: 0em;
847
+ margin-left: 0.6em;
848
+ }
849
+ .ui.pointing.left.label:before {
850
+ margin-top: -0.3em;
851
+ bottom: auto;
852
+ right: auto;
853
+ top: 50%;
854
+ left: 0em;
855
+ }
856
+
857
+ /*--- Right ---*/
858
+
859
+ .ui.pointing.right.label {
860
+ margin-top: 0em;
861
+ margin-right: 0.6em;
862
+ }
863
+ .ui.pointing.right.label:before {
864
+ margin-top: -0.3em;
865
+ right: -0.3em;
866
+ top: 50%;
867
+ bottom: auto;
868
+ left: auto;
869
+ }
870
+
871
+ /*------------------
872
+ Floating Label
873
+ -------------------*/
874
+
875
+ .ui.floating.label {
876
+ position: absolute;
877
+ z-index: 100;
878
+ top: -1em;
879
+ left: 100%;
880
+ margin: 0em 0em 0em -1.5em !important;
881
+ }
882
+
883
+ /*-------------------
884
+ Sizes
885
+ --------------------*/
886
+
887
+ .ui.mini.labels .label,
888
+ .ui.mini.label {
889
+ font-size: 0.6428rem;
890
+ }
891
+ .ui.tiny.labels .label,
892
+ .ui.tiny.label {
893
+ font-size: 0.7142rem;
894
+ }
895
+ .ui.small.labels .label,
896
+ .ui.small.label {
897
+ font-size: 0.7857rem;
898
+ }
899
+ .ui.labels .label,
900
+ .ui.label {
901
+ font-size: 0.8571rem;
902
+ }
903
+ .ui.large.labels .label,
904
+ .ui.large.label {
905
+ font-size: 1rem;
906
+ }
907
+ .ui.big.labels .label,
908
+ .ui.big.label {
909
+ font-size: 1.1428rem;
910
+ }
911
+ .ui.huge.labels .label,
912
+ .ui.huge.label {
913
+ font-size: 1.2857rem;
914
+ }
915
+ .ui.massive.labels .label,
916
+ .ui.massive.label {
917
+ font-size: 1.4285rem;
918
+ }
919
+
920
+
921
+ /*******************************
922
+ Theme Overrides
923
+ *******************************/
924
+
925
+
926
+
927
+ /*******************************
928
+ Site Overrides
929
+ *******************************/
930
+