english_tea 0.6.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/english_tea.scss +0 -12
  3. data/app/assets/stylesheets/english_tea/modules.scss +1 -0
  4. data/{vendor/assets/stylesheets/snapper.scss → app/assets/stylesheets/english_tea/modules/_snapper.scss} +0 -0
  5. data/app/assets/stylesheets/english_tea/setup/_mixins.scss +486 -0
  6. data/lib/english_tea/version.rb +1 -1
  7. data/vendor/bourbon/LICENSE +21 -0
  8. data/vendor/snapper/LICENSE +21 -0
  9. metadata +5 -83
  10. data/vendor/assets/stylesheets/bourbon.scss +0 -91
  11. data/vendor/assets/stylesheets/bourbon/_bourbon-deprecate.scss +0 -19
  12. data/vendor/assets/stylesheets/bourbon/_bourbon-deprecated-upcoming.scss +0 -425
  13. data/vendor/assets/stylesheets/bourbon/addons/_border-color.scss +0 -29
  14. data/vendor/assets/stylesheets/bourbon/addons/_border-radius.scss +0 -48
  15. data/vendor/assets/stylesheets/bourbon/addons/_border-style.scss +0 -28
  16. data/vendor/assets/stylesheets/bourbon/addons/_border-width.scss +0 -28
  17. data/vendor/assets/stylesheets/bourbon/addons/_buttons.scss +0 -69
  18. data/vendor/assets/stylesheets/bourbon/addons/_clearfix.scss +0 -25
  19. data/vendor/assets/stylesheets/bourbon/addons/_ellipsis.scss +0 -30
  20. data/vendor/assets/stylesheets/bourbon/addons/_font-stacks.scss +0 -31
  21. data/vendor/assets/stylesheets/bourbon/addons/_hide-text.scss +0 -27
  22. data/vendor/assets/stylesheets/bourbon/addons/_margin.scss +0 -29
  23. data/vendor/assets/stylesheets/bourbon/addons/_padding.scss +0 -29
  24. data/vendor/assets/stylesheets/bourbon/addons/_position.scss +0 -51
  25. data/vendor/assets/stylesheets/bourbon/addons/_prefixer.scss +0 -66
  26. data/vendor/assets/stylesheets/bourbon/addons/_retina-image.scss +0 -27
  27. data/vendor/assets/stylesheets/bourbon/addons/_size.scss +0 -56
  28. data/vendor/assets/stylesheets/bourbon/addons/_text-inputs.scss +0 -118
  29. data/vendor/assets/stylesheets/bourbon/addons/_timing-functions.scss +0 -34
  30. data/vendor/assets/stylesheets/bourbon/addons/_triangle.scss +0 -63
  31. data/vendor/assets/stylesheets/bourbon/addons/_word-wrap.scss +0 -29
  32. data/vendor/assets/stylesheets/bourbon/css3/_animation.scss +0 -61
  33. data/vendor/assets/stylesheets/bourbon/css3/_appearance.scss +0 -5
  34. data/vendor/assets/stylesheets/bourbon/css3/_backface-visibility.scss +0 -5
  35. data/vendor/assets/stylesheets/bourbon/css3/_background-image.scss +0 -44
  36. data/vendor/assets/stylesheets/bourbon/css3/_background.scss +0 -57
  37. data/vendor/assets/stylesheets/bourbon/css3/_border-image.scss +0 -61
  38. data/vendor/assets/stylesheets/bourbon/css3/_calc.scss +0 -6
  39. data/vendor/assets/stylesheets/bourbon/css3/_columns.scss +0 -67
  40. data/vendor/assets/stylesheets/bourbon/css3/_filter.scss +0 -6
  41. data/vendor/assets/stylesheets/bourbon/css3/_flex-box.scss +0 -327
  42. data/vendor/assets/stylesheets/bourbon/css3/_font-face.scss +0 -29
  43. data/vendor/assets/stylesheets/bourbon/css3/_font-feature-settings.scss +0 -6
  44. data/vendor/assets/stylesheets/bourbon/css3/_hidpi-media-query.scss +0 -12
  45. data/vendor/assets/stylesheets/bourbon/css3/_hyphens.scss +0 -6
  46. data/vendor/assets/stylesheets/bourbon/css3/_image-rendering.scss +0 -15
  47. data/vendor/assets/stylesheets/bourbon/css3/_keyframes.scss +0 -38
  48. data/vendor/assets/stylesheets/bourbon/css3/_linear-gradient.scss +0 -40
  49. data/vendor/assets/stylesheets/bourbon/css3/_perspective.scss +0 -12
  50. data/vendor/assets/stylesheets/bourbon/css3/_placeholder.scss +0 -10
  51. data/vendor/assets/stylesheets/bourbon/css3/_radial-gradient.scss +0 -40
  52. data/vendor/assets/stylesheets/bourbon/css3/_selection.scss +0 -44
  53. data/vendor/assets/stylesheets/bourbon/css3/_text-decoration.scss +0 -27
  54. data/vendor/assets/stylesheets/bourbon/css3/_transform.scss +0 -21
  55. data/vendor/assets/stylesheets/bourbon/css3/_transition.scss +0 -81
  56. data/vendor/assets/stylesheets/bourbon/css3/_user-select.scss +0 -5
  57. data/vendor/assets/stylesheets/bourbon/functions/_assign-inputs.scss +0 -16
  58. data/vendor/assets/stylesheets/bourbon/functions/_contains-falsy.scss +0 -25
  59. data/vendor/assets/stylesheets/bourbon/functions/_contains.scss +0 -31
  60. data/vendor/assets/stylesheets/bourbon/functions/_is-length.scss +0 -16
  61. data/vendor/assets/stylesheets/bourbon/functions/_is-light.scss +0 -26
  62. data/vendor/assets/stylesheets/bourbon/functions/_is-number.scss +0 -16
  63. data/vendor/assets/stylesheets/bourbon/functions/_is-size.scss +0 -23
  64. data/vendor/assets/stylesheets/bourbon/functions/_modular-scale.scss +0 -74
  65. data/vendor/assets/stylesheets/bourbon/functions/_px-to-em.scss +0 -24
  66. data/vendor/assets/stylesheets/bourbon/functions/_px-to-rem.scss +0 -26
  67. data/vendor/assets/stylesheets/bourbon/functions/_shade.scss +0 -24
  68. data/vendor/assets/stylesheets/bourbon/functions/_strip-units.scss +0 -22
  69. data/vendor/assets/stylesheets/bourbon/functions/_tint.scss +0 -24
  70. data/vendor/assets/stylesheets/bourbon/functions/_transition-property-name.scss +0 -37
  71. data/vendor/assets/stylesheets/bourbon/functions/_unpack.scss +0 -32
  72. data/vendor/assets/stylesheets/bourbon/helpers/_convert-units.scss +0 -26
  73. data/vendor/assets/stylesheets/bourbon/helpers/_directional-values.scss +0 -108
  74. data/vendor/assets/stylesheets/bourbon/helpers/_font-source-declaration.scss +0 -53
  75. data/vendor/assets/stylesheets/bourbon/helpers/_gradient-positions-parser.scss +0 -24
  76. data/vendor/assets/stylesheets/bourbon/helpers/_linear-angle-parser.scss +0 -35
  77. data/vendor/assets/stylesheets/bourbon/helpers/_linear-gradient-parser.scss +0 -51
  78. data/vendor/assets/stylesheets/bourbon/helpers/_linear-positions-parser.scss +0 -77
  79. data/vendor/assets/stylesheets/bourbon/helpers/_linear-side-corner-parser.scss +0 -41
  80. data/vendor/assets/stylesheets/bourbon/helpers/_radial-arg-parser.scss +0 -74
  81. data/vendor/assets/stylesheets/bourbon/helpers/_radial-gradient-parser.scss +0 -55
  82. data/vendor/assets/stylesheets/bourbon/helpers/_radial-positions-parser.scss +0 -28
  83. data/vendor/assets/stylesheets/bourbon/helpers/_render-gradients.scss +0 -31
  84. data/vendor/assets/stylesheets/bourbon/helpers/_shape-size-stripper.scss +0 -15
  85. data/vendor/assets/stylesheets/bourbon/helpers/_str-to-num.scss +0 -55
  86. data/vendor/assets/stylesheets/bourbon/settings/_asset-pipeline.scss +0 -7
  87. data/vendor/assets/stylesheets/bourbon/settings/_deprecation-warnings.scss +0 -8
  88. data/vendor/assets/stylesheets/bourbon/settings/_prefixer.scss +0 -9
  89. data/vendor/assets/stylesheets/bourbon/settings/_px-to-em.scss +0 -1
@@ -1,53 +0,0 @@
1
- // Used for creating the source string for fonts using @font-face
2
- // Reference: http://goo.gl/Ru1bKP
3
-
4
- @function font-url-prefixer($asset-pipeline) {
5
- @if $output-bourbon-deprecation-warnings == true {
6
- @warn "[Bourbon] [Deprecation] `font-url-prefixer` is deprecated and " +
7
- "will be removed in 5.0.0.";
8
- }
9
-
10
- @if $asset-pipeline == true {
11
- @return font-url;
12
- } @else {
13
- @return url;
14
- }
15
- }
16
-
17
- @function font-source-declaration(
18
- $font-family,
19
- $file-path,
20
- $asset-pipeline,
21
- $file-formats,
22
- $font-url) {
23
-
24
- @if $output-bourbon-deprecation-warnings == true {
25
- @warn "[Bourbon] [Deprecation] `font-source-declaration` is deprecated " +
26
- "and will be removed in 5.0.0.";
27
- }
28
-
29
- $src: ();
30
-
31
- $formats-map: (
32
- eot: "#{$file-path}.eot?#iefix" format("embedded-opentype"),
33
- woff2: "#{$file-path}.woff2" format("woff2"),
34
- woff: "#{$file-path}.woff" format("woff"),
35
- ttf: "#{$file-path}.ttf" format("truetype"),
36
- svg: "#{$file-path}.svg##{$font-family}" format("svg")
37
- );
38
-
39
- @each $key, $values in $formats-map {
40
- @if contains($file-formats, $key) {
41
- $file-path: nth($values, 1);
42
- $font-format: nth($values, 2);
43
-
44
- @if $asset-pipeline == true {
45
- $src: append($src, font-url($file-path) $font-format, comma);
46
- } @else {
47
- $src: append($src, url($file-path) $font-format, comma);
48
- }
49
- }
50
- }
51
-
52
- @return $src;
53
- }
@@ -1,24 +0,0 @@
1
- @function _gradient-positions-parser($gradient-type, $gradient-positions) {
2
- @if $output-bourbon-deprecation-warnings == true {
3
- @warn "[Bourbon] [Deprecation] `_gradient-positions-parser` is " +
4
- "deprecated and will be removed in 5.0.0.";
5
- }
6
-
7
- $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
8
- $output-bourbon-deprecation-warnings: false !global;
9
-
10
- @if $gradient-positions
11
- and ($gradient-type == linear)
12
- and (type-of($gradient-positions) != color) {
13
- $gradient-positions: _linear-positions-parser($gradient-positions);
14
- }
15
- @else if $gradient-positions
16
- and ($gradient-type == radial)
17
- and (type-of($gradient-positions) != color) {
18
- $gradient-positions: _radial-positions-parser($gradient-positions);
19
- }
20
-
21
- $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global;
22
-
23
- @return $gradient-positions;
24
- }
@@ -1,35 +0,0 @@
1
- // Private function for linear-gradient-parser
2
- @function _linear-angle-parser($image, $first-val, $prefix, $suffix) {
3
- @if $output-bourbon-deprecation-warnings == true {
4
- @warn "[Bourbon] [Deprecation] `_linear-angle-parser` is " +
5
- "deprecated and will be removed in 5.0.0.";
6
- }
7
-
8
- $offset: null;
9
- $unit-short: str-slice($first-val, str-length($first-val) - 2, str-length($first-val));
10
- $unit-long: str-slice($first-val, str-length($first-val) - 3, str-length($first-val));
11
-
12
- @if ($unit-long == "grad") or
13
- ($unit-long == "turn") {
14
- $offset: if($unit-long == "grad", -100grad * 3, -0.75turn);
15
- }
16
-
17
- @else if ($unit-short == "deg") or
18
- ($unit-short == "rad") {
19
- $offset: if($unit-short == "deg", -90 * 3, 1.6rad);
20
- }
21
-
22
- @if $offset {
23
- $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
24
- $output-bourbon-deprecation-warnings: false !global;
25
-
26
- $num: _str-to-num($first-val);
27
-
28
- $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global;
29
-
30
- @return (
31
- webkit-image: -webkit- + $prefix + ($offset - $num) + $suffix,
32
- spec-image: $image
33
- );
34
- }
35
- }
@@ -1,51 +0,0 @@
1
- @function _linear-gradient-parser($image) {
2
- @if $output-bourbon-deprecation-warnings == true {
3
- @warn "[Bourbon] [Deprecation] `_linear-gradient-parser` is " +
4
- "deprecated and will be removed in 5.0.0.";
5
- }
6
-
7
- $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
8
- $output-bourbon-deprecation-warnings: false !global;
9
-
10
- $image: unquote($image);
11
- $gradients: ();
12
- $start: str-index($image, "(");
13
- $end: str-index($image, ",");
14
- $first-val: str-slice($image, $start + 1, $end - 1);
15
-
16
- $prefix: str-slice($image, 1, $start);
17
- $suffix: str-slice($image, $end, str-length($image));
18
-
19
- $has-multiple-vals: str-index($first-val, " ");
20
- $has-single-position: unquote(_position-flipper($first-val) + "");
21
- $has-angle: is-number(str-slice($first-val, 1, 1));
22
-
23
- @if $has-multiple-vals {
24
- $gradients: _linear-side-corner-parser($image, $first-val, $prefix, $suffix, $has-multiple-vals);
25
- }
26
-
27
- @else if $has-single-position != "" {
28
- $pos: unquote($has-single-position + "");
29
-
30
- $gradients: (
31
- webkit-image: -webkit- + $image,
32
- spec-image: $prefix + "to " + $pos + $suffix
33
- );
34
- }
35
-
36
- @else if $has-angle {
37
- // Rotate degree for webkit
38
- $gradients: _linear-angle-parser($image, $first-val, $prefix, $suffix);
39
- }
40
-
41
- @else {
42
- $gradients: (
43
- webkit-image: -webkit- + $image,
44
- spec-image: $image
45
- );
46
- }
47
-
48
- $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global;
49
-
50
- @return $gradients;
51
- }
@@ -1,77 +0,0 @@
1
- @function _linear-positions-parser($pos) {
2
- @if $output-bourbon-deprecation-warnings == true {
3
- @warn "[Bourbon] [Deprecation] `_linear-positions-parser` is " +
4
- "deprecated and will be removed in 5.0.0.";
5
- }
6
-
7
- $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
8
- $output-bourbon-deprecation-warnings: false !global;
9
-
10
- $type: type-of(nth($pos, 1));
11
- $spec: null;
12
- $degree: null;
13
- $side: null;
14
- $corner: null;
15
- $length: length($pos);
16
- // Parse Side and corner positions
17
- @if ($length > 1) {
18
- @if nth($pos, 1) == "to" { // Newer syntax
19
- $side: nth($pos, 2);
20
-
21
- @if $length == 2 { // eg. to top
22
- // Swap for backwards compatibility
23
- $degree: _position-flipper(nth($pos, 2));
24
- }
25
- @else if $length == 3 { // eg. to top left
26
- $corner: nth($pos, 3);
27
- }
28
- }
29
- @else if $length == 2 { // Older syntax ("top left")
30
- $side: _position-flipper(nth($pos, 1));
31
- $corner: _position-flipper(nth($pos, 2));
32
- }
33
-
34
- @if ("#{$side} #{$corner}" == "left top") or ("#{$side} #{$corner}" == "top left") {
35
- $degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
36
- }
37
- @else if ("#{$side} #{$corner}" == "right top") or ("#{$side} #{$corner}" == "top right") {
38
- $degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
39
- }
40
- @else if ("#{$side} #{$corner}" == "right bottom") or ("#{$side} #{$corner}" == "bottom right") {
41
- $degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
42
- }
43
- @else if ("#{$side} #{$corner}" == "left bottom") or ("#{$side} #{$corner}" == "bottom left") {
44
- $degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
45
- }
46
- $spec: to $side $corner;
47
- }
48
- @else if $length == 1 {
49
- // Swap for backwards compatibility
50
- @if $type == string {
51
- $degree: $pos;
52
- $spec: to _position-flipper($pos);
53
- }
54
- @else {
55
- $degree: -270 - $pos; //rotate the gradient opposite from spec
56
- $spec: $pos;
57
- }
58
- }
59
- $degree: unquote($degree + ",");
60
- $spec: unquote($spec + ",");
61
-
62
- $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global;
63
-
64
- @return $degree $spec;
65
- }
66
-
67
- @function _position-flipper($pos) {
68
- @if $output-bourbon-deprecation-warnings == true {
69
- @warn "[Bourbon] [Deprecation] `_position-flipper` is " +
70
- "deprecated and will be removed in 5.0.0.";
71
- }
72
-
73
- @return if($pos == left, right, null)
74
- if($pos == right, left, null)
75
- if($pos == top, bottom, null)
76
- if($pos == bottom, top, null);
77
- }
@@ -1,41 +0,0 @@
1
- // Private function for linear-gradient-parser
2
- @function _linear-side-corner-parser($image, $first-val, $prefix, $suffix, $has-multiple-vals) {
3
- @if $output-bourbon-deprecation-warnings == true {
4
- @warn "[Bourbon] [Deprecation] `_linear-side-corner-parser` is " +
5
- "deprecated and will be removed in 5.0.0.";
6
- }
7
-
8
- $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
9
- $output-bourbon-deprecation-warnings: false !global;
10
-
11
- $val-1: str-slice($first-val, 1, $has-multiple-vals - 1);
12
- $val-2: str-slice($first-val, $has-multiple-vals + 1, str-length($first-val));
13
- $val-3: null;
14
- $has-val-3: str-index($val-2, " ");
15
-
16
- @if $has-val-3 {
17
- $val-3: str-slice($val-2, $has-val-3 + 1, str-length($val-2));
18
- $val-2: str-slice($val-2, 1, $has-val-3 - 1);
19
- }
20
-
21
- $pos: _position-flipper($val-1) _position-flipper($val-2) _position-flipper($val-3);
22
- $pos: unquote($pos + "");
23
-
24
- $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global;
25
-
26
- // Use old spec for webkit
27
- @if $val-1 == "to" {
28
- @return (
29
- webkit-image: -webkit- + $prefix + $pos + $suffix,
30
- spec-image: $image
31
- );
32
- }
33
-
34
- // Bring the code up to spec
35
- @else {
36
- @return (
37
- webkit-image: -webkit- + $image,
38
- spec-image: $prefix + "to " + $pos + $suffix
39
- );
40
- }
41
- }
@@ -1,74 +0,0 @@
1
- @function _radial-arg-parser($g1, $g2, $pos, $shape-size) {
2
- @if $output-bourbon-deprecation-warnings == true {
3
- @warn "[Bourbon] [Deprecation] `_radial-arg-parser` is " +
4
- "deprecated and will be removed in 5.0.0.";
5
- }
6
-
7
- @each $value in $g1, $g2 {
8
- $first-val: nth($value, 1);
9
- $pos-type: type-of($first-val);
10
- $spec-at-index: null;
11
-
12
- // Determine if spec was passed to mixin
13
- @if type-of($value) == list {
14
- $spec-at-index: if(index($value, at), index($value, at), false);
15
- }
16
- @if $spec-at-index {
17
- @if $spec-at-index > 1 {
18
- @for $i from 1 through ($spec-at-index - 1) {
19
- $shape-size: $shape-size nth($value, $i);
20
- }
21
- @for $i from ($spec-at-index + 1) through length($value) {
22
- $pos: $pos nth($value, $i);
23
- }
24
- }
25
- @else if $spec-at-index == 1 {
26
- @for $i from ($spec-at-index + 1) through length($value) {
27
- $pos: $pos nth($value, $i);
28
- }
29
- }
30
- $g1: null;
31
- }
32
-
33
- // If not spec calculate correct values
34
- @else {
35
- @if ($pos-type != color) or ($first-val != "transparent") {
36
- @if ($pos-type == number)
37
- or ($first-val == "center")
38
- or ($first-val == "top")
39
- or ($first-val == "right")
40
- or ($first-val == "bottom")
41
- or ($first-val == "left") {
42
-
43
- $pos: $value;
44
-
45
- @if $pos == $g1 {
46
- $g1: null;
47
- }
48
- }
49
-
50
- @else if
51
- ($first-val == "ellipse")
52
- or ($first-val == "circle")
53
- or ($first-val == "closest-side")
54
- or ($first-val == "closest-corner")
55
- or ($first-val == "farthest-side")
56
- or ($first-val == "farthest-corner")
57
- or ($first-val == "contain")
58
- or ($first-val == "cover") {
59
-
60
- $shape-size: $value;
61
-
62
- @if $value == $g1 {
63
- $g1: null;
64
- }
65
-
66
- @else if $value == $g2 {
67
- $g2: null;
68
- }
69
- }
70
- }
71
- }
72
- }
73
- @return $g1, $g2, $pos, $shape-size;
74
- }
@@ -1,55 +0,0 @@
1
- @function _radial-gradient-parser($image) {
2
- @if $output-bourbon-deprecation-warnings == true {
3
- @warn "[Bourbon] [Deprecation] `_radial-gradient-parser` is " +
4
- "deprecated and will be removed in 5.0.0.";
5
- }
6
-
7
- $image: unquote($image);
8
- $gradients: ();
9
- $start: str-index($image, "(");
10
- $end: str-index($image, ",");
11
- $first-val: str-slice($image, $start + 1, $end - 1);
12
-
13
- $prefix: str-slice($image, 1, $start);
14
- $suffix: str-slice($image, $end, str-length($image));
15
-
16
- $is-spec-syntax: str-index($first-val, "at");
17
-
18
- @if $is-spec-syntax and $is-spec-syntax > 1 {
19
- $keyword: str-slice($first-val, 1, $is-spec-syntax - 2);
20
- $pos: str-slice($first-val, $is-spec-syntax + 3, str-length($first-val));
21
- $pos: append($pos, $keyword, comma);
22
-
23
- $gradients: (
24
- webkit-image: -webkit- + $prefix + $pos + $suffix,
25
- spec-image: $image
26
- );
27
- }
28
-
29
- @else if $is-spec-syntax == 1 {
30
- $pos: str-slice($first-val, $is-spec-syntax + 3, str-length($first-val));
31
-
32
- $gradients: (
33
- webkit-image: -webkit- + $prefix + $pos + $suffix,
34
- spec-image: $image
35
- );
36
- }
37
-
38
- @else if str-index($image, "cover") or str-index($image, "contain") {
39
- @warn "Radial-gradient needs to be updated to conform to latest spec.";
40
-
41
- $gradients: (
42
- webkit-image: null,
43
- spec-image: $image
44
- );
45
- }
46
-
47
- @else {
48
- $gradients: (
49
- webkit-image: -webkit- + $image,
50
- spec-image: $image
51
- );
52
- }
53
-
54
- @return $gradients;
55
- }
@@ -1,28 +0,0 @@
1
- @function _radial-positions-parser($gradient-pos) {
2
- @if $output-bourbon-deprecation-warnings == true {
3
- @warn "[Bourbon] [Deprecation] `_radial-positions-parser` is " +
4
- "deprecated and will be removed in 5.0.0.";
5
- }
6
-
7
- $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
8
- $output-bourbon-deprecation-warnings: false !global;
9
-
10
- $shape-size: nth($gradient-pos, 1);
11
- $pos: nth($gradient-pos, 2);
12
- $shape-size-spec: _shape-size-stripper($shape-size);
13
-
14
- $pre-spec: unquote(if($pos, "#{$pos}, ", null))
15
- unquote(if($shape-size, "#{$shape-size},", null));
16
- $pos-spec: if($pos, "at #{$pos}", null);
17
-
18
- $spec: "#{$shape-size-spec} #{$pos-spec}";
19
-
20
- // Add comma
21
- @if ($spec != " ") {
22
- $spec: "#{$spec},";
23
- }
24
-
25
- $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global;
26
-
27
- @return $pre-spec $spec;
28
- }