blogelator 0.1.6 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (305) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/blogelator/admin.js +2 -2
  3. data/app/assets/javascripts/blogelator/components/markdown_editor_component.js +37 -37
  4. data/app/assets/javascripts/blogelator/config/marked.js +3 -3
  5. data/app/assets/stylesheets/blogelator/admin/all.scss +4 -4
  6. data/app/assets/stylesheets/blogelator/admin/components/markdown_editor.scss +12 -12
  7. data/app/assets/stylesheets/blogelator/admin/components/save_button.scss +15 -15
  8. data/app/assets/stylesheets/blogelator/admin/layout.scss +9 -9
  9. data/app/assets/stylesheets/blogelator/admin/posts/_form.scss +3 -3
  10. data/app/assets/stylesheets/blogelator/admin/posts/_form_action_bar.scss +13 -13
  11. data/app/assets/stylesheets/blogelator/admin/posts/_posts_list.scss +5 -5
  12. data/app/assets/stylesheets/blogelator/admin/posts/edit.scss +3 -3
  13. data/app/assets/stylesheets/blogelator/admin/posts/new.scss +4 -4
  14. data/app/assets/stylesheets/blogelator/admin/posts/show.scss +3 -3
  15. data/app/assets/stylesheets/blogelator/application/all.scss +2 -14
  16. data/app/assets/stylesheets/blogelator/application/layout.scss +7 -7
  17. data/app/assets/stylesheets/blogelator/application/posts/index.scss +7 -7
  18. data/app/assets/stylesheets/blogelator/application/posts/show.scss +10 -10
  19. data/app/assets/stylesheets/blogelator/mixins/blogelator_button.scss +10 -10
  20. data/app/assets/stylesheets/blogelator/mixins/blogelator_logo.scss +1 -1
  21. data/app/assets/stylesheets/blogelator/shared/post.scss +6 -6
  22. data/app/assets/stylesheets/blogelator/shared/typography/code_highlighting.scss +2 -2
  23. data/app/assets/stylesheets/blogelator/shared/typography/forms.scss +2 -2
  24. data/app/assets/stylesheets/blogelator/shared/typography/headings.scss +2 -2
  25. data/app/assets/stylesheets/blogelator/shared/typography/lists.scss +2 -2
  26. data/lib/assets/stylesheets/blogelator/_variables_sample.scss +2 -2
  27. data/lib/blogelator/engine.rb +9 -5
  28. data/lib/blogelator/version.rb +1 -1
  29. data/lib/blogelator.rb +5 -6
  30. data/spec/dummy/app/assets/stylesheets/blogelator/_variables.scss +2 -2
  31. data/spec/dummy/log/development.log +2877 -0
  32. data/spec/dummy/tmp/cache/assets/development/sass/07921f743ac03b1f16c8610a85b27a8051687f6b/_button.scssc +0 -0
  33. data/spec/dummy/tmp/cache/assets/development/sass/07921f743ac03b1f16c8610a85b27a8051687f6b/_clearfix.scssc +0 -0
  34. data/spec/dummy/tmp/cache/assets/development/sass/07921f743ac03b1f16c8610a85b27a8051687f6b/_font-family.scssc +0 -0
  35. data/spec/dummy/tmp/cache/assets/development/sass/07921f743ac03b1f16c8610a85b27a8051687f6b/_hide-text.scssc +0 -0
  36. data/spec/dummy/tmp/cache/assets/development/sass/07921f743ac03b1f16c8610a85b27a8051687f6b/_html5-input-types.scssc +0 -0
  37. data/spec/dummy/tmp/cache/assets/development/sass/07921f743ac03b1f16c8610a85b27a8051687f6b/_position.scssc +0 -0
  38. data/spec/dummy/tmp/cache/assets/development/sass/07921f743ac03b1f16c8610a85b27a8051687f6b/_prefixer.scssc +0 -0
  39. data/spec/dummy/tmp/cache/assets/development/sass/07921f743ac03b1f16c8610a85b27a8051687f6b/_retina-image.scssc +0 -0
  40. data/spec/dummy/tmp/cache/assets/development/sass/07921f743ac03b1f16c8610a85b27a8051687f6b/_size.scssc +0 -0
  41. data/spec/dummy/tmp/cache/assets/development/sass/07921f743ac03b1f16c8610a85b27a8051687f6b/_timing-functions.scssc +0 -0
  42. data/spec/dummy/tmp/cache/assets/development/sass/07921f743ac03b1f16c8610a85b27a8051687f6b/_triangle.scssc +0 -0
  43. data/spec/dummy/tmp/cache/assets/development/sass/0b8483437e27ce81f53b75759a3a5d94f92b66a2/_bourbon.scssc +0 -0
  44. data/spec/dummy/tmp/cache/assets/development/sass/0b8483437e27ce81f53b75759a3a5d94f92b66a2/_neat.scssc +0 -0
  45. data/spec/dummy/tmp/cache/assets/development/sass/0b8483437e27ce81f53b75759a3a5d94f92b66a2/font-awesome.scssc +0 -0
  46. data/spec/dummy/tmp/cache/assets/development/sass/21fd1683fd80d7894dd681f2a5e0b5e886e5b924/post.scssc +0 -0
  47. data/spec/dummy/tmp/cache/assets/development/sass/2c46632a039be6e399018f6c2a4447b940c04379/_bordered-pulled.scssc +0 -0
  48. data/spec/dummy/tmp/cache/assets/development/sass/2c46632a039be6e399018f6c2a4447b940c04379/_core.scssc +0 -0
  49. data/spec/dummy/tmp/cache/assets/development/sass/2c46632a039be6e399018f6c2a4447b940c04379/_fixed-width.scssc +0 -0
  50. data/spec/dummy/tmp/cache/assets/development/sass/2c46632a039be6e399018f6c2a4447b940c04379/_icons.scssc +0 -0
  51. data/spec/dummy/tmp/cache/assets/development/sass/2c46632a039be6e399018f6c2a4447b940c04379/_larger.scssc +0 -0
  52. data/spec/dummy/tmp/cache/assets/development/sass/2c46632a039be6e399018f6c2a4447b940c04379/_list.scssc +0 -0
  53. data/spec/dummy/tmp/cache/assets/development/sass/2c46632a039be6e399018f6c2a4447b940c04379/_mixins.scssc +0 -0
  54. data/spec/dummy/tmp/cache/assets/development/sass/2c46632a039be6e399018f6c2a4447b940c04379/_path.scssc +0 -0
  55. data/spec/dummy/tmp/cache/assets/development/sass/2c46632a039be6e399018f6c2a4447b940c04379/_rotated-flipped.scssc +0 -0
  56. data/spec/dummy/tmp/cache/assets/development/sass/2c46632a039be6e399018f6c2a4447b940c04379/_spinning.scssc +0 -0
  57. data/spec/dummy/tmp/cache/assets/development/sass/2c46632a039be6e399018f6c2a4447b940c04379/_stacked.scssc +0 -0
  58. data/spec/dummy/tmp/cache/assets/development/sass/2c46632a039be6e399018f6c2a4447b940c04379/_variables.scssc +0 -0
  59. data/spec/dummy/tmp/cache/assets/development/sass/37b3a50d25c898dbca066a1bc8b29de6b6d4c47b/_deprecated-webkit-gradient.scssc +0 -0
  60. data/spec/dummy/tmp/cache/assets/development/sass/37b3a50d25c898dbca066a1bc8b29de6b6d4c47b/_gradient-positions-parser.scssc +0 -0
  61. data/spec/dummy/tmp/cache/assets/development/sass/37b3a50d25c898dbca066a1bc8b29de6b6d4c47b/_linear-positions-parser.scssc +0 -0
  62. data/spec/dummy/tmp/cache/assets/development/sass/37b3a50d25c898dbca066a1bc8b29de6b6d4c47b/_radial-arg-parser.scssc +0 -0
  63. data/spec/dummy/tmp/cache/assets/development/sass/37b3a50d25c898dbca066a1bc8b29de6b6d4c47b/_radial-positions-parser.scssc +0 -0
  64. data/spec/dummy/tmp/cache/assets/development/sass/37b3a50d25c898dbca066a1bc8b29de6b6d4c47b/_render-gradients.scssc +0 -0
  65. data/spec/dummy/tmp/cache/assets/development/sass/37b3a50d25c898dbca066a1bc8b29de6b6d4c47b/_shape-size-stripper.scssc +0 -0
  66. data/spec/dummy/tmp/cache/assets/development/sass/3be4963cb1c563e597c71b09139a24543d3b2819/_variables.scssc +0 -0
  67. data/spec/dummy/tmp/cache/assets/development/sass/3be4963cb1c563e597c71b09139a24543d3b2819/application.css.scssc +0 -0
  68. data/spec/dummy/tmp/cache/assets/development/sass/41cced0dfa1e19edfeb39bf9dd9403889328aff7/_fill-parent.scssc +0 -0
  69. data/spec/dummy/tmp/cache/assets/development/sass/41cced0dfa1e19edfeb39bf9dd9403889328aff7/_grid.scssc +0 -0
  70. data/spec/dummy/tmp/cache/assets/development/sass/41cced0dfa1e19edfeb39bf9dd9403889328aff7/_media.scssc +0 -0
  71. data/spec/dummy/tmp/cache/assets/development/sass/41cced0dfa1e19edfeb39bf9dd9403889328aff7/_omega.scssc +0 -0
  72. data/spec/dummy/tmp/cache/assets/development/sass/41cced0dfa1e19edfeb39bf9dd9403889328aff7/_outer-container.scssc +0 -0
  73. data/spec/dummy/tmp/cache/assets/development/sass/41cced0dfa1e19edfeb39bf9dd9403889328aff7/_pad.scssc +0 -0
  74. data/spec/dummy/tmp/cache/assets/development/sass/41cced0dfa1e19edfeb39bf9dd9403889328aff7/_private.scssc +0 -0
  75. data/spec/dummy/tmp/cache/assets/development/sass/41cced0dfa1e19edfeb39bf9dd9403889328aff7/_reset.scssc +0 -0
  76. data/spec/dummy/tmp/cache/assets/development/sass/41cced0dfa1e19edfeb39bf9dd9403889328aff7/_row.scssc +0 -0
  77. data/spec/dummy/tmp/cache/assets/development/sass/41cced0dfa1e19edfeb39bf9dd9403889328aff7/_shift.scssc +0 -0
  78. data/spec/dummy/tmp/cache/assets/development/sass/41cced0dfa1e19edfeb39bf9dd9403889328aff7/_span-columns.scssc +0 -0
  79. data/spec/dummy/tmp/cache/assets/development/sass/41cced0dfa1e19edfeb39bf9dd9403889328aff7/_to-deprecate.scssc +0 -0
  80. data/spec/dummy/tmp/cache/assets/development/sass/41cced0dfa1e19edfeb39bf9dd9403889328aff7/_visual-grid.scssc +0 -0
  81. data/spec/dummy/tmp/cache/assets/development/sass/45854bbd858f3f86b0a584dfaf9bab704c8297c6/_new-breakpoint.scssc +0 -0
  82. data/spec/dummy/tmp/cache/assets/development/sass/45854bbd858f3f86b0a584dfaf9bab704c8297c6/_private.scssc +0 -0
  83. data/spec/dummy/tmp/cache/assets/development/sass/80dd986b754d1ad645c2b6fbc04a7591de921a71/_compact.scssc +0 -0
  84. data/spec/dummy/tmp/cache/assets/development/sass/80dd986b754d1ad645c2b6fbc04a7591de921a71/_flex-grid.scssc +0 -0
  85. data/spec/dummy/tmp/cache/assets/development/sass/80dd986b754d1ad645c2b6fbc04a7591de921a71/_grid-width.scssc +0 -0
  86. data/spec/dummy/tmp/cache/assets/development/sass/80dd986b754d1ad645c2b6fbc04a7591de921a71/_linear-gradient.scssc +0 -0
  87. data/spec/dummy/tmp/cache/assets/development/sass/80dd986b754d1ad645c2b6fbc04a7591de921a71/_modular-scale.scssc +0 -0
  88. data/spec/dummy/tmp/cache/assets/development/sass/80dd986b754d1ad645c2b6fbc04a7591de921a71/_px-to-em.scssc +0 -0
  89. data/spec/dummy/tmp/cache/assets/development/sass/80dd986b754d1ad645c2b6fbc04a7591de921a71/_radial-gradient.scssc +0 -0
  90. data/spec/dummy/tmp/cache/assets/development/sass/80dd986b754d1ad645c2b6fbc04a7591de921a71/_tint-shade.scssc +0 -0
  91. data/spec/dummy/tmp/cache/assets/development/sass/80dd986b754d1ad645c2b6fbc04a7591de921a71/_transition-property-name.scssc +0 -0
  92. data/spec/dummy/tmp/cache/assets/development/sass/97963dc217c21292bf44715cd5d7413261d0adaa/_bourbon-deprecated-upcoming.scssc +0 -0
  93. data/spec/dummy/tmp/cache/assets/development/sass/b70a674b159e0032279f472ea6d42a76c3e47c19/blogelator_button.scssc +0 -0
  94. data/spec/dummy/tmp/cache/assets/development/sass/b70a674b159e0032279f472ea6d42a76c3e47c19/blogelator_logo.scssc +0 -0
  95. data/spec/dummy/tmp/cache/assets/development/sass/b7dbb1c3deaab5164c4bca07f653866f08bca0c7/code_highlighting.scssc +0 -0
  96. data/spec/dummy/tmp/cache/assets/development/sass/b7dbb1c3deaab5164c4bca07f653866f08bca0c7/forms.scssc +0 -0
  97. data/spec/dummy/tmp/cache/assets/development/sass/b7dbb1c3deaab5164c4bca07f653866f08bca0c7/headings.scssc +0 -0
  98. data/spec/dummy/tmp/cache/assets/development/sass/b7dbb1c3deaab5164c4bca07f653866f08bca0c7/lists.scssc +0 -0
  99. data/spec/dummy/tmp/cache/assets/development/sass/ba99e5ab418fb834c6e49ce31afd3075de4d50db/_grid.scssc +0 -0
  100. data/spec/dummy/tmp/cache/assets/development/sass/ba99e5ab418fb834c6e49ce31afd3075de4d50db/_visual-grid.scssc +0 -0
  101. data/spec/dummy/tmp/cache/assets/development/sass/c1ce53a77acbf2341c879195eb20239272a8b087/all.scssc +0 -0
  102. data/spec/dummy/tmp/cache/assets/development/sass/c1ce53a77acbf2341c879195eb20239272a8b087/layout.scssc +0 -0
  103. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_animation.scssc +0 -0
  104. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_appearance.scssc +0 -0
  105. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_backface-visibility.scssc +0 -0
  106. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_background-image.scssc +0 -0
  107. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_background.scssc +0 -0
  108. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_border-image.scssc +0 -0
  109. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_border-radius.scssc +0 -0
  110. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_box-sizing.scssc +0 -0
  111. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_columns.scssc +0 -0
  112. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_flex-box.scssc +0 -0
  113. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_font-face.scssc +0 -0
  114. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_hidpi-media-query.scssc +0 -0
  115. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_image-rendering.scssc +0 -0
  116. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_inline-block.scssc +0 -0
  117. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_keyframes.scssc +0 -0
  118. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_linear-gradient.scssc +0 -0
  119. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_perspective.scssc +0 -0
  120. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_placeholder.scssc +0 -0
  121. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_radial-gradient.scssc +0 -0
  122. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_transform.scssc +0 -0
  123. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_transition.scssc +0 -0
  124. data/spec/dummy/tmp/cache/assets/development/sass/cd9238e64a3f5e261455709885c1b1a6bcfd40f5/_user-select.scssc +0 -0
  125. data/spec/dummy/tmp/cache/assets/development/sass/d0967d53bf90082006477ee97c33804093680157/index.scssc +0 -0
  126. data/spec/dummy/tmp/cache/assets/development/sass/d0967d53bf90082006477ee97c33804093680157/show.scssc +0 -0
  127. data/spec/dummy/tmp/cache/assets/development/sass/faa8931c2712754847644594af58d6dafcb7eba6/_neat-helpers.scssc +0 -0
  128. data/spec/dummy/tmp/cache/assets/development/sprockets/03ee17815887f7f9572e7846347b73ad +0 -0
  129. data/spec/dummy/tmp/cache/assets/development/sprockets/06610a7a54fafe2fc26fcd24ffc25d6c +0 -0
  130. data/spec/dummy/tmp/cache/assets/development/sprockets/0b162b0585e479967a196493d24c9c31 +0 -0
  131. data/spec/dummy/tmp/cache/assets/development/sprockets/0b388d9b94f431857e6113f620e7f0ab +0 -0
  132. data/spec/dummy/tmp/cache/assets/development/sprockets/11a4b58bdf1e66237f1ad0ffddbc9d81 +0 -0
  133. data/spec/dummy/tmp/cache/assets/development/sprockets/1642cb2980f0d6138a107f39e9b029ac +0 -0
  134. data/spec/dummy/tmp/cache/assets/development/sprockets/18541c8a2f4dd2ad65967ac01540b5e5 +0 -0
  135. data/spec/dummy/tmp/cache/assets/development/sprockets/1a74619c045ead4f6c12d8fc82c8aca9 +0 -0
  136. data/spec/dummy/tmp/cache/assets/development/sprockets/1c911dda22afcac8e8b6b68de4f40cac +0 -0
  137. data/spec/dummy/tmp/cache/assets/development/sprockets/1dfaa29320fac6e3f39174823f26ce4e +0 -0
  138. data/spec/dummy/tmp/cache/assets/development/sprockets/20bd84682bd4ad3230cb82210d277318 +0 -0
  139. data/spec/dummy/tmp/cache/assets/development/sprockets/220178fefb8edca0ad305f035bcf755f +0 -0
  140. data/spec/dummy/tmp/cache/assets/development/sprockets/243a09d063adc2c1bf9c84a015b4deae +0 -0
  141. data/spec/dummy/tmp/cache/assets/development/sprockets/2bcb59581cfc2be9512e3653b1b83921 +0 -0
  142. data/spec/dummy/tmp/cache/assets/development/sprockets/2c7aca493752ef3d0f2703c4afdeec35 +0 -0
  143. data/spec/dummy/tmp/cache/assets/development/sprockets/2cb791441267f115aa66746962037d14 +0 -0
  144. data/spec/dummy/tmp/cache/assets/development/sprockets/2e8caa7e10cf5e9f57a6e30591e14157 +0 -0
  145. data/spec/dummy/tmp/cache/assets/development/sprockets/31ff4fd075fbadfc861af13fa40e3fc6 +0 -0
  146. data/spec/dummy/tmp/cache/assets/development/sprockets/32290d48b6752b0790c7d40155a269a3 +0 -0
  147. data/spec/dummy/tmp/cache/assets/development/sprockets/3ed3b2471b145dde7066f62e9943a664 +0 -0
  148. data/spec/dummy/tmp/cache/assets/development/sprockets/41eec45d61cb4b25a78069f86a0846d6 +0 -0
  149. data/spec/dummy/tmp/cache/assets/development/sprockets/423852439fdd3ebb9e12cb1478647b7a +0 -0
  150. data/spec/dummy/tmp/cache/assets/development/sprockets/4f929ac9fa380b32ac71e967031ce99e +0 -0
  151. data/spec/dummy/tmp/cache/assets/development/sprockets/4f9f2ec9f45bcb2b0314409f4ed8d314 +0 -0
  152. data/spec/dummy/tmp/cache/assets/development/sprockets/516b084be1daee008f2ee724442c2572 +0 -0
  153. data/spec/dummy/tmp/cache/assets/development/sprockets/59cac6b69b1e6be1078b191e0a426617 +0 -0
  154. data/spec/dummy/tmp/cache/assets/development/sprockets/5dccf598e9581501f947944ab7ea77f8 +0 -0
  155. data/spec/dummy/tmp/cache/assets/development/sprockets/5fed700ff4f114325222352b4a9eb173 +0 -0
  156. data/spec/dummy/tmp/cache/assets/development/sprockets/69af9db22ca680482e3b0fd69d77e381 +0 -0
  157. data/spec/dummy/tmp/cache/assets/development/sprockets/6a0de03f92b58421c222ff15037aa805 +0 -0
  158. data/spec/dummy/tmp/cache/assets/development/sprockets/717a204b713a195d5144254a6c5f8eef +0 -0
  159. data/spec/dummy/tmp/cache/assets/development/sprockets/7a89f6daba9fe362c5c272ee22f29114 +0 -0
  160. data/spec/dummy/tmp/cache/assets/development/sprockets/876c20900cfbc139f2bcc806b9920bc0 +0 -0
  161. data/spec/dummy/tmp/cache/assets/development/sprockets/892abc349986f4ebdd38a0606c2a7b47 +0 -0
  162. data/spec/dummy/tmp/cache/assets/development/sprockets/8c58f5e9fc13afdcf8a7347ea5b6433f +0 -0
  163. data/spec/dummy/tmp/cache/assets/development/sprockets/94737fda0d9284d7e802606d616d4d06 +0 -0
  164. data/spec/dummy/tmp/cache/assets/development/sprockets/96e4483c40e54e5cdef2e7baf5572cca +0 -0
  165. data/spec/dummy/tmp/cache/assets/development/sprockets/98c63563b5427dfac401489800970502 +0 -0
  166. data/spec/dummy/tmp/cache/assets/development/sprockets/a234af77d7c2b510167d2448c4db2b02 +0 -0
  167. data/spec/dummy/tmp/cache/assets/development/sprockets/a57aae0412ef4b230257432da5013077 +0 -0
  168. data/spec/dummy/tmp/cache/assets/development/sprockets/b24cd42a9549ae6c7654bbfcc4daf4fc +0 -0
  169. data/spec/dummy/tmp/cache/assets/development/sprockets/bf5947432e5c44e62273ea61a0293420 +0 -0
  170. data/spec/dummy/tmp/cache/assets/development/sprockets/c348ad210d6130dd55fd6affe02771a9 +0 -0
  171. data/spec/dummy/tmp/cache/assets/development/sprockets/c920365528fa0e293905ee4ebe14d0b4 +0 -0
  172. data/spec/dummy/tmp/cache/assets/development/sprockets/cb25bb8c2cebf1ab8cbfd41bdae0e83a +0 -0
  173. data/spec/dummy/tmp/cache/assets/development/sprockets/e13d9fe9bfdbecc97bfc1b6e29c0fdde +0 -0
  174. data/spec/dummy/tmp/cache/assets/development/sprockets/f54685839a569bf8fc641548a69ac0ba +0 -0
  175. data/spec/dummy/tmp/cache/assets/development/sprockets/f7555b4d036360dedd6a3f1e75df2ae0 +0 -0
  176. data/spec/dummy/tmp/cache/assets/development/sprockets/f8ffdf212392f071a81075cd04868690 +0 -0
  177. data/spec/dummy/tmp/cache/assets/development/sprockets/f9b9728da11c0c9be6ffbb4a37a2b543 +0 -0
  178. data/spec/dummy/tmp/cache/assets/development/sprockets/fba2381f8cbae687c6e72ca4dd779af3 +0 -0
  179. data/spec/dummy/tmp/cache/assets/development/sprockets/fe17a0ac115f8c03036161dfae02e31b +0 -0
  180. data/vendor/assets/fonts/blogelator/fontawesome-webfont.eot +0 -0
  181. data/vendor/assets/fonts/blogelator/fontawesome-webfont.svg +414 -0
  182. data/vendor/assets/fonts/blogelator/fontawesome-webfont.ttf +0 -0
  183. data/vendor/assets/fonts/blogelator/fontawesome-webfont.woff +0 -0
  184. data/vendor/assets/stylesheets/blogelator/_bourbon.scss +59 -0
  185. data/vendor/assets/stylesheets/blogelator/_neat-helpers.scss +7 -0
  186. data/vendor/assets/stylesheets/blogelator/_neat.scss +21 -0
  187. data/vendor/assets/stylesheets/blogelator/bourbon/_bourbon-deprecated-upcoming.scss +13 -0
  188. data/vendor/assets/stylesheets/blogelator/bourbon/addons/_button.scss +273 -0
  189. data/vendor/assets/stylesheets/blogelator/bourbon/addons/_clearfix.scss +29 -0
  190. data/vendor/assets/stylesheets/blogelator/bourbon/addons/_font-family.scss +5 -0
  191. data/vendor/assets/stylesheets/blogelator/bourbon/addons/_hide-text.scss +5 -0
  192. data/vendor/assets/stylesheets/blogelator/bourbon/addons/_html5-input-types.scss +56 -0
  193. data/vendor/assets/stylesheets/blogelator/bourbon/addons/_position.scss +42 -0
  194. data/vendor/assets/stylesheets/blogelator/bourbon/addons/_prefixer.scss +49 -0
  195. data/vendor/assets/stylesheets/blogelator/bourbon/addons/_retina-image.scss +32 -0
  196. data/vendor/assets/stylesheets/blogelator/bourbon/addons/_size.scss +44 -0
  197. data/vendor/assets/stylesheets/blogelator/bourbon/addons/_timing-functions.scss +32 -0
  198. data/vendor/assets/stylesheets/blogelator/bourbon/addons/_triangle.scss +45 -0
  199. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_animation.scss +52 -0
  200. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_appearance.scss +3 -0
  201. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_backface-visibility.scss +6 -0
  202. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_background-image.scss +48 -0
  203. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_background.scss +103 -0
  204. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_border-image.scss +55 -0
  205. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_border-radius.scss +22 -0
  206. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_box-sizing.scss +4 -0
  207. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_columns.scss +47 -0
  208. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_flex-box.scss +52 -0
  209. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_font-face.scss +23 -0
  210. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_hidpi-media-query.scss +10 -0
  211. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_image-rendering.scss +13 -0
  212. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_inline-block.scss +8 -0
  213. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_keyframes.scss +43 -0
  214. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_linear-gradient.scss +41 -0
  215. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_perspective.scss +8 -0
  216. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_placeholder.scss +29 -0
  217. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_radial-gradient.scss +44 -0
  218. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_transform.scss +15 -0
  219. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_transition.scss +34 -0
  220. data/vendor/assets/stylesheets/blogelator/bourbon/css3/_user-select.scss +3 -0
  221. data/vendor/assets/stylesheets/blogelator/bourbon/functions/_compact.scss +11 -0
  222. data/vendor/assets/stylesheets/blogelator/bourbon/functions/_flex-grid.scss +39 -0
  223. data/vendor/assets/stylesheets/blogelator/bourbon/functions/_grid-width.scss +13 -0
  224. data/vendor/assets/stylesheets/blogelator/bourbon/functions/_linear-gradient.scss +13 -0
  225. data/vendor/assets/stylesheets/blogelator/bourbon/functions/_modular-scale.scss +40 -0
  226. data/vendor/assets/stylesheets/blogelator/bourbon/functions/_px-to-em.scss +8 -0
  227. data/vendor/assets/stylesheets/blogelator/bourbon/functions/_radial-gradient.scss +23 -0
  228. data/vendor/assets/stylesheets/blogelator/bourbon/functions/_tint-shade.scss +9 -0
  229. data/vendor/assets/stylesheets/blogelator/bourbon/functions/_transition-property-name.scss +22 -0
  230. data/vendor/assets/stylesheets/blogelator/bourbon/helpers/_deprecated-webkit-gradient.scss +39 -0
  231. data/vendor/assets/stylesheets/blogelator/bourbon/helpers/_gradient-positions-parser.scss +13 -0
  232. data/vendor/assets/stylesheets/blogelator/bourbon/helpers/_linear-positions-parser.scss +61 -0
  233. data/vendor/assets/stylesheets/blogelator/bourbon/helpers/_radial-arg-parser.scss +69 -0
  234. data/vendor/assets/stylesheets/blogelator/bourbon/helpers/_radial-positions-parser.scss +18 -0
  235. data/vendor/assets/stylesheets/blogelator/bourbon/helpers/_render-gradients.scss +26 -0
  236. data/vendor/assets/stylesheets/blogelator/bourbon/helpers/_shape-size-stripper.scss +10 -0
  237. data/vendor/assets/stylesheets/blogelator/font-awesome/_bordered-pulled.scss +16 -0
  238. data/vendor/assets/stylesheets/blogelator/font-awesome/_core.scss +12 -0
  239. data/vendor/assets/stylesheets/blogelator/font-awesome/_fixed-width.scss +6 -0
  240. data/vendor/assets/stylesheets/blogelator/font-awesome/_icons.scss +412 -0
  241. data/vendor/assets/stylesheets/blogelator/font-awesome/_larger.scss +13 -0
  242. data/vendor/assets/stylesheets/blogelator/font-awesome/_list.scss +19 -0
  243. data/vendor/assets/stylesheets/blogelator/font-awesome/_mixins.scss +20 -0
  244. data/vendor/assets/stylesheets/blogelator/font-awesome/_path.scss +13 -0
  245. data/vendor/assets/stylesheets/blogelator/font-awesome/_rotated-flipped.scss +9 -0
  246. data/vendor/assets/stylesheets/blogelator/font-awesome/_spinning.scss +30 -0
  247. data/vendor/assets/stylesheets/blogelator/font-awesome/_stacked.scss +20 -0
  248. data/vendor/assets/stylesheets/blogelator/font-awesome/_variables.scss +381 -0
  249. data/vendor/assets/stylesheets/blogelator/font-awesome.scss +17 -0
  250. data/vendor/assets/stylesheets/blogelator/functions/_new-breakpoint.scss +16 -0
  251. data/vendor/assets/stylesheets/blogelator/functions/_private.scss +125 -0
  252. data/vendor/assets/stylesheets/blogelator/grid/_fill-parent.scss +7 -0
  253. data/vendor/assets/stylesheets/blogelator/grid/_grid.scss +5 -0
  254. data/vendor/assets/stylesheets/blogelator/grid/_media.scss +51 -0
  255. data/vendor/assets/stylesheets/blogelator/grid/_omega.scss +79 -0
  256. data/vendor/assets/stylesheets/blogelator/grid/_outer-container.scss +8 -0
  257. data/vendor/assets/stylesheets/blogelator/grid/_pad.scss +8 -0
  258. data/vendor/assets/stylesheets/blogelator/grid/_private.scss +50 -0
  259. data/vendor/assets/stylesheets/blogelator/grid/_reset.scss +12 -0
  260. data/vendor/assets/stylesheets/blogelator/grid/_row.scss +17 -0
  261. data/vendor/assets/stylesheets/blogelator/grid/_shift.scss +16 -0
  262. data/vendor/assets/stylesheets/blogelator/grid/_span-columns.scss +45 -0
  263. data/vendor/assets/stylesheets/blogelator/grid/_to-deprecate.scss +57 -0
  264. data/vendor/assets/stylesheets/blogelator/grid/_visual-grid.scss +41 -0
  265. data/vendor/assets/stylesheets/blogelator/neat/_neat-helpers.scss +7 -0
  266. data/vendor/assets/stylesheets/blogelator/neat/functions/_new-breakpoint.scss +16 -0
  267. data/vendor/assets/stylesheets/blogelator/neat/functions/_private.scss +125 -0
  268. data/vendor/assets/stylesheets/blogelator/neat/grid/_fill-parent.scss +7 -0
  269. data/vendor/assets/stylesheets/blogelator/neat/grid/_grid.scss +5 -0
  270. data/vendor/assets/stylesheets/blogelator/neat/grid/_media.scss +51 -0
  271. data/vendor/assets/stylesheets/blogelator/neat/grid/_omega.scss +79 -0
  272. data/vendor/assets/stylesheets/blogelator/neat/grid/_outer-container.scss +8 -0
  273. data/vendor/assets/stylesheets/blogelator/neat/grid/_pad.scss +8 -0
  274. data/vendor/assets/stylesheets/blogelator/neat/grid/_private.scss +50 -0
  275. data/vendor/assets/stylesheets/blogelator/neat/grid/_reset.scss +12 -0
  276. data/vendor/assets/stylesheets/blogelator/neat/grid/_row.scss +17 -0
  277. data/vendor/assets/stylesheets/blogelator/neat/grid/_shift.scss +16 -0
  278. data/vendor/assets/stylesheets/blogelator/neat/grid/_span-columns.scss +45 -0
  279. data/vendor/assets/stylesheets/blogelator/neat/grid/_to-deprecate.scss +57 -0
  280. data/vendor/assets/stylesheets/blogelator/neat/grid/_visual-grid.scss +41 -0
  281. data/vendor/assets/stylesheets/blogelator/neat/settings/_grid.scss +7 -0
  282. data/vendor/assets/stylesheets/blogelator/neat/settings/_visual-grid.scss +5 -0
  283. data/vendor/assets/stylesheets/blogelator/settings/_grid.scss +7 -0
  284. data/vendor/assets/stylesheets/blogelator/settings/_visual-grid.scss +5 -0
  285. metadata +425 -66
  286. /data/vendor/assets/javascripts/{codemirror → blogelator/codemirror}/closebrackets.js +0 -0
  287. /data/vendor/assets/javascripts/{codemirror → blogelator/codemirror}/codemirror.js +0 -0
  288. /data/vendor/assets/javascripts/{codemirror → blogelator/codemirror}/coffeescript.js +0 -0
  289. /data/vendor/assets/javascripts/{codemirror → blogelator/codemirror}/css.js +0 -0
  290. /data/vendor/assets/javascripts/{codemirror → blogelator/codemirror}/gfm.js +0 -0
  291. /data/vendor/assets/javascripts/{codemirror → blogelator/codemirror}/htmlmixed.js +0 -0
  292. /data/vendor/assets/javascripts/{codemirror → blogelator/codemirror}/javascript.js +0 -0
  293. /data/vendor/assets/javascripts/{codemirror → blogelator/codemirror}/markdown.js +0 -0
  294. /data/vendor/assets/javascripts/{codemirror → blogelator/codemirror}/overlay.js +0 -0
  295. /data/vendor/assets/javascripts/{codemirror → blogelator/codemirror}/php.js +0 -0
  296. /data/vendor/assets/javascripts/{codemirror → blogelator/codemirror}/ruby.js +0 -0
  297. /data/vendor/assets/javascripts/{codemirror → blogelator/codemirror}/sass.js +0 -0
  298. /data/vendor/assets/javascripts/{codemirror → blogelator/codemirror}/xml.js +0 -0
  299. /data/vendor/assets/javascripts/{codemirror → blogelator/codemirror}/yaml.js +0 -0
  300. /data/vendor/assets/javascripts/{inline-attach.js → blogelator/inline-attach.js} +0 -0
  301. /data/vendor/assets/javascripts/{marked.js → blogelator/marked.js} +0 -0
  302. /data/vendor/assets/javascripts/{moment.js → blogelator/moment.js} +0 -0
  303. /data/vendor/assets/javascripts/{prettify.js → blogelator/prettify.js} +0 -0
  304. /data/vendor/assets/stylesheets/{codemirror.css → blogelator/codemirror.css} +0 -0
  305. /data/vendor/assets/stylesheets/{normalize.css → blogelator/normalize.css} +0 -0
@@ -0,0 +1,45 @@
1
+ @mixin triangle ($size, $color, $direction) {
2
+ height: 0;
3
+ width: 0;
4
+
5
+ @if ($direction == up) or ($direction == down) or ($direction == right) or ($direction == left) {
6
+ border-color: transparent;
7
+ border-style: solid;
8
+ border-width: $size / 2;
9
+
10
+ @if $direction == up {
11
+ border-bottom-color: $color;
12
+
13
+ } @else if $direction == right {
14
+ border-left-color: $color;
15
+
16
+ } @else if $direction == down {
17
+ border-top-color: $color;
18
+
19
+ } @else if $direction == left {
20
+ border-right-color: $color;
21
+ }
22
+ }
23
+
24
+ @else if ($direction == up-right) or ($direction == up-left) {
25
+ border-top: $size solid $color;
26
+
27
+ @if $direction == up-right {
28
+ border-left: $size solid transparent;
29
+
30
+ } @else if $direction == up-left {
31
+ border-right: $size solid transparent;
32
+ }
33
+ }
34
+
35
+ @else if ($direction == down-right) or ($direction == down-left) {
36
+ border-bottom: $size solid $color;
37
+
38
+ @if $direction == down-right {
39
+ border-left: $size solid transparent;
40
+
41
+ } @else if $direction == down-left {
42
+ border-right: $size solid transparent;
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,52 @@
1
+ // http://www.w3.org/TR/css3-animations/#the-animation-name-property-
2
+ // Each of these mixins support comma separated lists of values, which allows different transitions for individual properties to be described in a single style rule. Each value in the list corresponds to the value at that same position in the other properties.
3
+
4
+ // Official animation shorthand property.
5
+ @mixin animation ($animations...) {
6
+ @include prefixer(animation, $animations, webkit moz spec);
7
+ }
8
+
9
+ // Individual Animation Properties
10
+ @mixin animation-name ($names...) {
11
+ @include prefixer(animation-name, $names, webkit moz spec);
12
+ }
13
+
14
+
15
+ @mixin animation-duration ($times...) {
16
+ @include prefixer(animation-duration, $times, webkit moz spec);
17
+ }
18
+
19
+
20
+ @mixin animation-timing-function ($motions...) {
21
+ // ease | linear | ease-in | ease-out | ease-in-out
22
+ @include prefixer(animation-timing-function, $motions, webkit moz spec);
23
+ }
24
+
25
+
26
+ @mixin animation-iteration-count ($values...) {
27
+ // infinite | <number>
28
+ @include prefixer(animation-iteration-count, $values, webkit moz spec);
29
+ }
30
+
31
+
32
+ @mixin animation-direction ($directions...) {
33
+ // normal | alternate
34
+ @include prefixer(animation-direction, $directions, webkit moz spec);
35
+ }
36
+
37
+
38
+ @mixin animation-play-state ($states...) {
39
+ // running | paused
40
+ @include prefixer(animation-play-state, $states, webkit moz spec);
41
+ }
42
+
43
+
44
+ @mixin animation-delay ($times...) {
45
+ @include prefixer(animation-delay, $times, webkit moz spec);
46
+ }
47
+
48
+
49
+ @mixin animation-fill-mode ($modes...) {
50
+ // none | forwards | backwards | both
51
+ @include prefixer(animation-fill-mode, $modes, webkit moz spec);
52
+ }
@@ -0,0 +1,3 @@
1
+ @mixin appearance ($value) {
2
+ @include prefixer(appearance, $value, webkit moz ms o spec);
3
+ }
@@ -0,0 +1,6 @@
1
+ //************************************************************************//
2
+ // Backface-visibility mixin
3
+ //************************************************************************//
4
+ @mixin backface-visibility($visibility) {
5
+ @include prefixer(backface-visibility, $visibility, webkit spec);
6
+ }
@@ -0,0 +1,48 @@
1
+ //************************************************************************//
2
+ // Background-image property for adding multiple background images with
3
+ // gradients, or for stringing multiple gradients together.
4
+ //************************************************************************//
5
+
6
+ @mixin background-image($images...) {
7
+ background-image: _add-prefix($images, webkit);
8
+ background-image: _add-prefix($images);
9
+ }
10
+
11
+ @function _add-prefix($images, $vendor: false) {
12
+ $images-prefixed: ();
13
+ $gradient-positions: false;
14
+ @for $i from 1 through length($images) {
15
+ $type: type-of(nth($images, $i)); // Get type of variable - List or String
16
+
17
+ // If variable is a list - Gradient
18
+ @if $type == list {
19
+ $gradient-type: nth(nth($images, $i), 1); // linear or radial
20
+ $gradient-pos: null;
21
+ $gradient-args: null;
22
+
23
+ @if ($gradient-type == linear) or ($gradient-type == radial) {
24
+ $gradient-pos: nth(nth($images, $i), 2); // Get gradient position
25
+ $gradient-args: nth(nth($images, $i), 3); // Get actual gradient (red, blue)
26
+ }
27
+ @else {
28
+ $gradient-args: nth(nth($images, $i), 2); // Get actual gradient (red, blue)
29
+ }
30
+
31
+ $gradient-positions: _gradient-positions-parser($gradient-type, $gradient-pos);
32
+ $gradient: _render-gradients($gradient-positions, $gradient-args, $gradient-type, $vendor);
33
+ $images-prefixed: append($images-prefixed, $gradient, comma);
34
+ }
35
+ // If variable is a string - Image
36
+ @else if $type == string {
37
+ $images-prefixed: join($images-prefixed, nth($images, $i), comma);
38
+ }
39
+ }
40
+ @return $images-prefixed;
41
+ }
42
+
43
+ //Examples:
44
+ //@include background-image(linear-gradient(top, orange, red));
45
+ //@include background-image(radial-gradient(50% 50%, cover circle, orange, red));
46
+ //@include background-image(url("/images/a.png"), linear-gradient(orange, red));
47
+ //@include background-image(url("image.png"), linear-gradient(orange, red), url("image.png"));
48
+ //@include background-image(linear-gradient(hsla(0, 100%, 100%, 0.25) 0%, hsla(0, 100%, 100%, 0.08) 50%, transparent 50%), linear-gradient(orange, red));
@@ -0,0 +1,103 @@
1
+ //************************************************************************//
2
+ // Background property for adding multiple backgrounds using shorthand
3
+ // notation.
4
+ //************************************************************************//
5
+
6
+ @mixin background(
7
+ $background-1 , $background-2: false,
8
+ $background-3: false, $background-4: false,
9
+ $background-5: false, $background-6: false,
10
+ $background-7: false, $background-8: false,
11
+ $background-9: false, $background-10: false,
12
+ $fallback: false
13
+ ) {
14
+ $backgrounds: compact($background-1, $background-2,
15
+ $background-3, $background-4,
16
+ $background-5, $background-6,
17
+ $background-7, $background-8,
18
+ $background-9, $background-10);
19
+
20
+ $fallback-color: false;
21
+ @if (type-of($fallback) == color) or ($fallback == "transparent") {
22
+ $fallback-color: $fallback;
23
+ }
24
+ @else {
25
+ $fallback-color: _extract-background-color($backgrounds);
26
+ }
27
+
28
+ @if $fallback-color {
29
+ background-color: $fallback-color;
30
+ }
31
+ background: _background-add-prefix($backgrounds, webkit);
32
+ background: _background-add-prefix($backgrounds);
33
+ }
34
+
35
+ @function _extract-background-color($backgrounds) {
36
+ $final-bg-layer: nth($backgrounds, length($backgrounds));
37
+ @if type-of($final-bg-layer) == list {
38
+ @for $i from 1 through length($final-bg-layer) {
39
+ $value: nth($final-bg-layer, $i);
40
+ @if type-of($value) == color {
41
+ @return $value;
42
+ }
43
+ }
44
+ }
45
+ @return false;
46
+ }
47
+
48
+ @function _background-add-prefix($backgrounds, $vendor: false) {
49
+ $backgrounds-prefixed: ();
50
+
51
+ @for $i from 1 through length($backgrounds) {
52
+ $shorthand: nth($backgrounds, $i); // Get member for current index
53
+ $type: type-of($shorthand); // Get type of variable - List (gradient) or String (image)
54
+
55
+ // If shorthand is a list (gradient)
56
+ @if $type == list {
57
+ $first-member: nth($shorthand, 1); // Get first member of shorthand
58
+
59
+ // Linear Gradient
60
+ @if index(linear radial, nth($first-member, 1)) {
61
+ $gradient-type: nth($first-member, 1); // linear || radial
62
+ $gradient-args: false;
63
+ $gradient-positions: false;
64
+ $shorthand-start: false;
65
+ @if type-of($first-member) == list { // Linear gradient plus additional shorthand values - lg(red,orange)repeat,...
66
+ $gradient-positions: nth($first-member, 2);
67
+ $gradient-args: nth($first-member, 3);
68
+ $shorthand-start: 2;
69
+ }
70
+ @else { // Linear gradient only - lg(red,orange),...
71
+ $gradient-positions: nth($shorthand, 2);
72
+ $gradient-args: nth($shorthand, 3); // Get gradient (red, blue)
73
+ }
74
+
75
+ $gradient-positions: _gradient-positions-parser($gradient-type, $gradient-positions);
76
+ $gradient: _render-gradients($gradient-positions, $gradient-args, $gradient-type, $vendor);
77
+
78
+ // Append any additional shorthand args to gradient
79
+ @if $shorthand-start {
80
+ @for $j from $shorthand-start through length($shorthand) {
81
+ $gradient: join($gradient, nth($shorthand, $j), space);
82
+ }
83
+ }
84
+ $backgrounds-prefixed: append($backgrounds-prefixed, $gradient, comma);
85
+ }
86
+ // Image with additional properties
87
+ @else {
88
+ $backgrounds-prefixed: append($backgrounds-prefixed, $shorthand, comma);
89
+ }
90
+ }
91
+ // If shorthand is a simple string (color or image)
92
+ @else if $type == string {
93
+ $backgrounds-prefixed: join($backgrounds-prefixed, $shorthand, comma);
94
+ }
95
+ }
96
+ @return $backgrounds-prefixed;
97
+ }
98
+
99
+ //Examples:
100
+ //@include background(linear-gradient(top, orange, red));
101
+ //@include background(radial-gradient(circle at 40% 40%, orange, red));
102
+ //@include background(url("/images/a.png") no-repeat, linear-gradient(orange, red));
103
+ //@include background(url("image.png") center center, linear-gradient(orange, red), url("image.png"));
@@ -0,0 +1,55 @@
1
+ @mixin border-image($images) {
2
+ -webkit-border-image: _border-add-prefix($images, webkit);
3
+ -moz-border-image: _border-add-prefix($images, moz);
4
+ -o-border-image: _border-add-prefix($images, o);
5
+ border-image: _border-add-prefix($images);
6
+ }
7
+
8
+ @function _border-add-prefix($images, $vendor: false) {
9
+ $border-image: null;
10
+ $images-type: type-of(nth($images, 1));
11
+ $first-var: nth(nth($images, 1), 1); // Get type of Gradient (Linear || radial)
12
+
13
+ // If input is a gradient
14
+ @if $images-type == string {
15
+ @if ($first-var == "linear") or ($first-var == "radial") {
16
+ $gradient-type: nth($images, 1); // Get type of gradient (linear || radial)
17
+ $gradient-pos: nth($images, 2); // Get gradient position
18
+ $gradient-args: nth($images, 3); // Get actual gradient (red, blue)
19
+ $gradient-positions: _gradient-positions-parser($gradient-type, $gradient-pos);
20
+ $border-image: _render-gradients($gradient-positions, $gradient-args, $gradient-type, $vendor);
21
+ }
22
+ // If input is a URL
23
+ @else {
24
+ $border-image: $images;
25
+ }
26
+ }
27
+ // If input is gradient or url + additional args
28
+ @else if $images-type == list {
29
+ $type: type-of(nth($images, 1)); // Get type of variable - List or String
30
+
31
+ // If variable is a list - Gradient
32
+ @if $type == list {
33
+ $gradient: nth($images, 1);
34
+ $gradient-type: nth($gradient, 1); // Get type of gradient (linear || radial)
35
+ $gradient-pos: nth($gradient, 2); // Get gradient position
36
+ $gradient-args: nth($gradient, 3); // Get actual gradient (red, blue)
37
+ $gradient-positions: _gradient-positions-parser($gradient-type, $gradient-pos);
38
+ $border-image: _render-gradients($gradient-positions, $gradient-args, $gradient-type, $vendor);
39
+
40
+ @for $i from 2 through length($images) {
41
+ $border-image: append($border-image, nth($images, $i));
42
+ }
43
+ }
44
+ }
45
+ @return $border-image;
46
+ }
47
+
48
+ //Examples:
49
+ // @include border-image(url("image.png"));
50
+ // @include border-image(url("image.png") 20 stretch);
51
+ // @include border-image(linear-gradient(45deg, orange, yellow));
52
+ // @include border-image(linear-gradient(45deg, orange, yellow) stretch);
53
+ // @include border-image(linear-gradient(45deg, orange, yellow) 20 30 40 50 stretch round);
54
+ // @include border-image(radial-gradient(top, cover, orange, yellow, orange));
55
+
@@ -0,0 +1,22 @@
1
+ //************************************************************************//
2
+ // Shorthand Border-radius mixins
3
+ //************************************************************************//
4
+ @mixin border-top-radius($radii) {
5
+ @include prefixer(border-top-left-radius, $radii, spec);
6
+ @include prefixer(border-top-right-radius, $radii, spec);
7
+ }
8
+
9
+ @mixin border-bottom-radius($radii) {
10
+ @include prefixer(border-bottom-left-radius, $radii, spec);
11
+ @include prefixer(border-bottom-right-radius, $radii, spec);
12
+ }
13
+
14
+ @mixin border-left-radius($radii) {
15
+ @include prefixer(border-top-left-radius, $radii, spec);
16
+ @include prefixer(border-bottom-left-radius, $radii, spec);
17
+ }
18
+
19
+ @mixin border-right-radius($radii) {
20
+ @include prefixer(border-top-right-radius, $radii, spec);
21
+ @include prefixer(border-bottom-right-radius, $radii, spec);
22
+ }
@@ -0,0 +1,4 @@
1
+ @mixin box-sizing ($box) {
2
+ // content-box | border-box | inherit
3
+ @include prefixer(box-sizing, $box, webkit moz spec);
4
+ }
@@ -0,0 +1,47 @@
1
+ @mixin columns($arg: auto) {
2
+ // <column-count> || <column-width>
3
+ @include prefixer(columns, $arg, webkit moz spec);
4
+ }
5
+
6
+ @mixin column-count($int: auto) {
7
+ // auto || integer
8
+ @include prefixer(column-count, $int, webkit moz spec);
9
+ }
10
+
11
+ @mixin column-gap($length: normal) {
12
+ // normal || length
13
+ @include prefixer(column-gap, $length, webkit moz spec);
14
+ }
15
+
16
+ @mixin column-fill($arg: auto) {
17
+ // auto || length
18
+ @include prefixer(columns-fill, $arg, webkit moz spec);
19
+ }
20
+
21
+ @mixin column-rule($arg) {
22
+ // <border-width> || <border-style> || <color>
23
+ @include prefixer(column-rule, $arg, webkit moz spec);
24
+ }
25
+
26
+ @mixin column-rule-color($color) {
27
+ @include prefixer(column-rule-color, $color, webkit moz spec);
28
+ }
29
+
30
+ @mixin column-rule-style($style: none) {
31
+ // none | hidden | dashed | dotted | double | groove | inset | inset | outset | ridge | solid
32
+ @include prefixer(column-rule-style, $style, webkit moz spec);
33
+ }
34
+
35
+ @mixin column-rule-width ($width: none) {
36
+ @include prefixer(column-rule-width, $width, webkit moz spec);
37
+ }
38
+
39
+ @mixin column-span($arg: none) {
40
+ // none || all
41
+ @include prefixer(column-span, $arg, webkit moz spec);
42
+ }
43
+
44
+ @mixin column-width($length: auto) {
45
+ // auto || length
46
+ @include prefixer(column-width, $length, webkit moz spec);
47
+ }
@@ -0,0 +1,52 @@
1
+ // CSS3 Flexible Box Model and property defaults
2
+
3
+ // Custom shorthand notation for flexbox
4
+ @mixin box($orient: inline-axis, $pack: start, $align: stretch) {
5
+ @include display-box;
6
+ @include box-orient($orient);
7
+ @include box-pack($pack);
8
+ @include box-align($align);
9
+ }
10
+
11
+ @mixin display-box {
12
+ display: -webkit-box;
13
+ display: -moz-box;
14
+ display: box;
15
+ }
16
+
17
+ @mixin box-orient($orient: inline-axis) {
18
+ // horizontal|vertical|inline-axis|block-axis|inherit
19
+ @include prefixer(box-orient, $orient, webkit moz spec);
20
+ }
21
+
22
+ @mixin box-pack($pack: start) {
23
+ // start|end|center|justify
24
+ @include prefixer(box-pack, $pack, webkit moz spec);
25
+ }
26
+
27
+ @mixin box-align($align: stretch) {
28
+ // start|end|center|baseline|stretch
29
+ @include prefixer(box-align, $align, webkit moz spec);
30
+ }
31
+
32
+ @mixin box-direction($direction: normal) {
33
+ // normal|reverse|inherit
34
+ @include prefixer(box-direction, $direction, webkit moz spec);
35
+ }
36
+
37
+ @mixin box-lines($lines: single) {
38
+ // single|multiple
39
+ @include prefixer(box-lines, $lines, webkit moz spec);
40
+ }
41
+
42
+ @mixin box-ordinal-group($int: 1) {
43
+ @include prefixer(box-ordinal-group, $int, webkit moz spec);
44
+ }
45
+
46
+ @mixin box-flex($value: 0.0) {
47
+ @include prefixer(box-flex, $value, webkit moz spec);
48
+ }
49
+
50
+ @mixin box-flex-group($int: 1) {
51
+ @include prefixer(box-flex-group, $int, webkit moz spec);
52
+ }
@@ -0,0 +1,23 @@
1
+ // Order of the includes matters, and it is: normal, bold, italic, bold+italic.
2
+
3
+ @mixin font-face($font-family, $file-path, $weight: normal, $style: normal, $asset-pipeline: false ) {
4
+ @font-face {
5
+ font-family: $font-family;
6
+ font-weight: $weight;
7
+ font-style: $style;
8
+
9
+ @if $asset-pipeline == true {
10
+ src: font-url('#{$file-path}.eot');
11
+ src: font-url('#{$file-path}.eot?#iefix') format('embedded-opentype'),
12
+ font-url('#{$file-path}.woff') format('woff'),
13
+ font-url('#{$file-path}.ttf') format('truetype'),
14
+ font-url('#{$file-path}.svg##{$font-family}') format('svg');
15
+ } @else {
16
+ src: url('#{$file-path}.eot');
17
+ src: url('#{$file-path}.eot?#iefix') format('embedded-opentype'),
18
+ url('#{$file-path}.woff') format('woff'),
19
+ url('#{$file-path}.ttf') format('truetype'),
20
+ url('#{$file-path}.svg##{$font-family}') format('svg');
21
+ }
22
+ }
23
+ }
@@ -0,0 +1,10 @@
1
+ // HiDPI mixin. Default value set to 1.3 to target Google Nexus 7 (http://bjango.com/articles/min-device-pixel-ratio/)
2
+ @mixin hidpi($ratio: 1.3) {
3
+ @media only screen and (-webkit-min-device-pixel-ratio: $ratio),
4
+ only screen and (min--moz-device-pixel-ratio: $ratio),
5
+ only screen and (-o-min-device-pixel-ratio: #{$ratio}/1),
6
+ only screen and (min-resolution: #{round($ratio*96)}dpi),
7
+ only screen and (min-resolution: #{$ratio}dppx) {
8
+ @content;
9
+ }
10
+ }
@@ -0,0 +1,13 @@
1
+ @mixin image-rendering ($mode:optimizeQuality) {
2
+
3
+ @if ($mode == optimize-contrast) {
4
+ image-rendering: -moz-crisp-edges;
5
+ image-rendering: -o-crisp-edges;
6
+ image-rendering: -webkit-optimize-contrast;
7
+ image-rendering: optimize-contrast;
8
+ }
9
+
10
+ @else {
11
+ image-rendering: $mode;
12
+ }
13
+ }
@@ -0,0 +1,8 @@
1
+ // Legacy support for inline-block in IE7 (maybe IE6)
2
+ @mixin inline-block {
3
+ display: inline-block;
4
+ vertical-align: baseline;
5
+ zoom: 1;
6
+ *display: inline;
7
+ *vertical-align: auto;
8
+ }
@@ -0,0 +1,43 @@
1
+ // Adds keyframes blocks for supported prefixes, removing redundant prefixes in the block's content
2
+ @mixin keyframes($name) {
3
+ $original-prefix-for-webkit: $prefix-for-webkit;
4
+ $original-prefix-for-mozilla: $prefix-for-mozilla;
5
+ $original-prefix-for-microsoft: $prefix-for-microsoft;
6
+ $original-prefix-for-opera: $prefix-for-opera;
7
+ $original-prefix-for-spec: $prefix-for-spec;
8
+
9
+ @if $original-prefix-for-webkit {
10
+ @include disable-prefix-for-all();
11
+ $prefix-for-webkit: true;
12
+ @-webkit-keyframes #{$name} {
13
+ @content;
14
+ }
15
+ }
16
+ @if $original-prefix-for-mozilla {
17
+ @include disable-prefix-for-all();
18
+ $prefix-for-mozilla: true;
19
+ @-moz-keyframes #{$name} {
20
+ @content;
21
+ }
22
+ }
23
+ @if $original-prefix-for-opera {
24
+ @include disable-prefix-for-all();
25
+ $prefix-for-opera: true;
26
+ @-o-keyframes #{$name} {
27
+ @content;
28
+ }
29
+ }
30
+ @if $original-prefix-for-spec {
31
+ @include disable-prefix-for-all();
32
+ $prefix-for-spec: true;
33
+ @keyframes #{$name} {
34
+ @content;
35
+ }
36
+ }
37
+
38
+ $prefix-for-webkit: $original-prefix-for-webkit;
39
+ $prefix-for-mozilla: $original-prefix-for-mozilla;
40
+ $prefix-for-microsoft: $original-prefix-for-microsoft;
41
+ $prefix-for-opera: $original-prefix-for-opera;
42
+ $prefix-for-spec: $original-prefix-for-spec;
43
+ }
@@ -0,0 +1,41 @@
1
+ @mixin linear-gradient($pos, $G1, $G2: false,
2
+ $G3: false, $G4: false,
3
+ $G5: false, $G6: false,
4
+ $G7: false, $G8: false,
5
+ $G9: false, $G10: false,
6
+ $deprecated-pos1: left top,
7
+ $deprecated-pos2: left bottom,
8
+ $fallback: false) {
9
+ // Detect what type of value exists in $pos
10
+ $pos-type: type-of(nth($pos, 1));
11
+ $pos-spec: null;
12
+ $pos-degree: null;
13
+
14
+ // If $pos is missing from mixin, reassign vars and add default position
15
+ @if ($pos-type == color) or (nth($pos, 1) == "transparent") {
16
+ $G10: $G9; $G9: $G8; $G8: $G7; $G7: $G6; $G6: $G5;
17
+ $G5: $G4; $G4: $G3; $G3: $G2; $G2: $G1; $G1: $pos;
18
+ $pos: null;
19
+ }
20
+
21
+ @if $pos {
22
+ $positions: _linear-positions-parser($pos);
23
+ $pos-degree: nth($positions, 1);
24
+ $pos-spec: nth($positions, 2);
25
+ }
26
+
27
+ $full: compact($G1, $G2, $G3, $G4, $G5, $G6, $G7, $G8, $G9, $G10);
28
+
29
+ // Set $G1 as the default fallback color
30
+ $fallback-color: nth($G1, 1);
31
+
32
+ // If $fallback is a color use that color as the fallback color
33
+ @if (type-of($fallback) == color) or ($fallback == "transparent") {
34
+ $fallback-color: $fallback;
35
+ }
36
+
37
+ background-color: $fallback-color;
38
+ background-image: _deprecated-webkit-gradient(linear, $deprecated-pos1, $deprecated-pos2, $full); // Safari <= 5.0
39
+ background-image: -webkit-linear-gradient($pos-degree $full); // Safari 5.1+, Chrome
40
+ background-image: unquote("linear-gradient(#{$pos-spec}#{$full})");
41
+ }
@@ -0,0 +1,8 @@
1
+ @mixin perspective($depth: none) {
2
+ // none | <length>
3
+ @include prefixer(perspective, $depth, webkit moz spec);
4
+ }
5
+
6
+ @mixin perspective-origin($value: 50% 50%) {
7
+ @include prefixer(perspective-origin, $value, webkit moz spec);
8
+ }
@@ -0,0 +1,29 @@
1
+ $placeholders: '-webkit-input-placeholder',
2
+ '-moz-placeholder',
3
+ '-ms-input-placeholder';
4
+
5
+ @mixin placeholder {
6
+ @each $placeholder in $placeholders {
7
+ @if $placeholder == "-webkit-input-placeholder" {
8
+ &::#{$placeholder} {
9
+ @content;
10
+ }
11
+ }
12
+ @else if $placeholder == "-moz-placeholder" {
13
+ // FF 18-
14
+ &:#{$placeholder} {
15
+ @content;
16
+ }
17
+
18
+ // FF 19+
19
+ &::#{$placeholder} {
20
+ @content;
21
+ }
22
+ }
23
+ @else {
24
+ &:#{$placeholder} {
25
+ @content;
26
+ }
27
+ }
28
+ }
29
+ }