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,222 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- //
8
- // @variables
9
- //
10
- $include-html-joyride-classes: $include-html-classes !default;
11
-
12
- // Controlling default Joyride styles
13
- $joyride-tip-bg: $oil !default;
14
- $joyride-tip-default-width: 300px !default;
15
- $joyride-tip-padding: rem-calc(18 20 24) !default;
16
- $joyride-tip-border: solid 1px $charcoal !default;
17
- $joyride-tip-radius: 4px !default;
18
- $joyride-tip-position-offset: 22px !default;
19
-
20
- // Here, we're setting the tip font styles
21
- $joyride-tip-font-color: $white !default;
22
- $joyride-tip-font-size: rem-calc(14) !default;
23
- $joyride-tip-header-weight: $font-weight-bold !default;
24
-
25
- // This changes the nub size
26
- $joyride-tip-nub-size: 10px !default;
27
-
28
- // This adjusts the styles for the timer when its enabled
29
- $joyride-tip-timer-width: 50px !default;
30
- $joyride-tip-timer-height: 3px !default;
31
- $joyride-tip-timer-color: $steel !default;
32
-
33
- // This changes up the styles for the close button
34
- $joyride-tip-close-color: $monsoon !default;
35
- $joyride-tip-close-size: 24px !default;
36
- $joyride-tip-close-weight: $font-weight-normal !default;
37
-
38
- // When Joyride is filling the screen, we use this style for the bg
39
- $joyride-screenfill: rgba(0,0,0,0.5) !default;
40
-
41
-
42
- // We decided not to make a mixin for this because it relies on
43
- // predefined classes to work properly.
44
- @include exports("joyride") {
45
- @if $include-html-joyride-classes {
46
-
47
- /* Foundation Joyride */
48
- .joyride-list { display: none; }
49
-
50
- /* Default styles for the container */
51
- .joyride-tip-guide {
52
- display: none;
53
- position: absolute;
54
- background: $joyride-tip-bg;
55
- color: $joyride-tip-font-color;
56
- z-index: 101;
57
- top: 0;
58
- #{$default-float}: 2.5%;
59
- font-family: inherit;
60
- font-weight: $font-weight-normal;
61
- width: 95%;
62
- }
63
-
64
- .lt-ie9 .joyride-tip-guide {
65
- max-width:800px;
66
- #{$default-float}: 50%;
67
- margin-#{$default-float}:-400px;
68
- }
69
-
70
- .joyride-content-wrapper {
71
- width: 100%;
72
-
73
- padding: $joyride-tip-padding;
74
-
75
- .button { margin-bottom: 0 !important; }
76
-
77
- .joyride-prev-tip { margin-right: 10px; }
78
- }
79
-
80
- /* Add a little css triangle pip, older browser just miss out on the fanciness of it */
81
- .joyride-tip-guide {
82
- .joyride-nub {
83
- display: block;
84
- position: absolute;
85
- #{$default-float}: $joyride-tip-position-offset;
86
- width: 0;
87
- height: 0;
88
- border: $joyride-tip-nub-size solid $joyride-tip-bg;
89
-
90
- &.top {
91
- border-top-style: solid;
92
- border-color: $joyride-tip-bg;
93
- border-top-color: transparent !important;
94
- border-#{$default-float}-color: transparent !important;
95
- border-#{$opposite-direction}-color: transparent !important;
96
- top: -($joyride-tip-nub-size*2);
97
- }
98
- &.bottom {
99
- border-bottom-style: solid;
100
- border-color: $joyride-tip-bg !important;
101
- border-bottom-color: transparent !important;
102
- border-#{$default-float}-color: transparent !important;
103
- border-#{$opposite-direction}-color: transparent !important;
104
- bottom: -($joyride-tip-nub-size*2);
105
- }
106
-
107
- &.right { right: -($joyride-tip-nub-size*2); }
108
- &.left { left: -($joyride-tip-nub-size*2); }
109
- }
110
- }
111
-
112
- /* Typography */
113
- .joyride-tip-guide h1,
114
- .joyride-tip-guide h2,
115
- .joyride-tip-guide h3,
116
- .joyride-tip-guide h4,
117
- .joyride-tip-guide h5,
118
- .joyride-tip-guide h6 {
119
- line-height: 1.25;
120
- margin: 0;
121
- font-weight: $joyride-tip-header-weight;
122
- color: $joyride-tip-font-color;
123
- }
124
- .joyride-tip-guide p {
125
- margin: rem-calc(0 0 18 0);
126
- font-size: $joyride-tip-font-size;
127
- line-height: 1.3;
128
- }
129
-
130
- .joyride-timer-indicator-wrap {
131
- width: $joyride-tip-timer-width;
132
- height: $joyride-tip-timer-height;
133
- border: $joyride-tip-border;
134
- position: absolute;
135
- #{$opposite-direction}: rem-calc(17);
136
- bottom: rem-calc(16);
137
- }
138
- .joyride-timer-indicator {
139
- display: block;
140
- width: 0;
141
- height: inherit;
142
- background: $joyride-tip-timer-color;
143
- }
144
-
145
- .joyride-close-tip {
146
- position: absolute;
147
- #{$opposite-direction}: 12px;
148
- top: 10px;
149
- color: $joyride-tip-close-color !important;
150
- text-decoration: none;
151
- font-size: $joyride-tip-close-size;
152
- font-weight: $joyride-tip-close-weight;
153
- line-height: .5 !important;
154
-
155
- &:hover,
156
- &:focus { color: $smoke !important; }
157
- }
158
-
159
- .joyride-modal-bg {
160
- position: fixed;
161
- height: 100%;
162
- width: 100%;
163
- background: transparent;
164
- background: $joyride-screenfill;
165
- z-index: 100;
166
- display: none;
167
- top: 0;
168
- #{$default-float}: 0;
169
- cursor: $cursor-pointer-value;
170
- }
171
-
172
- .joyride-expose-wrapper {
173
- background-color: $white;
174
- position: absolute;
175
- border-radius: 3px;
176
- z-index: 102;
177
- box-shadow: 0 0 15px $white;
178
- }
179
-
180
- .joyride-expose-cover {
181
- background: transparent;
182
- border-radius: 3px;
183
- position: absolute;
184
- z-index: 9999;
185
- top: 0;
186
- left: 0;
187
- }
188
-
189
-
190
- /* Styles for screens that are at least 768px; */
191
- @media #{$small} {
192
- .joyride-tip-guide { width: $joyride-tip-default-width; #{$default-float}: inherit;
193
- .joyride-nub {
194
- &.bottom {
195
- border-color: $joyride-tip-bg !important;
196
- border-bottom-color: transparent !important;
197
- border-#{$default-float}-color: transparent !important;
198
- border-#{$opposite-direction}-color: transparent !important;
199
- bottom: -($joyride-tip-nub-size*2);
200
- }
201
- &.right {
202
- border-color: $joyride-tip-bg !important;
203
- border-top-color: transparent !important;
204
- border-right-color: transparent !important; border-bottom-color: transparent !important;
205
- top: $joyride-tip-position-offset;
206
- left: auto;
207
- right: -($joyride-tip-nub-size*2);
208
- }
209
- &.left {
210
- border-color: $joyride-tip-bg !important;
211
- border-top-color: transparent !important;
212
- border-left-color: transparent !important;
213
- border-bottom-color: transparent !important;
214
- top: $joyride-tip-position-offset;
215
- left: -($joyride-tip-nub-size*2);
216
- right: auto;
217
- }
218
- }
219
- }
220
- }
221
- }
222
- }
@@ -1,61 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- //
8
- // @variables
9
- //
10
- $include-html-keystroke-classes: $include-html-classes !default;
11
-
12
- // We use these to control text styles.
13
- $keystroke-font: "Consolas", "Menlo", "Courier", monospace !default;
14
- $keystroke-font-size: inherit !default;
15
- $keystroke-font-color: $jet !default;
16
- $keystroke-font-color-alt: $white !default;
17
- $keystroke-function-factor: -7% !default;
18
-
19
- // We use this to control keystroke padding.
20
- $keystroke-padding: rem-calc(2 4 0) !default;
21
-
22
- // We use these to control background and border styles.
23
- $keystroke-bg: scale-color($white, $lightness: $keystroke-function-factor) !default;
24
- $keystroke-border-style: solid !default;
25
- $keystroke-border-width: 1px !default;
26
- $keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor) !default;
27
- $keystroke-radius: $global-radius !default;
28
-
29
- //
30
- // @mixins
31
- //
32
- // We use this mixin to create keystroke styles.
33
- // $bg - Default: $keystroke-bg || scale-color($white, $lightness: $keystroke-function-factor) !default;
34
- @mixin keystroke($bg:$keystroke-bg) {
35
- // This find the lightness percentage of the background color.
36
- $bg-lightness: lightness($bg);
37
-
38
- background-color: $bg;
39
- border-color: scale-color($bg, $lightness: $keystroke-function-factor);
40
-
41
- // We adjust the font color based on the brightness of the background.
42
- @if $bg-lightness > 70% { color: $keystroke-font-color; }
43
- @else { color: $keystroke-font-color-alt; }
44
-
45
- border-style: $keystroke-border-style;
46
- border-width: $keystroke-border-width;
47
- margin: 0;
48
- font-family: $keystroke-font;
49
- font-size: $keystroke-font-size;
50
- padding: $keystroke-padding;
51
- }
52
-
53
- @include exports("keystroke") {
54
- @if $include-html-keystroke-classes {
55
- .keystroke,
56
- kbd {
57
- @include keystroke;
58
- @include radius($keystroke-radius);
59
- }
60
- }
61
- }
@@ -1,106 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- //
8
- // @variables
9
- //
10
- $include-html-label-classes: $include-html-classes !default;
11
-
12
- // We use these to style the labels
13
- $label-padding: rem-calc(4 8 4) !default;
14
- $label-radius: $global-radius !default;
15
-
16
- // We use these to style the label text
17
- $label-font-sizing: rem-calc(11) !default;
18
- $label-font-weight: $font-weight-normal !default;
19
- $label-font-color: $oil !default;
20
- $label-font-color-alt: $white !default;
21
- $label-font-family: $body-font-family !default;
22
-
23
- //
24
- // @mixins
25
- //
26
- // We use this mixin to create a default label base.
27
- @mixin label-base {
28
- font-weight: $label-font-weight;
29
- font-family: $label-font-family;
30
- text-align: center;
31
- text-decoration: none;
32
- line-height: 1;
33
- white-space: nowrap;
34
- display: inline-block;
35
- position: relative;
36
- margin-bottom: inherit;
37
- }
38
-
39
- // @mixins
40
- //
41
- // We use this mixin to add label size styles.
42
- // $padding - Used to determine label padding. Default: $label-padding || rem-calc(3 10 4) !default
43
- // $text-size - Used to determine label text-size. Default: $text-size found in settings
44
- @mixin label-size($padding:$label-padding, $text-size:$label-font-sizing) {
45
- @if $padding { padding: $padding; }
46
- @if $text-size { font-size: $text-size; }
47
- }
48
-
49
- // @mixins
50
- //
51
- // We use this mixin to add label styles.
52
- // $bg - Default: $primary-color (found in settings file)
53
- // $radius - Default: false, Options: true, sets radius to $global-radius (found in settings file)
54
- @mixin label-style($bg:$primary-color, $radius:false) {
55
-
56
- // We control which background color comes through
57
- @if $bg {
58
-
59
- // This find the lightness percentage of the background color.
60
- $bg-lightness: lightness($bg);
61
-
62
- background-color: $bg;
63
-
64
- // We control the text color for you based on the background color.
65
- @if $bg-lightness < 70% { color: $label-font-color-alt; }
66
- @else { color: $label-font-color; }
67
- }
68
-
69
- // We use this to control the radius on labels.
70
- @if $radius == true { @include radius($label-radius); }
71
- @else if $radius { @include radius($radius); }
72
-
73
- }
74
-
75
- // @mixins
76
- //
77
- // We use this to add close buttons to alerts
78
- // $padding - Default: $label-padding,
79
- // $text-size - Default: $label-font-sizing,
80
- // $bg - Default: $primary-color(found in settings file)
81
- // $radius - Default: false, Options: true which sets radius to $global-radius (found in settings file)
82
- @mixin label($padding:$label-padding, $text-size:$label-font-sizing, $bg:$primary-color, $radius:false) {
83
-
84
- @include label-base;
85
- @include label-size($padding, $text-size);
86
- @include label-style($bg, $radius);
87
- }
88
-
89
- @include exports("label") {
90
- @if $include-html-label-classes {
91
- .label {
92
- @include label-base;
93
- @include label-size;
94
- @include label-style;
95
-
96
- &.radius { @include label-style(false, true); }
97
- &.round { @include label-style(false, $radius:1000px); }
98
-
99
- &.alert { @include label-style($alert-color); }
100
- &.warning { @include label-style($warning-color); }
101
- &.success { @include label-style($success-color); }
102
- &.secondary { @include label-style($secondary-color); }
103
- &.info { @include label-style($info-color); }
104
- }
105
- }
106
- }
@@ -1,34 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- //
8
- // @variables
9
- //
10
- $include-html-magellan-classes: $include-html-classes !default;
11
-
12
- $magellan-bg: $white !default;
13
- $magellan-padding: 10px !default;
14
-
15
- @include exports("magellan") {
16
- @if $include-html-magellan-classes {
17
-
18
- #{data('magellan-expedition')}, #{data('magellan-expedition-clone')} {
19
- background: $magellan-bg;
20
- z-index: 50;
21
- min-width: 100%;
22
- padding: $magellan-padding;
23
-
24
- .sub-nav {
25
- margin-bottom: 0;
26
- dd { margin-bottom: 0; }
27
- a {
28
- line-height: 1.8em;
29
- }
30
- }
31
- }
32
-
33
- }
34
- }