locomotivecms_wagon 2.4.0.rc2 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/generators/foundation/public/javascripts/vendor/foundation.js +10839 -6523
  3. data/generators/foundation/public/javascripts/vendor/foundation.min.js +5 -3
  4. data/generators/foundation/public/stylesheets/_settings.scss +455 -115
  5. data/generators/foundation/public/stylesheets/app.css +0 -3
  6. data/generators/foundation/public/stylesheets/app.scss +15 -6
  7. data/generators/foundation/public/stylesheets/foundation.css +4191 -1885
  8. data/generators/foundation/public/stylesheets/foundation6/_global.scss +106 -54
  9. data/generators/foundation/public/stylesheets/foundation6/components/_accordion-menu.scss +157 -14
  10. data/generators/foundation/public/stylesheets/foundation6/components/_accordion.scss +71 -28
  11. data/generators/foundation/public/stylesheets/foundation6/components/_badge.scss +17 -9
  12. data/generators/foundation/public/stylesheets/foundation6/components/_breadcrumbs.scss +33 -10
  13. data/generators/foundation/public/stylesheets/foundation6/components/_button-group.scss +168 -30
  14. data/generators/foundation/public/stylesheets/foundation6/components/_button.scss +165 -44
  15. data/generators/foundation/public/stylesheets/foundation6/components/_callout.scss +9 -18
  16. data/generators/foundation/public/stylesheets/foundation6/components/_card.scss +129 -0
  17. data/generators/foundation/public/stylesheets/foundation6/components/_close-button.scss +54 -13
  18. data/generators/foundation/public/stylesheets/foundation6/components/_drilldown.scss +108 -33
  19. data/generators/foundation/public/stylesheets/foundation6/components/_dropdown-menu.scss +215 -64
  20. data/generators/foundation/public/stylesheets/foundation6/components/_dropdown.scss +22 -7
  21. data/generators/foundation/public/stylesheets/foundation6/components/_flex-video.scss +1 -68
  22. data/generators/foundation/public/stylesheets/foundation6/components/_flex.scss +117 -0
  23. data/generators/foundation/public/stylesheets/foundation6/components/_float.scss +1 -1
  24. data/generators/foundation/public/stylesheets/foundation6/components/_label.scss +16 -8
  25. data/generators/foundation/public/stylesheets/foundation6/components/_media-object.scss +50 -10
  26. data/generators/foundation/public/stylesheets/foundation6/components/_menu-icon.scss +9 -0
  27. data/generators/foundation/public/stylesheets/foundation6/components/_menu.scss +373 -91
  28. data/generators/foundation/public/stylesheets/foundation6/components/_off-canvas.scss +418 -83
  29. data/generators/foundation/public/stylesheets/foundation6/components/_orbit.scss +17 -7
  30. data/generators/foundation/public/stylesheets/foundation6/components/_pagination.scss +77 -45
  31. data/generators/foundation/public/stylesheets/foundation6/components/_progress-bar.scss +16 -35
  32. data/generators/foundation/public/stylesheets/foundation6/components/_responsive-embed.scss +70 -0
  33. data/generators/foundation/public/stylesheets/foundation6/components/_reveal.scss +59 -34
  34. data/generators/foundation/public/stylesheets/foundation6/components/_slider.scss +17 -38
  35. data/generators/foundation/public/stylesheets/foundation6/components/_sticky.scss +5 -4
  36. data/generators/foundation/public/stylesheets/foundation6/components/_switch.scss +52 -36
  37. data/generators/foundation/public/stylesheets/foundation6/components/_table.scss +197 -79
  38. data/generators/foundation/public/stylesheets/foundation6/components/_tabs.scss +126 -67
  39. data/generators/foundation/public/stylesheets/foundation6/components/_thumbnail.scss +17 -4
  40. data/generators/foundation/public/stylesheets/foundation6/components/_title-bar.scss +61 -21
  41. data/generators/foundation/public/stylesheets/foundation6/components/_tooltip.scss +74 -24
  42. data/generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss +128 -10
  43. data/generators/foundation/public/stylesheets/foundation6/components/_visibility.scss +6 -5
  44. data/generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss +14 -9
  45. data/generators/foundation/public/stylesheets/foundation6/forms/_error.scss +12 -5
  46. data/generators/foundation/public/stylesheets/foundation6/forms/_fieldset.scss +6 -6
  47. data/generators/foundation/public/stylesheets/foundation6/forms/_forms.scss +11 -9
  48. data/generators/foundation/public/stylesheets/foundation6/forms/_help-text.scss +1 -1
  49. data/generators/foundation/public/stylesheets/foundation6/forms/_input-group.scss +82 -10
  50. data/generators/foundation/public/stylesheets/foundation6/forms/_label.scss +2 -0
  51. data/generators/foundation/public/stylesheets/foundation6/forms/_meter.scss +116 -0
  52. data/generators/foundation/public/stylesheets/foundation6/forms/_progress.scss +94 -0
  53. data/generators/foundation/public/stylesheets/foundation6/forms/_range.scss +149 -0
  54. data/generators/foundation/public/stylesheets/foundation6/forms/_select.scss +36 -14
  55. data/generators/foundation/public/stylesheets/foundation6/forms/_text.scss +53 -27
  56. data/generators/foundation/public/stylesheets/foundation6/foundation.scss +59 -17
  57. data/generators/foundation/public/stylesheets/foundation6/grid/_classes.scss +100 -56
  58. data/generators/foundation/public/stylesheets/foundation6/grid/_column.scss +22 -22
  59. data/generators/foundation/public/stylesheets/foundation6/grid/_flex-grid.scss +164 -96
  60. data/generators/foundation/public/stylesheets/foundation6/grid/_grid.scss +19 -4
  61. data/generators/foundation/public/stylesheets/foundation6/grid/_gutter.scss +61 -10
  62. data/generators/foundation/public/stylesheets/foundation6/grid/_layout.scss +49 -5
  63. data/generators/foundation/public/stylesheets/foundation6/grid/_position.scss +14 -9
  64. data/generators/foundation/public/stylesheets/foundation6/grid/_row.scss +42 -15
  65. data/generators/foundation/public/stylesheets/foundation6/motion-ui/_classes.scss +11 -4
  66. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_fade.scss +4 -1
  67. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_zoom.scss +1 -1
  68. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_slide.scss +1 -1
  69. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_transition.scss +1 -1
  70. data/generators/foundation/public/stylesheets/foundation6/prototype/_arrow.scss +36 -0
  71. data/generators/foundation/public/stylesheets/foundation6/prototype/_border-box.scss +35 -0
  72. data/generators/foundation/public/stylesheets/foundation6/prototype/_border-none.scss +35 -0
  73. data/generators/foundation/public/stylesheets/foundation6/prototype/_bordered.scss +54 -0
  74. data/generators/foundation/public/stylesheets/foundation6/prototype/_box.scss +23 -0
  75. data/generators/foundation/public/stylesheets/foundation6/prototype/_display.scss +50 -0
  76. data/generators/foundation/public/stylesheets/foundation6/prototype/_font-styling.scss +95 -0
  77. data/generators/foundation/public/stylesheets/foundation6/prototype/_list-style-type.scss +95 -0
  78. data/generators/foundation/public/stylesheets/foundation6/prototype/_overflow.scss +72 -0
  79. data/generators/foundation/public/stylesheets/foundation6/prototype/_position.scss +114 -0
  80. data/generators/foundation/public/stylesheets/foundation6/prototype/_prototype.scss +87 -0
  81. data/generators/foundation/public/stylesheets/foundation6/prototype/_relation.scss +157 -0
  82. data/generators/foundation/public/stylesheets/foundation6/prototype/_rotate.scss +31 -0
  83. data/generators/foundation/public/stylesheets/foundation6/prototype/_rounded.scss +54 -0
  84. data/generators/foundation/public/stylesheets/foundation6/prototype/_separator.scss +96 -0
  85. data/generators/foundation/public/stylesheets/foundation6/prototype/_shadow.scss +43 -0
  86. data/generators/foundation/public/stylesheets/foundation6/prototype/_sizing.scss +73 -0
  87. data/generators/foundation/public/stylesheets/foundation6/prototype/_spacing.scss +204 -0
  88. data/generators/foundation/public/stylesheets/foundation6/prototype/_text-decoration.scss +48 -0
  89. data/generators/foundation/public/stylesheets/foundation6/prototype/_text-transformation.scss +48 -0
  90. data/generators/foundation/public/stylesheets/foundation6/prototype/_text-utilities.scss +88 -0
  91. data/generators/foundation/public/stylesheets/foundation6/settings/_settings.scss +454 -116
  92. data/generators/foundation/public/stylesheets/foundation6/typography/_alignment.scss +9 -8
  93. data/generators/foundation/public/stylesheets/foundation6/typography/_base.scss +128 -55
  94. data/generators/foundation/public/stylesheets/foundation6/typography/_helpers.scss +7 -4
  95. data/generators/foundation/public/stylesheets/foundation6/typography/_print.scss +22 -9
  96. data/generators/foundation/public/stylesheets/foundation6/typography/_typography.scss +0 -2
  97. data/generators/foundation/public/stylesheets/foundation6/util/_breakpoint.scss +213 -47
  98. data/generators/foundation/public/stylesheets/foundation6/util/_color.scss +105 -17
  99. data/generators/foundation/public/stylesheets/foundation6/util/_direction.scss +31 -0
  100. data/generators/foundation/public/stylesheets/foundation6/util/_flex.scss +85 -0
  101. data/generators/foundation/public/stylesheets/foundation6/util/_math.scss +72 -0
  102. data/generators/foundation/public/stylesheets/foundation6/util/_mixins.scss +161 -38
  103. data/generators/foundation/public/stylesheets/foundation6/util/_selector.scss +5 -3
  104. data/generators/foundation/public/stylesheets/foundation6/util/_typography.scss +26 -0
  105. data/generators/foundation/public/stylesheets/foundation6/util/_unit.scss +100 -17
  106. data/generators/foundation/public/stylesheets/foundation6/util/_util.scss +4 -5
  107. data/generators/foundation/public/stylesheets/foundation6/util/_value.scss +68 -25
  108. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/_normalize.scss +3 -0
  109. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_import-now.scss +11 -0
  110. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_normalize-mixin.scss +676 -0
  111. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_variables.scss +36 -0
  112. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_vertical-rhythm.scss +61 -0
  113. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_contain.scss +31 -0
  114. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_purge.scss +38 -0
  115. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_remove.scss +31 -0
  116. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_replace.scss +46 -0
  117. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_to-list.scss +27 -0
  118. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/helpers/_missing-dependencies.scss +25 -0
  119. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/helpers/_true.scss +13 -0
  120. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_cell.scss +169 -0
  121. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_classes.scss +476 -0
  122. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_collapse.scss +74 -0
  123. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_frame.scss +85 -0
  124. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_grid.scss +35 -0
  125. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_gutters.scss +45 -0
  126. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_layout.scss +33 -0
  127. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_position.scss +28 -0
  128. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_xy-grid.scss +51 -0
  129. data/lib/locomotive/wagon/tools/styled_yaml.rb +1 -1
  130. data/lib/locomotive/wagon/version.rb +1 -1
  131. data/locomotivecms_wagon.gemspec +2 -2
  132. data/spec/fixtures/cassettes/authenticate.yml +102 -48
  133. data/spec/fixtures/cassettes/delete.yml +519 -259
  134. data/spec/fixtures/cassettes/push.yml +2724 -1486
  135. metadata +61 -10
  136. data/generators/foundation/public/stylesheets/foundation6/motion-ui.scss +0 -4
  137. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize.scss +0 -424
@@ -0,0 +1,74 @@
1
+ // Foundation for Sites by ZURB
2
+ // foundation.zurb.com
3
+ // Licensed under MIT Open Source
4
+
5
+ ////
6
+ /// @group xy-grid
7
+ ////
8
+
9
+ /// Collapses the grid a cells within it.
10
+ ///
11
+ /// @param {String} $selector [.cell] - The child element to remove the gutter from.
12
+ /// @param {Keyword} $gutter-type [margin] - The type of gutter to remove.
13
+ /// @param {List} $gutter-position [right left] - The positions to remove gutters from. Accepts `top`, `bottom`, `left`, `right` in any combination.
14
+ @mixin xy-grid-collapse(
15
+ $selector: '.cell',
16
+ $gutter-type: margin,
17
+ $gutter-position: right left,
18
+ $min-breakpoint: $-zf-zero-breakpoint
19
+ ) {
20
+ // First, lets negate any margins on the top level
21
+ @if ($gutter-type == 'margin') {
22
+
23
+ @include breakpoint($min-breakpoint) {
24
+ @each $value in $gutter-position {
25
+ margin-#{$value}: 0;
26
+ }
27
+
28
+ > #{$selector} {
29
+ @each $value in $gutter-position {
30
+ margin-#{$value}: 0;
31
+ }
32
+ }
33
+ }
34
+
35
+ $excluded-bps: -zf-breakpoints-less-than($min-breakpoint);
36
+
37
+ // Output new widths to not include gutters
38
+ @each $bp in $breakpoint-classes {
39
+ @if(sl-contain($excluded-bps, $bp)) {
40
+ @include breakpoint($min-breakpoint) {
41
+ @for $i from 1 through $grid-columns {
42
+ // Sizing (percentage)
43
+ > .#{$bp}-#{$i} {
44
+ @include xy-cell-static($i, $gutter-output: false, $gutter-type: padding);
45
+ }
46
+ }
47
+ }
48
+ } @else {
49
+ @include breakpoint($bp) {
50
+ @for $i from 1 through $grid-columns {
51
+ // Sizing (percentage)
52
+ > .#{$bp}-#{$i} {
53
+ @include xy-cell-static($i, $gutter-output: false, $gutter-type: padding);
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ @else {
61
+
62
+ @include breakpoint($min-breakpoint) {
63
+ @each $value in $gutter-position {
64
+ margin-#{$value}: 0;
65
+ }
66
+
67
+ > #{$selector} {
68
+ @each $value in $gutter-position {
69
+ padding-#{$value}: 0;
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
@@ -0,0 +1,85 @@
1
+ /// Modifies a grid to give it "frame" behavior (no overflow, no wrap, stretch behavior)
2
+ ///
3
+ /// @param {Boolean} $vertical [false] - Is grid vertical or horizontal. Should match grid.
4
+ /// @param {Boolean} $nested [false] - Is grid nested or not. If nested is true this sets the frame to 100% height, otherwise will be 100vh.
5
+ /// @param {Number|Map} $gutters [null] - Map or single value for gutters.
6
+ /// @param {String} $breakpoint [null] - The name of the breakpoint size in your gutters map to get the size from.
7
+ /// @param {Boolean} $include-base [true] - Include the base styles that don't vary per breakpoint.
8
+ @mixin xy-grid-frame(
9
+ $vertical: false,
10
+ $nested: false,
11
+ $gutters: null,
12
+ $breakpoint: null,
13
+ $include-base: true
14
+ ) {
15
+
16
+ @if $include-base {
17
+ overflow: hidden;
18
+ position: relative;
19
+ flex-wrap: nowrap;
20
+ align-items: stretch;
21
+ }
22
+
23
+ @if $breakpoint == null and type-of($gutters) == 'map' {
24
+ @include -zf-each-breakpoint() {
25
+ @include xy-grid-frame($vertical, $nested, $gutters, $-zf-size, false);
26
+ }
27
+ } @else {
28
+ // Get our gutters if applicable
29
+ $gutter: -zf-get-bp-val($gutters, $breakpoint);
30
+
31
+ // If we have a gutter, add it to the width/height
32
+ @if $gutter {
33
+ @if $vertical == true {
34
+ $unit: if($nested == true, 100%, 100vh);
35
+ $gutter: rem-calc($gutter);
36
+ height: calc(#{$unit} + #{$gutter});
37
+ } @else {
38
+ $unit: if($nested == true, 100%, 100vw);
39
+ $gutter: rem-calc($gutter);
40
+ width: calc(#{$unit} + #{$gutter});
41
+ }
42
+ }
43
+ @else {
44
+ @if $vertical == true {
45
+ height: if($nested == true, 100%, 100vh);
46
+ } @else {
47
+ width: if($nested == true, 100%, 100vw);
48
+ }
49
+ }
50
+ }
51
+ }
52
+
53
+ /// Modifies a cell to give it "block" behavior (overflow auto, inertial scrolling)
54
+ ///
55
+ /// @param {Boolean} $vertical [false] - Is grid vertical or horizontal. Should match grid.
56
+ @mixin xy-cell-block(
57
+ $vertical: false
58
+ ) {
59
+ $property: if($vertical == true, 'overflow-y', 'overflow-x');
60
+
61
+ @if $vertical == true {
62
+ overflow-y: auto;
63
+ max-height: 100%;
64
+ } @else {
65
+ overflow-x: auto;
66
+ max-width: 100%;
67
+ }
68
+
69
+ -webkit-overflow-scrolling: touch;
70
+ -ms-overflow-stype: -ms-autohiding-scrollbar;
71
+ }
72
+
73
+ /// Container for inside a grid frame containing multiple blocks. Typically used
74
+ /// as a modifier for a `.cell` to allow the cell to pass along flex sizing
75
+ /// constraints / from parents to children.
76
+ @mixin xy-cell-block-container() {
77
+ display: flex;
78
+ flex-direction: column;
79
+ max-height: 100%;
80
+
81
+ > .grid-x {
82
+ max-height: 100%;
83
+ flex-wrap: nowrap;
84
+ }
85
+ }
@@ -0,0 +1,35 @@
1
+ // Foundation for Sites by ZURB
2
+ // foundation.zurb.com
3
+ // Licensed under MIT Open Source
4
+
5
+ ////
6
+ /// @group xy-grid
7
+ ////
8
+
9
+ /// Creates a max width container, designed to house your grid content.
10
+ ///
11
+ /// @param {Number} $width [$grid-container] - a width to limit the container to.
12
+ @mixin xy-grid-container(
13
+ $width: $grid-container,
14
+ $padding: $grid-container-padding
15
+ ) {
16
+ @include xy-gutters($gutters: $padding, $gutter-type: padding);
17
+
18
+ max-width: $width;
19
+ margin: 0 auto;
20
+ }
21
+
22
+ /// Creates a container for your flex cells.
23
+ ///
24
+ /// @param {Keyword} $direction [horizontal] - Either horizontal or vertical direction of cells within.
25
+ /// @param {Boolean} $wrap [true] - If the cells within should wrap or not.
26
+ @mixin xy-grid(
27
+ $direction: horizontal,
28
+ $wrap: true
29
+ ) {
30
+ $direction: if($direction == 'horizontal', row, column);
31
+ $wrap: if($wrap, wrap, nowrap);
32
+
33
+ display: flex;
34
+ flex-flow: $direction $wrap;
35
+ }
@@ -0,0 +1,45 @@
1
+ // Foundation for Sites by ZURB
2
+ // foundation.zurb.com
3
+ // Licensed under MIT Open Source
4
+
5
+ ////
6
+ /// @group xy-grid
7
+ ////
8
+
9
+ /// Create gutters for a cell/container.
10
+ ///
11
+ /// @param {Number|Map} $gutters [$grid-margin-gutters] - Map or single value for gutters.
12
+ /// @param {Keyword} $gutter-type [margin] - Type of gutter to output. Accepts either margin or padding.
13
+ /// @param {List} $gutter-position [right left] - The position to apply gutters to. Accepts `top`, `bottom`, `left`, `right` in any combination.
14
+ /// @param {Boolean} $negative [false] - Whether to apply the gutter as a negative value. Commonly used for nested grids.
15
+ @mixin xy-gutters(
16
+ $gutters: $grid-margin-gutters,
17
+ $gutter-type: margin,
18
+ $gutter-position: right left,
19
+ $negative: false
20
+ ) {
21
+ $operator: if($negative, '-', '');
22
+
23
+ // If we have declared negative gutters, force type to `margin.
24
+ $gutter-type: if($negative, 'margin', $gutter-type);
25
+
26
+ // Output our margin gutters.
27
+ @if (type-of($gutters) == 'map') {
28
+ @include -zf-breakpoint-value(auto, $gutters) {
29
+ $gutter: rem-calc($-zf-bp-value) / 2;
30
+
31
+ // Loop through each gutter position
32
+ @each $value in $gutter-position {
33
+ #{$gutter-type}-#{$value}: #{$operator}$gutter;
34
+ }
35
+ }
36
+ }
37
+ @elseif (type-of($gutters) == 'number') {
38
+ $gutter: rem-calc($gutters) / 2;
39
+
40
+ // Loop through each gutter position
41
+ @each $value in $gutter-position {
42
+ #{$gutter-type}-#{$value}: #{$operator}$gutter;
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,33 @@
1
+ // Foundation for Sites by ZURB
2
+ // foundation.zurb.com
3
+ // Licensed under MIT Open Source
4
+
5
+ ////
6
+ /// @group xy-grid
7
+ ////
8
+
9
+ /// Sizes child elements so that `$n` number of items appear on each row.
10
+ ///
11
+ /// @param {Number} $n - Number of elements to display per row.
12
+ /// @param {String} $selector ['.cell'] - Selector(s) to use for child elements.
13
+ /// @param {Boolean} $gutter-output [true] - Whether or not to output gutters
14
+ /// @param {Number|Map} $gutters [$grid-margin-gutters] - Map or single value for gutters.
15
+ /// @param {Keyword} $gutter-type [margin] - Type of gutter to output. Accepts `margin` or `padding`.
16
+ /// @param {List} $gutter-position [right left] - The position to apply gutters to. Accepts `top`, `bottom`, `left`, `right` in any combination.
17
+ /// @param {Boolean} $vertical [false] - Set to true to output vertical (height) styles rather than widths.
18
+ @mixin xy-grid-layout(
19
+ $n,
20
+ $selector: '.cell',
21
+ $gutter-output: true,
22
+ $gutters: $grid-margin-gutters,
23
+ $gutter-type: margin,
24
+ $gutter-position: right left,
25
+ $breakpoint: $-zf-zero-breakpoint,
26
+ $vertical: false
27
+ ) {
28
+ $size: percentage(1/$n);
29
+
30
+ & > #{$selector} {
31
+ @include xy-cell($size, $gutter-output, $gutters, $gutter-type, $gutter-position, $breakpoint, $vertical);
32
+ }
33
+ }
@@ -0,0 +1,28 @@
1
+ // Foundation for Sites by ZURB
2
+ // foundation.zurb.com
3
+ // Licensed under MIT Open Source
4
+
5
+ ////
6
+ /// @group xy-grid
7
+ ////
8
+
9
+ /// Offsets a column to the right/bottom by `$n` columns.
10
+ ///
11
+ /// @param {Number|List} $n - Size to offset by. You can pass in any value accepted by the `zf-cell()` mixin, such as `6`, `50%`, or `1 of 2`.
12
+ /// @param {Boolean} $vertical [false] Sets the direction of the offset. If set to true will apply margin-top instead.
13
+ @mixin xy-cell-offset(
14
+ $n,
15
+ $gutters: $grid-margin-gutters,
16
+ $gutter-type: margin,
17
+ $breakpoint: $-zf-zero-breakpoint,
18
+ $vertical: false
19
+ ) {
20
+ $direction: if($vertical, 'top', $global-left);
21
+
22
+ @include -zf-breakpoint-value($breakpoint, $gutters) {
23
+ $gutter: rem-calc($-zf-bp-value) / 2;
24
+ $size: if($gutter-type == 'margin', calc(#{xy-cell-size($n)} + #{$gutter}), #{xy-cell-size($n)});
25
+
26
+ margin-#{$direction}: #{$size};
27
+ }
28
+ }
@@ -0,0 +1,51 @@
1
+ // Foundation for Sites by ZURB
2
+ // foundation.zurb.com
3
+ // Licensed under MIT Open Source
4
+
5
+ ////
6
+ /// @group xy-grid
7
+ ////
8
+
9
+ /// Enables the XY grid.
10
+ /// @type Boolean
11
+ $xy-grid: true !default;
12
+
13
+ /// The maximum width of a grid container.
14
+ /// @type Number
15
+ $grid-container: $global-width !default;
16
+
17
+ /// The number of columns used in the grid.
18
+ /// @type Number
19
+ $grid-columns: 12 !default;
20
+
21
+ /// The amount of margin between cells at different screen sizes when using the margin grid. To use just one size, set the variable to a number instead of a map.
22
+ /// @type Map | Length
23
+ $grid-margin-gutters: (
24
+ small: 20px,
25
+ medium: 30px
26
+ ) !default;
27
+
28
+ /// The amount of padding in cells at different screen sizes when using the padding grid. To use just one size, set the variable to a number instead of a map.
29
+ /// @type Map | Length
30
+ $grid-padding-gutters: $grid-margin-gutters !default;
31
+
32
+ /// The amount of padding to use when padding the grid-container.
33
+ /// @type Map | Length
34
+ $grid-container-padding: $grid-padding-gutters !default;
35
+
36
+ /// The maximum width to apply to a grid container
37
+ /// @type Number
38
+ $grid-container-max: $global-width !default;
39
+
40
+ /// The maximum number of cells in an XY block grid.
41
+ /// @type Number
42
+ $xy-block-grid-max: 8 !default;
43
+
44
+ @import 'gutters';
45
+ @import 'grid';
46
+ @import 'cell';
47
+ @import 'frame';
48
+ @import 'position';
49
+ @import 'layout';
50
+ @import 'collapse';
51
+ @import 'classes';
@@ -105,7 +105,7 @@ module StyledYAML
105
105
  # A Psych.dump alternative that uses the custom TreeBuilder
106
106
  def self.dump obj, io = nil, options = {}
107
107
  real_io = io || StringIO.new(''.encode('utf-8'))
108
- visitor = YAMLTree.new(options, TreeBuilder.new)
108
+ visitor = YAMLTree.create(options, TreeBuilder.new)
109
109
  visitor << obj
110
110
  ast = visitor.tree
111
111
 
@@ -1,5 +1,5 @@
1
1
  module Locomotive
2
2
  module Wagon
3
- VERSION = '2.4.0.rc2'
3
+ VERSION = '2.4.0'
4
4
  end
5
5
  end
@@ -27,8 +27,8 @@ Gem::Specification.new do |gem|
27
27
  gem.add_dependency 'netrc', '~> 0.11.0'
28
28
 
29
29
  gem.add_dependency 'locomotivecms_common', '~> 0.3.0'
30
- gem.add_dependency 'locomotivecms_coal', '~> 1.5.0'
31
- gem.add_dependency 'locomotivecms_steam', '~> 1.4.0.rc1'
30
+ gem.add_dependency 'locomotivecms_coal', '~> 1.5.1'
31
+ gem.add_dependency 'locomotivecms_steam', '~> 1.4.0'
32
32
 
33
33
  gem.add_dependency 'haml', '~> 4.0.7'
34
34
  gem.add_dependency 'listen', '~> 3.1.5'
@@ -20,21 +20,31 @@ http_interactions:
20
20
  headers:
21
21
  Content-Type:
22
22
  - application/json
23
- X-Error-Detail:
24
- - Invalid email or password.
23
+ Content-Length:
24
+ - '40'
25
+ Connection:
26
+ - keep-alive
27
+ Status:
28
+ - 401 Unauthorized
25
29
  Cache-Control:
26
30
  - no-cache
27
- X-Request-Id:
28
- - 3135ef1e-c2ff-4ebd-9ef3-84f81719f663
31
+ X-Error-Detail:
32
+ - Invalid email or password.
29
33
  X-Runtime:
30
- - '0.003065'
31
- Content-Length:
32
- - '40'
34
+ - '0.218876'
35
+ X-Request-Id:
36
+ - d1fdb5d1-5e08-4b9f-9153-7ac91689d986
37
+ Date:
38
+ - Wed, 26 Sep 2018 20:37:08 GMT
39
+ X-Powered-By:
40
+ - Phusion Passenger 5.3.1
41
+ Server:
42
+ - nginx/1.14.0 + Phusion Passenger 5.3.1
33
43
  body:
34
44
  encoding: UTF-8
35
45
  string: '{"message":"Invalid email or password."}'
36
46
  http_version:
37
- recorded_at: Fri, 09 Mar 2018 11:20:57 GMT
47
+ recorded_at: Wed, 26 Sep 2018 20:37:08 GMT
38
48
  - request:
39
49
  method: post
40
50
  uri: http://localhost:3000/locomotive/api/v3/my_account.json
@@ -55,21 +65,31 @@ http_interactions:
55
65
  headers:
56
66
  Content-Type:
57
67
  - application/json
58
- ETag:
59
- - W/"8e497a154dca317960b23d7d1bfa7251"
68
+ Content-Length:
69
+ - '250'
70
+ Connection:
71
+ - keep-alive
72
+ Status:
73
+ - 201 Created
60
74
  Cache-Control:
61
75
  - max-age=0, private, must-revalidate
62
- X-Request-Id:
63
- - 5ea41529-a8bf-4cd8-a690-2f005979635c
76
+ ETag:
77
+ - W/"dee6b1c938803658bf23ded93edc449f"
64
78
  X-Runtime:
65
- - '0.050731'
66
- Content-Length:
67
- - '250'
79
+ - '0.037922'
80
+ X-Request-Id:
81
+ - 0a6fd119-299d-48f5-9065-2d635aaa53f9
82
+ Date:
83
+ - Wed, 26 Sep 2018 20:37:08 GMT
84
+ X-Powered-By:
85
+ - Phusion Passenger 5.3.1
86
+ Server:
87
+ - nginx/1.14.0 + Phusion Passenger 5.3.1
68
88
  body:
69
89
  encoding: UTF-8
70
- string: '{"_id":"5aa26e19e051bb8a0de44ece","created_at":"2018-03-09T11:20:57Z","updated_at":"2018-03-09T11:20:57Z","name":"John","email":"john@doe.net","locale":"en","api_key":"ddb35822ed0ebc95083e3ed1b506361bb94f10b2","super_admin":false,"local_admin":false}'
90
+ string: '{"_id":"5babedf4a9533064ec0350d4","created_at":"2018-09-26T20:37:08Z","updated_at":"2018-09-26T20:37:08Z","name":"John","email":"john@doe.net","locale":"en","api_key":"8ed79fb207e4eacf922a7d030138be545f98ccda","super_admin":false,"local_admin":false}'
71
91
  http_version:
72
- recorded_at: Fri, 09 Mar 2018 11:20:57 GMT
92
+ recorded_at: Wed, 26 Sep 2018 20:37:08 GMT
73
93
  - request:
74
94
  method: post
75
95
  uri: http://localhost:3000/locomotive/api/v3/tokens.json
@@ -90,24 +110,34 @@ http_interactions:
90
110
  headers:
91
111
  Content-Type:
92
112
  - application/json
93
- ETag:
94
- - W/"f002e74c360f53454cb2d1c4dc596c9d"
113
+ Content-Length:
114
+ - '32'
115
+ Connection:
116
+ - keep-alive
117
+ Status:
118
+ - 201 Created
95
119
  Cache-Control:
96
120
  - max-age=0, private, must-revalidate
97
- X-Request-Id:
98
- - b4b4c001-6a51-422f-87f5-c55e1e22880d
121
+ ETag:
122
+ - W/"54fbe8a83f4a578879f58ded5b7adf50"
99
123
  X-Runtime:
100
- - '0.004271'
101
- Content-Length:
102
- - '32'
124
+ - '0.007055'
125
+ X-Request-Id:
126
+ - db76cb6c-9e85-4233-b4ca-b31760b02ec0
127
+ Date:
128
+ - Wed, 26 Sep 2018 20:37:08 GMT
129
+ X-Powered-By:
130
+ - Phusion Passenger 5.3.1
131
+ Server:
132
+ - nginx/1.14.0 + Phusion Passenger 5.3.1
103
133
  body:
104
134
  encoding: UTF-8
105
- string: '{"token":"7ussE5FK8ZQAWxoYWaoJ"}'
135
+ string: '{"token":"hE1AJhyKRVCvfaWUAqWF"}'
106
136
  http_version:
107
- recorded_at: Fri, 09 Mar 2018 11:20:57 GMT
137
+ recorded_at: Wed, 26 Sep 2018 20:37:08 GMT
108
138
  - request:
109
139
  method: get
110
- uri: http://localhost:3000/locomotive/api/v3/my_account.json?auth_token=7ussE5FK8ZQAWxoYWaoJ
140
+ uri: http://localhost:3000/locomotive/api/v3/my_account.json?auth_token=hE1AJhyKRVCvfaWUAqWF
111
141
  body:
112
142
  encoding: US-ASCII
113
143
  string: ''
@@ -119,7 +149,7 @@ http_interactions:
119
149
  X-Locomotive-Account-Email:
120
150
  - admin@locomotivecms.com
121
151
  X-Locomotive-Account-Token:
122
- - 7ussE5FK8ZQAWxoYWaoJ
152
+ - hE1AJhyKRVCvfaWUAqWF
123
153
  response:
124
154
  status:
125
155
  code: 200
@@ -127,24 +157,36 @@ http_interactions:
127
157
  headers:
128
158
  Content-Type:
129
159
  - application/json
130
- ETag:
131
- - W/"f50f010a60faed3360aeeea1e3c7a890"
160
+ Transfer-Encoding:
161
+ - chunked
162
+ Connection:
163
+ - keep-alive
164
+ Status:
165
+ - 200 OK
132
166
  Cache-Control:
133
167
  - max-age=0, private, must-revalidate
134
- X-Request-Id:
135
- - e8bbcf8c-f607-4f56-ac39-0beafc90ad7b
168
+ ETag:
169
+ - W/"9c825b2ccbfb0b1db27457250e1d163a"
136
170
  X-Runtime:
137
- - '0.005462'
138
- Content-Length:
139
- - '261'
171
+ - '0.018540'
172
+ X-Request-Id:
173
+ - c361da84-e02e-4234-a800-7be054d333b9
174
+ Date:
175
+ - Wed, 26 Sep 2018 20:37:08 GMT
176
+ X-Powered-By:
177
+ - Phusion Passenger 5.3.1
178
+ Server:
179
+ - nginx/1.14.0 + Phusion Passenger 5.3.1
180
+ Content-Encoding:
181
+ - gzip
140
182
  body:
141
183
  encoding: UTF-8
142
- string: '{"_id":"5aa26db4e051bb89c3fe7684","created_at":"2018-03-09T11:19:16Z","updated_at":"2018-03-09T11:19:16Z","name":"Admin","email":"admin@locomotivecms.com","locale":"en","api_key":"d49cd50f6f0d2b163f48fc73cb249f0244c37074","super_admin":false,"local_admin":true}'
184
+ string: '{"_id":"5babed90a9533062ea501b61","created_at":"2018-09-26T20:35:28Z","updated_at":"2018-09-26T20:35:28Z","name":"Admin","email":"admin@locomotivecms.com","locale":"en","api_key":"d49cd50f6f0d2b163f48fc73cb249f0244c37074","super_admin":false,"local_admin":true}'
143
185
  http_version:
144
- recorded_at: Fri, 09 Mar 2018 11:20:57 GMT
186
+ recorded_at: Wed, 26 Sep 2018 20:37:08 GMT
145
187
  - request:
146
188
  method: get
147
- uri: http://localhost:3000/locomotive/api/v3/my_account.json?auth_token=7ussE5FK8ZQAWxoYWaoJ
189
+ uri: http://localhost:3000/locomotive/api/v3/my_account.json?auth_token=hE1AJhyKRVCvfaWUAqWF
148
190
  body:
149
191
  encoding: US-ASCII
150
192
  string: ''
@@ -156,7 +198,7 @@ http_interactions:
156
198
  X-Locomotive-Account-Email:
157
199
  - admin@locomotivecms.com
158
200
  X-Locomotive-Account-Token:
159
- - 7ussE5FK8ZQAWxoYWaoJ
201
+ - hE1AJhyKRVCvfaWUAqWF
160
202
  response:
161
203
  status:
162
204
  code: 200
@@ -164,19 +206,31 @@ http_interactions:
164
206
  headers:
165
207
  Content-Type:
166
208
  - application/json
167
- ETag:
168
- - W/"f50f010a60faed3360aeeea1e3c7a890"
209
+ Transfer-Encoding:
210
+ - chunked
211
+ Connection:
212
+ - keep-alive
213
+ Status:
214
+ - 200 OK
169
215
  Cache-Control:
170
216
  - max-age=0, private, must-revalidate
171
- X-Request-Id:
172
- - 60488f67-93ca-49c7-9292-e0f9c115dc9a
217
+ ETag:
218
+ - W/"9c825b2ccbfb0b1db27457250e1d163a"
173
219
  X-Runtime:
174
- - '0.005633'
175
- Content-Length:
176
- - '261'
220
+ - '0.008966'
221
+ X-Request-Id:
222
+ - c87ad837-8491-4467-8eff-4601cae4e617
223
+ Date:
224
+ - Wed, 26 Sep 2018 20:37:08 GMT
225
+ X-Powered-By:
226
+ - Phusion Passenger 5.3.1
227
+ Server:
228
+ - nginx/1.14.0 + Phusion Passenger 5.3.1
229
+ Content-Encoding:
230
+ - gzip
177
231
  body:
178
232
  encoding: UTF-8
179
- string: '{"_id":"5aa26db4e051bb89c3fe7684","created_at":"2018-03-09T11:19:16Z","updated_at":"2018-03-09T11:19:16Z","name":"Admin","email":"admin@locomotivecms.com","locale":"en","api_key":"d49cd50f6f0d2b163f48fc73cb249f0244c37074","super_admin":false,"local_admin":true}'
233
+ string: '{"_id":"5babed90a9533062ea501b61","created_at":"2018-09-26T20:35:28Z","updated_at":"2018-09-26T20:35:28Z","name":"Admin","email":"admin@locomotivecms.com","locale":"en","api_key":"d49cd50f6f0d2b163f48fc73cb249f0244c37074","super_admin":false,"local_admin":true}'
180
234
  http_version:
181
- recorded_at: Fri, 09 Mar 2018 11:20:57 GMT
235
+ recorded_at: Wed, 26 Sep 2018 20:37:08 GMT
182
236
  recorded_with: VCR 4.0.0