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,50 @@
1
+ $parent-columns: $grid-columns !default;
2
+ $fg-column: $column;
3
+ $fg-gutter: $gutter;
4
+ $fg-max-columns: $grid-columns;
5
+ $container-display-table: false !default;
6
+ $layout-direction: nil !default;
7
+
8
+ @function flex-grid($columns, $container-columns: $fg-max-columns) {
9
+ $width: $columns * $fg-column + ($columns - 1) * $fg-gutter;
10
+ $container-width: $container-columns * $fg-column + ($container-columns - 1) * $fg-gutter;
11
+ @return percentage($width / $container-width);
12
+ }
13
+
14
+ @function flex-gutter($container-columns: $fg-max-columns, $gutter: $fg-gutter) {
15
+ $container-width: $container-columns * $fg-column + ($container-columns - 1) * $fg-gutter;
16
+ @return percentage($gutter / $container-width);
17
+ }
18
+
19
+ @function grid-width($n) {
20
+ @return $n * $gw-column + ($n - 1) * $gw-gutter;
21
+ }
22
+
23
+ @function get-parent-columns($columns) {
24
+ @if $columns != $grid-columns {
25
+ $parent-columns: $columns;
26
+ } @else {
27
+ $parent-columns: $grid-columns;
28
+ }
29
+
30
+ @return $parent-columns;
31
+ }
32
+
33
+ @function is-display-table($container-is-display-table, $display) {
34
+ $display-table: false;
35
+
36
+ @if $container-is-display-table == true {
37
+ $display-table: true;
38
+ } @else if $display == table {
39
+ $display-table: true;
40
+ }
41
+
42
+ @return $display-table;
43
+ }
44
+
45
+ @function get-padding-for-table-layout($columns, $total-columns) {
46
+ $total-padding: flex-gutter($total-columns) * ($columns - 1);
47
+ $padding: $total-padding / $columns;
48
+
49
+ @return $padding;
50
+ }
@@ -0,0 +1,12 @@
1
+ @mixin reset-display {
2
+ $container-display-table: false;
3
+ }
4
+
5
+ @mixin reset-layout-direction {
6
+ $layout-direction: $default-layout-direction;
7
+ }
8
+
9
+ @mixin reset-all {
10
+ @include reset-display;
11
+ @include reset-layout-direction;
12
+ }
@@ -0,0 +1,17 @@
1
+ @mixin row($display: block, $direction: $default-layout-direction) {
2
+ @include clearfix;
3
+ $layout-direction: $direction;
4
+
5
+ @if $display == table {
6
+ display: table;
7
+ @include fill-parent;
8
+ table-layout: fixed;
9
+ $container-display-table: true;
10
+ }
11
+
12
+ @else {
13
+ display: block;
14
+ $container-display-table: false;
15
+ }
16
+ }
17
+
@@ -0,0 +1,16 @@
1
+ @mixin shift($n-columns: 1) {
2
+ @include shift-in-context($n-columns);
3
+ }
4
+
5
+ @mixin shift-in-context($shift: $columns of $container-columns) {
6
+ $n-columns: nth($shift, 1);
7
+ $parent-columns: container-shift($shift);
8
+
9
+ $direction: get-direction($layout-direction, $default-layout-direction);
10
+ $opposite-direction: get-opposite-direction($direction);
11
+
12
+ margin-#{$opposite-direction}: $n-columns * flex-grid(1, $parent-columns) + $n-columns * flex-gutter($parent-columns);
13
+
14
+ // Reset nesting context
15
+ $parent-columns: $grid-columns;
16
+ }
@@ -0,0 +1,45 @@
1
+ @mixin span-columns($span: $columns of $container-columns, $display: block) {
2
+ $columns: nth($span, 1);
3
+ $container-columns: container-span($span);
4
+
5
+ // Set nesting context (used by shift())
6
+ $parent-columns: get-parent-columns($container-columns);
7
+
8
+ $direction: get-direction($layout-direction, $default-layout-direction);
9
+ $opposite-direction: get-opposite-direction($direction);
10
+
11
+ $display-table: is-display-table($container-display-table, $display);
12
+
13
+ @if $display-table {
14
+ $padding: get-padding-for-table-layout($columns, $container-columns);
15
+ display: table-cell;
16
+ padding-#{$direction}: $padding;
17
+ width: flex-grid($columns, $container-columns) + $padding;
18
+ } @else {
19
+ float: #{$opposite-direction};
20
+
21
+ @if $display != no-display {
22
+ display: block;
23
+ }
24
+
25
+ @if $display == collapse {
26
+ @warn "The 'collapse' argument will be deprecated. Use 'block-collapse' instead."
27
+ }
28
+
29
+ @if $display == collapse or $display == block-collapse {
30
+ width: flex-grid($columns, $container-columns) + flex-gutter($container-columns);
31
+
32
+ &:last-child {
33
+ width: flex-grid($columns, $container-columns);
34
+ }
35
+
36
+ } @else {
37
+ margin-#{$direction}: flex-gutter($container-columns);
38
+ width: flex-grid($columns, $container-columns);
39
+
40
+ &:last-child {
41
+ margin-#{$direction}: 0;
42
+ }
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,57 @@
1
+ @mixin breakpoint($query:$feature $value $columns, $total-columns: $grid-columns) {
2
+ @warn "The breakpoint() mixin was renamed to media() in Neat 1.0. Please update your project with the new syntax before the next version bump.";
3
+
4
+ @if length($query) == 1 {
5
+ @media screen and ($default-feature: nth($query, 1)) {
6
+ $default-grid-columns: $grid-columns;
7
+ $grid-columns: $total-columns;
8
+ @content;
9
+ $grid-columns: $default-grid-columns;
10
+ }
11
+ }
12
+
13
+ @else if length($query) == 2 {
14
+ @media screen and (nth($query, 1): nth($query, 2)) {
15
+ $default-grid-columns: $grid-columns;
16
+ $grid-columns: $total-columns;
17
+ @content;
18
+ $grid-columns: $default-grid-columns;
19
+ }
20
+ }
21
+
22
+ @else if length($query) == 3 {
23
+ @media screen and (nth($query, 1): nth($query, 2)) {
24
+ $default-grid-columns: $grid-columns;
25
+ $grid-columns: nth($query, 3);
26
+ @content;
27
+ $grid-columns: $default-grid-columns;
28
+ }
29
+ }
30
+
31
+ @else if length($query) == 4 {
32
+ @media screen and (nth($query, 1): nth($query, 2)) and (nth($query, 3): nth($query, 4)) {
33
+ $default-grid-columns: $grid-columns;
34
+ $grid-columns: $total-columns;
35
+ @content;
36
+ $grid-columns: $default-grid-columns;
37
+ }
38
+ }
39
+
40
+ @else if length($query) == 5 {
41
+ @media screen and (nth($query, 1): nth($query, 2)) and (nth($query, 3): nth($query, 4)) {
42
+ $default-grid-columns: $grid-columns;
43
+ $grid-columns: nth($query, 5);
44
+ @content;
45
+ $grid-columns: $default-grid-columns;
46
+ }
47
+ }
48
+
49
+ @else {
50
+ @warn "Wrong number of arguments for breakpoint(). Read the documentation for more details.";
51
+ }
52
+ }
53
+
54
+ @mixin nth-omega($nth, $display: block, $direction: default) {
55
+ @warn "The nth-omega() mixin is deprecated. Please use omega() instead.";
56
+ @include omega($nth $display, $direction);
57
+ }
@@ -0,0 +1,41 @@
1
+ @mixin grid-column-gradient($values...) {
2
+ background-image: deprecated-webkit-gradient(linear, left top, left bottom, $values);
3
+ background-image: -webkit-linear-gradient(left, $values);
4
+ background-image: -moz-linear-gradient(left, $values);
5
+ background-image: -ms-linear-gradient(left, $values);
6
+ background-image: -o-linear-gradient(left, $values);
7
+ background-image: unquote("linear-gradient(left, #{$values})");
8
+ }
9
+
10
+ @if $visual-grid == true or $visual-grid == yes {
11
+ body:before {
12
+ content: '';
13
+ display: inline-block;
14
+ @include grid-column-gradient(gradient-stops($grid-columns));
15
+ height: 100%;
16
+ left: 0;
17
+ margin: 0 auto;
18
+ max-width: $max-width;
19
+ opacity: $visual-grid-opacity;
20
+ position: fixed;
21
+ right: 0;
22
+ width: 100%;
23
+ pointer-events: none;
24
+
25
+ @if $visual-grid-index == back {
26
+ z-index: -1;
27
+ }
28
+
29
+ @else if $visual-grid-index == front {
30
+ z-index: 9999;
31
+ }
32
+
33
+ @each $breakpoint in $visual-grid-breakpoints {
34
+ @if $breakpoint != nil {
35
+ @include media($breakpoint) {
36
+ @include grid-column-gradient(gradient-stops($grid-columns));
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,7 @@
1
+ // Functions
2
+ @import "functions/private";
3
+ @import "functions/new-breakpoint";
4
+
5
+ // Settings
6
+ @import "settings/grid";
7
+ @import "settings/visual-grid";
@@ -0,0 +1,16 @@
1
+ @function new-breakpoint($query:$feature $value $columns, $total-columns: $grid-columns) {
2
+
3
+ @if length($query) == 1 {
4
+ $query: $default-feature nth($query, 1) $total-columns;
5
+ }
6
+
7
+ @else if length($query) == 2 or length($query) == 4 {
8
+ $query: append($query, $total-columns);
9
+ }
10
+
11
+ @if not belongs-to($query, $visual-grid-breakpoints) {
12
+ $visual-grid-breakpoints: append($visual-grid-breakpoints, $query, comma);
13
+ }
14
+
15
+ @return $query;
16
+ }
@@ -0,0 +1,125 @@
1
+ // Checks if a number is even
2
+ @function is-even($int) {
3
+ @if $int%2 == 0 {
4
+ @return true;
5
+ }
6
+
7
+ @return false;
8
+ }
9
+
10
+ // Checks if an element belongs to a list
11
+ @function belongs-to($tested-item, $list) {
12
+ @each $item in $list {
13
+ @if $item == $tested-item {
14
+ @return true;
15
+ }
16
+ }
17
+
18
+ @return false;
19
+ }
20
+
21
+ // Contains display value
22
+ @function contains-display-value($query) {
23
+ @if belongs-to(table, $query) or belongs-to(block, $query) or belongs-to(inline-block, $query) or belongs-to(inline, $query) {
24
+ @return true;
25
+ }
26
+
27
+ @return false;
28
+ }
29
+
30
+ // Parses the first argument of span-columns()
31
+ @function container-span($span: $span) {
32
+ @if length($span) == 3 {
33
+ $container-columns: nth($span, 3);
34
+ @return $container-columns;
35
+ }
36
+
37
+ @else if length($span) == 2 {
38
+ $container-columns: nth($span, 2);
39
+ @return $container-columns;
40
+ }
41
+
42
+ @else {
43
+ @return $grid-columns;
44
+ }
45
+ }
46
+
47
+ @function container-shift($shift: $shift) {
48
+ $parent-columns: $grid-columns !default;
49
+
50
+ @if length($shift) == 3 {
51
+ $container-columns: nth($shift, 3);
52
+ @return $container-columns;
53
+ }
54
+
55
+ @else if length($shift) == 2 {
56
+ $container-columns: nth($shift, 2);
57
+ @return $container-columns;
58
+ }
59
+
60
+ @else {
61
+ @return $parent-columns;
62
+ }
63
+ }
64
+
65
+ // Generates a striped background
66
+ @function gradient-stops($grid-columns, $color: $visual-grid-color) {
67
+ $transparent: rgba(0,0,0,0);
68
+
69
+ $column-width: flex-grid(1, $grid-columns);
70
+ $gutter-width: flex-gutter($grid-columns);
71
+ $column-offset: $column-width;
72
+
73
+ $values: ($transparent 0, $color 0);
74
+
75
+ @for $i from 1 to $grid-columns*2 {
76
+ @if is-even($i) {
77
+ $values: append($values, $transparent $column-offset, comma);
78
+ $values: append($values, $color $column-offset, comma);
79
+ $column-offset: $column-offset + $column-width;
80
+ }
81
+
82
+ @else {
83
+ $values: append($values, $color $column-offset, comma);
84
+ $values: append($values, $transparent $column-offset, comma);
85
+ $column-offset: $column-offset + $gutter-width;
86
+ }
87
+ }
88
+
89
+ @return $values;
90
+ }
91
+
92
+ // Layout direction
93
+ @function get-direction($layout, $default) {
94
+ $direction: nil;
95
+
96
+ @if $layout == LTR or $layout == RTL {
97
+ $direction: direction-from-layout($layout);
98
+ } @else {
99
+ $direction: direction-from-layout($default);
100
+ }
101
+
102
+ @return $direction;
103
+ }
104
+
105
+ @function direction-from-layout($layout) {
106
+ $direction: nil;
107
+
108
+ @if $layout == LTR {
109
+ $direction: right;
110
+ } @else {
111
+ $direction: left;
112
+ }
113
+
114
+ @return $direction;
115
+ }
116
+
117
+ @function get-opposite-direction($direction) {
118
+ $opposite-direction: left;
119
+
120
+ @if $direction == left {
121
+ $opposite-direction: right;
122
+ }
123
+
124
+ @return $opposite-direction;
125
+ }
@@ -0,0 +1,7 @@
1
+ @mixin fill-parent() {
2
+ width: 100%;
3
+
4
+ @if $border-box-sizing == false {
5
+ @include box-sizing(border-box);
6
+ }
7
+ }
@@ -0,0 +1,5 @@
1
+ @if $border-box-sizing == true {
2
+ * {
3
+ @include box-sizing(border-box);
4
+ }
5
+ }
@@ -0,0 +1,51 @@
1
+ @mixin media($query:$feature $value $columns, $total-columns: $grid-columns) {
2
+
3
+ @if length($query) == 1 {
4
+ @media screen and ($default-feature: nth($query, 1)) {
5
+ $default-grid-columns: $grid-columns;
6
+ $grid-columns: $total-columns;
7
+ @content;
8
+ $grid-columns: $default-grid-columns;
9
+ }
10
+ }
11
+
12
+ @else if length($query) == 2 {
13
+ @media screen and (nth($query, 1): nth($query, 2)) {
14
+ $default-grid-columns: $grid-columns;
15
+ $grid-columns: $total-columns;
16
+ @content;
17
+ $grid-columns: $default-grid-columns;
18
+ }
19
+ }
20
+
21
+ @else if length($query) == 3 {
22
+ @media screen and (nth($query, 1): nth($query, 2)) {
23
+ $default-grid-columns: $grid-columns;
24
+ $grid-columns: nth($query, 3);
25
+ @content;
26
+ $grid-columns: $default-grid-columns;
27
+ }
28
+ }
29
+
30
+ @else if length($query) == 4 {
31
+ @media screen and (nth($query, 1): nth($query, 2)) and (nth($query, 3): nth($query, 4)) {
32
+ $default-grid-columns: $grid-columns;
33
+ $grid-columns: $total-columns;
34
+ @content;
35
+ $grid-columns: $default-grid-columns;
36
+ }
37
+ }
38
+
39
+ @else if length($query) == 5 {
40
+ @media screen and (nth($query, 1): nth($query, 2)) and (nth($query, 3): nth($query, 4)) {
41
+ $default-grid-columns: $grid-columns;
42
+ $grid-columns: nth($query, 5);
43
+ @content;
44
+ $grid-columns: $default-grid-columns;
45
+ }
46
+ }
47
+
48
+ @else {
49
+ @warn "Wrong number of arguments for breakpoint(). Read the documentation for more details.";
50
+ }
51
+ }
@@ -0,0 +1,79 @@
1
+ // Remove last element gutter
2
+ @mixin omega($query: block, $direction: default) {
3
+ $table: if(belongs-to(table, $query), true, false);
4
+ $auto: if(belongs-to(auto, $query), true, false);
5
+
6
+ @if $direction != default {
7
+ @warn "The omega mixin will no longer take a $direction argument. To change the layout direction, use row($direction) or set $default-layout-direction instead."
8
+ } @else {
9
+ $direction: get-direction($layout-direction, $default-layout-direction);
10
+ }
11
+
12
+ @if length($query) == 1 {
13
+ @if $auto {
14
+ &:last-child {
15
+ margin-#{$direction}: 0;
16
+ }
17
+ }
18
+
19
+ @else if contains-display-value($query) {
20
+ @if $table {
21
+ padding-#{$direction}: 0;
22
+ }
23
+
24
+ @else {
25
+ margin-#{$direction}: 0;
26
+ }
27
+ }
28
+
29
+ @else {
30
+ @include nth-child($query, $direction);
31
+ }
32
+ }
33
+
34
+ @else if length($query) == 2 {
35
+ @if $table {
36
+ @if $auto {
37
+ &:last-child {
38
+ padding-#{$direction}: 0;
39
+ }
40
+ }
41
+
42
+ @else {
43
+ &:nth-child(#{nth($query, 1)}) {
44
+ padding-#{$direction}: 0;
45
+ }
46
+ }
47
+ }
48
+
49
+ @else {
50
+ @if $auto {
51
+ &:last-child {
52
+ margin-#{$direction}: 0;
53
+ }
54
+ }
55
+
56
+ @else {
57
+ @include nth-child(nth($query, 1), $direction);
58
+ }
59
+ }
60
+ }
61
+
62
+ @else {
63
+ @warn "Too many arguments passed to the omega() mixin."
64
+ }
65
+ }
66
+
67
+ @mixin nth-child($query, $direction) {
68
+ $opposite-direction: get-opposite-direction($direction);
69
+
70
+ &:nth-child(#{$query}) {
71
+ margin-#{$direction}: 0;
72
+ }
73
+
74
+ @if type-of($query) == number {
75
+ &:nth-child(#{$query}+1) {
76
+ clear: $opposite-direction;
77
+ }
78
+ }
79
+ }
@@ -0,0 +1,8 @@
1
+ @mixin outer-container {
2
+ @include clearfix;
3
+ max-width: $max-width;
4
+ margin: {
5
+ left: auto;
6
+ right: auto;
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ @mixin pad($padding: flex-gutter()) {
2
+ $padding-list: null;
3
+ @each $value in $padding {
4
+ $value: if($value == 'default', flex-gutter(), $value);
5
+ $padding-list: join($padding-list, $value);
6
+ }
7
+ padding: $padding-list;
8
+ }
@@ -0,0 +1,50 @@
1
+ $parent-columns: $grid-columns !default;
2
+ $fg-column: $column;
3
+ $fg-gutter: $gutter;
4
+ $fg-max-columns: $grid-columns;
5
+ $container-display-table: false !default;
6
+ $layout-direction: nil !default;
7
+
8
+ @function flex-grid($columns, $container-columns: $fg-max-columns) {
9
+ $width: $columns * $fg-column + ($columns - 1) * $fg-gutter;
10
+ $container-width: $container-columns * $fg-column + ($container-columns - 1) * $fg-gutter;
11
+ @return percentage($width / $container-width);
12
+ }
13
+
14
+ @function flex-gutter($container-columns: $fg-max-columns, $gutter: $fg-gutter) {
15
+ $container-width: $container-columns * $fg-column + ($container-columns - 1) * $fg-gutter;
16
+ @return percentage($gutter / $container-width);
17
+ }
18
+
19
+ @function grid-width($n) {
20
+ @return $n * $gw-column + ($n - 1) * $gw-gutter;
21
+ }
22
+
23
+ @function get-parent-columns($columns) {
24
+ @if $columns != $grid-columns {
25
+ $parent-columns: $columns;
26
+ } @else {
27
+ $parent-columns: $grid-columns;
28
+ }
29
+
30
+ @return $parent-columns;
31
+ }
32
+
33
+ @function is-display-table($container-is-display-table, $display) {
34
+ $display-table: false;
35
+
36
+ @if $container-is-display-table == true {
37
+ $display-table: true;
38
+ } @else if $display == table {
39
+ $display-table: true;
40
+ }
41
+
42
+ @return $display-table;
43
+ }
44
+
45
+ @function get-padding-for-table-layout($columns, $total-columns) {
46
+ $total-padding: flex-gutter($total-columns) * ($columns - 1);
47
+ $padding: $total-padding / $columns;
48
+
49
+ @return $padding;
50
+ }
@@ -0,0 +1,12 @@
1
+ @mixin reset-display {
2
+ $container-display-table: false;
3
+ }
4
+
5
+ @mixin reset-layout-direction {
6
+ $layout-direction: $default-layout-direction;
7
+ }
8
+
9
+ @mixin reset-all {
10
+ @include reset-display;
11
+ @include reset-layout-direction;
12
+ }
@@ -0,0 +1,17 @@
1
+ @mixin row($display: block, $direction: $default-layout-direction) {
2
+ @include clearfix;
3
+ $layout-direction: $direction;
4
+
5
+ @if $display == table {
6
+ display: table;
7
+ @include fill-parent;
8
+ table-layout: fixed;
9
+ $container-display-table: true;
10
+ }
11
+
12
+ @else {
13
+ display: block;
14
+ $container-display-table: false;
15
+ }
16
+ }
17
+
@@ -0,0 +1,16 @@
1
+ @mixin shift($n-columns: 1) {
2
+ @include shift-in-context($n-columns);
3
+ }
4
+
5
+ @mixin shift-in-context($shift: $columns of $container-columns) {
6
+ $n-columns: nth($shift, 1);
7
+ $parent-columns: container-shift($shift);
8
+
9
+ $direction: get-direction($layout-direction, $default-layout-direction);
10
+ $opposite-direction: get-opposite-direction($direction);
11
+
12
+ margin-#{$opposite-direction}: $n-columns * flex-grid(1, $parent-columns) + $n-columns * flex-gutter($parent-columns);
13
+
14
+ // Reset nesting context
15
+ $parent-columns: $grid-columns;
16
+ }