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.dropdown{cursor:pointer;position:relative;display:inline-block;line-height:1em;tap-highlight-color:transparent;outline:0;text-align:left;-webkit-transition:border-radius .1s ease,width .2s ease;transition:border-radius .1s ease,width .2s ease}.ui.dropdown .menu{cursor:auto;position:absolute;display:none;outline:0;top:100%;margin:0;padding:0;background:#fff;min-width:100%;white-space:nowrap;font-size:1rem;text-shadow:none;text-align:left;box-shadow:0 1px 4px 0 rgba(39,41,43,.15);border:1px solid rgba(39,41,43,.15);border-radius:0 0 .2857rem .2857rem;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;z-index:11;will-change:transform,opacity}.ui.dropdown>input[type=hidden],.ui.dropdown>select{display:none!important}.ui.dropdown>.dropdown.icon{margin:0 0 0 1em}.ui.dropdown .menu>.item .dropdown.icon{width:auto;float:right;margin:.2em 0 0 1em}.ui.dropdown .menu>.item .dropdown.icon+.text{margin-right:1em}.ui.dropdown>.text{display:inline-block;-webkit-transition:color .2s ease;transition:color .2s ease}.ui.dropdown .menu>.item{position:relative;cursor:pointer;display:block;border:none;height:auto;border-top:none;line-height:1.2em;color:rgba(0,0,0,.8);padding:.65rem 1.25rem!important;font-size:1rem;text-transform:none;font-weight:400;box-shadow:none;-webkit-touch-callout:none}.ui.dropdown .menu>.item:first-child{border-top-width:0}.ui.dropdown .menu .item>[class*="right floated"],.ui.dropdown>.text>[class*="right floated"]{float:right!important;margin-right:0!important;margin-left:1em!important}.ui.dropdown .menu .item>[class*="left floated"],.ui.dropdown>.text>[class*="left floated"]{float:left!important;margin-left:0!important;margin-right:1em!important}.ui.dropdown .menu .item>.flag.floated,.ui.dropdown .menu .item>.icon.floated,.ui.dropdown .menu .item>.image.floated,.ui.dropdown .menu .item>img.floated{margin-top:.2em}.ui.dropdown .menu>.header{margin:1rem 0 .75rem;padding:0 1.25rem;color:rgba(0,0,0,.85);font-size:.8em;font-weight:700;text-transform:uppercase}.ui.dropdown .menu>.divider{border-top:1px solid rgba(0,0,0,.05);height:0;margin:.5em 0}.ui.dropdown .menu>.input{margin:.75rem 1.25rem;min-width:200px}.ui.dropdown .menu>.header+.input{margin-top:0}.ui.dropdown .menu>.input:not(.transparent) input{padding:.5em 1em}.ui.dropdown .menu>.input:not(.transparent) .button,.ui.dropdown .menu>.input:not(.transparent) .icon,.ui.dropdown .menu>.input:not(.transparent) .label{padding-top:.5em;padding-bottom:.5em}.ui.dropdown .menu>.item>.description,.ui.dropdown>.text>.description{margin:0 0 0 1em;color:rgba(0,0,0,.4)}.ui.dropdown .menu .menu{top:0!important;left:100%!important;right:auto!important;margin:0 0 0 -.5em!important;border-radius:0 .2857rem .2857rem 0!important;z-index:21!important}.ui.dropdown .menu .menu:after{display:none}.ui.dropdown>.text>.flag,.ui.dropdown>.text>.icon,.ui.dropdown>.text>.image,.ui.dropdown>.text>.label,.ui.dropdown>.text>img{margin-top:0}.ui.dropdown .menu>.item>.flag,.ui.dropdown .menu>.item>.icon,.ui.dropdown .menu>.item>.image,.ui.dropdown .menu>.item>.label,.ui.dropdown .menu>.item>img{margin-top:.2em}.ui.dropdown .menu>.item>.flag,.ui.dropdown .menu>.item>.icon,.ui.dropdown .menu>.item>.image,.ui.dropdown .menu>.item>.label,.ui.dropdown .menu>.item>img,.ui.dropdown>.text>.flag,.ui.dropdown>.text>.icon,.ui.dropdown>.text>.image,.ui.dropdown>.text>.label,.ui.dropdown>.text>img{margin-left:0;margin-right:.75em}.ui.dropdown .menu>.item>.image,.ui.dropdown .menu>.item>img,.ui.dropdown>.text>.image,.ui.dropdown>.text>img{display:inline-block;vertical-align:middle;width:auto;max-height:2.5em}.ui.dropdown .ui.menu>.item:before,.ui.menu .ui.dropdown .menu>.item:before{display:none}.ui.menu .ui.dropdown .menu .active.item{border-left:none}.ui.buttons>.ui.dropdown:last-child .menu,.ui.menu .right.dropdown.item .menu,.ui.menu .right.menu .dropdown:last-child .menu{left:auto;right:0}.ui.dropdown.icon.button>.dropdown.icon{margin:0}.ui.dropdown.button:not(.pointing):not(.floating).active,.ui.dropdown.button:not(.pointing):not(.floating).visible{border-bottom-left-radius:0;border-bottom-right-radius:0}.ui.selection.dropdown{cursor:pointer;word-wrap:break-word;white-space:normal;outline:0;-webkit-transform:rotateZ(0deg);transform:rotateZ(0deg);min-width:180px;background:#fff;display:inline-block;padding:.8em 1.1em;color:rgba(0,0,0,.8);box-shadow:none;border:1px solid rgba(39,41,43,.15);border-radius:.2857rem;-webkit-transition:border-radius .1s ease,width .2s ease,box-shadow .2s ease,border .2s ease;transition:border-radius .1s ease,width .2s ease,box-shadow .2s ease,border .2s ease}.ui.selection.dropdown.active,.ui.selection.dropdown.visible{z-index:10}select.ui.dropdown{height:38px;padding:0;margin:0;visibility:hidden}.ui.selection.dropdown>.text{margin-right:2em}.ui.selection.dropdown>.delete.icon,.ui.selection.dropdown>.dropdown.icon,.ui.selection.dropdown>.search.icon{position:absolute;top:auto;margin:0;width:auto;right:1.1em;opacity:.8;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.ui.compact.selection.dropdown{min-width:0}.ui.selection.dropdown .menu{overflow-x:hidden;overflow-y:auto;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-overflow-scrolling:touch;border-top-width:0!important;width:auto;margin:0 -1px;min-width:-webkit-calc(100% + 2px);min-width:calc(100% + 2px);outline:0;box-shadow:0 2px 4px 0 rgba(0,0,0,.08);-webkit-transition:box-shadow .2s ease,border .2s ease;transition:box-shadow .2s ease,border .2s ease}.ui.selection.dropdown .menu:after,.ui.selection.dropdown .menu:before{display:none}@media only screen and (max-width:767px){.ui.selection.dropdown .menu{max-height:7.7142rem}}@media only screen and (min-width:768px){.ui.selection.dropdown .menu{max-height:10.2856rem}}@media only screen and (min-width:992px){.ui.selection.dropdown .menu{max-height:15.4284rem}}@media only screen and (min-width:1920px){.ui.selection.dropdown .menu{max-height:20.5712rem}}.ui.selection.dropdown .menu>.item{border-top:1px solid rgba(0,0,0,.05);padding-left:1.1em!important;padding-right:-webkit-calc(2.1em)!important;padding-right:calc(2.1em)!important;white-space:normal;word-wrap:normal}.ui.selection.dropdown:hover{border-color:rgba(39,41,43,.3);box-shadow:0 0 2px 0 rgba(0,0,0,.05)}.ui.selection.dropdown.disabled,.ui.selection.dropdown.disabled:hover{cursor:default;box-shadow:none;color:rgba(0,0,0,.8);border:1px solid rgba(39,41,43,.15);opacity:.3!important}.ui.selection.visible.dropdown:hover{border-color:rgba(39,41,43,.3);box-shadow:0 0 4px 0 rgba(0,0,0,.08)}.ui.selection.visible.dropdown:hover .menu{border:1px solid rgba(39,41,43,.3);box-shadow:0 2px 6px 0 rgba(0,0,0,.1)}.ui.selection.dropdown.visible{border-color:rgba(39,41,43,.15);box-shadow:0 0 4px 0 rgba(0,0,0,.08)}.ui.visible.selection.dropdown>.dropdown.icon{opacity:1}.ui.selection.active.dropdown>.text:not(.default),.ui.selection.visible.dropdown>.text:not(.default){font-weight:400;color:rgba(0,0,0,.8)}.ui.active.selection.dropdown,.ui.visible.selection.dropdown{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.ui.search.dropdown{min-width:''}.ui.search.dropdown>input.search{background:none!important;border:none!important;box-shadow:none!important;border-radius:0!important;cursor:pointer;top:0;left:0;width:100%;outline:0;-webkit-tap-highlight-color:rgba(255,255,255,0);padding:inherit;position:absolute;z-index:2}.ui.search.dropdown>.text{cursor:text;position:relative;z-index:3}.ui.search.selection.dropdown>input.search{line-height:1.2142em;padding:.6929em 1.1em}.ui.search.dropdown.active>input.search,.ui.search.dropdown.visible>input.search{cursor:auto}.ui.search.dropdown.active>.text,.ui.search.dropdown.visible>.text{pointer-events:none}.ui.active.search.dropdown>input.search:focus+.text{color:rgba(0,0,0,.4)!important}.ui.search.dropdown .menu{overflow-x:hidden;overflow-y:auto;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-overflow-scrolling:touch}@media only screen and (max-width:767px){.ui.search.dropdown .menu{max-height:7.7142rem}}@media only screen and (min-width:768px){.ui.search.dropdown .menu{max-height:10.2856rem}}@media only screen and (min-width:992px){.ui.search.dropdown .menu{max-height:15.4284rem}}@media only screen and (min-width:1920px){.ui.search.dropdown .menu{max-height:20.5712rem}}.ui.inline.dropdown{cursor:pointer;display:inline-block;color:inherit}.ui.inline.dropdown .dropdown.icon{margin:0 .5em 0 .25em;vertical-align:top}.ui.inline.dropdown>.text{font-weight:700}.ui.inline.dropdown .menu{cursor:auto;margin-top:.25em;border-radius:.2857rem}.ui.dropdown .menu>.item:hover{background:rgba(0,0,0,.05);color:rgba(0,0,0,.8);z-index:12}.ui.dropdown .menu .active.item{background:0 0;font-weight:700;color:rgba(0,0,0,.8);box-shadow:none;z-index:12}.ui.default.dropdown>.text,.ui.dropdown>.default.text{color:rgba(179,179,179,.7)}.ui.default.dropdown:hover>.text,.ui.dropdown:hover>.default.text{color:rgba(140,140,140,.7)}.ui.loading.dropdown>.text{-webkit-transition:none;transition:none}.ui.dropdown>.loading.menu{display:block;visibility:hidden;z-index:-1}.ui.dropdown .menu .selected.item,.ui.dropdown.selected{background:rgba(0,0,0,.03);color:rgba(0,0,0,.8)}.ui.dropdown>.filtered.text{visibility:hidden}.ui.dropdown .filtered.item{display:none}.ui.dropdown.error,.ui.dropdown.error>.default.text,.ui.dropdown.error>.text{color:#a94442}.ui.selection.dropdown.error{background:#fff0f0;border-color:#dbb1b1}.ui.dropdown.error>.menu,.ui.dropdown.error>.menu .menu,.ui.selection.dropdown.error:hover{border-color:#dbb1b1}.ui.dropdown.error>.menu>.item{color:#d95c5c}.ui.dropdown.error>.menu>.item:hover{background-color:#fff2f2}.ui.dropdown.error>.menu .active.item{background-color:#fdcfcf}.ui.disabled.dropdown{cursor:default;pointer-events:none;opacity:.3}.ui.dropdown .menu{left:0}.ui.dropdown .menu .right.menu,.ui.dropdown .right.menu>.menu{left:100%!important;right:auto!important}.ui.dropdown .menu .left.menu,.ui.dropdown>.left.menu .menu{left:auto!important;right:100%!important}.ui.dropdown .item .left.dropdown.icon,.ui.dropdown .left.menu .item .dropdown.icon{width:auto;float:left;margin:.2em .75em 0 0}.ui.dropdown .item .left.dropdown.icon+.text,.ui.dropdown .left.menu .item .dropdown.icon+.text{margin-left:1em}.ui.upward.dropdown>.menu{top:auto;bottom:100%;box-shadow:0 0 4px 0 rgba(39,41,43,.15);border-radius:.2857rem .2857rem 0 0}.ui.simple.upward.active.dropdown,.ui.simple.upward.dropdown:hover{border-radius:.2857rem .2857rem 0 0!important}.ui.upward.dropdown.button:not(.pointing):not(.floating).active,.ui.upward.dropdown.button:not(.pointing):not(.floating).visible{border-radius:.2857rem .2857rem 0 0}.ui.upward.selection.dropdown .menu{border-top-width:1px!important;border-bottom-width:0!important}.ui.upward.selection.dropdown:hover{box-shadow:0 0 2px 0 rgba(0,0,0,.05)}.ui.upward.selection.visible.dropdown:hover{box-shadow:0 0 4px 0 rgba(0,0,0,.05)}.ui.active.upward.selection.dropdown,.ui.visible.upward.selection.dropdown{border-radius:0 0 .2857rem .2857rem!important}.ui.upward.selection.dropdown.visible,.ui.upward.selection.visible.dropdown:hover .menu{box-shadow:0 0 4px 0 rgba(0,0,0,.08)}.ui.simple.dropdown .menu:after,.ui.simple.dropdown .menu:before{display:none}.ui.simple.dropdown .menu{position:absolute;display:block;overflow:hidden;top:-9999px!important;opacity:0;width:0;height:0;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.ui.simple.active.dropdown,.ui.simple.dropdown:hover{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.ui.simple.active.dropdown>.menu,.ui.simple.dropdown:hover>.menu{overflow:visible;width:auto;height:auto;top:100%!important;opacity:1}.ui.simple.dropdown:hover>.menu>.item:hover>.menu,.ui.simple.dropdown>.menu>.item:active>.menu{overflow:visible;width:auto;height:auto;top:0!important;left:100%!important;opacity:1}.ui.simple.disabled.dropdown:hover .menu{display:none;height:0;width:0;overflow:hidden}.ui.simple.visible.dropdown>.menu{display:block}.ui.fluid.dropdown{display:block;width:100%;min-width:0}.ui.fluid.dropdown>.dropdown.icon{float:right}.ui.floating.dropdown .menu{left:0;right:auto;box-shadow:0 2px 5px 0 rgba(0,0,0,.15);border-radius:.2857rem}.ui.floating.dropdown>.menu{margin-top:.5em!important}.ui.pointing.dropdown>.menu{top:100%;margin-top:.75em;border-radius:.2857rem}.ui.pointing.dropdown>.menu:after{display:block;position:absolute;pointer-events:none;content:'';visibility:visible;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);width:.5em;height:.5em;box-shadow:-1px -1px 0 1px rgba(0,0,0,.1);background:#fff;z-index:2;top:-.25em;left:50%;margin:0 0 0 -.25em}.ui.top.left.pointing.dropdown>.menu{top:100%;bottom:auto;left:0;right:auto;margin:1em 0 0}.ui.top.left.pointing.dropdown>.menu:after{top:-.25em;left:1em;right:auto;margin:0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.ui.top.right.pointing.dropdown>.menu{top:100%;bottom:auto;right:0;left:auto;margin:1em 0 0}.ui.top.right.pointing.dropdown>.menu:after{top:-.25em;left:auto;right:1em;margin:0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.ui.left.pointing.dropdown>.menu{top:0;left:100%;right:auto;margin:0 0 0 1em}.ui.left.pointing.dropdown>.menu:after{top:1em;left:-.25em;margin:0;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.ui.right.pointing.dropdown>.menu{top:0;left:auto;right:100%;margin:0 1em 0 0}.ui.right.pointing.dropdown>.menu:after{top:1em;left:auto;right:-.25em;margin:0;-webkit-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.ui.bottom.pointing.dropdown>.menu{top:auto;bottom:100%;left:0;right:auto;margin:0 0 1em}.ui.bottom.pointing.dropdown>.menu:after{top:auto;bottom:-.25em;right:auto;margin:0;-webkit-transform:rotate(-135deg);-ms-transform:rotate(-135deg);transform:rotate(-135deg)}.ui.bottom.pointing.dropdown>.menu .menu{top:auto!important;bottom:0!important}.ui.bottom.left.pointing.dropdown>.menu{left:0;right:auto}.ui.bottom.left.pointing.dropdown>.menu:after{left:1em;right:auto}.ui.bottom.right.pointing.dropdown>.menu{right:0;left:auto}.ui.bottom.right.pointing.dropdown>.menu:after{left:auto;right:1em}@font-face{font-family:Dropdown;src:url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggjB5AAAAC8AAAAYGNtYXAPfuIIAAABHAAAAExnYXNwAAAAEAAAAWgAAAAIZ2x5Zjo82LgAAAFwAAABVGhlYWQAQ88bAAACxAAAADZoaGVhAwcB6QAAAvwAAAAkaG10eAS4ABIAAAMgAAAAIGxvY2EBNgDeAAADQAAAABJtYXhwAAoAFgAAA1QAAAAgbmFtZVcZpu4AAAN0AAABRXBvc3QAAwAAAAAEvAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADw2gHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEADgAAAAKAAgAAgACAAEAIPDa//3//wAAAAAAIPDX//3//wAB/+MPLQADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAIABJQElABMAABM0NzY3BTYXFhUUDwEGJwYvASY1AAUGBwEACAUGBoAFCAcGgAUBEgcGBQEBAQcECQYHfwYBAQZ/BwYAAQAAAG4BJQESABMAADc0PwE2MzIfARYVFAcGIyEiJyY1AAWABgcIBYAGBgUI/wAHBgWABwaABQWABgcHBgUFBgcAAAABABIASQC3AW4AEwAANzQ/ATYXNhcWHQEUBwYnBi8BJjUSBoAFCAcFBgYFBwgFgAbbBwZ/BwEBBwQJ/wgEBwEBB38GBgAAAAABAAAASQClAW4AEwAANxE0NzYzMh8BFhUUDwEGIyInJjUABQYHCAWABgaABQgHBgVbAQAIBQYGgAUIBwWABgYFBwAAAAEAAAABAADZuaKOXw889QALAgAAAAAA0ABHWAAAAADQAEdYAAAAAAElAW4AAAAIAAIAAAAAAAAAAQAAAeD/4AAAAgAAAAAAASUAAQAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAABAAAAASUAAAElAAAAtwASALcAAAAAAAAACgAUAB4AQgBkAIgAqgAAAAEAAAAIABQAAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAOAAAAAQAAAAAAAgAOAEcAAQAAAAAAAwAOACQAAQAAAAAABAAOAFUAAQAAAAAABQAWAA4AAQAAAAAABgAHADIAAQAAAAAACgA0AGMAAwABBAkAAQAOAAAAAwABBAkAAgAOAEcAAwABBAkAAwAOACQAAwABBAkABAAOAFUAAwABBAkABQAWAA4AAwABBAkABgAOADkAAwABBAkACgA0AGMAaQBjAG8AbQBvAG8AbgBWAGUAcgBzAGkAbwBuACAAMQAuADAAaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AbgBSAGUAZwB1AGwAYQByAGkAYwBvAG0AbwBvAG4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=) format('truetype'),url(data:application/font-woff;charset=utf-8;base64,d09GRk9UVE8AAAVwAAoAAAAABSgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAAAdkAAAHZLDXE/09TLzIAAALQAAAAYAAAAGAIIweQY21hcAAAAzAAAABMAAAATA9+4ghnYXNwAAADfAAAAAgAAAAIAAAAEGhlYWQAAAOEAAAANgAAADYAQ88baGhlYQAAA7wAAAAkAAAAJAMHAelobXR4AAAD4AAAACAAAAAgBLgAEm1heHAAAAQAAAAABgAAAAYACFAAbmFtZQAABAgAAAFFAAABRVcZpu5wb3N0AAAFUAAAACAAAAAgAAMAAAEABAQAAQEBCGljb21vb24AAQIAAQA6+BwC+BsD+BgEHgoAGVP/i4seCgAZU/+LiwwHi2v4lPh0BR0AAACIDx0AAACNER0AAAAJHQAAAdASAAkBAQgPERMWGyAlKmljb21vb25pY29tb29udTB1MXUyMHVGMEQ3dUYwRDh1RjBEOXVGMERBAAACAYkABgAIAgABAAQABwAKAA0AVgCfAOgBL/yUDvyUDvyUDvuUDvtvi/emFYuQjZCOjo+Pj42Qiwj3lIsFkIuQiY6Hj4iNhouGi4aJh4eHCPsU+xQFiIiGiYaLhouHjYeOCPsU9xQFiI+Jj4uQCA77b4v3FBWLkI2Pjo8I9xT3FAWPjo+NkIuQi5CJjogI9xT7FAWPh42Hi4aLhomHh4eIiIaJhosI+5SLBYaLh42HjoiPiY+LkAgO+92d928Vi5CNkI+OCPcU9xQFjo+QjZCLkIuPiY6Hj4iNhouGCIv7lAWLhomHh4iIh4eJhouGi4aNiI8I+xT3FAWHjomPi5AIDvvdi+YVi/eUBYuQjZCOjo+Pj42Qi5CLkImOhwj3FPsUBY+IjYaLhouGiYeHiAj7FPsUBYiHhomGi4aLh42Hj4iOiY+LkAgO+JQU+JQViwwKAAAAAAMCAAGQAAUAAAFMAWYAAABHAUwBZgAAAPUAGQCEAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA8NoB4P/g/+AB4AAgAAAAAQAAAAAAAAAAAAAAIAAAAAAAAgAAAAMAAAAUAAMAAQAAABQABAA4AAAACgAIAAIAAgABACDw2v/9//8AAAAAACDw1//9//8AAf/jDy0AAwABAAAAAAAAAAAAAAABAAH//wAPAAEAAAABAAA5emozXw889QALAgAAAAAA0ABHWAAAAADQAEdYAAAAAAElAW4AAAAIAAIAAAAAAAAAAQAAAeD/4AAAAgAAAAAAASUAAQAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAABAAAAASUAAAElAAAAtwASALcAAAAAUAAACAAAAAAADgCuAAEAAAAAAAEADgAAAAEAAAAAAAIADgBHAAEAAAAAAAMADgAkAAEAAAAAAAQADgBVAAEAAAAAAAUAFgAOAAEAAAAAAAYABwAyAAEAAAAAAAoANABjAAMAAQQJAAEADgAAAAMAAQQJAAIADgBHAAMAAQQJAAMADgAkAAMAAQQJAAQADgBVAAMAAQQJAAUAFgAOAAMAAQQJAAYADgA5AAMAAQQJAAoANABjAGkAYwBvAG0AbwBvAG4AVgBlAHIAcwBpAG8AbgAgADEALgAwAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG4AUgBlAGcAdQBsAGEAcgBpAGMAbwBtAG8AbwBuAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('woff');font-weight:400;font-style:normal}.ui.dropdown>.dropdown.icon{font-family:Dropdown;line-height:1;height:1em;-webkit-backface-visibility:hidden;backface-visibility:hidden;font-weight:400;font-style:normal;text-align:center;width:auto}.ui.dropdown>.dropdown.icon:before{content:'\f0d7'}.ui.dropdown .menu .item .dropdown.icon:before{content:'\f0da'}.ui.dropdown .item .left.dropdown.icon:before,.ui.dropdown .left.menu .item .dropdown.icon:before{content:"\f0d9"}.ui.vertical.menu .dropdown.item>.dropdown.icon:before{content:"\f0da"}
@@ -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
+ !function(e,t,n,i){"use strict";e.fn.dropdown=function(o){var a,r=e(this),s=e(n),c=r.selector||"",l="ontouchstart"in n.documentElement,u=(new Date).getTime(),d=[],f=arguments[0],v="string"==typeof f,h=[].slice.call(arguments,1);return r.each(function(){var m,g,p,b,w=e.isPlainObject(o)?e.extend(!0,{},e.fn.dropdown.settings,o):e.extend({},e.fn.dropdown.settings),y=w.className,x=w.metadata,T=w.namespace,C=w.selector,S=w.error,k="."+T,I="module-"+T,E=e(this),D=E.find(C.text),A=E.find(C.search),F=E.find(C.input),M=E.prev().find(C.text).length>0?E.prev().find(C.text):E.prev(),O=E.children(C.menu),q=O.find(C.item),V=!1,Q=!1,R=this,z=E.data(I);b={initialize:function(){b.debug("Initializing dropdown",w),b.is.alreadySetup()?b.error(S.alreadySetup):b.setup.layout(),b.save.defaults(),b.set.selected(),b.create.id(),l&&b.bind.touchEvents(),b.bind.mouseEvents(),b.bind.keyboardEvents(),b.observeChanges(),b.instantiate()},instantiate:function(){b.verbose("Storing instance of dropdown",b),z=b,E.data(I,b)},destroy:function(){b.verbose("Destroying previous dropdown for",E),b.remove.tabbable(),E.off(k).removeData(I),O.off(k),s.off(m)},observeChanges:function(){"MutationObserver"in t&&(p=new MutationObserver(function(e){b.is.selectMutation(e)?(b.debug("<select> modified, recreating menu"),b.setup.select()):(b.debug("DOM tree modified, updating selector cache"),b.refresh())}),p.observe(R,{childList:!0,subtree:!0}),b.debug("Setting up mutation observer",p))},create:{id:function(){b.verbose("Creating unique id for element"),g=b.get.uniqueID(),m="."+g}},search:function(){var e;e=A.val(),b.verbose("Searching for query",e),b.filter(e),b.is.searchSelection()&&b.can.show()&&b.show()},setup:{layout:function(){E.is("select")&&b.setup.select(),b.is.search()&&!b.is.searchable()&&(A=e("<input />").addClass(y.search).insertBefore(D)),w.allowTab&&b.set.tabbable()},select:function(){var t=b.get.selectValues();b.debug("Dropdown initialized on a select",t),E.is("select")&&(F=E),F.parent(C.dropdown).length>0?(b.debug("UI dropdown already exists. Creating dropdown menu only"),E=F.closest(C.dropdown),O=E.children(C.menu),0===O.length&&(O=e("<div />").addClass(y.menu).appendTo(E)),O.html(w.templates.menu(t))):(b.debug("Creating entire dropdown from select"),E=e("<div />").attr("class",F.attr("class")).addClass(y.selection).addClass(y.dropdown).html(w.templates.dropdown(t)).insertBefore(F),F.removeAttr("class").prependTo(E)),b.refresh()}},refresh:function(){b.verbose("Refreshing selector cache"),D=E.find(C.text),A=E.find(C.search),F=E.find(C.input),M=E.prev().find(C.text).length>0?E.prev().find(C.text):E.prev(),O=E.children(C.menu),q=O.find(C.item)},toggle:function(){b.verbose("Toggling menu visibility"),b.is.active()?b.hide():b.show()},show:function(t){t=e.isFunction(t)?t:function(){},b.is.searchSelection()&&b.is.allFiltered()||b.can.show()&&!b.is.active()&&(b.debug("Showing dropdown"),b.animate.show(function(){b.can.click()&&b.bind.intent(),b.set.visible(),t.call(R)}),w.onShow.call(R))},hide:function(t){t=e.isFunction(t)?t:function(){},b.is.active()&&(b.debug("Hiding dropdown"),b.animate.hide(function(){b.remove.visible(),t.call(R)}),w.onHide.call(R))},hideOthers:function(){b.verbose("Finding other dropdowns to hide"),r.not(E).has(C.menu+":visible:not(."+y.animating+")").dropdown("hide")},hideSubMenus:function(){var e=O.find(C.menu);e.transition("hide")},bind:{keyboardEvents:function(){b.debug("Binding keyboard events"),E.on("keydown"+k,b.event.keydown),b.is.searchable()&&E.on(b.get.inputEvent(),C.search,b.event.input)},touchEvents:function(){b.debug("Touch device detected binding additional touch events"),b.is.searchSelection()||E.on("touchstart"+k,b.event.test.toggle),O.on("touchstart"+k,C.item,b.event.item.mouseenter)},mouseEvents:function(){b.verbose("Mouse detected binding mouse events"),b.is.searchSelection()?E.on("mousedown"+k,C.menu,b.event.menu.activate).on("mouseup"+k,C.menu,b.event.menu.deactivate).on("click"+k,C.search,b.show).on("focus"+k,C.search,b.event.searchFocus).on("blur"+k,C.search,b.event.searchBlur).on("click"+k,C.text,b.event.searchTextFocus):("click"==w.on?E.on("click"+k,b.event.test.toggle):"hover"==w.on?E.on("mouseenter"+k,b.delay.show).on("mouseleave"+k,b.delay.hide):E.on(w.on+k,b.toggle),E.on("mousedown"+k,b.event.mousedown).on("mouseup"+k,b.event.mouseup).on("focus"+k,b.event.focus).on("blur"+k,b.event.blur)),O.on("mouseenter"+k,C.item,b.event.item.mouseenter).on("mouseleave"+k,C.item,b.event.item.mouseleave).on("click"+k,C.item,b.event.item.click)},intent:function(){b.verbose("Binding hide intent event to document"),l&&s.on("touchstart"+m,b.event.test.touch).on("touchmove"+m,b.event.test.touch),s.on("click"+m,b.event.test.hide)}},unbind:{intent:function(){b.verbose("Removing hide intent event from document"),l&&s.off("touchstart"+m).off("touchmove"+m),s.off("click"+m)}},filter:function(t){var n=e(),i=b.escape.regExp(t),o=new RegExp("^"+i,"igm"),a=new RegExp(i,"ig");b.verbose("Searching for matching values"),q.each(function(){var t=e(this),i=String(b.get.choiceText(t,!1)),r=String(b.get.choiceValue(t,i));i.match(o)||r.match(o)?n=n.add(t):w.fullTextSearch&&(i.match(a)||r.match(a))&&(n=n.add(t))}),b.debug("Setting filter",t),b.remove.filteredItem(),q.not(n).addClass(y.filtered),b.verbose("Selecting first non-filtered element"),b.remove.selectedItem(),q.not("."+y.filtered).eq(0).addClass(y.selected),b.is.allFiltered()&&(b.debug("All items filtered, hiding dropdown",t),b.is.searchSelection()&&b.hide(),w.onNoResults.call(R,t))},focusSearch:function(){b.is.search()&&A.focus()},event:{mousedown:function(){V=!0},mouseup:function(){V=!1},focus:function(){!V&&b.is.hidden()&&b.show()},blur:function(){var e=n.activeElement===this;V||e||b.hide()},searchFocus:function(){V=!0,b.show()},searchBlur:function(){var e=n.activeElement===this;Q||e||b.hide()},searchTextFocus:function(){V=!0,A.focus()},input:function(){b.is.searchSelection()&&b.set.filtered(),clearTimeout(b.timer),b.timer=setTimeout(b.search,w.delay.search)},keydown:function(e){{var t,n=q.not(y.filtered).filter("."+y.selected).eq(0),i=O.children("."+y.active).eq(0),o=n.length>0?n:i,a=o.length>0?o.siblings(":not(."+y.filtered+")").andSelf():O.children(":not(."+y.filtered+")"),r=o.children(C.menu),s=o.closest(C.menu),c=s[0]!==O[0],l=s.is(":visible"),u=e.which,d={enter:13,escape:27,leftArrow:37,upArrow:38,rightArrow:39,downArrow:40},f=r.length>0,v=o.length>0;a.size()-1}if(b.is.visible()){if(u==d.enter&&v&&(f&&!w.allowCategorySelection?(b.verbose("Pressed enter on unselectable category, opening sub menu"),u=d.rightArrow):(b.verbose("Enter key pressed, choosing selected item"),b.event.item.click.call(o,e))),u==d.leftArrow&&(c&&(b.verbose("Left key pressed, closing sub-menu"),b.animate.hide(!1,s),o.removeClass(y.selected),s.closest(C.item).addClass(y.selected)),e.preventDefault()),u==d.rightArrow&&(f&&(b.verbose("Right key pressed, opening sub-menu"),b.animate.show(!1,r),o.removeClass(y.selected),r.find(C.item).eq(0).addClass(y.selected)),e.preventDefault()),u==d.upArrow){if(t=v&&l?o.prevAll(C.item+":not(."+y.filtered+")").eq(0):q.eq(0),a.index(t)<0)return void b.verbose("Up key pressed but reached top of current menu");b.verbose("Up key pressed, changing active item"),o.removeClass(y.selected),t.addClass(y.selected),b.set.scrollPosition(t),e.preventDefault()}if(u==d.downArrow){if(t=v&&l?t=o.nextAll(C.item+":not(."+y.filtered+")").eq(0):q.eq(0),0===t.length)return void b.verbose("Down key pressed but reached bottom of current menu");b.verbose("Down key pressed, changing active item"),q.removeClass(y.selected),t.addClass(y.selected),b.set.scrollPosition(t),e.preventDefault()}}else u==d.enter&&(b.verbose("Enter key pressed, showing dropdown"),b.show()),u==d.escape&&(b.verbose("Escape key pressed, closing dropdown"),b.hide()),u==d.downArrow&&(b.verbose("Down key pressed, showing dropdown"),b.show())},test:{toggle:function(e){b.determine.eventInMenu(e,b.toggle)&&e.preventDefault()},touch:function(e){b.determine.eventInMenu(e,function(){"touchstart"==e.type?b.timer=setTimeout(b.hide,w.delay.touch):"touchmove"==e.type&&clearTimeout(b.timer)}),e.stopPropagation()},hide:function(e){b.determine.eventInModule(e,b.hide)}},menu:{activate:function(){Q=!0},deactivate:function(){Q=!1}},item:{mouseenter:function(t){var n=e(this).children(C.menu),i=e(this).siblings(C.item).children(C.menu);n.length>0&&(clearTimeout(b.itemTimer),b.itemTimer=setTimeout(function(){b.verbose("Showing sub-menu",n),e.each(i,function(){b.animate.hide(!1,e(this))}),b.animate.show(!1,n)},w.delay.show),t.preventDefault())},mouseleave:function(){var t=e(this).children(C.menu);t.length>0&&(clearTimeout(b.itemTimer),b.itemTimer=setTimeout(function(){b.verbose("Hiding sub-menu",t),b.animate.hide(!1,t)},w.delay.hide))},click:function(t){var n=e(this),i=e(t.target),o=n.find(C.menu),a=b.get.choiceText(n),r=b.get.choiceValue(n,a),s=function(){b.remove.searchTerm(),b.determine.selectAction(a,r)},c=o.length>0,l=o.find(i).length>0;l||c&&!w.allowCategorySelection||s()}},resetStyle:function(){e(this).removeAttr("style")}},determine:{selectAction:function(t,n){b.verbose("Determining action",w.action),e.isFunction(b.action[w.action])?(b.verbose("Triggering preset action",w.action,t,n),b.action[w.action](t,n)):e.isFunction(w.action)?(b.verbose("Triggering user action",w.action,t,n),w.action(t,n)):b.error(S.action,w.action)},eventInModule:function(t,n){return n=e.isFunction(n)?n:function(){},0===e(t.target).closest(E).length?(b.verbose("Triggering event",n),n(),!0):(b.verbose("Event occurred in dropdown, canceling callback"),!1)},eventInMenu:function(t,n){return n=e.isFunction(n)?n:function(){},0===e(t.target).closest(O).length?(b.verbose("Triggering event",n),n(),!0):(b.verbose("Event occurred in dropdown menu, canceling callback"),!1)}},action:{nothing:function(){},activate:function(e,t){t=t!==i?t:e,b.set.selected(t),b.hide(function(){b.remove.filteredItem()})},select:function(e,t){t=t!==i?t:e,b.set.selected(t),b.hide(function(){b.remove.filteredItem()})},combo:function(e,t){t=t!==i?t:e,b.set.selected(t),b.hide(function(){b.remove.filteredItem()})},hide:function(){b.hide(function(){b.remove.filteredItem()})}},get:{text:function(){return D.text()},value:function(){return F.length>0?F.val():E.data(x.value)},choiceText:function(e,t){return t=t!==i?t:w.preserveHTML,e!==i?(e.find(C.menu).length>0&&(b.verbose("Retreiving text of element with sub-menu"),e=e.clone(),e.find(C.menu).remove(),e.find(C.menuIcon).remove()),e.data(x.text)!==i?e.data(x.text):t?e.html().trim():e.text().trim()):void 0},choiceValue:function(e,t){return t=t||b.get.choiceText(e),e.data(x.value)!==i?e.data(x.value):"string"==typeof t?t.toLowerCase().trim():t.trim()},inputEvent:function(){var e=A[0];return e?e.oninput!==i?"input":e.onpropertychange!==i?"propertychange":"keyup":!1},selectValues:function(){var t={};return t.values=w.sortSelect?{}:[],E.find("option").each(function(){var n=e(this).html(),o=e(this).attr("value")!==i?e(this).attr("value"):n;""===o?t.placeholder=n:w.sortSelect?t.values[o]={name:n,value:o}:t.values.push({name:n,value:o})}),w.sortSelect?b.debug("Retrieved and sorted values from select",t):b.debug("Retreived values from select",t),t},activeItem:function(){return q.filter("."+y.active)},item:function(t,n){var o=!1;return t=t!==i?t:b.get.value()!==i?b.get.value():b.get.text(),n=""===t||0===t?!0:n||!1,t!==i?q.each(function(){var i=e(this),a=b.get.choiceText(i),r=b.get.choiceValue(i,a);n?(b.verbose("Ambiguous dropdown value using strict type check",i,t),r===t?o=e(this):o||a!==t||(o=e(this))):r==t?(b.verbose("Found select item by value",r,t),o=e(this)):o||a!=t||(b.verbose("Found select item by text",a,t),o=e(this))}):t=b.get.text(),o||!1},uniqueID:function(){return(Math.random().toString(16)+"000000000").substr(2,8)}},restore:{defaults:function(){b.restore.defaultText(),b.restore.defaultValue()},defaultText:function(){var e=E.data(x.defaultText);b.debug("Restoring default text",e),b.set.text(e),D.addClass(y.placeholder)},defaultValue:function(){var e=E.data(x.defaultValue);e!==i&&(b.debug("Restoring default value",e),e.length?b.set.selected(e):(b.remove.activeItem(),b.remove.selectedItem()))}},save:{defaults:function(){b.save.defaultText(),b.save.placeholderText(),b.save.defaultValue()},defaultValue:function(){E.data(x.defaultValue,b.get.value())},defaultText:function(){E.data(x.defaultText,D.text())},placeholderText:function(){D.hasClass(y.placeholder)&&E.data(x.placeholderText,D.text())}},clear:function(){var e=E.data(x.placeholderText);b.set.text(e),b.set.value(""),b.remove.activeItem(),b.remove.selectedItem(),D.addClass(y.placeholder)},set:{filtered:function(){var e=A.val(),t="string"==typeof e&&e.length>0;t?D.addClass(y.filtered):D.removeClass(y.filtered)},tabbable:function(){b.is.searchable()?(b.debug("Searchable dropdown initialized"),A.val("").attr("tabindex",0),O.attr("tabindex","-1")):(b.debug("Simple selection dropdown initialized"),E.attr("tabindex")||(E.attr("tabindex",0),O.attr("tabindex","-1")))},scrollPosition:function(e,t){var n,o,a,r,s,c,l,u,d,f=5;e=e||b.get.activeItem(),n=e&&e.length>0,t=t!==i?t:!1,e&&n&&(O.hasClass(y.visible)||O.addClass(y.loading),l=O.height(),a=e.height(),c=O.scrollTop(),s=O.offset().top,r=e.offset().top,o=c-s+r,d=o+f>c+l,u=c>o-f,b.debug("Scrolling to active item",o),(u||d||t)&&O.scrollTop(o).removeClass(y.loading))},text:function(e){"combo"==w.action?(b.debug("Changing combo button text",e,M),w.preserveHTML?M.html(e):M.text(e)):"select"!==w.action&&(b.debug("Changing text",e,D),D.removeClass(y.filtered).removeClass(y.placeholder),w.preserveHTML?D.html(e):D.text(e))},value:function(e){b.debug("Adding selected value to hidden input",e,F),F.length>0?F.val(e).trigger("change"):E.data(x.value,e)},active:function(){E.addClass(y.active)},visible:function(){E.addClass(y.visible)},selected:function(e){var t,n,i=b.get.item(e);i&&(b.debug("Setting selected menu item to",i),b.remove.activeItem(),b.remove.selectedItem(),i.addClass(y.active).addClass(y.selected),t=b.get.choiceText(i),n=b.get.choiceValue(i,t),b.set.text(t),b.set.value(n),w.onChange.call(R,e,t,i))}},remove:{active:function(){E.removeClass(y.active)},visible:function(){E.removeClass(y.visible)},activeItem:function(){q.removeClass(y.active)},filteredItem:function(){q.removeClass(y.filtered)},searchTerm:function(){A.val("")},selectedItem:function(){q.removeClass(y.selected)},tabbable:function(){b.is.searchable()?(b.debug("Searchable dropdown initialized"),A.attr("tabindex","-1"),O.attr("tabindex","-1")):(b.debug("Simple selection dropdown initialized"),E.attr("tabindex","-1"),O.attr("tabindex","-1"))}},is:{active:function(){return E.hasClass(y.active)},alreadySetup:function(){return E.is("select")&&E.parent(C.dropdown).length>0},animating:function(e){return e?e.is(":animated")||e.transition&&e.transition("is animating"):O.is(":animated")||O.transition&&O.transition("is animating")},allFiltered:function(){return q.filter("."+y.filtered).length===q.length},hidden:function(e){return e?e.is(":hidden"):O.is(":hidden")},selectMutation:function(t){var n=!1;return e.each(t,function(t,i){return i.target&&e(i.target).is("select")?(n=!0,!0):void 0}),n},search:function(){return E.hasClass(y.search)},searchable:function(){return A.length>0},searchSelection:function(){return b.is.searchable()&&A.parent().is(E)},selection:function(){return E.hasClass(y.selection)},upward:function(){return E.hasClass(y.upward)},visible:function(e){return e?e.is(":visible"):O.is(":visible")}},can:{click:function(){return l||"click"==w.on},show:function(){return!E.hasClass(y.disabled)}},animate:{show:function(t,n){var o=n||O,a=n?function(){}:function(){b.hideSubMenus(),b.hideOthers(),b.set.active()};t=e.isFunction(t)?t:function(){},b.set.scrollPosition(b.get.activeItem(),!0),b.verbose("Doing menu show animation",o),(b.is.hidden(o)||b.is.animating(o))&&("auto"==w.transition&&(w.transition=b.is.upward()?"slide up":"slide down",b.verbose("Automatically determining animation based on animation direction",w.transition)),"none"==w.transition?t.call(R):e.fn.transition!==i&&E.transition("is supported")?o.transition({animation:w.transition+" in",debug:w.debug,verbose:w.verbose,duration:w.duration,queue:!0,onStart:a,onComplete:function(){t.call(R)}}):"slide down"==w.transition?(a(),o.hide().clearQueue().children().clearQueue().css("opacity",0).delay(50).animate({opacity:1},w.duration,"easeOutQuad",b.event.resetStyle).end().slideDown(100,"easeOutQuad",function(){b.event.resetStyle.call(this),t.call(R)})):"fade"==w.transition?(a(),o.hide().clearQueue().fadeIn(w.duration,function(){b.event.resetStyle.call(this),t.call(R)})):b.error(S.transition,w.transition))},hide:function(t,n){var o=n||O,a=(n?.9*w.duration:w.duration,n?function(){}:function(){b.can.click()&&b.unbind.intent(),b.focusSearch(),b.remove.active()});t=e.isFunction(t)?t:function(){},(b.is.visible(o)||b.is.animating(o))&&(b.verbose("Doing menu hide animation",o),"auto"==w.transition&&(w.transition=b.is.upward()?"slide up":"slide down"),"none"==w.transition?t.call(R):e.fn.transition!==i&&E.transition("is supported")?o.transition({animation:w.transition+" out",duration:w.duration,debug:w.debug,verbose:w.verbose,queue:!0,onStart:a,onComplete:function(){t.call(R)}}):"slide down"==w.transition?(a(),o.show().clearQueue().children().clearQueue().css("opacity",1).animate({opacity:0},100,"easeOutQuad",b.event.resetStyle).end().delay(50).slideUp(100,"easeOutQuad",function(){b.event.resetStyle.call(this),t.call(R)})):"fade"==w.transition?(a(),o.show().clearQueue().fadeOut(150,function(){b.event.resetStyle.call(this),t.call(R)})):b.error(S.transition))}},delay:{show:function(){b.verbose("Delaying show event to ensure user intent"),clearTimeout(b.timer),b.timer=setTimeout(b.show,w.delay.show)},hide:function(){b.verbose("Delaying hide event to ensure user intent"),clearTimeout(b.timer),b.timer=setTimeout(b.hide,w.delay.hide)}},escape:{regExp:function(e){return e=String(e),e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},setting:function(t,n){if(b.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,w,t);else{if(n===i)return w[t];w[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,b,t);else{if(n===i)return b[t];b[t]=n}},debug:function(){w.debug&&(w.performance?b.performance.log(arguments):(b.debug=Function.prototype.bind.call(console.info,console,w.name+":"),b.debug.apply(console,arguments)))},verbose:function(){w.verbose&&w.debug&&(w.performance?b.performance.log(arguments):(b.verbose=Function.prototype.bind.call(console.info,console,w.name+":"),b.verbose.apply(console,arguments)))},error:function(){b.error=Function.prototype.bind.call(console.error,console,w.name+":"),b.error.apply(console,arguments)},performance:{log:function(e){var t,n,i;w.performance&&(t=(new Date).getTime(),i=u||t,n=t-i,u=t,d.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:R,"Execution Time":n})),clearTimeout(b.performance.timer),b.performance.timer=setTimeout(b.performance.display,100)},display:function(){var t=w.name+":",n=0;u=!1,clearTimeout(b.performance.timer),e.each(d,function(e,t){n+=t["Execution Time"]}),t+=" "+n+"ms",c&&(t+=" '"+c+"'"),(console.group!==i||console.table!==i)&&d.length>0&&(console.groupCollapsed(t),console.table?console.table(d):e.each(d,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),d=[]}},invoke:function(t,n,o){var r,s,c,l=z;return n=n||h,o=R||o,"string"==typeof t&&l!==i&&(t=t.split(/[\. ]/),r=t.length-1,e.each(t,function(n,o){var a=n!=r?o+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(l[a])&&n!=r)l=l[a];else{if(l[a]!==i)return s=l[a],!1;if(!e.isPlainObject(l[o])||n==r)return l[o]!==i?(s=l[o],!1):(b.error(S.method,t),!1);l=l[o]}})),e.isFunction(s)?c=s.apply(o,n):s!==i&&(c=s),e.isArray(a)?a.push(c):a!==i?a=[a,c]:c!==i&&(a=c),s}},v?(z===i&&b.initialize(),b.invoke(f)):(z!==i&&b.destroy(),b.initialize())}),a!==i?a:this},e.fn.dropdown.settings={debug:!1,verbose:!0,performance:!0,on:"click",action:"activate",allowTab:!0,fullTextSearch:!1,preserveHTML:!0,sortSelect:!1,allowCategorySelection:!1,delay:{hide:300,show:200,search:50,touch:50},transition:"auto",duration:250,onNoResults:function(){},onChange:function(){},onShow:function(){},onHide:function(){},name:"Dropdown",namespace:"dropdown",error:{action:"You called a dropdown action that was not defined",alreadySetup:"Once a select has been initialized behaviors must be called on the created ui dropdown",method:"The method you called is not defined.",transition:"The requested transition was not found"},metadata:{defaultText:"defaultText",defaultValue:"defaultValue",placeholderText:"placeholderText",text:"text",value:"value"},selector:{dropdown:".ui.dropdown",input:'> input[type="hidden"], > select',item:".item",menu:".menu",menuIcon:".dropdown.icon",search:"> input.search, .menu > .search > input, .menu > input.search",text:"> .text:not(.icon)"},className:{active:"active",animating:"animating",disabled:"disabled",dropdown:"ui dropdown",filtered:"filtered",loading:"loading",menu:"menu",placeholder:"default",search:"search",selected:"selected",selection:"selection",upward:"upward",visible:"visible"}},e.fn.dropdown.settings.templates={menu:function(t){var n=(t.placeholder||!1,t.values||{},"");return e.each(t.values,function(e,t){n+='<div class="item" data-value="'+t.value+'">'+t.name+"</div>"}),n},dropdown:function(t){var n=t.placeholder||!1,i=(t.values||{},"");return i+='<i class="dropdown icon"></i>',i+=t.placeholder?'<div class="default text">'+n+"</div>":'<div class="text"></div>',i+='<div class="menu">',e.each(t.values,function(e,t){i+='<div class="item" data-value="'+t.value+'">'+t.name+"</div>"}),i+="</div>"}},e.extend(e.easing,{easeOutQuad:function(e,t,n,i,o){return-i*(t/=o)*(t-2)+n}})}(jQuery,window,document);
@@ -0,0 +1,277 @@
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
+ Activity Feed
16
+ *******************************/
17
+
18
+ .ui.feed {
19
+ margin: 1em 0em;
20
+ }
21
+ .ui.feed:first-child {
22
+ margin-top: 0em;
23
+ }
24
+ .ui.feed:last-child {
25
+ margin-top: 0em;
26
+ }
27
+
28
+
29
+ /*******************************
30
+ Content
31
+ *******************************/
32
+
33
+
34
+ /* Event */
35
+ .ui.feed > .event {
36
+ display: table;
37
+ width: 100%;
38
+ padding: 0.5rem 0em;
39
+ margin: 0em;
40
+ background: none;
41
+ border-top: none;
42
+ }
43
+ .ui.feed > .event:first-child {
44
+ border-top: 0px;
45
+ padding-top: 0em;
46
+ }
47
+ .ui.feed > .event:last-child {
48
+ padding-bottom: 0em;
49
+ }
50
+
51
+ /* Event Label */
52
+ .ui.feed > .event > .label {
53
+ display: table-cell;
54
+ width: 2.5em;
55
+ height: 2.5em;
56
+ vertical-align: top;
57
+ text-align: left;
58
+ }
59
+ .ui.feed > .event > .label .icon {
60
+ opacity: 1;
61
+ font-size: 1.5em;
62
+ width: 100%;
63
+ padding: 0.25em;
64
+ background: none;
65
+ border: none;
66
+ border-radius: none;
67
+ color: rgba(0, 0, 0, 0.6);
68
+ }
69
+ .ui.feed > .event > .label img {
70
+ width: 100%;
71
+ height: auto;
72
+ border-radius: 500rem;
73
+ }
74
+ .ui.feed > .event > .label + .content {
75
+ padding: 0.5em 0em 0.5em 1.25em;
76
+ }
77
+
78
+ /* Content */
79
+ .ui.feed > .event > .content {
80
+ display: table-cell;
81
+ vertical-align: top;
82
+ text-align: left;
83
+ word-wrap: break-word;
84
+ }
85
+ .ui.feed > .event:last-child > .content {
86
+ padding-bottom: 0em;
87
+ }
88
+
89
+ /* Link */
90
+ .ui.feed > .event > .content a {
91
+ cursor: pointer;
92
+ }
93
+
94
+ /*--------------
95
+ Date
96
+ ---------------*/
97
+
98
+ .ui.feed > .event > .content .date {
99
+ margin: -0.5rem 0em 0em;
100
+ padding: 0em;
101
+ font-weight: normal;
102
+ font-size: 1em;
103
+ font-style: normal;
104
+ color: rgba(0, 0, 0, 0.4);
105
+ }
106
+
107
+ /*--------------
108
+ Summary
109
+ ---------------*/
110
+
111
+ .ui.feed > .event > .content .summary {
112
+ margin: 0em;
113
+ font-size: 1em;
114
+ font-weight: bold;
115
+ color: rgba(0, 0, 0, 0.8);
116
+ }
117
+
118
+ /* Summary Image */
119
+ .ui.feed > .event > .content .summary img {
120
+ display: inline-block;
121
+ width: auto;
122
+ height: 2em;
123
+ margin: -0.25em 0.25em 0em 0em;
124
+ border-radius: 0.25em;
125
+ vertical-align: middle;
126
+ }
127
+
128
+ /*--------------
129
+ User
130
+ ---------------*/
131
+
132
+ .ui.feed > .event > .content .user {
133
+ display: inline-block;
134
+ font-weight: bold;
135
+ margin-right: 0em;
136
+ vertical-align: baseline;
137
+ }
138
+ .ui.feed > .event > .content .user img {
139
+ margin: -0.25em 0.25em 0em 0em;
140
+ width: auto;
141
+ height: 2em;
142
+ vertical-align: middle;
143
+ }
144
+
145
+ /*--------------
146
+ Inline Date
147
+ ---------------*/
148
+
149
+
150
+ /* Date inside Summary */
151
+ .ui.feed > .event > .content .summary > .date {
152
+ display: inline-block;
153
+ float: none;
154
+ font-weight: normal;
155
+ font-size: 0.875em;
156
+ font-style: normal;
157
+ margin: 0em 0em 0em 0.5em;
158
+ padding: 0em;
159
+ color: rgba(0, 0, 0, 0.4);
160
+ }
161
+
162
+ /*--------------
163
+ Extra Summary
164
+ ---------------*/
165
+
166
+ .ui.feed > .event > .content .extra {
167
+ margin: 0.5em 0em 0em;
168
+ background: none;
169
+ padding: 0em;
170
+ color: rgba(0, 0, 0, 0.8);
171
+ }
172
+
173
+ /* Images */
174
+ .ui.feed > .event > .content .extra.images img {
175
+ display: inline-block;
176
+ margin: 0em 0.25em 0em 0em;
177
+ width: 6em;
178
+ }
179
+
180
+ /* Text */
181
+ .ui.feed > .event > .content .extra.text {
182
+ padding: 0.5em 1em;
183
+ border-left: 3px solid rgba(0, 0, 0, 0.2);
184
+ font-size: 1em;
185
+ max-width: 500px;
186
+ line-height: 1.33;
187
+ }
188
+
189
+ /*--------------
190
+ Meta
191
+ ---------------*/
192
+
193
+ .ui.feed > .event > .content .meta {
194
+ display: inline-block;
195
+ font-size: 0.875em;
196
+ margin: 0.5em 0em 0em;
197
+ background: none;
198
+ border: none;
199
+ border-radius: 0;
200
+ box-shadow: none;
201
+ padding: 0em;
202
+ color: rgba(0, 0, 0, 0.6);
203
+ }
204
+ .ui.feed > .event > .content .meta > * {
205
+ position: relative;
206
+ margin-left: 0.75em;
207
+ }
208
+ .ui.feed > .event > .content .meta > *:after {
209
+ content: '';
210
+ color: rgba(0, 0, 0, 0.2);
211
+ top: 0em;
212
+ left: -1em;
213
+ opacity: 1;
214
+ position: absolute;
215
+ vertical-align: top;
216
+ }
217
+ .ui.feed > .event > .content .meta .like {
218
+ color: '';
219
+ -webkit-transition: 0.2s color ease;
220
+ transition: 0.2s color ease;
221
+ }
222
+ .ui.feed > .event > .content .meta .like:hover .icon {
223
+ color: #ff2733;
224
+ }
225
+ .ui.feed > .event > .content .meta .active.like .icon {
226
+ color: #ef404a;
227
+ }
228
+
229
+ /* First element */
230
+ .ui.feed > .event > .content .meta > :first-child {
231
+ margin-left: 0em;
232
+ }
233
+ .ui.feed > .event > .content .meta > :first-child::after {
234
+ display: none;
235
+ }
236
+
237
+ /* Action */
238
+ .ui.feed > .event > .content .meta a,
239
+ .ui.feed > .event > .content .meta > .icon {
240
+ cursor: pointer;
241
+ opacity: 1;
242
+ color: rgba(0, 0, 0, 0.5);
243
+ -webkit-transition: color 0.2s ease;
244
+ transition: color 0.2s ease;
245
+ }
246
+ .ui.feed > .event > .content .meta a:hover,
247
+ .ui.feed > .event > .content .meta a:hover .icon,
248
+ .ui.feed > .event > .content .meta > .icon:hover {
249
+ color: rgba(0, 0, 0, 0.8);
250
+ }
251
+
252
+
253
+ /*******************************
254
+ Variations
255
+ *******************************/
256
+
257
+ .ui.small.feed {
258
+ font-size: 0.9em;
259
+ }
260
+ .ui.feed {
261
+ font-size: 1em;
262
+ }
263
+ .ui.large.feed {
264
+ font-size: 1.1em;
265
+ }
266
+
267
+
268
+ /*******************************
269
+ Theme Overrides
270
+ *******************************/
271
+
272
+
273
+
274
+ /*******************************
275
+ User Variable Overrides
276
+ *******************************/
277
+
@@ -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.feed{margin:1em 0}.ui.feed:first-child,.ui.feed:last-child{margin-top:0}.ui.feed>.event{display:table;width:100%;padding:.5rem 0;margin:0;background:0 0;border-top:none}.ui.feed>.event:first-child{border-top:0;padding-top:0}.ui.feed>.event:last-child{padding-bottom:0}.ui.feed>.event>.label{display:table-cell;width:2.5em;height:2.5em;vertical-align:top;text-align:left}.ui.feed>.event>.label .icon{opacity:1;font-size:1.5em;width:100%;padding:.25em;background:0 0;border:none;border-radius:none;color:rgba(0,0,0,.6)}.ui.feed>.event>.label img{width:100%;height:auto;border-radius:500rem}.ui.feed>.event>.label+.content{padding:.5em 0 .5em 1.25em}.ui.feed>.event>.content{display:table-cell;vertical-align:top;text-align:left;word-wrap:break-word}.ui.feed>.event:last-child>.content{padding-bottom:0}.ui.feed>.event>.content a{cursor:pointer}.ui.feed>.event>.content .date{margin:-.5rem 0 0;padding:0;font-weight:400;font-size:1em;font-style:normal;color:rgba(0,0,0,.4)}.ui.feed>.event>.content .summary{margin:0;font-size:1em;font-weight:700;color:rgba(0,0,0,.8)}.ui.feed>.event>.content .summary img{display:inline-block;width:auto;height:2em;margin:-.25em .25em 0 0;border-radius:.25em;vertical-align:middle}.ui.feed>.event>.content .user{display:inline-block;font-weight:700;margin-right:0;vertical-align:baseline}.ui.feed>.event>.content .user img{margin:-.25em .25em 0 0;width:auto;height:2em;vertical-align:middle}.ui.feed>.event>.content .summary>.date{display:inline-block;float:none;font-weight:400;font-size:.875em;font-style:normal;margin:0 0 0 .5em;padding:0;color:rgba(0,0,0,.4)}.ui.feed>.event>.content .extra{margin:.5em 0 0;background:0 0;padding:0;color:rgba(0,0,0,.8)}.ui.feed>.event>.content .extra.images img{display:inline-block;margin:0 .25em 0 0;width:6em}.ui.feed>.event>.content .extra.text{padding:.5em 1em;border-left:3px solid rgba(0,0,0,.2);font-size:1em;max-width:500px;line-height:1.33}.ui.feed>.event>.content .meta{display:inline-block;font-size:.875em;margin:.5em 0 0;background:0 0;border:none;border-radius:0;box-shadow:none;padding:0;color:rgba(0,0,0,.6)}.ui.feed>.event>.content .meta>*{position:relative;margin-left:.75em}.ui.feed>.event>.content .meta>:after{content:'';color:rgba(0,0,0,.2);top:0;left:-1em;opacity:1;position:absolute;vertical-align:top}.ui.feed>.event>.content .meta .like{color:'';-webkit-transition:.2s color ease;transition:.2s color ease}.ui.feed>.event>.content .meta .like:hover .icon{color:#ff2733}.ui.feed>.event>.content .meta .active.like .icon{color:#ef404a}.ui.feed>.event>.content .meta>:first-child{margin-left:0}.ui.feed>.event>.content .meta>:first-child::after{display:none}.ui.feed>.event>.content .meta a,.ui.feed>.event>.content .meta>.icon{cursor:pointer;opacity:1;color:rgba(0,0,0,.5);-webkit-transition:color .2s ease;transition:color .2s ease}.ui.feed>.event>.content .meta a:hover,.ui.feed>.event>.content .meta a:hover .icon,.ui.feed>.event>.content .meta>.icon:hover{color:rgba(0,0,0,.8)}.ui.small.feed{font-size:.9em}.ui.feed{font-size:1em}.ui.large.feed{font-size:1.1em}
@@ -0,0 +1,1017 @@
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
+ i.flag:not(.icon) {
13
+ display: inline-block;
14
+ width: 16px;
15
+ height: 11px;
16
+ line-height: 11px;
17
+ vertical-align: baseline;
18
+ margin: 0em 0.5em 0em 0em;
19
+ text-decoration: inherit;
20
+ speak: none;
21
+ font-smoothing: antialiased;
22
+ -webkit-backface-visibility: hidden;
23
+ backface-visibility: hidden;
24
+ }
25
+ i.flag:not(.icon):before {
26
+ display: inline-block;
27
+ content: '';
28
+ background: url("../themes/default/assets/images/flags.png") no-repeat 0px 0px;
29
+ width: 16px;
30
+ height: 11px;
31
+ }
32
+
33
+ /* Flag Sprite Based On http://www.famfamfam.com/lab/icons/flags/ */
34
+
35
+
36
+ /*******************************
37
+ Theme Overrides
38
+ *******************************/
39
+
40
+ i.flag.ad:before,
41
+ i.flag.andorra:before {
42
+ background-position: 0px 0px;
43
+ }
44
+ i.flag.ae:before,
45
+ i.flag.united.arab.emirates:before,
46
+ i.flag.uae:before {
47
+ background-position: 0px -26px;
48
+ }
49
+ i.flag.af:before,
50
+ i.flag.afghanistan:before {
51
+ background-position: 0px -52px;
52
+ }
53
+ i.flag.ag:before,
54
+ i.flag.antigua:before {
55
+ background-position: 0px -78px;
56
+ }
57
+ i.flag.ai:before,
58
+ i.flag.anguilla:before {
59
+ background-position: 0px -104px;
60
+ }
61
+ i.flag.al:before,
62
+ i.flag.albania:before {
63
+ background-position: 0px -130px;
64
+ }
65
+ i.flag.am:before,
66
+ i.flag.armenia:before {
67
+ background-position: 0px -156px;
68
+ }
69
+ i.flag.an:before,
70
+ i.flag.netherlands.antilles:before {
71
+ background-position: 0px -182px;
72
+ }
73
+ i.flag.ao:before,
74
+ i.flag.angola:before {
75
+ background-position: 0px -208px;
76
+ }
77
+ i.flag.ar:before,
78
+ i.flag.argentina:before {
79
+ background-position: 0px -234px;
80
+ }
81
+ i.flag.as:before,
82
+ i.flag.american.samoa:before {
83
+ background-position: 0px -260px;
84
+ }
85
+ i.flag.at:before,
86
+ i.flag.austria:before {
87
+ background-position: 0px -286px;
88
+ }
89
+ i.flag.au:before,
90
+ i.flag.australia:before {
91
+ background-position: 0px -312px;
92
+ }
93
+ i.flag.aw:before,
94
+ i.flag.aruba:before {
95
+ background-position: 0px -338px;
96
+ }
97
+ i.flag.ax:before,
98
+ i.flag.aland.islands:before {
99
+ background-position: 0px -364px;
100
+ }
101
+ i.flag.az:before,
102
+ i.flag.azerbaijan:before {
103
+ background-position: 0px -390px;
104
+ }
105
+ i.flag.ba:before,
106
+ i.flag.bosnia:before {
107
+ background-position: 0px -416px;
108
+ }
109
+ i.flag.bb:before,
110
+ i.flag.barbados:before {
111
+ background-position: 0px -442px;
112
+ }
113
+ i.flag.bd:before,
114
+ i.flag.bangladesh:before {
115
+ background-position: 0px -468px;
116
+ }
117
+ i.flag.be:before,
118
+ i.flag.belgium:before {
119
+ background-position: 0px -494px;
120
+ }
121
+ i.flag.bf:before,
122
+ i.flag.burkina.faso:before {
123
+ background-position: 0px -520px;
124
+ }
125
+ i.flag.bg:before,
126
+ i.flag.bulgaria:before {
127
+ background-position: 0px -546px;
128
+ }
129
+ i.flag.bh:before,
130
+ i.flag.bahrain:before {
131
+ background-position: 0px -572px;
132
+ }
133
+ i.flag.bi:before,
134
+ i.flag.burundi:before {
135
+ background-position: 0px -598px;
136
+ }
137
+ i.flag.bj:before,
138
+ i.flag.benin:before {
139
+ background-position: 0px -624px;
140
+ }
141
+ i.flag.bm:before,
142
+ i.flag.bermuda:before {
143
+ background-position: 0px -650px;
144
+ }
145
+ i.flag.bn:before,
146
+ i.flag.brunei:before {
147
+ background-position: 0px -676px;
148
+ }
149
+ i.flag.bo:before,
150
+ i.flag.bolivia:before {
151
+ background-position: 0px -702px;
152
+ }
153
+ i.flag.br:before,
154
+ i.flag.brazil:before {
155
+ background-position: 0px -728px;
156
+ }
157
+ i.flag.bs:before,
158
+ i.flag.bahamas:before {
159
+ background-position: 0px -754px;
160
+ }
161
+ i.flag.bt:before,
162
+ i.flag.bhutan:before {
163
+ background-position: 0px -780px;
164
+ }
165
+ i.flag.bv:before,
166
+ i.flag.bouvet.island:before {
167
+ background-position: 0px -806px;
168
+ }
169
+ i.flag.bw:before,
170
+ i.flag.botswana:before {
171
+ background-position: 0px -832px;
172
+ }
173
+ i.flag.by:before,
174
+ i.flag.belarus:before {
175
+ background-position: 0px -858px;
176
+ }
177
+ i.flag.bz:before,
178
+ i.flag.belize:before {
179
+ background-position: 0px -884px;
180
+ }
181
+ i.flag.ca:before,
182
+ i.flag.canada:before {
183
+ background-position: 0px -910px;
184
+ }
185
+ i.flag.cc:before,
186
+ i.flag.cocos.islands:before {
187
+ background-position: 0px -962px;
188
+ }
189
+ i.flag.cd:before,
190
+ i.flag.congo:before {
191
+ background-position: 0px -988px;
192
+ }
193
+ i.flag.cf:before,
194
+ i.flag.central.african.republic:before {
195
+ background-position: 0px -1014px;
196
+ }
197
+ i.flag.cg:before,
198
+ i.flag.congo.brazzaville:before {
199
+ background-position: 0px -1040px;
200
+ }
201
+ i.flag.ch:before,
202
+ i.flag.switzerland:before {
203
+ background-position: 0px -1066px;
204
+ }
205
+ i.flag.ci:before,
206
+ i.flag.cote.divoire:before {
207
+ background-position: 0px -1092px;
208
+ }
209
+ i.flag.ck:before,
210
+ i.flag.cook.islands:before {
211
+ background-position: 0px -1118px;
212
+ }
213
+ i.flag.cl:before,
214
+ i.flag.chile:before {
215
+ background-position: 0px -1144px;
216
+ }
217
+ i.flag.cm:before,
218
+ i.flag.cameroon:before {
219
+ background-position: 0px -1170px;
220
+ }
221
+ i.flag.cn:before,
222
+ i.flag.china:before {
223
+ background-position: 0px -1196px;
224
+ }
225
+ i.flag.co:before,
226
+ i.flag.colombia:before {
227
+ background-position: 0px -1222px;
228
+ }
229
+ i.flag.cr:before,
230
+ i.flag.costa.rica:before {
231
+ background-position: 0px -1248px;
232
+ }
233
+ i.flag.cs:before,
234
+ i.flag.serbia:before {
235
+ background-position: 0px -1274px;
236
+ }
237
+ i.flag.cu:before,
238
+ i.flag.cuba:before {
239
+ background-position: 0px -1300px;
240
+ }
241
+ i.flag.cv:before,
242
+ i.flag.cape.verde:before {
243
+ background-position: 0px -1326px;
244
+ }
245
+ i.flag.cx:before,
246
+ i.flag.christmas.island:before {
247
+ background-position: 0px -1352px;
248
+ }
249
+ i.flag.cy:before,
250
+ i.flag.cyprus:before {
251
+ background-position: 0px -1378px;
252
+ }
253
+ i.flag.cz:before,
254
+ i.flag.czech.republic:before {
255
+ background-position: 0px -1404px;
256
+ }
257
+ i.flag.de:before,
258
+ i.flag.germany:before {
259
+ background-position: 0px -1430px;
260
+ }
261
+ i.flag.dj:before,
262
+ i.flag.djibouti:before {
263
+ background-position: 0px -1456px;
264
+ }
265
+ i.flag.dk:before,
266
+ i.flag.denmark:before {
267
+ background-position: 0px -1482px;
268
+ }
269
+ i.flag.dm:before,
270
+ i.flag.dominica:before {
271
+ background-position: 0px -1508px;
272
+ }
273
+ i.flag.do:before,
274
+ i.flag.dominican.republic:before {
275
+ background-position: 0px -1534px;
276
+ }
277
+ i.flag.dz:before,
278
+ i.flag.algeria:before {
279
+ background-position: 0px -1560px;
280
+ }
281
+ i.flag.ec:before,
282
+ i.flag.ecuador:before {
283
+ background-position: 0px -1586px;
284
+ }
285
+ i.flag.ee:before,
286
+ i.flag.estonia:before {
287
+ background-position: 0px -1612px;
288
+ }
289
+ i.flag.eg:before,
290
+ i.flag.egypt:before {
291
+ background-position: 0px -1638px;
292
+ }
293
+ i.flag.eh:before,
294
+ i.flag.western.sahara:before {
295
+ background-position: 0px -1664px;
296
+ }
297
+ i.flag.er:before,
298
+ i.flag.eritrea:before {
299
+ background-position: 0px -1716px;
300
+ }
301
+ i.flag.es:before,
302
+ i.flag.spain:before {
303
+ background-position: 0px -1742px;
304
+ }
305
+ i.flag.et:before,
306
+ i.flag.ethiopia:before {
307
+ background-position: 0px -1768px;
308
+ }
309
+ i.flag.eu:before,
310
+ i.flag.european.union:before {
311
+ background-position: 0px -1794px;
312
+ }
313
+ i.flag.fi:before,
314
+ i.flag.finland:before {
315
+ background-position: 0px -1846px;
316
+ }
317
+ i.flag.fj:before,
318
+ i.flag.fiji:before {
319
+ background-position: 0px -1872px;
320
+ }
321
+ i.flag.fk:before,
322
+ i.flag.falkland.islands:before {
323
+ background-position: 0px -1898px;
324
+ }
325
+ i.flag.fm:before,
326
+ i.flag.micronesia:before {
327
+ background-position: 0px -1924px;
328
+ }
329
+ i.flag.fo:before,
330
+ i.flag.faroe.islands:before {
331
+ background-position: 0px -1950px;
332
+ }
333
+ i.flag.fr:before,
334
+ i.flag.france:before {
335
+ background-position: 0px -1976px;
336
+ }
337
+ i.flag.ga:before,
338
+ i.flag.gabon:before {
339
+ background-position: -36px 0px;
340
+ }
341
+ i.flag.gb:before,
342
+ i.flag.united.kingdom:before {
343
+ background-position: -36px -26px;
344
+ }
345
+ i.flag.gd:before,
346
+ i.flag.grenada:before {
347
+ background-position: -36px -52px;
348
+ }
349
+ i.flag.ge:before,
350
+ i.flag.georgia:before {
351
+ background-position: -36px -78px;
352
+ }
353
+ i.flag.gf:before,
354
+ i.flag.french.guiana:before {
355
+ background-position: -36px -104px;
356
+ }
357
+ i.flag.gh:before,
358
+ i.flag.ghana:before {
359
+ background-position: -36px -130px;
360
+ }
361
+ i.flag.gi:before,
362
+ i.flag.gibraltar:before {
363
+ background-position: -36px -156px;
364
+ }
365
+ i.flag.gl:before,
366
+ i.flag.greenland:before {
367
+ background-position: -36px -182px;
368
+ }
369
+ i.flag.gm:before,
370
+ i.flag.gambia:before {
371
+ background-position: -36px -208px;
372
+ }
373
+ i.flag.gn:before,
374
+ i.flag.guinea:before {
375
+ background-position: -36px -234px;
376
+ }
377
+ i.flag.gp:before,
378
+ i.flag.guadeloupe:before {
379
+ background-position: -36px -260px;
380
+ }
381
+ i.flag.gq:before,
382
+ i.flag.equatorial.guinea:before {
383
+ background-position: -36px -286px;
384
+ }
385
+ i.flag.gr:before,
386
+ i.flag.greece:before {
387
+ background-position: -36px -312px;
388
+ }
389
+ i.flag.gs:before,
390
+ i.flag.sandwich.islands:before {
391
+ background-position: -36px -338px;
392
+ }
393
+ i.flag.gt:before,
394
+ i.flag.guatemala:before {
395
+ background-position: -36px -364px;
396
+ }
397
+ i.flag.gu:before,
398
+ i.flag.guam:before {
399
+ background-position: -36px -390px;
400
+ }
401
+ i.flag.gw:before,
402
+ i.flag.guinea-bissau:before {
403
+ background-position: -36px -416px;
404
+ }
405
+ i.flag.gy:before,
406
+ i.flag.guyana:before {
407
+ background-position: -36px -442px;
408
+ }
409
+ i.flag.hk:before,
410
+ i.flag.hong.kong:before {
411
+ background-position: -36px -468px;
412
+ }
413
+ i.flag.hm:before,
414
+ i.flag.heard.island:before {
415
+ background-position: -36px -494px;
416
+ }
417
+ i.flag.hn:before,
418
+ i.flag.honduras:before {
419
+ background-position: -36px -520px;
420
+ }
421
+ i.flag.hr:before,
422
+ i.flag.croatia:before {
423
+ background-position: -36px -546px;
424
+ }
425
+ i.flag.ht:before,
426
+ i.flag.haiti:before {
427
+ background-position: -36px -572px;
428
+ }
429
+ i.flag.hu:before,
430
+ i.flag.hungary:before {
431
+ background-position: -36px -598px;
432
+ }
433
+ i.flag.id:before,
434
+ i.flag.indonesia:before {
435
+ background-position: -36px -624px;
436
+ }
437
+ i.flag.ie:before,
438
+ i.flag.ireland:before {
439
+ background-position: -36px -650px;
440
+ }
441
+ i.flag.il:before,
442
+ i.flag.israel:before {
443
+ background-position: -36px -676px;
444
+ }
445
+ i.flag.in:before,
446
+ i.flag.india:before {
447
+ background-position: -36px -702px;
448
+ }
449
+ i.flag.io:before,
450
+ i.flag.indian.ocean.territory:before {
451
+ background-position: -36px -728px;
452
+ }
453
+ i.flag.iq:before,
454
+ i.flag.iraq:before {
455
+ background-position: -36px -754px;
456
+ }
457
+ i.flag.ir:before,
458
+ i.flag.iran:before {
459
+ background-position: -36px -780px;
460
+ }
461
+ i.flag.is:before,
462
+ i.flag.iceland:before {
463
+ background-position: -36px -806px;
464
+ }
465
+ i.flag.it:before,
466
+ i.flag.italy:before {
467
+ background-position: -36px -832px;
468
+ }
469
+ i.flag.jm:before,
470
+ i.flag.jamaica:before {
471
+ background-position: -36px -858px;
472
+ }
473
+ i.flag.jo:before,
474
+ i.flag.jordan:before {
475
+ background-position: -36px -884px;
476
+ }
477
+ i.flag.jp:before,
478
+ i.flag.japan:before {
479
+ background-position: -36px -910px;
480
+ }
481
+ i.flag.ke:before,
482
+ i.flag.kenya:before {
483
+ background-position: -36px -936px;
484
+ }
485
+ i.flag.kg:before,
486
+ i.flag.kyrgyzstan:before {
487
+ background-position: -36px -962px;
488
+ }
489
+ i.flag.kh:before,
490
+ i.flag.cambodia:before {
491
+ background-position: -36px -988px;
492
+ }
493
+ i.flag.ki:before,
494
+ i.flag.kiribati:before {
495
+ background-position: -36px -1014px;
496
+ }
497
+ i.flag.km:before,
498
+ i.flag.comoros:before {
499
+ background-position: -36px -1040px;
500
+ }
501
+ i.flag.kn:before,
502
+ i.flag.saint.kitts.and.nevis:before {
503
+ background-position: -36px -1066px;
504
+ }
505
+ i.flag.kp:before,
506
+ i.flag.north.korea:before {
507
+ background-position: -36px -1092px;
508
+ }
509
+ i.flag.kr:before,
510
+ i.flag.south.korea:before {
511
+ background-position: -36px -1118px;
512
+ }
513
+ i.flag.kw:before,
514
+ i.flag.kuwait:before {
515
+ background-position: -36px -1144px;
516
+ }
517
+ i.flag.ky:before,
518
+ i.flag.cayman.islands:before {
519
+ background-position: -36px -1170px;
520
+ }
521
+ i.flag.kz:before,
522
+ i.flag.kazakhstan:before {
523
+ background-position: -36px -1196px;
524
+ }
525
+ i.flag.la:before,
526
+ i.flag.laos:before {
527
+ background-position: -36px -1222px;
528
+ }
529
+ i.flag.lb:before,
530
+ i.flag.lebanon:before {
531
+ background-position: -36px -1248px;
532
+ }
533
+ i.flag.lc:before,
534
+ i.flag.saint.lucia:before {
535
+ background-position: -36px -1274px;
536
+ }
537
+ i.flag.li:before,
538
+ i.flag.liechtenstein:before {
539
+ background-position: -36px -1300px;
540
+ }
541
+ i.flag.lk:before,
542
+ i.flag.sri.lanka:before {
543
+ background-position: -36px -1326px;
544
+ }
545
+ i.flag.lr:before,
546
+ i.flag.liberia:before {
547
+ background-position: -36px -1352px;
548
+ }
549
+ i.flag.ls:before,
550
+ i.flag.lesotho:before {
551
+ background-position: -36px -1378px;
552
+ }
553
+ i.flag.lt:before,
554
+ i.flag.lithuania:before {
555
+ background-position: -36px -1404px;
556
+ }
557
+ i.flag.lu:before,
558
+ i.flag.luxembourg:before {
559
+ background-position: -36px -1430px;
560
+ }
561
+ i.flag.lv:before,
562
+ i.flag.latvia:before {
563
+ background-position: -36px -1456px;
564
+ }
565
+ i.flag.ly:before,
566
+ i.flag.libya:before {
567
+ background-position: -36px -1482px;
568
+ }
569
+ i.flag.ma:before,
570
+ i.flag.morocco:before {
571
+ background-position: -36px -1508px;
572
+ }
573
+ i.flag.mc:before,
574
+ i.flag.monaco:before {
575
+ background-position: -36px -1534px;
576
+ }
577
+ i.flag.md:before,
578
+ i.flag.moldova:before {
579
+ background-position: -36px -1560px;
580
+ }
581
+ i.flag.me:before,
582
+ i.flag.montenegro:before {
583
+ background-position: -36px -1586px;
584
+ }
585
+ i.flag.mg:before,
586
+ i.flag.madagascar:before {
587
+ background-position: -36px -1613px;
588
+ }
589
+ i.flag.mh:before,
590
+ i.flag.marshall.islands:before {
591
+ background-position: -36px -1639px;
592
+ }
593
+ i.flag.mk:before,
594
+ i.flag.macedonia:before {
595
+ background-position: -36px -1665px;
596
+ }
597
+ i.flag.ml:before,
598
+ i.flag.mali:before {
599
+ background-position: -36px -1691px;
600
+ }
601
+ i.flag.mm:before,
602
+ i.flag.myanmar:before,
603
+ i.flag.burma:before {
604
+ background-position: -36px -1717px;
605
+ }
606
+ i.flag.mn:before,
607
+ i.flag.mongolia:before {
608
+ background-position: -36px -1743px;
609
+ }
610
+ i.flag.mo:before,
611
+ i.flag.macau:before {
612
+ background-position: -36px -1769px;
613
+ }
614
+ i.flag.mp:before,
615
+ i.flag.northern.mariana.islands:before {
616
+ background-position: -36px -1795px;
617
+ }
618
+ i.flag.mq:before,
619
+ i.flag.martinique:before {
620
+ background-position: -36px -1821px;
621
+ }
622
+ i.flag.mr:before,
623
+ i.flag.mauritania:before {
624
+ background-position: -36px -1847px;
625
+ }
626
+ i.flag.ms:before,
627
+ i.flag.montserrat:before {
628
+ background-position: -36px -1873px;
629
+ }
630
+ i.flag.mt:before,
631
+ i.flag.malta:before {
632
+ background-position: -36px -1899px;
633
+ }
634
+ i.flag.mu:before,
635
+ i.flag.mauritius:before {
636
+ background-position: -36px -1925px;
637
+ }
638
+ i.flag.mv:before,
639
+ i.flag.maldives:before {
640
+ background-position: -36px -1951px;
641
+ }
642
+ i.flag.mw:before,
643
+ i.flag.malawi:before {
644
+ background-position: -36px -1977px;
645
+ }
646
+ i.flag.mx:before,
647
+ i.flag.mexico:before {
648
+ background-position: -72px 0px;
649
+ }
650
+ i.flag.my:before,
651
+ i.flag.malaysia:before {
652
+ background-position: -72px -26px;
653
+ }
654
+ i.flag.mz:before,
655
+ i.flag.mozambique:before {
656
+ background-position: -72px -52px;
657
+ }
658
+ i.flag.na:before,
659
+ i.flag.namibia:before {
660
+ background-position: -72px -78px;
661
+ }
662
+ i.flag.nc:before,
663
+ i.flag.new.caledonia:before {
664
+ background-position: -72px -104px;
665
+ }
666
+ i.flag.ne:before,
667
+ i.flag.niger:before {
668
+ background-position: -72px -130px;
669
+ }
670
+ i.flag.nf:before,
671
+ i.flag.norfolk.island:before {
672
+ background-position: -72px -156px;
673
+ }
674
+ i.flag.ng:before,
675
+ i.flag.nigeria:before {
676
+ background-position: -72px -182px;
677
+ }
678
+ i.flag.ni:before,
679
+ i.flag.nicaragua:before {
680
+ background-position: -72px -208px;
681
+ }
682
+ i.flag.nl:before,
683
+ i.flag.netherlands:before {
684
+ background-position: -72px -234px;
685
+ }
686
+ i.flag.no:before,
687
+ i.flag.norway:before {
688
+ background-position: -72px -260px;
689
+ }
690
+ i.flag.np:before,
691
+ i.flag.nepal:before {
692
+ background-position: -72px -286px;
693
+ }
694
+ i.flag.nr:before,
695
+ i.flag.nauru:before {
696
+ background-position: -72px -312px;
697
+ }
698
+ i.flag.nu:before,
699
+ i.flag.niue:before {
700
+ background-position: -72px -338px;
701
+ }
702
+ i.flag.nz:before,
703
+ i.flag.new.zealand:before {
704
+ background-position: -72px -364px;
705
+ }
706
+ i.flag.om:before,
707
+ i.flag.oman:before {
708
+ background-position: -72px -390px;
709
+ }
710
+ i.flag.pa:before,
711
+ i.flag.panama:before {
712
+ background-position: -72px -416px;
713
+ }
714
+ i.flag.pe:before,
715
+ i.flag.peru:before {
716
+ background-position: -72px -442px;
717
+ }
718
+ i.flag.pf:before,
719
+ i.flag.french.polynesia:before {
720
+ background-position: -72px -468px;
721
+ }
722
+ i.flag.pg:before,
723
+ i.flag.new.guinea:before {
724
+ background-position: -72px -494px;
725
+ }
726
+ i.flag.ph:before,
727
+ i.flag.philippines:before {
728
+ background-position: -72px -520px;
729
+ }
730
+ i.flag.pk:before,
731
+ i.flag.pakistan:before {
732
+ background-position: -72px -546px;
733
+ }
734
+ i.flag.pl:before,
735
+ i.flag.poland:before {
736
+ background-position: -72px -572px;
737
+ }
738
+ i.flag.pm:before,
739
+ i.flag.saint.pierre:before {
740
+ background-position: -72px -598px;
741
+ }
742
+ i.flag.pn:before,
743
+ i.flag.pitcairn.islands:before {
744
+ background-position: -72px -624px;
745
+ }
746
+ i.flag.pr:before,
747
+ i.flag.puerto.rico:before {
748
+ background-position: -72px -650px;
749
+ }
750
+ i.flag.ps:before,
751
+ i.flag.palestine:before {
752
+ background-position: -72px -676px;
753
+ }
754
+ i.flag.pt:before,
755
+ i.flag.portugal:before {
756
+ background-position: -72px -702px;
757
+ }
758
+ i.flag.pw:before,
759
+ i.flag.palau:before {
760
+ background-position: -72px -728px;
761
+ }
762
+ i.flag.py:before,
763
+ i.flag.paraguay:before {
764
+ background-position: -72px -754px;
765
+ }
766
+ i.flag.qa:before,
767
+ i.flag.qatar:before {
768
+ background-position: -72px -780px;
769
+ }
770
+ i.flag.re:before,
771
+ i.flag.reunion:before {
772
+ background-position: -72px -806px;
773
+ }
774
+ i.flag.ro:before,
775
+ i.flag.romania:before {
776
+ background-position: -72px -832px;
777
+ }
778
+ i.flag.rs:before,
779
+ i.flag.serbia:before {
780
+ background-position: -72px -858px;
781
+ }
782
+ i.flag.ru:before,
783
+ i.flag.russia:before {
784
+ background-position: -72px -884px;
785
+ }
786
+ i.flag.rw:before,
787
+ i.flag.rwanda:before {
788
+ background-position: -72px -910px;
789
+ }
790
+ i.flag.sa:before,
791
+ i.flag.saudi.arabia:before {
792
+ background-position: -72px -936px;
793
+ }
794
+ i.flag.sb:before,
795
+ i.flag.solomon.islands:before {
796
+ background-position: -72px -962px;
797
+ }
798
+ i.flag.sc:before,
799
+ i.flag.seychelles:before {
800
+ background-position: -72px -988px;
801
+ }
802
+ i.flag.sd:before,
803
+ i.flag.sudan:before {
804
+ background-position: -72px -1040px;
805
+ }
806
+ i.flag.se:before,
807
+ i.flag.sweden:before {
808
+ background-position: -72px -1066px;
809
+ }
810
+ i.flag.sg:before,
811
+ i.flag.singapore:before {
812
+ background-position: -72px -1092px;
813
+ }
814
+ i.flag.sh:before,
815
+ i.flag.saint.helena:before {
816
+ background-position: -72px -1118px;
817
+ }
818
+ i.flag.si:before,
819
+ i.flag.slovenia:before {
820
+ background-position: -72px -1144px;
821
+ }
822
+ i.flag.sj:before,
823
+ i.flag.svalbard:before,
824
+ i.flag.jan.mayen:before {
825
+ background-position: -72px -1170px;
826
+ }
827
+ i.flag.sk:before,
828
+ i.flag.slovakia:before {
829
+ background-position: -72px -1196px;
830
+ }
831
+ i.flag.sl:before,
832
+ i.flag.sierra.leone:before {
833
+ background-position: -72px -1222px;
834
+ }
835
+ i.flag.sm:before,
836
+ i.flag.san.marino:before {
837
+ background-position: -72px -1248px;
838
+ }
839
+ i.flag.sn:before,
840
+ i.flag.senegal:before {
841
+ background-position: -72px -1274px;
842
+ }
843
+ i.flag.so:before,
844
+ i.flag.somalia:before {
845
+ background-position: -72px -1300px;
846
+ }
847
+ i.flag.sr:before,
848
+ i.flag.suriname:before {
849
+ background-position: -72px -1326px;
850
+ }
851
+ i.flag.st:before,
852
+ i.flag.sao.tome:before {
853
+ background-position: -72px -1352px;
854
+ }
855
+ i.flag.sv:before,
856
+ i.flag.el.salvador:before {
857
+ background-position: -72px -1378px;
858
+ }
859
+ i.flag.sy:before,
860
+ i.flag.syria:before {
861
+ background-position: -72px -1404px;
862
+ }
863
+ i.flag.sz:before,
864
+ i.flag.swaziland:before {
865
+ background-position: -72px -1430px;
866
+ }
867
+ i.flag.tc:before,
868
+ i.flag.caicos.islands:before {
869
+ background-position: -72px -1456px;
870
+ }
871
+ i.flag.td:before,
872
+ i.flag.chad:before {
873
+ background-position: -72px -1482px;
874
+ }
875
+ i.flag.tf:before,
876
+ i.flag.french.territories:before {
877
+ background-position: -72px -1508px;
878
+ }
879
+ i.flag.tg:before,
880
+ i.flag.togo:before {
881
+ background-position: -72px -1534px;
882
+ }
883
+ i.flag.th:before,
884
+ i.flag.thailand:before {
885
+ background-position: -72px -1560px;
886
+ }
887
+ i.flag.tj:before,
888
+ i.flag.tajikistan:before {
889
+ background-position: -72px -1586px;
890
+ }
891
+ i.flag.tk:before,
892
+ i.flag.tokelau:before {
893
+ background-position: -72px -1612px;
894
+ }
895
+ i.flag.tl:before,
896
+ i.flag.timorleste:before {
897
+ background-position: -72px -1638px;
898
+ }
899
+ i.flag.tm:before,
900
+ i.flag.turkmenistan:before {
901
+ background-position: -72px -1664px;
902
+ }
903
+ i.flag.tn:before,
904
+ i.flag.tunisia:before {
905
+ background-position: -72px -1690px;
906
+ }
907
+ i.flag.to:before,
908
+ i.flag.tonga:before {
909
+ background-position: -72px -1716px;
910
+ }
911
+ i.flag.tr:before,
912
+ i.flag.turkey:before {
913
+ background-position: -72px -1742px;
914
+ }
915
+ i.flag.tt:before,
916
+ i.flag.trinidad:before {
917
+ background-position: -72px -1768px;
918
+ }
919
+ i.flag.tv:before,
920
+ i.flag.tuvalu:before {
921
+ background-position: -72px -1794px;
922
+ }
923
+ i.flag.tw:before,
924
+ i.flag.taiwan:before {
925
+ background-position: -72px -1820px;
926
+ }
927
+ i.flag.tz:before,
928
+ i.flag.tanzania:before {
929
+ background-position: -72px -1846px;
930
+ }
931
+ i.flag.ua:before,
932
+ i.flag.ukraine:before {
933
+ background-position: -72px -1872px;
934
+ }
935
+ i.flag.ug:before,
936
+ i.flag.uganda:before {
937
+ background-position: -72px -1898px;
938
+ }
939
+ i.flag.um:before,
940
+ i.flag.us.minor.islands:before {
941
+ background-position: -72px -1924px;
942
+ }
943
+ i.flag.us:before,
944
+ i.flag.america:before,
945
+ i.flag.united.states:before {
946
+ background-position: -72px -1950px;
947
+ }
948
+ i.flag.uy:before,
949
+ i.flag.uruguay:before {
950
+ background-position: -72px -1976px;
951
+ }
952
+ i.flag.uz:before,
953
+ i.flag.uzbekistan:before {
954
+ background-position: -108px 0px;
955
+ }
956
+ i.flag.va:before,
957
+ i.flag.vatican.city:before {
958
+ background-position: -108px -26px;
959
+ }
960
+ i.flag.vc:before,
961
+ i.flag.saint.vincent:before {
962
+ background-position: -108px -52px;
963
+ }
964
+ i.flag.ve:before,
965
+ i.flag.venezuela:before {
966
+ background-position: -108px -78px;
967
+ }
968
+ i.flag.vg:before,
969
+ i.flag.british.virgin.islands:before {
970
+ background-position: -108px -104px;
971
+ }
972
+ i.flag.vi:before,
973
+ i.flag.us.virgin.islands:before {
974
+ background-position: -108px -130px;
975
+ }
976
+ i.flag.vn:before,
977
+ i.flag.vietnam:before {
978
+ background-position: -108px -156px;
979
+ }
980
+ i.flag.vu:before,
981
+ i.flag.vanuatu:before {
982
+ background-position: -108px -182px;
983
+ }
984
+ i.flag.wf:before,
985
+ i.flag.wallis.and.futuna:before {
986
+ background-position: -108px -234px;
987
+ }
988
+ i.flag.ws:before,
989
+ i.flag.samoa:before {
990
+ background-position: -108px -260px;
991
+ }
992
+ i.flag.ye:before,
993
+ i.flag.yemen:before {
994
+ background-position: -108px -286px;
995
+ }
996
+ i.flag.yt:before,
997
+ i.flag.mayotte:before {
998
+ background-position: -108px -312px;
999
+ }
1000
+ i.flag.za:before,
1001
+ i.flag.south.africa:before {
1002
+ background-position: -108px -338px;
1003
+ }
1004
+ i.flag.zm:before,
1005
+ i.flag.zambia:before {
1006
+ background-position: -108px -364px;
1007
+ }
1008
+ i.flag.zw:before,
1009
+ i.flag.zimbabwe:before {
1010
+ background-position: -108px -390px;
1011
+ }
1012
+
1013
+
1014
+ /*******************************
1015
+ Site Overrides
1016
+ *******************************/
1017
+