locomotivecms_wagon 2.2.0.beta1 → 2.2.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (219) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -1
  3. data/generators/blank/config/metafields_schema.yml +1 -1
  4. data/generators/bootstrap/config/metafields_schema.yml +1 -1
  5. data/generators/{foundation5 → foundation}/Gemfile.tt +1 -1
  6. data/generators/{foundation5 → foundation}/Guardfile +0 -0
  7. data/generators/foundation/app/content_types/.gitkeep +0 -0
  8. data/generators/foundation/app/views/pages/404.liquid +11 -0
  9. data/generators/{foundation5 → foundation}/app/views/pages/404.liquid.haml +4 -3
  10. data/generators/{foundation5 → foundation}/app/views/pages/index.liquid +54 -78
  11. data/generators/foundation/app/views/pages/index.liquid.haml +144 -0
  12. data/generators/foundation/app/views/snippets/.gitkeep +0 -0
  13. data/generators/{foundation5 → foundation}/config/deploy.yml +2 -1
  14. data/generators/{foundation5 → foundation}/config/metafields_schema.yml +1 -1
  15. data/generators/{foundation5/config/site.yml.tt → foundation/config/site.yml} +2 -2
  16. data/generators/{foundation5 → foundation}/config/translations.yml +0 -0
  17. data/generators/foundation/data/.gitkeep +0 -0
  18. data/generators/foundation/log/.gitkeep +0 -0
  19. data/generators/foundation/public/images/.gitkeep +0 -0
  20. data/generators/foundation/public/javascripts/app.js +1 -0
  21. data/generators/foundation/public/javascripts/vendor/foundation.js +7472 -0
  22. data/generators/foundation/public/javascripts/vendor/foundation.min.js +3 -0
  23. data/generators/foundation/public/javascripts/vendor/what-input.js +212 -0
  24. data/generators/foundation/public/javascripts/vendor/what-input.min.js +1 -0
  25. data/generators/foundation/public/stylesheets/_settings.scss +529 -0
  26. data/generators/foundation/public/stylesheets/app.css +3 -0
  27. data/generators/foundation/public/stylesheets/app.scss +43 -0
  28. data/generators/foundation/public/stylesheets/foundation.css +3499 -0
  29. data/generators/foundation/public/stylesheets/foundation6/_global.scss +197 -0
  30. data/generators/foundation/public/stylesheets/foundation6/components/_accordion-menu.scss +28 -0
  31. data/generators/foundation/public/stylesheets/foundation6/components/_accordion.scss +112 -0
  32. data/generators/foundation/public/stylesheets/foundation6/components/_badge.scss +55 -0
  33. data/generators/foundation/public/stylesheets/foundation6/components/_breadcrumbs.scss +94 -0
  34. data/generators/foundation/public/stylesheets/foundation6/components/_button-group.scss +115 -0
  35. data/generators/foundation/public/stylesheets/foundation6/components/_button.scss +264 -0
  36. data/generators/foundation/public/stylesheets/foundation6/components/_callout.scss +115 -0
  37. data/generators/foundation/public/stylesheets/foundation6/components/_close-button.scss +61 -0
  38. data/generators/foundation/public/stylesheets/foundation6/components/_drilldown.scss +67 -0
  39. data/generators/foundation/public/stylesheets/foundation6/components/_dropdown-menu.scss +123 -0
  40. data/generators/foundation/public/stylesheets/foundation6/components/_dropdown.scss +64 -0
  41. data/generators/foundation/public/stylesheets/foundation6/components/_flex-video.scss +68 -0
  42. data/generators/foundation/public/stylesheets/foundation6/components/_float.scss +27 -0
  43. data/generators/foundation/public/stylesheets/foundation6/components/_label.scss +56 -0
  44. data/generators/foundation/public/stylesheets/foundation6/components/_media-object.scss +74 -0
  45. data/generators/foundation/public/stylesheets/foundation6/components/_menu.scss +213 -0
  46. data/generators/foundation/public/stylesheets/foundation6/components/_off-canvas.scss +170 -0
  47. data/generators/foundation/public/stylesheets/foundation6/components/_orbit.scss +186 -0
  48. data/generators/foundation/public/stylesheets/foundation6/components/_pagination.scss +161 -0
  49. data/generators/foundation/public/stylesheets/foundation6/components/_progress-bar.scss +83 -0
  50. data/generators/foundation/public/stylesheets/foundation6/components/_reveal.scss +155 -0
  51. data/generators/foundation/public/stylesheets/foundation6/components/_slider.scss +158 -0
  52. data/generators/foundation/public/stylesheets/foundation6/components/_sticky.scss +38 -0
  53. data/generators/foundation/public/stylesheets/foundation6/components/_switch.scss +231 -0
  54. data/generators/foundation/public/stylesheets/foundation6/components/_table.scss +212 -0
  55. data/generators/foundation/public/stylesheets/foundation6/components/_tabs.scss +137 -0
  56. data/generators/foundation/public/stylesheets/foundation6/components/_thumbnail.scss +54 -0
  57. data/generators/foundation/public/stylesheets/foundation6/components/_title-bar.scss +44 -0
  58. data/generators/foundation/public/stylesheets/foundation6/components/_tooltip.scss +110 -0
  59. data/generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss +57 -0
  60. data/generators/foundation/public/stylesheets/foundation6/components/_visibility.scss +131 -0
  61. data/generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss +36 -0
  62. data/generators/foundation/public/stylesheets/foundation6/forms/_error.scss +81 -0
  63. data/generators/foundation/public/stylesheets/foundation6/forms/_fieldset.scss +53 -0
  64. data/generators/foundation/public/stylesheets/foundation6/forms/_forms.scss +32 -0
  65. data/generators/foundation/public/stylesheets/foundation6/forms/_help-text.scss +30 -0
  66. data/generators/foundation/public/stylesheets/foundation6/forms/_input-group.scss +70 -0
  67. data/generators/foundation/public/stylesheets/foundation6/forms/_label.scss +48 -0
  68. data/generators/foundation/public/stylesheets/foundation6/forms/_select.scss +64 -0
  69. data/generators/foundation/public/stylesheets/foundation6/forms/_text.scss +153 -0
  70. data/generators/foundation/public/stylesheets/foundation6/foundation.scss +91 -0
  71. data/generators/foundation/public/stylesheets/foundation6/grid/_classes.scss +132 -0
  72. data/generators/foundation/public/stylesheets/foundation6/grid/_column.scss +112 -0
  73. data/generators/foundation/public/stylesheets/foundation6/grid/_flex-grid.scss +191 -0
  74. data/generators/foundation/public/stylesheets/foundation6/grid/_grid.scss +33 -0
  75. data/generators/foundation/public/stylesheets/foundation6/grid/_gutter.scss +31 -0
  76. data/generators/foundation/public/stylesheets/foundation6/grid/_layout.scss +32 -0
  77. data/generators/foundation/public/stylesheets/foundation6/grid/_position.scss +71 -0
  78. data/generators/foundation/public/stylesheets/foundation6/grid/_row.scss +72 -0
  79. data/generators/foundation/public/stylesheets/foundation6/grid/_size.scss +24 -0
  80. data/generators/foundation/public/stylesheets/foundation6/motion-ui/_classes.scss +102 -0
  81. data/generators/foundation/public/stylesheets/foundation6/motion-ui/_settings.scss +61 -0
  82. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_fade.scss +29 -0
  83. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_hinge.scss +65 -0
  84. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_shake.scss +15 -0
  85. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_slide.scss +41 -0
  86. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_spin.scss +28 -0
  87. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_wiggle.scss +13 -0
  88. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_zoom.scss +15 -0
  89. data/generators/foundation/public/stylesheets/foundation6/motion-ui/motion-ui.scss +29 -0
  90. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_fade.scss +28 -0
  91. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_hinge.scss +43 -0
  92. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_slide.scss +42 -0
  93. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_spin.scss +39 -0
  94. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_zoom.scss +39 -0
  95. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_animation.scss +7 -0
  96. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_args.scss +15 -0
  97. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_keyframe.scss +136 -0
  98. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_selector.scss +23 -0
  99. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_series.scss +54 -0
  100. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_transition.scss +45 -0
  101. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_unit.scss +7 -0
  102. data/generators/foundation/public/stylesheets/foundation6/motion-ui.scss +4 -0
  103. data/generators/foundation/public/stylesheets/foundation6/settings/_settings.scss +531 -0
  104. data/generators/foundation/public/stylesheets/foundation6/typography/_alignment.scss +21 -0
  105. data/generators/foundation/public/stylesheets/foundation6/typography/_base.scss +436 -0
  106. data/generators/foundation/public/stylesheets/foundation6/typography/_helpers.scss +77 -0
  107. data/generators/foundation/public/stylesheets/foundation6/typography/_print.scss +73 -0
  108. data/generators/foundation/public/stylesheets/foundation6/typography/_typography.scss +28 -0
  109. data/generators/foundation/public/stylesheets/foundation6/util/_breakpoint.scss +182 -0
  110. data/generators/foundation/public/stylesheets/foundation6/util/_color.scss +41 -0
  111. data/generators/foundation/public/stylesheets/foundation6/util/_mixins.scss +190 -0
  112. data/generators/foundation/public/stylesheets/foundation6/util/_selector.scss +39 -0
  113. data/generators/foundation/public/stylesheets/foundation6/util/_unit.scss +69 -0
  114. data/generators/foundation/public/stylesheets/foundation6/util/_util.scss +15 -0
  115. data/generators/foundation/public/stylesheets/foundation6/util/_value.scss +117 -0
  116. data/generators/{foundation5/public/stylesheets/normalize.css.scss → foundation/public/stylesheets/foundation6/vendor/normalize.scss} +8 -11
  117. data/generators/site_metafields/schema.yml.tt +1 -1
  118. data/lib/locomotive/wagon/commands/push_command.rb +1 -0
  119. data/lib/locomotive/wagon/commands/serve_command.rb +1 -0
  120. data/lib/locomotive/wagon/decorators/concerns/persist_assets_concern.rb +3 -3
  121. data/lib/locomotive/wagon/decorators/content_type_decorator.rb +5 -1
  122. data/lib/locomotive/wagon/generators/site/{foundation5.rb → foundation.rb} +8 -12
  123. data/lib/locomotive/wagon/generators/site.rb +1 -1
  124. data/lib/locomotive/wagon/version.rb +1 -1
  125. data/locomotivecms_wagon.gemspec +3 -2
  126. data/spec/fixtures/cassettes/authenticate.yml +38 -38
  127. data/spec/fixtures/cassettes/delete.yml +211 -211
  128. data/spec/fixtures/cassettes/push.yml +1333 -1374
  129. data/spec/integration/cli_spec.rb +1 -1
  130. data/spec/unit/decorators/content_entry_decorator_spec.rb +23 -0
  131. metadata +133 -104
  132. data/generators/foundation5/app/content_types/.empty_directory +0 -1
  133. data/generators/foundation5/app/views/pages/404.liquid +0 -10
  134. data/generators/foundation5/app/views/pages/index.liquid.haml +0 -157
  135. data/generators/foundation5/data/.empty_directory +0 -1
  136. data/generators/foundation5/icon.png +0 -0
  137. data/generators/foundation5/public/fonts/.empty_directory +0 -1
  138. data/generators/foundation5/public/images/.empty_directory +0 -1
  139. data/generators/foundation5/public/javascripts/foundation/foundation.abide.js +0 -299
  140. data/generators/foundation5/public/javascripts/foundation/foundation.accordion.js +0 -59
  141. data/generators/foundation5/public/javascripts/foundation/foundation.alert.js +0 -43
  142. data/generators/foundation5/public/javascripts/foundation/foundation.clearing.js +0 -534
  143. data/generators/foundation5/public/javascripts/foundation/foundation.dropdown.js +0 -311
  144. data/generators/foundation5/public/javascripts/foundation/foundation.equalizer.js +0 -74
  145. data/generators/foundation5/public/javascripts/foundation/foundation.interchange.js +0 -331
  146. data/generators/foundation5/public/javascripts/foundation/foundation.joyride.js +0 -843
  147. data/generators/foundation5/public/javascripts/foundation/foundation.js +0 -611
  148. data/generators/foundation5/public/javascripts/foundation/foundation.magellan.js +0 -178
  149. data/generators/foundation5/public/javascripts/foundation/foundation.offcanvas.js +0 -108
  150. data/generators/foundation5/public/javascripts/foundation/foundation.orbit.js +0 -610
  151. data/generators/foundation5/public/javascripts/foundation/foundation.reveal.js +0 -437
  152. data/generators/foundation5/public/javascripts/foundation/foundation.slider.js +0 -199
  153. data/generators/foundation5/public/javascripts/foundation/foundation.tab.js +0 -167
  154. data/generators/foundation5/public/javascripts/foundation/foundation.tooltip.js +0 -298
  155. data/generators/foundation5/public/javascripts/foundation/foundation.topbar.js +0 -425
  156. data/generators/foundation5/public/javascripts/foundation.js +0 -4161
  157. data/generators/foundation5/public/javascripts/foundation.min.js +0 -10
  158. data/generators/foundation5/public/javascripts/vendor/custom.modernizr.js +0 -4
  159. data/generators/foundation5/public/javascripts/vendor/custom.modernizr.min.js +0 -1
  160. data/generators/foundation5/public/javascripts/vendor/fastclick.js +0 -9
  161. data/generators/foundation5/public/javascripts/vendor/fastclick.min.js +0 -11
  162. data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.js +0 -645
  163. data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.min.js +0 -1
  164. data/generators/foundation5/public/javascripts/vendor/jquery.cookie.js +0 -8
  165. data/generators/foundation5/public/javascripts/vendor/jquery.cookie.min.js +0 -8
  166. data/generators/foundation5/public/javascripts/vendor/jquery.js +0 -26
  167. data/generators/foundation5/public/javascripts/vendor/jquery.min.js +0 -27
  168. data/generators/foundation5/public/javascripts/vendor/modernizr.js +0 -8
  169. data/generators/foundation5/public/javascripts/vendor/modernizr.min.js +0 -1
  170. data/generators/foundation5/public/javascripts/vendor/placeholder.js +0 -2
  171. data/generators/foundation5/public/javascripts/vendor/placeholder.min.js +0 -1
  172. data/generators/foundation5/public/samples/.empty_directory +0 -1
  173. data/generators/foundation5/public/stylesheets/application.css +0 -2
  174. data/generators/foundation5/public/stylesheets/application.css.scss +0 -3
  175. data/generators/foundation5/public/stylesheets/foundation/_functions.scss +0 -102
  176. data/generators/foundation5/public/stylesheets/foundation/_settings.scss +0 -1441
  177. data/generators/foundation5/public/stylesheets/foundation/components/_accordion.scss +0 -157
  178. data/generators/foundation5/public/stylesheets/foundation/components/_alert-boxes.scss +0 -128
  179. data/generators/foundation5/public/stylesheets/foundation/components/_block-grid.scss +0 -132
  180. data/generators/foundation5/public/stylesheets/foundation/components/_breadcrumbs.scss +0 -132
  181. data/generators/foundation5/public/stylesheets/foundation/components/_button-groups.scss +0 -197
  182. data/generators/foundation5/public/stylesheets/foundation/components/_buttons.scss +0 -259
  183. data/generators/foundation5/public/stylesheets/foundation/components/_clearing.scss +0 -247
  184. data/generators/foundation5/public/stylesheets/foundation/components/_dropdown-buttons.scss +0 -130
  185. data/generators/foundation5/public/stylesheets/foundation/components/_dropdown.scss +0 -262
  186. data/generators/foundation5/public/stylesheets/foundation/components/_flex-video.scss +0 -51
  187. data/generators/foundation5/public/stylesheets/foundation/components/_forms.scss +0 -585
  188. data/generators/foundation5/public/stylesheets/foundation/components/_global.scss +0 -460
  189. data/generators/foundation5/public/stylesheets/foundation/components/_grid.scss +0 -275
  190. data/generators/foundation5/public/stylesheets/foundation/components/_icon-bar.scss +0 -293
  191. data/generators/foundation5/public/stylesheets/foundation/components/_inline-lists.scss +0 -57
  192. data/generators/foundation5/public/stylesheets/foundation/components/_joyride.scss +0 -222
  193. data/generators/foundation5/public/stylesheets/foundation/components/_keystrokes.scss +0 -61
  194. data/generators/foundation5/public/stylesheets/foundation/components/_labels.scss +0 -106
  195. data/generators/foundation5/public/stylesheets/foundation/components/_magellan.scss +0 -34
  196. data/generators/foundation5/public/stylesheets/foundation/components/_offcanvas.scss +0 -513
  197. data/generators/foundation5/public/stylesheets/foundation/components/_orbit.scss +0 -368
  198. data/generators/foundation5/public/stylesheets/foundation/components/_pagination.scss +0 -162
  199. data/generators/foundation5/public/stylesheets/foundation/components/_panels.scss +0 -95
  200. data/generators/foundation5/public/stylesheets/foundation/components/_pricing-tables.scss +0 -150
  201. data/generators/foundation5/public/stylesheets/foundation/components/_progress-bars.scss +0 -79
  202. data/generators/foundation5/public/stylesheets/foundation/components/_range-slider.scss +0 -168
  203. data/generators/foundation5/public/stylesheets/foundation/components/_reveal.scss +0 -222
  204. data/generators/foundation5/public/stylesheets/foundation/components/_side-nav.scss +0 -116
  205. data/generators/foundation5/public/stylesheets/foundation/components/_split-buttons.scss +0 -191
  206. data/generators/foundation5/public/stylesheets/foundation/components/_sub-nav.scss +0 -123
  207. data/generators/foundation5/public/stylesheets/foundation/components/_switches.scss +0 -230
  208. data/generators/foundation5/public/stylesheets/foundation/components/_tables.scss +0 -135
  209. data/generators/foundation5/public/stylesheets/foundation/components/_tabs.scss +0 -123
  210. data/generators/foundation5/public/stylesheets/foundation/components/_thumbs.scss +0 -66
  211. data/generators/foundation5/public/stylesheets/foundation/components/_toolbar.scss +0 -70
  212. data/generators/foundation5/public/stylesheets/foundation/components/_tooltips.scss +0 -142
  213. data/generators/foundation5/public/stylesheets/foundation/components/_top-bar.scss +0 -685
  214. data/generators/foundation5/public/stylesheets/foundation/components/_type.scss +0 -525
  215. data/generators/foundation5/public/stylesheets/foundation/components/_visibility.scss +0 -408
  216. data/generators/foundation5/public/stylesheets/foundation.css +0 -6138
  217. data/generators/foundation5/public/stylesheets/foundation.css.scss +0 -45
  218. data/generators/foundation5/public/stylesheets/normalize.css +0 -357
  219. data/lib/locomotive/wagon/generators/site/foundation4.rb +0 -34
@@ -1,525 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- $include-html-type-classes: $include-html-classes !default;
8
-
9
- // We use these to control header font styles
10
- $header-font-family: $body-font-family !default;
11
- $header-font-weight: $font-weight-normal !default;
12
- $header-font-style: $font-weight-normal !default;
13
- $header-font-color: $jet !default;
14
- $header-line-height: 1.4 !default;
15
- $header-top-margin: .2rem !default;
16
- $header-bottom-margin: .5rem !default;
17
- $header-text-rendering: optimizeLegibility !default;
18
-
19
- // We use these to control header font sizes
20
- $h1-font-size: rem-calc(44) !default;
21
- $h2-font-size: rem-calc(37) !default;
22
- $h3-font-size: rem-calc(27) !default;
23
- $h4-font-size: rem-calc(23) !default;
24
- $h5-font-size: rem-calc(18) !default;
25
- $h6-font-size: 1rem !default;
26
-
27
- // We use these to control header size reduction on small screens
28
- $h1-font-reduction: rem-calc(10) !default;
29
- $h2-font-reduction: rem-calc(10) !default;
30
- $h3-font-reduction: rem-calc(5) !default;
31
- $h4-font-reduction: rem-calc(5) !default;
32
- $h5-font-reduction: 0 !default;
33
- $h6-font-reduction: 0 !default;
34
-
35
- // These control how subheaders are styled.
36
- $subheader-line-height: 1.4 !default;
37
- $subheader-font-color: scale-color($header-font-color, $lightness: 35%) !default;
38
- $subheader-font-weight: $font-weight-normal !default;
39
- $subheader-top-margin: .2rem !default;
40
- $subheader-bottom-margin: .5rem !default;
41
-
42
- // A general <small> styling
43
- $small-font-size: 60% !default;
44
- $small-font-color: scale-color($header-font-color, $lightness: 35%) !default;
45
-
46
- // We use these to style paragraphs
47
- $paragraph-font-family: inherit !default;
48
- $paragraph-font-weight: $font-weight-normal !default;
49
- $paragraph-font-size: 1rem !default;
50
- $paragraph-line-height: 1.6 !default;
51
- $paragraph-margin-bottom: rem-calc(20) !default;
52
- $paragraph-aside-font-size: rem-calc(14) !default;
53
- $paragraph-aside-line-height: 1.35 !default;
54
- $paragraph-aside-font-style: italic !default;
55
- $paragraph-text-rendering: optimizeLegibility !default;
56
-
57
- // We use these to style <code> tags
58
- $code-color: $oil !default;
59
- $code-font-family: $font-family-monospace !default;
60
- $code-font-weight: $font-weight-normal !default;
61
- $code-background-color: scale-color($secondary-color, $lightness: 70%) !default;
62
- $code-border-size: 1px !default;
63
- $code-border-style: solid !default;
64
- $code-border-color: scale-color($code-background-color, $lightness: -10%) !default;
65
- $code-padding: rem-calc(2) rem-calc(5) rem-calc(1) !default;
66
-
67
- // We use these to style anchors
68
- $anchor-text-decoration: none !default;
69
- $anchor-text-decoration-hover: none !default;
70
- $anchor-font-color: $primary-color !default;
71
- $anchor-font-color-hover: scale-color($anchor-font-color, $lightness: -14%) !default;
72
-
73
- // We use these to style the <hr> element
74
- $hr-border-width: 1px !default;
75
- $hr-border-style: solid !default;
76
- $hr-border-color: $gainsboro !default;
77
- $hr-margin: rem-calc(20) !default;
78
-
79
- // We use these to style lists
80
- $list-font-family: $paragraph-font-family !default;
81
- $list-font-size: $paragraph-font-size !default;
82
- $list-line-height: $paragraph-line-height !default;
83
- $list-margin-bottom: $paragraph-margin-bottom !default;
84
- $list-style-position: outside !default;
85
- $list-side-margin: 1.1rem !default;
86
- $list-ordered-side-margin: 1.4rem !default;
87
- $list-side-margin-no-bullet: 0 !default;
88
- $list-nested-margin: rem-calc(20) !default;
89
- $definition-list-header-weight: $font-weight-bold !default;
90
- $definition-list-header-margin-bottom: .3rem !default;
91
- $definition-list-margin-bottom: rem-calc(12) !default;
92
-
93
- // We use these to style blockquotes
94
- $blockquote-font-color: scale-color($header-font-color, $lightness: 35%) !default;
95
- $blockquote-padding: rem-calc(9 20 0 19) !default;
96
- $blockquote-border: 1px solid $gainsboro !default;
97
- $blockquote-cite-font-size: rem-calc(13) !default;
98
- $blockquote-cite-font-color: scale-color($header-font-color, $lightness: 23%) !default;
99
- $blockquote-cite-link-color: $blockquote-cite-font-color !default;
100
-
101
- // Acronym styles
102
- $acronym-underline: 1px dotted $gainsboro !default;
103
-
104
- // We use these to control padding and margin
105
- $microformat-padding: rem-calc(10 12) !default;
106
- $microformat-margin: rem-calc(0 0 20 0) !default;
107
-
108
- // We use these to control the border styles
109
- $microformat-border-width: 1px !default;
110
- $microformat-border-style: solid !default;
111
- $microformat-border-color: $gainsboro !default;
112
-
113
- // We use these to control full name font styles
114
- $microformat-fullname-font-weight: $font-weight-bold !default;
115
- $microformat-fullname-font-size: rem-calc(15) !default;
116
-
117
- // We use this to control the summary font styles
118
- $microformat-summary-font-weight: $font-weight-bold !default;
119
-
120
- // We use this to control abbr padding
121
- $microformat-abbr-padding: rem-calc(0 1) !default;
122
-
123
- // We use this to control abbr font styles
124
- $microformat-abbr-font-weight: $font-weight-bold !default;
125
- $microformat-abbr-font-decoration: none !default;
126
-
127
- // Text alignment class names
128
- $align-class-names:
129
- small-only,
130
- small,
131
- medium-only,
132
- medium,
133
- large-only,
134
- large,
135
- xlarge-only,
136
- xlarge,
137
- xxlarge-only,
138
- xxlarge;
139
-
140
- // Text alignment breakpoints
141
- $align-class-breakpoints:
142
- $small-only,
143
- $small-up,
144
- $medium-only,
145
- $medium-up,
146
- $large-only,
147
- $large-up,
148
- $xlarge-only,
149
- $xlarge-up,
150
- $xxlarge-only,
151
- $xxlarge-up;
152
-
153
- // Generates text align and justify classes
154
- @mixin align-classes{
155
- .text-left { text-align: left !important; }
156
- .text-right { text-align: right !important; }
157
- .text-center { text-align: center !important; }
158
- .text-justify { text-align: justify !important; }
159
-
160
- @for $i from 1 through length($align-class-names) {
161
- @media #{(nth($align-class-breakpoints, $i))} {
162
- .#{(nth($align-class-names, $i))}-text-left { text-align: left !important; }
163
- .#{(nth($align-class-names, $i))}-text-right { text-align: right !important; }
164
- .#{(nth($align-class-names, $i))}-text-center { text-align: center !important; }
165
- .#{(nth($align-class-names, $i))}-text-justify { text-align: justify !important; }
166
- }
167
- }
168
- }
169
-
170
- //
171
- // Typography Placeholders
172
- //
173
-
174
- // These will throw a deprecation warning if used within a media query.
175
- @mixin lead {
176
- font-size: $paragraph-font-size + rem-calc(3.5);
177
- line-height: 1.6;
178
- }
179
-
180
- @mixin subheader {
181
- line-height: $subheader-line-height;
182
- color: $subheader-font-color;
183
- font-weight: $subheader-font-weight;
184
- margin-top: $subheader-top-margin;
185
- margin-bottom: $subheader-bottom-margin;
186
- }
187
- @include exports("type") {
188
- @if $include-html-type-classes {
189
- // Responsive Text alignment
190
- @include align-classes;
191
-
192
- /* Typography resets */
193
- div,
194
- dl,
195
- dt,
196
- dd,
197
- ul,
198
- ol,
199
- li,
200
- h1,
201
- h2,
202
- h3,
203
- h4,
204
- h5,
205
- h6,
206
- pre,
207
- form,
208
- p,
209
- blockquote,
210
- th,
211
- td {
212
- margin:0;
213
- padding:0;
214
- }
215
-
216
- /* Default Link Styles */
217
- a {
218
- color: $anchor-font-color;
219
- text-decoration: $anchor-text-decoration;
220
- line-height: inherit;
221
-
222
- &:hover,
223
- &:focus {
224
- color: $anchor-font-color-hover;
225
- @if $anchor-text-decoration-hover != $anchor-text-decoration {
226
- text-decoration: $anchor-text-decoration-hover;
227
- }
228
- }
229
-
230
- img { border:none; }
231
- }
232
-
233
- /* Default paragraph styles */
234
- p {
235
- font-family: $paragraph-font-family;
236
- font-weight: $paragraph-font-weight;
237
- font-size: $paragraph-font-size;
238
- line-height: $paragraph-line-height;
239
- margin-bottom: $paragraph-margin-bottom;
240
- text-rendering: $paragraph-text-rendering;
241
-
242
- &.lead { @include lead; }
243
-
244
- & aside {
245
- font-size: $paragraph-aside-font-size;
246
- line-height: $paragraph-aside-line-height;
247
- font-style: $paragraph-aside-font-style;
248
- }
249
- }
250
-
251
- /* Default header styles */
252
- h1, h2, h3, h4, h5, h6 {
253
- font-family: $header-font-family;
254
- font-weight: $header-font-weight;
255
- font-style: $header-font-style;
256
- color: $header-font-color;
257
- text-rendering: $header-text-rendering;
258
- margin-top: $header-top-margin;
259
- margin-bottom: $header-bottom-margin;
260
- line-height: $header-line-height;
261
-
262
- small {
263
- font-size: $small-font-size;
264
- color: $small-font-color;
265
- line-height: 0;
266
- }
267
- }
268
-
269
- h1 { font-size: $h1-font-size - $h1-font-reduction; }
270
- h2 { font-size: $h2-font-size - $h2-font-reduction; }
271
- h3 { font-size: $h3-font-size - $h3-font-reduction; }
272
- h4 { font-size: $h4-font-size - $h4-font-reduction; }
273
- h5 { font-size: $h5-font-size - $h5-font-reduction; }
274
- h6 { font-size: $h6-font-size - $h6-font-reduction; }
275
-
276
- .subheader { @include subheader; }
277
-
278
- hr {
279
- border: $hr-border-style $hr-border-color;
280
- border-width: $hr-border-width 0 0;
281
- clear: both;
282
- margin: $hr-margin 0 ($hr-margin - rem-calc($hr-border-width));
283
- height: 0;
284
- }
285
-
286
- /* Helpful Typography Defaults */
287
- em,
288
- i {
289
- font-style: italic;
290
- line-height: inherit;
291
- }
292
-
293
- strong,
294
- b {
295
- font-weight: $font-weight-bold;
296
- line-height: inherit;
297
- }
298
-
299
- small {
300
- font-size: $small-font-size;
301
- line-height: inherit;
302
- }
303
-
304
- code {
305
- font-family: $code-font-family;
306
- font-weight: $code-font-weight;
307
- color: $code-color;
308
- background-color: $code-background-color;
309
- border-width: $code-border-size;
310
- border-style: $code-border-style;
311
- border-color: $code-border-color;
312
- padding: $code-padding;
313
- }
314
-
315
- /* Lists */
316
- ul,
317
- ol,
318
- dl {
319
- font-size: $list-font-size;
320
- line-height: $list-line-height;
321
- margin-bottom: $list-margin-bottom;
322
- list-style-position: $list-style-position;
323
- font-family: $list-font-family;
324
- }
325
-
326
- ul {
327
- margin-#{$default-float}: $list-side-margin;
328
- &.no-bullet {
329
- margin-#{$default-float}: $list-side-margin-no-bullet;
330
- li {
331
- ul,
332
- ol {
333
- margin-#{$default-float}: $list-nested-margin;
334
- margin-bottom: 0;
335
- list-style: none;
336
- }
337
- }
338
- }
339
- }
340
-
341
- /* Unordered Lists */
342
- ul {
343
- li {
344
- ul,
345
- ol {
346
- margin-#{$default-float}: $list-nested-margin;
347
- margin-bottom: 0;
348
- }
349
- }
350
- &.square,
351
- &.circle,
352
- &.disc {
353
- li ul { list-style: inherit; }
354
- }
355
-
356
- &.square { list-style-type: square; margin-#{$default-float}: $list-side-margin;}
357
- &.circle { list-style-type: circle; margin-#{$default-float}: $list-side-margin;}
358
- &.disc { list-style-type: disc; margin-#{$default-float}: $list-side-margin;}
359
- &.no-bullet { list-style: none; }
360
- }
361
-
362
- /* Ordered Lists */
363
- ol {
364
- margin-#{$default-float}: $list-ordered-side-margin;
365
- li {
366
- ul,
367
- ol {
368
- margin-#{$default-float}: $list-nested-margin;
369
- margin-bottom: 0;
370
- }
371
- }
372
- }
373
-
374
- /* Definition Lists */
375
- dl {
376
- dt {
377
- margin-bottom: $definition-list-header-margin-bottom;
378
- font-weight: $definition-list-header-weight;
379
- }
380
- dd { margin-bottom: $definition-list-margin-bottom; }
381
- }
382
-
383
- /* Abbreviations */
384
- abbr,
385
- acronym {
386
- text-transform: uppercase;
387
- font-size: 90%;
388
- color: $body-font-color;
389
- cursor: $cursor-help-value;
390
- }
391
- abbr {
392
- text-transform: none;
393
- &[title] {
394
- border-bottom: $acronym-underline;
395
- }
396
- }
397
-
398
- /* Blockquotes */
399
- blockquote {
400
- margin: 0 0 $paragraph-margin-bottom;
401
- padding: $blockquote-padding;
402
- border-#{$default-float}: $blockquote-border;
403
-
404
- cite {
405
- display: block;
406
- font-size: $blockquote-cite-font-size;
407
- color: $blockquote-cite-font-color;
408
- &:before {
409
- content: "\2014 \0020";
410
- }
411
-
412
- a,
413
- a:visited {
414
- color: $blockquote-cite-link-color;
415
- }
416
- }
417
- }
418
- blockquote,
419
- blockquote p {
420
- line-height: $paragraph-line-height;
421
- color: $blockquote-font-color;
422
- }
423
-
424
- /* Microformats */
425
- .vcard {
426
- display: inline-block;
427
- margin: $microformat-margin;
428
- border: $microformat-border-width $microformat-border-style $microformat-border-color;
429
- padding: $microformat-padding;
430
-
431
- li {
432
- margin: 0;
433
- display: block;
434
- }
435
- .fn {
436
- font-weight: $microformat-fullname-font-weight;
437
- font-size: $microformat-fullname-font-size;
438
- }
439
- }
440
-
441
- .vevent {
442
- .summary { font-weight: $microformat-summary-font-weight; }
443
-
444
- abbr {
445
- cursor: $cursor-default-value;
446
- text-decoration: $microformat-abbr-font-decoration;
447
- font-weight: $microformat-abbr-font-weight;
448
- border: none;
449
- padding: $microformat-abbr-padding;
450
- }
451
- }
452
-
453
-
454
- @media #{$medium-up} {
455
- h1,h2,h3,h4,h5,h6 { line-height: $header-line-height; }
456
- h1 { font-size: $h1-font-size; }
457
- h2 { font-size: $h2-font-size; }
458
- h3 { font-size: $h3-font-size; }
459
- h4 { font-size: $h4-font-size; }
460
- h5 { font-size: $h5-font-size; }
461
- h6 { font-size: $h6-font-size; }
462
- }
463
-
464
- // Only include these styles if you want them.
465
- @if $include-print-styles {
466
- /*
467
- * Print styles.
468
- *
469
- * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
470
- * Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
471
- */
472
- .print-only { display: none !important; }
473
- @media print {
474
- * {
475
- background: transparent !important;
476
- color: $black !important; /* Black prints faster: h5bp.com/s */
477
- box-shadow: none !important;
478
- text-shadow: none !important;
479
- }
480
-
481
- a,
482
- a:visited { text-decoration: underline;}
483
- a[href]:after { content: " (" attr(href) ")"; }
484
-
485
- abbr[title]:after { content: " (" attr(title) ")"; }
486
-
487
- // Don't show links for images, or javascript/internal links
488
- .ir a:after,
489
- a[href^="javascript:"]:after,
490
- a[href^="#"]:after { content: ""; }
491
-
492
- pre,
493
- blockquote {
494
- border: 1px solid $aluminum;
495
- page-break-inside: avoid;
496
- }
497
-
498
- thead { display: table-header-group; /* h5bp.com/t */ }
499
-
500
- tr,
501
- img { page-break-inside: avoid; }
502
-
503
- img { max-width: 100% !important; }
504
-
505
- @page { margin: 0.5cm; }
506
-
507
- p,
508
- h2,
509
- h3 {
510
- orphans: 3;
511
- widows: 3;
512
- }
513
-
514
- h2,
515
- h3 { page-break-after: avoid; }
516
-
517
- .hide-on-print { display: none !important; }
518
- .print-only { display: block !important; }
519
- .hide-for-print { display: none !important; }
520
- .show-for-print { display: inherit !important; }
521
- }
522
- }
523
-
524
- }
525
- }