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,3 +1,3 @@
1
1
  module EnglishTea
2
- VERSION = "0.6.2"
2
+ VERSION = "1.0.0"
3
3
  end
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright © 2011-2017 [thoughtbot, inc.](http://thoughtbot.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the “Software”), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Filament Group
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: english_tea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Parr
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-10-17 00:00:00.000000000 Z
12
+ date: 2017-10-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -110,6 +110,7 @@ files:
110
110
  - app/assets/stylesheets/english_tea/modules/_profile.scss
111
111
  - app/assets/stylesheets/english_tea/modules/_projects.scss
112
112
  - app/assets/stylesheets/english_tea/modules/_setup.scss
113
+ - app/assets/stylesheets/english_tea/modules/_snapper.scss
113
114
  - app/assets/stylesheets/english_tea/modules/_stickybanner.scss
114
115
  - app/assets/stylesheets/english_tea/modules/_tabs.scss
115
116
  - app/assets/stylesheets/english_tea/modules/_tiles.scss
@@ -132,87 +133,8 @@ files:
132
133
  - lib/english_tea.rb
133
134
  - lib/english_tea/rails/engine.rb
134
135
  - lib/english_tea/version.rb
135
- - vendor/assets/stylesheets/bourbon.scss
136
- - vendor/assets/stylesheets/bourbon/_bourbon-deprecate.scss
137
- - vendor/assets/stylesheets/bourbon/_bourbon-deprecated-upcoming.scss
138
- - vendor/assets/stylesheets/bourbon/addons/_border-color.scss
139
- - vendor/assets/stylesheets/bourbon/addons/_border-radius.scss
140
- - vendor/assets/stylesheets/bourbon/addons/_border-style.scss
141
- - vendor/assets/stylesheets/bourbon/addons/_border-width.scss
142
- - vendor/assets/stylesheets/bourbon/addons/_buttons.scss
143
- - vendor/assets/stylesheets/bourbon/addons/_clearfix.scss
144
- - vendor/assets/stylesheets/bourbon/addons/_ellipsis.scss
145
- - vendor/assets/stylesheets/bourbon/addons/_font-stacks.scss
146
- - vendor/assets/stylesheets/bourbon/addons/_hide-text.scss
147
- - vendor/assets/stylesheets/bourbon/addons/_margin.scss
148
- - vendor/assets/stylesheets/bourbon/addons/_padding.scss
149
- - vendor/assets/stylesheets/bourbon/addons/_position.scss
150
- - vendor/assets/stylesheets/bourbon/addons/_prefixer.scss
151
- - vendor/assets/stylesheets/bourbon/addons/_retina-image.scss
152
- - vendor/assets/stylesheets/bourbon/addons/_size.scss
153
- - vendor/assets/stylesheets/bourbon/addons/_text-inputs.scss
154
- - vendor/assets/stylesheets/bourbon/addons/_timing-functions.scss
155
- - vendor/assets/stylesheets/bourbon/addons/_triangle.scss
156
- - vendor/assets/stylesheets/bourbon/addons/_word-wrap.scss
157
- - vendor/assets/stylesheets/bourbon/css3/_animation.scss
158
- - vendor/assets/stylesheets/bourbon/css3/_appearance.scss
159
- - vendor/assets/stylesheets/bourbon/css3/_backface-visibility.scss
160
- - vendor/assets/stylesheets/bourbon/css3/_background-image.scss
161
- - vendor/assets/stylesheets/bourbon/css3/_background.scss
162
- - vendor/assets/stylesheets/bourbon/css3/_border-image.scss
163
- - vendor/assets/stylesheets/bourbon/css3/_calc.scss
164
- - vendor/assets/stylesheets/bourbon/css3/_columns.scss
165
- - vendor/assets/stylesheets/bourbon/css3/_filter.scss
166
- - vendor/assets/stylesheets/bourbon/css3/_flex-box.scss
167
- - vendor/assets/stylesheets/bourbon/css3/_font-face.scss
168
- - vendor/assets/stylesheets/bourbon/css3/_font-feature-settings.scss
169
- - vendor/assets/stylesheets/bourbon/css3/_hidpi-media-query.scss
170
- - vendor/assets/stylesheets/bourbon/css3/_hyphens.scss
171
- - vendor/assets/stylesheets/bourbon/css3/_image-rendering.scss
172
- - vendor/assets/stylesheets/bourbon/css3/_keyframes.scss
173
- - vendor/assets/stylesheets/bourbon/css3/_linear-gradient.scss
174
- - vendor/assets/stylesheets/bourbon/css3/_perspective.scss
175
- - vendor/assets/stylesheets/bourbon/css3/_placeholder.scss
176
- - vendor/assets/stylesheets/bourbon/css3/_radial-gradient.scss
177
- - vendor/assets/stylesheets/bourbon/css3/_selection.scss
178
- - vendor/assets/stylesheets/bourbon/css3/_text-decoration.scss
179
- - vendor/assets/stylesheets/bourbon/css3/_transform.scss
180
- - vendor/assets/stylesheets/bourbon/css3/_transition.scss
181
- - vendor/assets/stylesheets/bourbon/css3/_user-select.scss
182
- - vendor/assets/stylesheets/bourbon/functions/_assign-inputs.scss
183
- - vendor/assets/stylesheets/bourbon/functions/_contains-falsy.scss
184
- - vendor/assets/stylesheets/bourbon/functions/_contains.scss
185
- - vendor/assets/stylesheets/bourbon/functions/_is-length.scss
186
- - vendor/assets/stylesheets/bourbon/functions/_is-light.scss
187
- - vendor/assets/stylesheets/bourbon/functions/_is-number.scss
188
- - vendor/assets/stylesheets/bourbon/functions/_is-size.scss
189
- - vendor/assets/stylesheets/bourbon/functions/_modular-scale.scss
190
- - vendor/assets/stylesheets/bourbon/functions/_px-to-em.scss
191
- - vendor/assets/stylesheets/bourbon/functions/_px-to-rem.scss
192
- - vendor/assets/stylesheets/bourbon/functions/_shade.scss
193
- - vendor/assets/stylesheets/bourbon/functions/_strip-units.scss
194
- - vendor/assets/stylesheets/bourbon/functions/_tint.scss
195
- - vendor/assets/stylesheets/bourbon/functions/_transition-property-name.scss
196
- - vendor/assets/stylesheets/bourbon/functions/_unpack.scss
197
- - vendor/assets/stylesheets/bourbon/helpers/_convert-units.scss
198
- - vendor/assets/stylesheets/bourbon/helpers/_directional-values.scss
199
- - vendor/assets/stylesheets/bourbon/helpers/_font-source-declaration.scss
200
- - vendor/assets/stylesheets/bourbon/helpers/_gradient-positions-parser.scss
201
- - vendor/assets/stylesheets/bourbon/helpers/_linear-angle-parser.scss
202
- - vendor/assets/stylesheets/bourbon/helpers/_linear-gradient-parser.scss
203
- - vendor/assets/stylesheets/bourbon/helpers/_linear-positions-parser.scss
204
- - vendor/assets/stylesheets/bourbon/helpers/_linear-side-corner-parser.scss
205
- - vendor/assets/stylesheets/bourbon/helpers/_radial-arg-parser.scss
206
- - vendor/assets/stylesheets/bourbon/helpers/_radial-gradient-parser.scss
207
- - vendor/assets/stylesheets/bourbon/helpers/_radial-positions-parser.scss
208
- - vendor/assets/stylesheets/bourbon/helpers/_render-gradients.scss
209
- - vendor/assets/stylesheets/bourbon/helpers/_shape-size-stripper.scss
210
- - vendor/assets/stylesheets/bourbon/helpers/_str-to-num.scss
211
- - vendor/assets/stylesheets/bourbon/settings/_asset-pipeline.scss
212
- - vendor/assets/stylesheets/bourbon/settings/_deprecation-warnings.scss
213
- - vendor/assets/stylesheets/bourbon/settings/_prefixer.scss
214
- - vendor/assets/stylesheets/bourbon/settings/_px-to-em.scss
215
- - vendor/assets/stylesheets/snapper.scss
136
+ - vendor/bourbon/LICENSE
137
+ - vendor/snapper/LICENSE
216
138
  homepage: https://github.com/workingnotworking/english_tea
217
139
  licenses:
218
140
  - MIT
@@ -1,91 +0,0 @@
1
- // Bourbon 4.3.4
2
- // http://bourbon.io
3
- // Copyright 2011-2017 thoughtbot, inc.
4
- // MIT License
5
- $output-bourbon-deprecation-warnings: false;
6
-
7
- @import "bourbon/settings/deprecation-warnings";
8
- @import "bourbon/settings/prefixer";
9
- @import "bourbon/settings/px-to-em";
10
- @import "bourbon/settings/asset-pipeline";
11
-
12
- @import "bourbon/bourbon-deprecate";
13
-
14
- @import "bourbon/functions/assign-inputs";
15
- @import "bourbon/functions/contains";
16
- @import "bourbon/functions/contains-falsy";
17
- @import "bourbon/functions/is-length";
18
- @import "bourbon/functions/is-light";
19
- @import "bourbon/functions/is-number";
20
- @import "bourbon/functions/is-size";
21
- @import "bourbon/functions/px-to-em";
22
- @import "bourbon/functions/px-to-rem";
23
- @import "bourbon/functions/shade";
24
- @import "bourbon/functions/strip-units";
25
- @import "bourbon/functions/tint";
26
- @import "bourbon/functions/transition-property-name";
27
- @import "bourbon/functions/unpack";
28
- @import "bourbon/functions/modular-scale";
29
-
30
- @import "bourbon/helpers/convert-units";
31
- @import "bourbon/helpers/directional-values";
32
- @import "bourbon/helpers/font-source-declaration";
33
- @import "bourbon/helpers/gradient-positions-parser";
34
- @import "bourbon/helpers/linear-angle-parser";
35
- @import "bourbon/helpers/linear-gradient-parser";
36
- @import "bourbon/helpers/linear-positions-parser";
37
- @import "bourbon/helpers/linear-side-corner-parser";
38
- @import "bourbon/helpers/radial-arg-parser";
39
- @import "bourbon/helpers/radial-positions-parser";
40
- @import "bourbon/helpers/radial-gradient-parser";
41
- @import "bourbon/helpers/render-gradients";
42
- @import "bourbon/helpers/shape-size-stripper";
43
- @import "bourbon/helpers/str-to-num";
44
-
45
- @import "bourbon/css3/animation";
46
- @import "bourbon/css3/appearance";
47
- @import "bourbon/css3/backface-visibility";
48
- @import "bourbon/css3/background";
49
- @import "bourbon/css3/background-image";
50
- @import "bourbon/css3/border-image";
51
- @import "bourbon/css3/calc";
52
- @import "bourbon/css3/columns";
53
- @import "bourbon/css3/filter";
54
- @import "bourbon/css3/flex-box";
55
- @import "bourbon/css3/font-face";
56
- @import "bourbon/css3/font-feature-settings";
57
- @import "bourbon/css3/hidpi-media-query";
58
- @import "bourbon/css3/hyphens";
59
- @import "bourbon/css3/image-rendering";
60
- @import "bourbon/css3/keyframes";
61
- @import "bourbon/css3/linear-gradient";
62
- @import "bourbon/css3/perspective";
63
- @import "bourbon/css3/placeholder";
64
- @import "bourbon/css3/radial-gradient";
65
- @import "bourbon/css3/selection";
66
- @import "bourbon/css3/text-decoration";
67
- @import "bourbon/css3/transform";
68
- @import "bourbon/css3/transition";
69
- @import "bourbon/css3/user-select";
70
-
71
- @import "bourbon/addons/border-color";
72
- @import "bourbon/addons/border-radius";
73
- @import "bourbon/addons/border-style";
74
- @import "bourbon/addons/border-width";
75
- @import "bourbon/addons/buttons";
76
- @import "bourbon/addons/clearfix";
77
- @import "bourbon/addons/ellipsis";
78
- @import "bourbon/addons/font-stacks";
79
- @import "bourbon/addons/hide-text";
80
- @import "bourbon/addons/margin";
81
- @import "bourbon/addons/padding";
82
- @import "bourbon/addons/position";
83
- @import "bourbon/addons/prefixer";
84
- @import "bourbon/addons/retina-image";
85
- @import "bourbon/addons/size";
86
- @import "bourbon/addons/text-inputs";
87
- @import "bourbon/addons/timing-functions";
88
- @import "bourbon/addons/triangle";
89
- @import "bourbon/addons/word-wrap";
90
-
91
- @import "bourbon/bourbon-deprecated-upcoming";
@@ -1,19 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- /// Throws Sass warnings to announce library deprecations. You can disable them
4
- /// by setting the `$output-bourbon-deprecation-warnings` variable to `false`.
5
- ///
6
- /// @access private
7
-
8
- @mixin _bourbon-deprecate($feature, $message: null) {
9
- @if $output-bourbon-deprecation-warnings == true {
10
- @warn "[Bourbon] [Deprecation] `#{$feature}` is deprecated and will be " +
11
- "removed in 5.0.0. #{$message}";
12
- @content;
13
- }
14
- }
15
-
16
- @mixin _bourbon-deprecate-for-prefixing($feature) {
17
- @include _bourbon-deprecate($feature, "We suggest using an automated " +
18
- "prefixing tool, like Autoprefixer.");
19
- }
@@ -1,425 +0,0 @@
1
- // The following features have been deprecated and will be removed in the next MAJOR version release
2
-
3
- @mixin inline-block {
4
- @include _bourbon-deprecate("inline-block");
5
-
6
- display: inline-block;
7
- }
8
-
9
- @mixin button ($style: simple, $base-color: #4294f0, $text-size: inherit, $padding: 7px 18px) {
10
- @include _bourbon-deprecate("button");
11
-
12
- @if type-of($style) == string and type-of($base-color) == color {
13
- @include buttonstyle($style, $base-color, $text-size, $padding);
14
- }
15
-
16
- @if type-of($style) == string and type-of($base-color) == number {
17
- $padding: $text-size;
18
- $text-size: $base-color;
19
- $base-color: #4294f0;
20
-
21
- @if $padding == inherit {
22
- $padding: 7px 18px;
23
- }
24
-
25
- @include buttonstyle($style, $base-color, $text-size, $padding);
26
- }
27
-
28
- @if type-of($style) == color and type-of($base-color) == color {
29
- $base-color: $style;
30
- $style: simple;
31
- @include buttonstyle($style, $base-color, $text-size, $padding);
32
- }
33
-
34
- @if type-of($style) == color and type-of($base-color) == number {
35
- $padding: $text-size;
36
- $text-size: $base-color;
37
- $base-color: $style;
38
- $style: simple;
39
-
40
- @if $padding == inherit {
41
- $padding: 7px 18px;
42
- }
43
-
44
- @include buttonstyle($style, $base-color, $text-size, $padding);
45
- }
46
-
47
- @if type-of($style) == number {
48
- $padding: $base-color;
49
- $text-size: $style;
50
- $base-color: #4294f0;
51
- $style: simple;
52
-
53
- @if $padding == #4294f0 {
54
- $padding: 7px 18px;
55
- }
56
-
57
- @include buttonstyle($style, $base-color, $text-size, $padding);
58
- }
59
-
60
- &:disabled {
61
- cursor: not-allowed;
62
- opacity: 0.5;
63
- }
64
- }
65
-
66
- // Selector Style Button
67
- @mixin buttonstyle($type, $b-color, $t-size, $pad) {
68
- // Grayscale button
69
- @if $type == simple and $b-color == grayscale($b-color) {
70
- @include simple($b-color, true, $t-size, $pad);
71
- }
72
-
73
- @if $type == shiny and $b-color == grayscale($b-color) {
74
- @include shiny($b-color, true, $t-size, $pad);
75
- }
76
-
77
- @if $type == pill and $b-color == grayscale($b-color) {
78
- @include pill($b-color, true, $t-size, $pad);
79
- }
80
-
81
- @if $type == flat and $b-color == grayscale($b-color) {
82
- @include flat($b-color, true, $t-size, $pad);
83
- }
84
-
85
- // Colored button
86
- @if $type == simple {
87
- @include simple($b-color, false, $t-size, $pad);
88
- }
89
-
90
- @else if $type == shiny {
91
- @include shiny($b-color, false, $t-size, $pad);
92
- }
93
-
94
- @else if $type == pill {
95
- @include pill($b-color, false, $t-size, $pad);
96
- }
97
-
98
- @else if $type == flat {
99
- @include flat($b-color, false, $t-size, $pad);
100
- }
101
- }
102
-
103
- // Simple Button
104
- @mixin simple($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) {
105
- $color: hsl(0, 0, 100%);
106
- $border: adjust-color($base-color, $saturation: 9%, $lightness: -14%);
107
- $inset-shadow: adjust-color($base-color, $saturation: -8%, $lightness: 15%);
108
- $stop-gradient: adjust-color($base-color, $saturation: 9%, $lightness: -11%);
109
- $text-shadow: adjust-color($base-color, $saturation: 15%, $lightness: -18%);
110
-
111
- @if is-light($base-color) {
112
- $color: hsl(0, 0, 20%);
113
- $text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
114
- }
115
-
116
- @if $grayscale == true {
117
- $border: grayscale($border);
118
- $inset-shadow: grayscale($inset-shadow);
119
- $stop-gradient: grayscale($stop-gradient);
120
- $text-shadow: grayscale($text-shadow);
121
- }
122
-
123
- border: 1px solid $border;
124
- border-radius: 3px;
125
- box-shadow: inset 0 1px 0 0 $inset-shadow;
126
- color: $color;
127
- display: inline-block;
128
- font-size: $textsize;
129
- font-weight: bold;
130
- @include linear-gradient ($base-color, $stop-gradient);
131
- padding: $padding;
132
- text-decoration: none;
133
- text-shadow: 0 1px 0 $text-shadow;
134
- background-clip: padding-box;
135
-
136
- &:hover:not(:disabled) {
137
- $base-color-hover: adjust-color($base-color, $saturation: -4%, $lightness: -5%);
138
- $inset-shadow-hover: adjust-color($base-color, $saturation: -7%, $lightness: 5%);
139
- $stop-gradient-hover: adjust-color($base-color, $saturation: 8%, $lightness: -14%);
140
-
141
- @if $grayscale == true {
142
- $base-color-hover: grayscale($base-color-hover);
143
- $inset-shadow-hover: grayscale($inset-shadow-hover);
144
- $stop-gradient-hover: grayscale($stop-gradient-hover);
145
- }
146
-
147
- @include linear-gradient ($base-color-hover, $stop-gradient-hover);
148
-
149
- box-shadow: inset 0 1px 0 0 $inset-shadow-hover;
150
- cursor: pointer;
151
- }
152
-
153
- &:active:not(:disabled),
154
- &:focus:not(:disabled) {
155
- $border-active: adjust-color($base-color, $saturation: 9%, $lightness: -14%);
156
- $inset-shadow-active: adjust-color($base-color, $saturation: 7%, $lightness: -17%);
157
-
158
- @if $grayscale == true {
159
- $border-active: grayscale($border-active);
160
- $inset-shadow-active: grayscale($inset-shadow-active);
161
- }
162
-
163
- border: 1px solid $border-active;
164
- box-shadow: inset 0 0 8px 4px $inset-shadow-active, inset 0 0 8px 4px $inset-shadow-active;
165
- }
166
- }
167
-
168
- // Shiny Button
169
- @mixin shiny($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) {
170
- $color: hsl(0, 0, 100%);
171
- $border: adjust-color($base-color, $red: -117, $green: -111, $blue: -81);
172
- $border-bottom: adjust-color($base-color, $red: -126, $green: -127, $blue: -122);
173
- $fourth-stop: adjust-color($base-color, $red: -79, $green: -70, $blue: -46);
174
- $inset-shadow: adjust-color($base-color, $red: 37, $green: 29, $blue: 12);
175
- $second-stop: adjust-color($base-color, $red: -56, $green: -50, $blue: -33);
176
- $text-shadow: adjust-color($base-color, $red: -140, $green: -141, $blue: -114);
177
- $third-stop: adjust-color($base-color, $red: -86, $green: -75, $blue: -48);
178
-
179
- @if is-light($base-color) {
180
- $color: hsl(0, 0, 20%);
181
- $text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
182
- }
183
-
184
- @if $grayscale == true {
185
- $border: grayscale($border);
186
- $border-bottom: grayscale($border-bottom);
187
- $fourth-stop: grayscale($fourth-stop);
188
- $inset-shadow: grayscale($inset-shadow);
189
- $second-stop: grayscale($second-stop);
190
- $text-shadow: grayscale($text-shadow);
191
- $third-stop: grayscale($third-stop);
192
- }
193
-
194
- @include linear-gradient(top, $base-color 0%, $second-stop 50%, $third-stop 50%, $fourth-stop 100%);
195
-
196
- border: 1px solid $border;
197
- border-bottom: 1px solid $border-bottom;
198
- border-radius: 5px;
199
- box-shadow: inset 0 1px 0 0 $inset-shadow;
200
- color: $color;
201
- display: inline-block;
202
- font-size: $textsize;
203
- font-weight: bold;
204
- padding: $padding;
205
- text-align: center;
206
- text-decoration: none;
207
- text-shadow: 0 -1px 1px $text-shadow;
208
-
209
- &:hover:not(:disabled) {
210
- $first-stop-hover: adjust-color($base-color, $red: -13, $green: -15, $blue: -18);
211
- $second-stop-hover: adjust-color($base-color, $red: -66, $green: -62, $blue: -51);
212
- $third-stop-hover: adjust-color($base-color, $red: -93, $green: -85, $blue: -66);
213
- $fourth-stop-hover: adjust-color($base-color, $red: -86, $green: -80, $blue: -63);
214
-
215
- @if $grayscale == true {
216
- $first-stop-hover: grayscale($first-stop-hover);
217
- $second-stop-hover: grayscale($second-stop-hover);
218
- $third-stop-hover: grayscale($third-stop-hover);
219
- $fourth-stop-hover: grayscale($fourth-stop-hover);
220
- }
221
-
222
- @include linear-gradient(top, $first-stop-hover 0%,
223
- $second-stop-hover 50%,
224
- $third-stop-hover 50%,
225
- $fourth-stop-hover 100%);
226
- cursor: pointer;
227
- }
228
-
229
- &:active:not(:disabled),
230
- &:focus:not(:disabled) {
231
- $inset-shadow-active: adjust-color($base-color, $red: -111, $green: -116, $blue: -122);
232
-
233
- @if $grayscale == true {
234
- $inset-shadow-active: grayscale($inset-shadow-active);
235
- }
236
-
237
- box-shadow: inset 0 0 20px 0 $inset-shadow-active;
238
- }
239
- }
240
-
241
- // Pill Button
242
- @mixin pill($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) {
243
- $color: hsl(0, 0, 100%);
244
- $border-bottom: adjust-color($base-color, $hue: 8, $saturation: -11%, $lightness: -26%);
245
- $border-sides: adjust-color($base-color, $hue: 4, $saturation: -21%, $lightness: -21%);
246
- $border-top: adjust-color($base-color, $hue: -1, $saturation: -30%, $lightness: -15%);
247
- $inset-shadow: adjust-color($base-color, $hue: -1, $saturation: -1%, $lightness: 7%);
248
- $stop-gradient: adjust-color($base-color, $hue: 8, $saturation: 14%, $lightness: -10%);
249
- $text-shadow: adjust-color($base-color, $hue: 5, $saturation: -19%, $lightness: -15%);
250
-
251
- @if is-light($base-color) {
252
- $color: hsl(0, 0, 20%);
253
- $text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
254
- }
255
-
256
- @if $grayscale == true {
257
- $border-bottom: grayscale($border-bottom);
258
- $border-sides: grayscale($border-sides);
259
- $border-top: grayscale($border-top);
260
- $inset-shadow: grayscale($inset-shadow);
261
- $stop-gradient: grayscale($stop-gradient);
262
- $text-shadow: grayscale($text-shadow);
263
- }
264
-
265
- border: 1px solid $border-top;
266
- border-color: $border-top $border-sides $border-bottom;
267
- border-radius: 16px;
268
- box-shadow: inset 0 1px 0 0 $inset-shadow;
269
- color: $color;
270
- display: inline-block;
271
- font-size: $textsize;
272
- font-weight: normal;
273
- line-height: 1;
274
- @include linear-gradient ($base-color, $stop-gradient);
275
- padding: $padding;
276
- text-align: center;
277
- text-decoration: none;
278
- text-shadow: 0 -1px 1px $text-shadow;
279
- background-clip: padding-box;
280
-
281
- &:hover:not(:disabled) {
282
- $base-color-hover: adjust-color($base-color, $lightness: -4.5%);
283
- $border-bottom: adjust-color($base-color, $hue: 8, $saturation: 13.5%, $lightness: -32%);
284
- $border-sides: adjust-color($base-color, $hue: 4, $saturation: -2%, $lightness: -27%);
285
- $border-top: adjust-color($base-color, $hue: -1, $saturation: -17%, $lightness: -21%);
286
- $inset-shadow-hover: adjust-color($base-color, $saturation: -1%, $lightness: 3%);
287
- $stop-gradient-hover: adjust-color($base-color, $hue: 8, $saturation: -4%, $lightness: -15.5%);
288
- $text-shadow-hover: adjust-color($base-color, $hue: 5, $saturation: -5%, $lightness: -22%);
289
-
290
- @if $grayscale == true {
291
- $base-color-hover: grayscale($base-color-hover);
292
- $border-bottom: grayscale($border-bottom);
293
- $border-sides: grayscale($border-sides);
294
- $border-top: grayscale($border-top);
295
- $inset-shadow-hover: grayscale($inset-shadow-hover);
296
- $stop-gradient-hover: grayscale($stop-gradient-hover);
297
- $text-shadow-hover: grayscale($text-shadow-hover);
298
- }
299
-
300
- @include linear-gradient ($base-color-hover, $stop-gradient-hover);
301
-
302
- background-clip: padding-box;
303
- border: 1px solid $border-top;
304
- border-color: $border-top $border-sides $border-bottom;
305
- box-shadow: inset 0 1px 0 0 $inset-shadow-hover;
306
- cursor: pointer;
307
- text-shadow: 0 -1px 1px $text-shadow-hover;
308
- }
309
-
310
- &:active:not(:disabled),
311
- &:focus:not(:disabled) {
312
- $active-color: adjust-color($base-color, $hue: 4, $saturation: -12%, $lightness: -10%);
313
- $border-active: adjust-color($base-color, $hue: 6, $saturation: -2.5%, $lightness: -30%);
314
- $border-bottom-active: adjust-color($base-color, $hue: 11, $saturation: 6%, $lightness: -31%);
315
- $inset-shadow-active: adjust-color($base-color, $hue: 9, $saturation: 2%, $lightness: -21.5%);
316
- $text-shadow-active: adjust-color($base-color, $hue: 5, $saturation: -12%, $lightness: -21.5%);
317
-
318
- @if $grayscale == true {
319
- $active-color: grayscale($active-color);
320
- $border-active: grayscale($border-active);
321
- $border-bottom-active: grayscale($border-bottom-active);
322
- $inset-shadow-active: grayscale($inset-shadow-active);
323
- $text-shadow-active: grayscale($text-shadow-active);
324
- }
325
-
326
- background: $active-color;
327
- border: 1px solid $border-active;
328
- border-bottom: 1px solid $border-bottom-active;
329
- box-shadow: inset 0 0 6px 3px $inset-shadow-active;
330
- text-shadow: 0 -1px 1px $text-shadow-active;
331
- }
332
- }
333
-
334
- // Flat Button
335
- @mixin flat($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) {
336
- $color: hsl(0, 0, 100%);
337
-
338
- @if is-light($base-color) {
339
- $color: hsl(0, 0, 20%);
340
- }
341
-
342
- background-color: $base-color;
343
- border-radius: 3px;
344
- border: 0;
345
- color: $color;
346
- display: inline-block;
347
- font-size: $textsize;
348
- font-weight: bold;
349
- padding: $padding;
350
- text-decoration: none;
351
- background-clip: padding-box;
352
-
353
- &:hover:not(:disabled){
354
- $base-color-hover: adjust-color($base-color, $saturation: 4%, $lightness: 5%);
355
-
356
- @if $grayscale == true {
357
- $base-color-hover: grayscale($base-color-hover);
358
- }
359
-
360
- background-color: $base-color-hover;
361
- cursor: pointer;
362
- }
363
-
364
- &:active:not(:disabled),
365
- &:focus:not(:disabled) {
366
- $base-color-active: adjust-color($base-color, $saturation: -4%, $lightness: -5%);
367
-
368
- @if $grayscale == true {
369
- $base-color-active: grayscale($base-color-active);
370
- }
371
-
372
- background-color: $base-color-active;
373
- cursor: pointer;
374
- }
375
- }
376
-
377
- // Flexible grid
378
- @function flex-grid($columns, $container-columns: $fg-max-columns) {
379
- @if $output-bourbon-deprecation-warnings == true {
380
- @warn "[Bourbon] [Deprecation] `flex-grid` is deprecated and will be " +
381
- "removed in 5.0.0. For grid functions, check out Bourbon's sister library" +
382
- "Neat.";
383
- }
384
-
385
- $width: $columns * $fg-column + ($columns - 1) * $fg-gutter;
386
- $container-width: $container-columns * $fg-column + ($container-columns - 1) * $fg-gutter;
387
- @return percentage($width / $container-width);
388
- }
389
-
390
- // Flexible gutter
391
- @function flex-gutter($container-columns: $fg-max-columns, $gutter: $fg-gutter) {
392
- @if $output-bourbon-deprecation-warnings == true {
393
- @warn "[Bourbon] [Deprecation] `flex-gutter` is deprecated and will be " +
394
- "removed in 5.0.0. For grid functions, check out Bourbon's sister library" +
395
- "Neat.";
396
- }
397
-
398
- $container-width: $container-columns * $fg-column + ($container-columns - 1) * $fg-gutter;
399
- @return percentage($gutter / $container-width);
400
- }
401
-
402
- @function grid-width($n) {
403
- @if $output-bourbon-deprecation-warnings == true {
404
- @warn "[Bourbon] [Deprecation] `grid-width` is deprecated and will be " +
405
- "removed in 5.0.0. For grid functions, check out Bourbon's sister library" +
406
- "Neat.";
407
- }
408
-
409
- @return $n * $gw-column + ($n - 1) * $gw-gutter;
410
- }
411
-
412
- @function golden-ratio($value, $increment) {
413
- @if $output-bourbon-deprecation-warnings == true {
414
- @warn "[Bourbon] [Deprecation] `golden-ratio` is deprecated and will be " +
415
- "removed in 5.0.0. You can use the `modular-scale` function instead.";
416
- }
417
-
418
- @return modular-scale($increment, $value, $ratio: $golden);
419
- }
420
-
421
- @mixin box-sizing($box) {
422
- @include _bourbon-deprecate-for-prefixing("box-sizing");
423
-
424
- @include prefixer(box-sizing, $box, webkit moz spec);
425
- }