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,135 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- //
8
- // @name _tables.scss
9
- // @dependencies _global.scss
10
- //
11
-
12
- //
13
- // @variables
14
- //
15
-
16
- $include-html-table-classes: $include-html-classes !default;
17
-
18
- // These control the background color for the table and even rows
19
- $table-bg: $white !default;
20
- $table-even-row-bg: $snow !default;
21
-
22
- // These control the table cell border style
23
- $table-border-style: solid !default;
24
- $table-border-size: 1px !default;
25
- $table-border-color: $gainsboro !default;
26
-
27
- // These control the table head styles
28
- $table-head-bg: $white-smoke !default;
29
- $table-head-font-size: rem-calc(14) !default;
30
- $table-head-font-color: $jet !default;
31
- $table-head-font-weight: $font-weight-bold !default;
32
- $table-head-padding: rem-calc(8 10 10) !default;
33
-
34
- // These control the table foot styles
35
- $table-foot-bg: $table-head-bg !default;
36
- $table-foot-font-size: $table-head-font-size !default;
37
- $table-foot-font-color: $table-head-font-color !default;
38
- $table-foot-font-weight: $table-head-font-weight !default;
39
- $table-foot-padding: $table-head-padding !default;
40
-
41
- // These control the caption
42
- $table-caption-bg: transparent !default;
43
- $table-caption-font-color: $table-head-font-color !default;
44
- $table-caption-font-size: rem-calc(16) !default;
45
- $table-caption-font-weight: bold !default;
46
-
47
- // These control the row padding and font styles
48
- $table-row-padding: rem-calc(9 10) !default;
49
- $table-row-font-size: rem-calc(14) !default;
50
- $table-row-font-color: $jet !default;
51
- $table-line-height: rem-calc(18) !default;
52
-
53
- // These are for controlling the layout, display and margin of tables
54
- $table-layout: auto !default;
55
- $table-display: table-cell !default;
56
- $table-margin-bottom: rem-calc(20) !default;
57
-
58
-
59
- //
60
- // @mixins
61
- //
62
-
63
- @mixin table {
64
- background: $table-bg;
65
- margin-bottom: $table-margin-bottom;
66
- border: $table-border-style $table-border-size $table-border-color;
67
- table-layout: $table-layout;
68
-
69
- caption {
70
- background: $table-caption-bg;
71
- color: $table-caption-font-color;
72
- font: {
73
- size: $table-caption-font-size;
74
- weight: $table-caption-font-weight;
75
- }
76
- }
77
-
78
- thead {
79
- background: $table-head-bg;
80
-
81
- tr {
82
- th,
83
- td {
84
- padding: $table-head-padding;
85
- font-size: $table-head-font-size;
86
- font-weight: $table-head-font-weight;
87
- color: $table-head-font-color;
88
- }
89
- }
90
- }
91
-
92
- tfoot {
93
- background: $table-foot-bg;
94
-
95
- tr {
96
- th,
97
- td {
98
- padding: $table-foot-padding;
99
- font-size: $table-foot-font-size;
100
- font-weight: $table-foot-font-weight;
101
- color: $table-foot-font-color;
102
- }
103
- }
104
- }
105
-
106
- tr {
107
- th,
108
- td {
109
- padding: $table-row-padding;
110
- font-size: $table-row-font-size;
111
- color: $table-row-font-color;
112
- text-align: $default-float;
113
- }
114
-
115
- &.even,
116
- &.alt,
117
- &:nth-of-type(even) { background: $table-even-row-bg; }
118
- }
119
-
120
- thead tr th,
121
- tfoot tr th,
122
- tfoot tr td,
123
- tbody tr th,
124
- tbody tr td,
125
- tr td { display: $table-display; line-height: $table-line-height; }
126
- }
127
-
128
-
129
- @include exports("table") {
130
- @if $include-html-table-classes {
131
- table {
132
- @include table;
133
- }
134
- }
135
- }
@@ -1,123 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
- @import "grid";
7
-
8
- //
9
- // @variables
10
- //
11
-
12
- $include-html-tabs-classes: $include-html-classes !default;
13
-
14
- $tabs-navigation-padding: rem-calc(16) !default;
15
- $tabs-navigation-bg-color: $silver !default;
16
- $tabs-navigation-active-bg-color: $white !default;
17
- $tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%) !default;
18
- $tabs-navigation-font-color: $jet !default;
19
- $tabs-navigation-active-font-color: $tabs-navigation-font-color !default;
20
- $tabs-navigation-font-size: rem-calc(16) !default;
21
- $tabs-navigation-font-family: $body-font-family !default;
22
-
23
- $tabs-content-margin-bottom: rem-calc(24) !default;
24
- $tabs-content-padding: $column-gutter/2 !default;
25
-
26
- $tabs-vertical-navigation-margin-bottom: 1.25rem !default;
27
-
28
- @include exports("tab") {
29
- @if $include-html-tabs-classes {
30
- .tabs {
31
- @include clearfix;
32
- margin-bottom: 0 !important;
33
- margin-left: 0;
34
- dd, .tab-title {
35
- position: relative;
36
- margin-bottom: 0 !important;
37
- list-style: none;
38
- float: $default-float;
39
- > a {
40
- outline: none;
41
- display: block;
42
- background: {
43
- color: $tabs-navigation-bg-color;
44
- }
45
- color: $tabs-navigation-font-color;
46
- padding: $tabs-navigation-padding $tabs-navigation-padding * 2;
47
- font-family: $tabs-navigation-font-family;
48
- font-size: $tabs-navigation-font-size;
49
- &:hover {
50
- background: {
51
- color: $tabs-navigation-hover-bg-color;
52
- }
53
- }
54
- }
55
- &.active a {
56
- background: {
57
- color: $tabs-navigation-active-bg-color;
58
- }
59
- color:$tabs-navigation-active-font-color;
60
- }
61
- }
62
- &.radius {
63
- dd:first-child, .tab:first-child {
64
- a { @include side-radius($default-float, $global-radius); }
65
- }
66
- dd:last-child, .tab:last-child {
67
- a { @include side-radius($opposite-direction, $global-radius); }
68
- }
69
- }
70
- &.vertical {
71
- dd, .tab-title {
72
- position: inherit;
73
- float: none;
74
- display: block;
75
- top: auto;
76
- }
77
- }
78
- }
79
-
80
- .tabs-content {
81
- @include clearfix;
82
- margin-bottom: $tabs-content-margin-bottom;
83
- width: 100%;
84
- > .content {
85
- display: none;
86
- float: $default-float;
87
- padding: $tabs-content-padding 0;
88
- width: 100%;
89
- &.active { display: block; float: none; }
90
- &.contained { padding: $tabs-content-padding; }
91
- }
92
- &.vertical {
93
- display: block;
94
- > .content { padding: 0 $tabs-content-padding; }
95
- }
96
- }
97
- @media #{$medium-up} {
98
- .tabs {
99
- &.vertical {
100
- width: 20%;
101
- max-width: 20%;
102
- float: $default-float;
103
- margin: 0 0 $tabs-vertical-navigation-margin-bottom;
104
- }
105
- }
106
- .tabs-content {
107
- &.vertical {
108
- width: 80%;
109
- max-width: 80%;
110
- float: $default-float;
111
- margin-#{$default-float}: -1px;
112
- padding-#{$default-float}: 1rem;
113
- }
114
- }
115
- }
116
- .no-js {
117
- .tabs-content > .content {
118
- display: block;
119
- float: none;
120
- }
121
- }
122
- }
123
- }
@@ -1,66 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- //
8
- // @name _thumbs.scss
9
- // @dependencies _globals.scss
10
- //
11
-
12
- //
13
- // @variables
14
- //
15
-
16
- $include-html-media-classes: $include-html-classes !default;
17
-
18
- // We use these to control border styles
19
- $thumb-border-style: solid !default;
20
- $thumb-border-width: 4px !default;
21
- $thumb-border-color: $white !default;
22
- $thumb-box-shadow: 0 0 0 1px rgba($black,.2) !default;
23
- $thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5) !default;
24
-
25
- // Radius and transition speed for thumbs
26
- $thumb-radius: $global-radius !default;
27
- $thumb-transition-speed: 200ms !default;
28
-
29
- //
30
- // @mixins
31
- //
32
-
33
- // We use this to create image thumbnail styles.
34
- //
35
- // $border-width - Width of border around thumbnail. Default: $thumb-border-width.
36
- // $box-shadow - Box shadow to apply to thumbnail. Default: $thumb-box-shadow.
37
- // $box-shadow-hover - Box shadow to apply on hover. Default: $thumb-box-shadow-hover.
38
- @mixin thumb(
39
- $border-width:$thumb-border-width,
40
- $box-shadow:$thumb-box-shadow,
41
- $box-shadow-hover:$thumb-box-shadow-hover) {
42
- line-height: 0;
43
- display: inline-block;
44
- border: $thumb-border-style $border-width $thumb-border-color;
45
- max-width: 100%;
46
- box-shadow: $box-shadow;
47
-
48
- &:hover,
49
- &:focus {
50
- box-shadow: $box-shadow-hover;
51
- }
52
- }
53
-
54
-
55
- @include exports("thumb") {
56
- @if $include-html-media-classes {
57
-
58
- /* Image Thumbnails */
59
- .th {
60
- @include thumb;
61
- @include single-transition(all,$thumb-transition-speed,ease-out);
62
-
63
- &.radius { @include radius($thumb-radius); }
64
- }
65
- }
66
- }
@@ -1,70 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
- // toolbar styles
5
-
6
- .toolbar {
7
- background: $oil;
8
- width: 100%;
9
- font-size: 0;
10
- display: inline-block;
11
-
12
- &.label-bottom .tab .tab-content {
13
- i, img { margin-bottom: 10px; }
14
- }
15
-
16
- &.label-right .tab .tab-content {
17
- i, img { margin-right: 10px; display: inline-block;}
18
- label { display: inline-block; }
19
- }
20
-
21
- &.vertical.label-right .tab .tab-content {
22
- text-align: left;
23
- }
24
-
25
- &.vertical {
26
- height: 100%;
27
- width: auto;
28
-
29
- .tab {
30
- width: auto;
31
- margin: auto;
32
- float: none;
33
- }
34
- }
35
-
36
- .tab {
37
- text-align: center;
38
- width: 25%;
39
- margin: 0 auto;
40
- display: block;
41
- padding: 20px;
42
- float: left;
43
-
44
- &:hover {
45
- background: rgba($white, 0.1);
46
- }
47
- }
48
- }
49
-
50
- .toolbar .tab-content {
51
- font-size: 16px;
52
- text-align: center;
53
-
54
- label { color: $iron; }
55
-
56
- i {
57
- font-size: 30px;
58
- display: block;
59
- margin: 0 auto;
60
- color: $iron;
61
- vertical-align: middle;
62
- }
63
-
64
- img {
65
- width: 30px;
66
- height: 30px;
67
- display: block;
68
- margin: 0 auto;
69
- }
70
- }
@@ -1,142 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- //
8
- // Tooltip Variables
9
- //
10
- $include-html-tooltip-classes: $include-html-classes !default;
11
-
12
- $has-tip-border-bottom: dotted 1px $iron !default;
13
- $has-tip-font-weight: $font-weight-bold !default;
14
- $has-tip-font-color: $oil !default;
15
- $has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%) !default;
16
- $has-tip-font-color-hover: $primary-color !default;
17
- $has-tip-cursor-type: help !default;
18
-
19
- $tooltip-padding: rem-calc(12) !default;
20
- $tooltip-bg: $oil !default;
21
- $tooltip-font-size: rem-calc(14) !default;
22
- $tooltip-font-weight: $font-weight-normal !default;
23
- $tooltip-font-color: $white !default;
24
- $tooltip-line-height: 1.3 !default;
25
- $tooltip-close-font-size: rem-calc(10) !default;
26
- $tooltip-close-font-weight: $font-weight-normal !default;
27
- $tooltip-close-font-color: $monsoon !default;
28
- $tooltip-font-size-sml: rem-calc(14) !default;
29
- $tooltip-radius: $global-radius !default;
30
- $tooltip-rounded: $global-rounded !default;
31
- $tooltip-pip-size: 5px !default;
32
- $tooltip-max-width: 300px !default;
33
-
34
- @include exports("tooltip") {
35
- @if $include-html-tooltip-classes {
36
-
37
- /* Tooltips */
38
- .has-tip {
39
- border-bottom: $has-tip-border-bottom;
40
- cursor: $has-tip-cursor-type;
41
- font-weight: $has-tip-font-weight;
42
- color: $has-tip-font-color;
43
-
44
- &:hover,
45
- &:focus {
46
- border-bottom: $has-tip-border-bottom-hover;
47
- color: $has-tip-font-color-hover;
48
- }
49
-
50
- &.tip-left,
51
- &.tip-right { float: none !important; }
52
- }
53
-
54
- .tooltip {
55
- display: none;
56
- position: absolute;
57
- z-index: 1006;
58
- font-weight: $tooltip-font-weight;
59
- font-size: $tooltip-font-size;
60
- line-height: $tooltip-line-height;
61
- padding: $tooltip-padding;
62
- max-width: $tooltip-max-width;
63
- #{$default-float}: 50%;
64
- width: 100%;
65
- color: $tooltip-font-color;
66
- background: $tooltip-bg;
67
-
68
- &>.nub {
69
- display: block;
70
- #{$default-float}: $tooltip-pip-size;
71
- position: absolute;
72
- width: 0;
73
- height: 0;
74
- border: solid $tooltip-pip-size;
75
- border-color: transparent transparent $tooltip-bg transparent;
76
- top: -($tooltip-pip-size * 2);
77
- pointer-events: none;
78
-
79
- &.rtl {
80
- left: auto;
81
- #{$opposite-direction}: $tooltip-pip-size;
82
- }
83
- }
84
-
85
- &.radius {
86
- @include radius($tooltip-radius);
87
- }
88
- &.round {
89
- @include radius($tooltip-rounded);
90
- &>.nub {
91
- left: 2rem;
92
- }
93
- }
94
-
95
- &.opened {
96
- color: $has-tip-font-color-hover !important;
97
- border-bottom: $has-tip-border-bottom-hover !important;
98
- }
99
- }
100
-
101
- .tap-to-close {
102
- display: block;
103
- font-size: $tooltip-close-font-size;
104
- color: $tooltip-close-font-color;
105
- font-weight: $tooltip-close-font-weight;
106
- }
107
-
108
- @media #{$small} {
109
- .tooltip {
110
- &>.nub {
111
- border-color: transparent transparent $tooltip-bg transparent;
112
- top: -($tooltip-pip-size * 2);
113
- }
114
- &.tip-top>.nub {
115
- border-color: $tooltip-bg transparent transparent transparent;
116
- top: auto;
117
- bottom: -($tooltip-pip-size * 2);
118
- }
119
-
120
- &.tip-left,
121
- &.tip-right { float: none !important; }
122
-
123
- &.tip-left>.nub {
124
- border-color: transparent transparent transparent $tooltip-bg;
125
- right: -($tooltip-pip-size * 2);
126
- left: auto;
127
- top: 50%;
128
- margin-top: -$tooltip-pip-size;
129
- }
130
- &.tip-right>.nub {
131
- border-color: transparent $tooltip-bg transparent transparent;
132
- right: auto;
133
- left: -($tooltip-pip-size * 2);
134
- top: 50%;
135
- margin-top: -$tooltip-pip-size;
136
- }
137
-
138
- }
139
- }
140
-
141
- }
142
- }