locomotivecms_wagon 1.5.1 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/generators/foundation5/public/stylesheets/foundation/_functions.scss +3 -2
  3. data/generators/foundation5/public/stylesheets/foundation/_settings.scss +419 -274
  4. data/generators/foundation5/public/stylesheets/foundation/components/_accordion.scss +110 -6
  5. data/generators/foundation5/public/stylesheets/foundation/components/_alert-boxes.scss +4 -2
  6. data/generators/foundation5/public/stylesheets/foundation/components/_block-grid.scss +2 -2
  7. data/generators/foundation5/public/stylesheets/foundation/components/_breadcrumbs.scss +8 -3
  8. data/generators/foundation5/public/stylesheets/foundation/components/_button-groups.scss +98 -9
  9. data/generators/foundation5/public/stylesheets/foundation/components/_buttons.scss +66 -29
  10. data/generators/foundation5/public/stylesheets/foundation/components/_clearing.scss +5 -5
  11. data/generators/foundation5/public/stylesheets/foundation/components/_dropdown-buttons.scss +11 -10
  12. data/generators/foundation5/public/stylesheets/foundation/components/_dropdown.scss +49 -35
  13. data/generators/foundation5/public/stylesheets/foundation/components/_forms.scss +125 -38
  14. data/generators/foundation5/public/stylesheets/foundation/components/_global.scss +64 -38
  15. data/generators/foundation5/public/stylesheets/foundation/components/_grid.scss +19 -4
  16. data/generators/foundation5/public/stylesheets/foundation/components/_icon-bar.scss +293 -0
  17. data/generators/foundation5/public/stylesheets/foundation/components/_joyride.scss +11 -9
  18. data/generators/foundation5/public/stylesheets/foundation/components/_keystrokes.scss +4 -4
  19. data/generators/foundation5/public/stylesheets/foundation/components/_labels.scss +5 -3
  20. data/generators/foundation5/public/stylesheets/foundation/components/_magellan.scss +1 -1
  21. data/generators/foundation5/public/stylesheets/foundation/components/_offcanvas.scss +190 -33
  22. data/generators/foundation5/public/stylesheets/foundation/components/_orbit.scss +92 -147
  23. data/generators/foundation5/public/stylesheets/foundation/components/_pagination.scss +22 -10
  24. data/generators/foundation5/public/stylesheets/foundation/components/_panels.scss +12 -7
  25. data/generators/foundation5/public/stylesheets/foundation/components/_pricing-tables.scss +11 -11
  26. data/generators/foundation5/public/stylesheets/foundation/components/_progress-bars.scss +2 -2
  27. data/generators/foundation5/public/stylesheets/foundation/components/_range-slider.scss +29 -9
  28. data/generators/foundation5/public/stylesheets/foundation/components/_reveal.scss +62 -56
  29. data/generators/foundation5/public/stylesheets/foundation/components/_side-nav.scss +3 -2
  30. data/generators/foundation5/public/stylesheets/foundation/components/_split-buttons.scss +2 -2
  31. data/generators/foundation5/public/stylesheets/foundation/components/_sub-nav.scss +4 -6
  32. data/generators/foundation5/public/stylesheets/foundation/components/_switches.scss +230 -0
  33. data/generators/foundation5/public/stylesheets/foundation/components/_tables.scss +13 -7
  34. data/generators/foundation5/public/stylesheets/foundation/components/_tabs.scss +22 -8
  35. data/generators/foundation5/public/stylesheets/foundation/components/_thumbs.scss +2 -4
  36. data/generators/foundation5/public/stylesheets/foundation/components/_toolbar.scss +70 -0
  37. data/generators/foundation5/public/stylesheets/foundation/components/_tooltips.scss +9 -7
  38. data/generators/foundation5/public/stylesheets/foundation/components/_top-bar.scss +82 -56
  39. data/generators/foundation5/public/stylesheets/foundation/components/_type.scss +23 -11
  40. data/generators/foundation5/public/stylesheets/foundation/components/_visibility.scss +7 -7
  41. data/generators/foundation5/public/stylesheets/foundation.css +4327 -3587
  42. data/generators/foundation5/public/stylesheets/foundation.css.scss +38 -38
  43. data/generators/foundation5/public/stylesheets/normalize.css +71 -139
  44. data/generators/foundation5/public/stylesheets/normalize.css.scss +5 -3
  45. data/lib/locomotive/wagon/cli.rb +24 -1
  46. data/lib/locomotive/wagon/generators/content_type.rb +4 -1
  47. data/lib/locomotive/wagon/generators/page.rb +10 -5
  48. data/lib/locomotive/wagon/generators/relationship.rb +100 -0
  49. data/lib/locomotive/wagon/generators/site/foundation5.rb +2 -2
  50. data/lib/locomotive/wagon/generators/snippet.rb +3 -3
  51. data/lib/locomotive/wagon/liquid/tags/locale_switcher.rb +2 -2
  52. data/lib/locomotive/wagon/version.rb +1 -1
  53. data/lib/locomotive/wagon.rb +1 -0
  54. data/locomotivecms_wagon.gemspec +1 -1
  55. data/spec/fixtures/blog/app/content_types/comments.yml +20 -0
  56. data/spec/fixtures/blog/app/content_types/posts.yml +19 -0
  57. data/spec/fixtures/blog/app/views/pages/404.liquid +11 -0
  58. data/spec/fixtures/blog/app/views/pages/about-us.liquid.haml +29 -0
  59. data/spec/fixtures/blog/app/views/pages/index.liquid +25 -0
  60. data/spec/fixtures/blog/app/views/pages/posts/content_type_template.fr.liquid +14 -0
  61. data/spec/fixtures/blog/app/views/pages/posts/content_type_template.liquid +15 -0
  62. data/spec/fixtures/blog/app/views/pages/posts.fr.liquid +13 -0
  63. data/spec/fixtures/blog/app/views/pages/posts.liquid +13 -0
  64. data/spec/fixtures/blog/config/deploy.yml +4 -0
  65. data/spec/fixtures/blog/config/site.yml +16 -0
  66. data/spec/fixtures/blog/data/comments.yml +16 -0
  67. data/spec/fixtures/blog/data/posts.yml +7 -0
  68. data/spec/integration/generators/page_spec.rb +87 -0
  69. data/spec/integration/generators/relationship_spec.rb +102 -0
  70. data/spec/support/helpers.rb +19 -1
  71. metadata +38 -6
  72. data/generators/foundation5/public/stylesheets/foundation/components/_reveal-new.scss +0 -0
  73. data/generators/foundation5/public/stylesheets/foundation/components/_switch.scss +0 -294
@@ -11,9 +11,6 @@
11
11
  // styles get applied to [data-mysite-plugin], etc
12
12
  $namespace: false !default;
13
13
 
14
- // Control the inclusion of experimental properties
15
- $experimental: true !default;
16
-
17
14
  // The default font-size is set to 100% of the browser style sheet (usually 16px)
18
15
  // for compatibility with browser-based text zoom or user-set defaults.
19
16
 
@@ -23,22 +20,12 @@ $experimental: true !default;
23
20
  $base-font-size: 100% !default;
24
21
 
25
22
  // $base-line-height is 24px while $base-font-size is 16px
26
- $base-line-height: 150% !default;
23
+ $base-line-height: 1.5 !default;
27
24
 
28
25
  //
29
26
  // Global Foundation Mixins
30
27
  //
31
28
 
32
- // @mixins
33
- //
34
- // We use this to optionally include experimental or
35
- // explicitly vendor prefixed properties
36
- @mixin experimental() {
37
- @if $experimental {
38
- @content;
39
- }
40
- }
41
-
42
29
  // @mixins
43
30
  //
44
31
  // We use this to control border radius.
@@ -55,9 +42,13 @@ $base-line-height: 150% !default;
55
42
  // $side - Options: left, right, top, bottom
56
43
  @mixin side-radius($side, $radius:$global-radius) {
57
44
  @if ($side == left or $side == right) {
45
+ -webkit-border-bottom-#{$side}-radius: $radius;
46
+ -webkit-border-top-#{$side}-radius: $radius;
58
47
  border-bottom-#{$side}-radius: $radius;
59
48
  border-top-#{$side}-radius: $radius;
60
49
  } @else {
50
+ -webkit-#{$side}-left-radius: $radius;
51
+ -webkit-#{$side}-right-radius: $radius;
61
52
  border-#{$side}-left-radius: $radius;
62
53
  border-#{$side}-right-radius: $radius;
63
54
  }
@@ -89,8 +80,8 @@ $base-line-height: 150% !default;
89
80
  // We use this to add box-sizing across browser prefixes
90
81
  @mixin box-sizing($type:border-box) {
91
82
  -webkit-box-sizing: $type; // Android < 2.3, iOS < 4
92
- -moz-box-sizing: $type; // Firefox < 29
93
- box-sizing: $type; // Chrome, IE 8+, Opera, Safari 5.1
83
+ -moz-box-sizing: $type; // Firefox < 29
84
+ box-sizing: $type; // Chrome, IE 8+, Opera, Safari 5.1
94
85
  }
95
86
 
96
87
  // @mixins
@@ -149,16 +140,16 @@ $base-line-height: 150% !default;
149
140
  top: 50%;
150
141
  margin-top: -$width/2;
151
142
  }
152
- @if $left {
153
- left: $left;
154
- }
155
- @else {
156
- left: ($tabbar-menu-icon-width - $width)/2;
157
- }
143
+ @if $left {
144
+ left: $left;
145
+ }
146
+ @else {
147
+ left: ($tabbar-menu-icon-width - $width)/2;
148
+ }
158
149
  }
159
150
  @else {
160
151
  top: 50%;
161
- margin-top: -$width/2;
152
+ margin-top: -($width/2);
162
153
  #{$opposite-direction}: $topbar-link-padding;
163
154
  }
164
155
 
@@ -229,6 +220,39 @@ $base-line-height: 150% !default;
229
220
  clip: auto;
230
221
  }
231
222
 
223
+ $white : #FFFFFF !default;
224
+ $ghost : #FAFAFA !default;
225
+ $snow : #F9F9F9 !default;
226
+ $vapor : #F6F6F6 !default;
227
+ $white-smoke : #F5F5F5 !default;
228
+ $silver : #EFEFEF !default;
229
+ $smoke : #EEEEEE !default;
230
+ $gainsboro : #DDDDDD !default;
231
+ $iron : #CCCCCC !default;
232
+ $base : #AAAAAA !default;
233
+ $aluminum : #999999 !default;
234
+ $jumbo : #888888 !default;
235
+ $monsoon : #777777 !default;
236
+ $steel : #666666 !default;
237
+ $charcoal : #555555 !default;
238
+ $tuatara : #444444 !default;
239
+ $oil : #333333 !default;
240
+ $jet : #222222 !default;
241
+ $black : #000000 !default;
242
+
243
+ // We use these as default colors throughout
244
+ $primary-color: #008CBA !default; // bondi-blue
245
+ $secondary-color: #e7e7e7 !default; // white-lilac
246
+ $alert-color: #f04124 !default; // cinnabar
247
+ $success-color: #43AC6A !default; // sea-green
248
+ $warning-color: #f08a24 !default; // carrot
249
+ $info-color: #a0d3e8 !default; // cornflower
250
+
251
+ // We use these to define default font stacks
252
+ $font-family-sans-serif: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif !default;
253
+ $font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif !default;
254
+ $font-family-monospace: Consolas, "Liberation Mono", Courier, monospace !default;
255
+
232
256
  // We use these to define default font weights
233
257
  $font-weight-normal: normal !default;
234
258
  $font-weight-bold: bold !default;
@@ -236,7 +260,7 @@ $font-weight-bold: bold !default;
236
260
  // We use these to control various global styles
237
261
  $body-bg: #fff !default;
238
262
  $body-font-color: #222 !default;
239
- $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif !default;
263
+ $body-font-family: $font-family-sans-serif !default;
240
264
  $body-font-weight: $font-weight-normal !default;
241
265
  $body-font-style: normal !default;
242
266
 
@@ -254,13 +278,6 @@ $opposite-direction: right !default;
254
278
  $default-float: right;
255
279
  $opposite-direction: left;
256
280
  }
257
- // We use these as default colors throughout
258
- $primary-color: #008CBA !default;
259
- $secondary-color: #e7e7e7 !default;
260
- $alert-color: #f04124 !default;
261
- $success-color: #43AC6A !default;
262
- $warning-color: #f08a24 !default;
263
- $info-color: #a0d3e8 !default;
264
281
 
265
282
  // We use these to make sure border radius matches unless we want it different.
266
283
  $global-radius: 3px !default;
@@ -313,6 +330,7 @@ $large: $large-up;
313
330
 
314
331
 
315
332
  //We use this as cursors values for enabling the option of having custom cursors in the whole site's stylesheet
333
+ $cursor-auto-value: auto !default;
316
334
  $cursor-crosshair-value: crosshair !default;
317
335
  $cursor-default-value: default !default;
318
336
  $cursor-pointer-value: pointer !default;
@@ -327,7 +345,7 @@ $cursor-text-value: text !default;
327
345
  // Forward slash placed around everything to convince PhantomJS to read the value.
328
346
 
329
347
  meta.foundation-version {
330
- font-family: "/5.2.3/";
348
+ font-family: "/5.4.7/";
331
349
  }
332
350
 
333
351
  meta.foundation-mq-small {
@@ -383,9 +401,9 @@ $cursor-text-value: text !default;
383
401
  font-family: $body-font-family;
384
402
  font-weight: $body-font-weight;
385
403
  font-style: $body-font-style;
386
- line-height: 1; // Set to $base-line-height to take on browser default of 150%
404
+ line-height: $base-line-height; // Set to $base-line-height to take on browser default of 150%
387
405
  position: relative;
388
- cursor: $cursor-default-value;
406
+ cursor: $cursor-auto-value;
389
407
  }
390
408
 
391
409
  a:hover { cursor: $cursor-pointer-value; }
@@ -404,10 +422,18 @@ $cursor-text-value: text !default;
404
422
  }
405
423
 
406
424
  // Miscellaneous useful HTML classes
407
- .left { float: left !important; }
408
- .right { float: right !important; }
409
- .clearfix { @include clearfix; }
410
- .hide { display: none; }
425
+ .left { float: left !important; }
426
+ .right { float: right !important; }
427
+ .clearfix { @include clearfix; }
428
+
429
+ // Hide visually and from screen readers
430
+ .hide {
431
+ display: none !important;
432
+ visibility: hidden;
433
+ }
434
+
435
+ // Hide visually and from screen readers, but maintain layout
436
+ .invisible { visibility: hidden; }
411
437
 
412
438
  // Font smoothing
413
439
  // Antialiased font smoothing works best for light text on a dark background.
@@ -13,6 +13,8 @@ $include-xl-html-grid-classes: false !default;
13
13
  $row-width: rem-calc(1000) !default;
14
14
  $total-columns: 12 !default;
15
15
 
16
+ $last-child-float: $opposite-direction !default;
17
+
16
18
  //
17
19
  // Grid Functions
18
20
  //
@@ -140,7 +142,7 @@ $total-columns: 12 !default;
140
142
  @if $center {
141
143
  margin-#{$default-float}: auto;
142
144
  margin-#{$opposite-direction}: auto;
143
- float: none !important;
145
+ float: none;
144
146
  }
145
147
 
146
148
  // If offset, calculate appropriate margins
@@ -170,8 +172,6 @@ $total-columns: 12 !default;
170
172
  .#{$size}-#{$i} { @include grid-column($columns:$i,$collapse:null,$float:false); }
171
173
  }
172
174
 
173
- [class*="column"] + [class*="column"]:last-child { float: $opposite-direction; }
174
- [class*="column"] + [class*="column"].end { float: $default-float; }
175
175
 
176
176
 
177
177
  @for $i from 0 through $total-columns - 1 {
@@ -192,7 +192,19 @@ $total-columns: 12 !default;
192
192
  .columns.#{$size}-uncentered {
193
193
  margin-#{$default-float}: 0;
194
194
  margin-#{$opposite-direction}: 0;
195
- float: $default-float !important;
195
+ float: $default-float;
196
+ }
197
+
198
+ // Fighting [class*="column"] + [class*="column"]:last-child
199
+ .column.#{$size}-centered:last-child,
200
+ .columns.#{$size}-centered:last-child{
201
+ float: none;
202
+ }
203
+
204
+ // Fighting .column.<previous-size>-centered:last-child
205
+ .column.#{$size}-uncentered:last-child,
206
+ .columns.#{$size}-uncentered:last-child {
207
+ float: $default-float;
196
208
  }
197
209
 
198
210
  .column.#{$size}-uncentered.opposite,
@@ -221,6 +233,9 @@ $total-columns: 12 !default;
221
233
  .column,
222
234
  .columns { @include grid-column($columns:$total-columns); }
223
235
 
236
+ [class*="column"] + [class*="column"]:last-child { float: $last-child-float; }
237
+ [class*="column"] + [class*="column"].end { float: $default-float; }
238
+
224
239
  @media #{$small-up} {
225
240
  @include grid-html-classes($size:small);
226
241
  }
@@ -0,0 +1,293 @@
1
+ // Foundation by ZURB
2
+ // foundation.zurb.com
3
+ // Licensed under MIT Open Source
4
+
5
+ @import "global";
6
+
7
+
8
+ // @name
9
+ // @dependencies _global.scss
10
+
11
+ $include-html-icon-bar-classes: $include-html-classes !default;
12
+
13
+ // @variables
14
+
15
+ // We use these to style the icon-bar and items
16
+ $icon-bar-bg: $oil !default;
17
+ $icon-bar-font-color: $white !default;
18
+ $icon-bar-font-size: 1rem !default;
19
+ $icon-bar-hover-color: $primary-color !default;
20
+ $icon-bar-icon-color: $white !default;
21
+ $icon-bar-icon-size: 1.875rem !default;
22
+ $icon-bar-image-width: 1.875rem !default;
23
+ $icon-bar-image-height: 1.875rem !default;
24
+ $icon-bar-active-color: $primary-color !default;
25
+ $icon-bar-item-padding: 1.25rem !default;
26
+
27
+ //
28
+ // @mixins
29
+ //
30
+
31
+ // We use this mixin to create the base styles for our Icon bar element.
32
+ //
33
+ @mixin icon-bar-base() {
34
+
35
+ width: 100%;
36
+ font-size: 0;
37
+ display: inline-block;
38
+
39
+ & > * {
40
+ text-align: center;
41
+ font-size: $icon-bar-font-size;
42
+ width: 25%;
43
+ margin: 0 auto;
44
+ display: block;
45
+ padding: $icon-bar-item-padding;
46
+ float: left;
47
+
48
+ i, img {
49
+ display: block;
50
+ margin: 0 auto;
51
+
52
+ & + label {
53
+ margin-top: .0625rem;
54
+ }
55
+ }
56
+
57
+ i {
58
+ font-size: $icon-bar-icon-size;
59
+ vertical-align: middle;
60
+ }
61
+
62
+ img {
63
+ width: $icon-bar-image-width;
64
+ height: $icon-bar-image-height;
65
+ }
66
+ }
67
+
68
+ &.label-right > * {
69
+
70
+ i, img {
71
+ margin: 0 .0625rem 0 0;
72
+ display: inline-block;
73
+
74
+ & + label {
75
+ margin-top: 0;
76
+ }
77
+ }
78
+
79
+ label { display: inline-block; }
80
+ }
81
+
82
+ &.vertical.label-right > * {
83
+ text-align: left;
84
+ }
85
+
86
+ &.vertical, &.small-vertical{
87
+ height: 100%;
88
+ width: auto;
89
+
90
+ .item {
91
+ width: auto;
92
+ margin: auto;
93
+ float: none;
94
+ }
95
+ }
96
+
97
+ &.medium-vertical {
98
+ @media #{$medium-up} {
99
+ height: 100%;
100
+ width: auto;
101
+
102
+ .item {
103
+ width: auto;
104
+ margin: auto;
105
+ float: none;
106
+ }
107
+ }
108
+ }
109
+ &.large-vertical {
110
+ @media #{$large-up} {
111
+ height: 100%;
112
+ width: auto;
113
+
114
+ .item {
115
+ width: auto;
116
+ margin: auto;
117
+ float: none;
118
+ }
119
+ }
120
+ }
121
+ }
122
+
123
+ // We use this mixin to create the size styles for icon bars.
124
+ @mixin icon-bar-size(
125
+ $padding: $icon-bar-item-padding,
126
+ $font-size: $icon-bar-font-size,
127
+ $icon-size: $icon-bar-icon-size,
128
+ $image-width: $icon-bar-image-width,
129
+ $image-height: $icon-bar-image-height) {
130
+
131
+ & > * {
132
+ font-size: $font-size;
133
+ padding: $padding;
134
+
135
+ i, img {
136
+
137
+ & + label {
138
+ margin-top: .0625rem;
139
+ }
140
+ }
141
+
142
+ i {
143
+ font-size: $icon-size;
144
+ }
145
+
146
+ img {
147
+ width: $image-width;
148
+ height: $image-height;
149
+ }
150
+ }
151
+
152
+ }
153
+
154
+ @mixin icon-bar-style(
155
+ $bar-bg:$icon-bar-bg,
156
+ $bar-font-color:$icon-bar-font-color,
157
+ $bar-hover-color:$icon-bar-hover-color,
158
+ $bar-icon-color:$icon-bar-icon-color,
159
+ $bar-active-color:$icon-bar-active-color,
160
+ $base-style:true) {
161
+
162
+ @if $base-style {
163
+
164
+ background: $bar-bg;
165
+
166
+ & > * {
167
+
168
+ &:hover { background: $bar-hover-color; }
169
+
170
+ label { color: $bar-font-color; }
171
+
172
+ i {
173
+ color: $bar-icon-color;
174
+ }
175
+ }
176
+ }
177
+
178
+ }
179
+
180
+ // We use this to quickly create icon bars with a single mixin
181
+ // $height - The overall calculated height of the icon bar (horizontal)
182
+ // $bar-bg - the background color of the bar
183
+ // $bar-font-color - the font color
184
+ // $bar-hover-color - okay these are pretty obvious variables
185
+ // $bar-icon-color - maybe we could skip explaining them all? Okay this one does change icon color if you use an icon font
186
+ // $bar-active-color - the color of an active / hover state
187
+ // $base-style - Apply base styles? Default: true.
188
+
189
+ @mixin icon-bar(
190
+ $bar-bg:$icon-bar-bg,
191
+ $bar-font-color:$icon-bar-font-color,
192
+ $bar-hover-color:$icon-bar-hover-color,
193
+ $bar-icon-color:$icon-bar-icon-color,
194
+ $bar-active-color:$icon-bar-active-color,
195
+ $padding: $icon-bar-item-padding,
196
+ $font-size: $icon-bar-font-size,
197
+ $icon-size: $icon-bar-icon-size,
198
+ $image-width: $icon-bar-image-width,
199
+ $image-height: $icon-bar-image-height,
200
+ $base-style:true) {
201
+ @include icon-bar-base();
202
+ @include icon-bar-size($padding, $font-size, $icon-size, $image-width, $image-height);
203
+ @include icon-bar-style($bar-bg, $bar-font-color, $bar-hover-color, $bar-icon-color, $bar-active-color, $base-style);
204
+ }
205
+
206
+ @include exports("icon-bar") {
207
+ @if $include-html-icon-bar-classes {
208
+ .icon-bar {
209
+ @include icon-bar;
210
+ }
211
+ }
212
+ }
213
+
214
+ @if $include-html-icon-bar-classes {
215
+
216
+ // toolbar styles
217
+
218
+ .icon-bar {
219
+
220
+ // Counts
221
+
222
+ &.two-up {
223
+ .item { width: 50%; }
224
+ &.vertical .item, &.small-vertical .item { width: auto; }
225
+ &.medium-vertical .item {
226
+ @media #{$medium-up} {
227
+ width: auto;
228
+ }
229
+ }
230
+ &.large-vertical .item {
231
+ @media #{$large-up} {
232
+ width: auto;
233
+ }
234
+ }
235
+ }
236
+ &.three-up {
237
+ .item { width: 33.3333%; }
238
+ &.vertical .item, &.small-vertical .item { width: auto; }
239
+ &.medium-vertical .item {
240
+ @media #{$medium-up} {
241
+ width: auto;
242
+ }
243
+ }
244
+ &.large-vertical .item {
245
+ @media #{$large-up} {
246
+ width: auto;
247
+ }
248
+ }
249
+ }
250
+ &.four-up {
251
+ .item { width: 25%; }
252
+ &.vertical .item, &.small-vertical .item { width: auto; }
253
+ &.medium-vertical .item {
254
+ @media #{$medium-up} {
255
+ width: auto;
256
+ }
257
+ }
258
+ &.large-vertical .item {
259
+ @media #{$large-up} {
260
+ width: auto;
261
+ }
262
+ }
263
+ }
264
+ &.five-up {
265
+ .item { width: 20%; }
266
+ &.vertical .item, &.small-vertical .item { width: auto; }
267
+ &.medium-vertical .item {
268
+ @media #{$medium-up} {
269
+ width: auto;
270
+ }
271
+ }
272
+ &.large-vertical .item {
273
+ @media #{$large-up} {
274
+ width: auto;
275
+ }
276
+ }
277
+ }
278
+ &.six-up {
279
+ .item { width: 16.66667%; }
280
+ &.vertical .item, &.small-vertical .item { width: auto; }
281
+ &.medium-vertical .item {
282
+ @media #{$medium-up} {
283
+ width: auto;
284
+ }
285
+ }
286
+ &.large-vertical .item {
287
+ @media #{$large-up} {
288
+ width: auto;
289
+ }
290
+ }
291
+ }
292
+ }
293
+ }
@@ -10,15 +10,15 @@
10
10
  $include-html-joyride-classes: $include-html-classes !default;
11
11
 
12
12
  // Controlling default Joyride styles
13
- $joyride-tip-bg: #333 !default;
13
+ $joyride-tip-bg: $oil !default;
14
14
  $joyride-tip-default-width: 300px !default;
15
15
  $joyride-tip-padding: rem-calc(18 20 24) !default;
16
- $joyride-tip-border: solid 1px #555 !default;
16
+ $joyride-tip-border: solid 1px $charcoal !default;
17
17
  $joyride-tip-radius: 4px !default;
18
18
  $joyride-tip-position-offset: 22px !default;
19
19
 
20
20
  // Here, we're setting the tip font styles
21
- $joyride-tip-font-color: #fff !default;
21
+ $joyride-tip-font-color: $white !default;
22
22
  $joyride-tip-font-size: rem-calc(14) !default;
23
23
  $joyride-tip-header-weight: $font-weight-bold !default;
24
24
 
@@ -28,10 +28,10 @@ $joyride-tip-nub-size: 10px !default;
28
28
  // This adjusts the styles for the timer when its enabled
29
29
  $joyride-tip-timer-width: 50px !default;
30
30
  $joyride-tip-timer-height: 3px !default;
31
- $joyride-tip-timer-color: #666 !default;
31
+ $joyride-tip-timer-color: $steel !default;
32
32
 
33
33
  // This changes up the styles for the close button
34
- $joyride-tip-close-color: #777 !default;
34
+ $joyride-tip-close-color: $monsoon !default;
35
35
  $joyride-tip-close-size: 24px !default;
36
36
  $joyride-tip-close-weight: $font-weight-normal !default;
37
37
 
@@ -39,7 +39,7 @@ $joyride-tip-close-weight: $font-weight-normal !default;
39
39
  $joyride-screenfill: rgba(0,0,0,0.5) !default;
40
40
 
41
41
 
42
- // We decided not to make a mixin for this because it relies on
42
+ // We decided not to make a mixin for this because it relies on
43
43
  // predefined classes to work properly.
44
44
  @include exports("joyride") {
45
45
  @if $include-html-joyride-classes {
@@ -73,6 +73,8 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
73
73
  padding: $joyride-tip-padding;
74
74
 
75
75
  .button { margin-bottom: 0 !important; }
76
+
77
+ .joyride-prev-tip { margin-right: 10px; }
76
78
  }
77
79
 
78
80
  /* Add a little css triangle pip, older browser just miss out on the fanciness of it */
@@ -151,7 +153,7 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
151
153
  line-height: .5 !important;
152
154
 
153
155
  &:hover,
154
- &:focus { color: #eee !important; }
156
+ &:focus { color: $smoke !important; }
155
157
  }
156
158
 
157
159
  .joyride-modal-bg {
@@ -168,11 +170,11 @@ $joyride-screenfill: rgba(0,0,0,0.5) !default;
168
170
  }
169
171
 
170
172
  .joyride-expose-wrapper {
171
- background-color: #ffffff;
173
+ background-color: $white;
172
174
  position: absolute;
173
175
  border-radius: 3px;
174
176
  z-index: 102;
175
- box-shadow: 0 0 15px #ffffff;
177
+ box-shadow: 0 0 15px $white;
176
178
  }
177
179
 
178
180
  .joyride-expose-cover {
@@ -12,15 +12,15 @@ $include-html-keystroke-classes: $include-html-classes !default;
12
12
  // We use these to control text styles.
13
13
  $keystroke-font: "Consolas", "Menlo", "Courier", monospace !default;
14
14
  $keystroke-font-size: inherit !default;
15
- $keystroke-font-color: #222 !default;
16
- $keystroke-font-color-alt: #fff !default;
15
+ $keystroke-font-color: $jet !default;
16
+ $keystroke-font-color-alt: $white !default;
17
17
  $keystroke-function-factor: -7% !default;
18
18
 
19
19
  // We use this to control keystroke padding.
20
20
  $keystroke-padding: rem-calc(2 4 0) !default;
21
21
 
22
22
  // We use these to control background and border styles.
23
- $keystroke-bg: scale-color(#fff, $lightness: $keystroke-function-factor) !default;
23
+ $keystroke-bg: scale-color($white, $lightness: $keystroke-function-factor) !default;
24
24
  $keystroke-border-style: solid !default;
25
25
  $keystroke-border-width: 1px !default;
26
26
  $keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor) !default;
@@ -30,7 +30,7 @@ $keystroke-radius: $global-radius !default;
30
30
  // @mixins
31
31
  //
32
32
  // We use this mixin to create keystroke styles.
33
- // $bg - Default: $keystroke-bg || scale-color(#fff, $lightness: $keystroke-function-factor) !default;
33
+ // $bg - Default: $keystroke-bg || scale-color($white, $lightness: $keystroke-function-factor) !default;
34
34
  @mixin keystroke($bg:$keystroke-bg) {
35
35
  // This find the lightness percentage of the background color.
36
36
  $bg-lightness: lightness($bg);
@@ -10,14 +10,14 @@
10
10
  $include-html-label-classes: $include-html-classes !default;
11
11
 
12
12
  // We use these to style the labels
13
- $label-padding: rem-calc(4 8 6) !default;
13
+ $label-padding: rem-calc(4 8 4) !default;
14
14
  $label-radius: $global-radius !default;
15
15
 
16
16
  // We use these to style the label text
17
17
  $label-font-sizing: rem-calc(11) !default;
18
18
  $label-font-weight: $font-weight-normal !default;
19
- $label-font-color: #333 !default;
20
- $label-font-color-alt: #fff !default;
19
+ $label-font-color: $oil !default;
20
+ $label-font-color-alt: $white !default;
21
21
  $label-font-family: $body-font-family !default;
22
22
 
23
23
  //
@@ -97,8 +97,10 @@ $label-font-family: $body-font-family !default;
97
97
  &.round { @include label-style(false, $radius:1000px); }
98
98
 
99
99
  &.alert { @include label-style($alert-color); }
100
+ &.warning { @include label-style($warning-color); }
100
101
  &.success { @include label-style($success-color); }
101
102
  &.secondary { @include label-style($secondary-color); }
103
+ &.info { @include label-style($info-color); }
102
104
  }
103
105
  }
104
106
  }
@@ -9,7 +9,7 @@
9
9
  //
10
10
  $include-html-magellan-classes: $include-html-classes !default;
11
11
 
12
- $magellan-bg: #fff !default;
12
+ $magellan-bg: $white !default;
13
13
  $magellan-padding: 10px !default;
14
14
 
15
15
  @include exports("magellan") {