bourbon 4.2.3 → 4.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.npmignore +2 -1
- data/.scss-lint.yml +142 -1
- data/CHANGELOG.md +47 -0
- data/LICENSE.md +1 -1
- data/README.md +21 -7
- data/app/assets/stylesheets/_bourbon-deprecate.scss +19 -0
- data/app/assets/stylesheets/_bourbon-deprecated-upcoming.scss +28 -14
- data/app/assets/stylesheets/_bourbon.scss +5 -2
- data/app/assets/stylesheets/addons/_border-color.scss +3 -0
- data/app/assets/stylesheets/addons/_border-style.scss +3 -0
- data/app/assets/stylesheets/addons/_border-width.scss +3 -0
- data/app/assets/stylesheets/addons/_buttons.scss +5 -0
- data/app/assets/stylesheets/addons/_margin.scss +3 -0
- data/app/assets/stylesheets/addons/_padding.scss +3 -0
- data/app/assets/stylesheets/addons/_position.scss +3 -0
- data/app/assets/stylesheets/addons/_retina-image.scss +2 -0
- data/app/assets/stylesheets/addons/_size.scss +5 -0
- data/app/assets/stylesheets/addons/_text-inputs.scss +6 -0
- data/app/assets/stylesheets/css3/_animation.scss +18 -0
- data/app/assets/stylesheets/css3/_appearance.scss +2 -0
- data/app/assets/stylesheets/css3/_backface-visibility.scss +2 -0
- data/app/assets/stylesheets/css3/_background-image.scss +4 -2
- data/app/assets/stylesheets/css3/_background.scss +4 -2
- data/app/assets/stylesheets/css3/_border-image.scss +4 -2
- data/app/assets/stylesheets/css3/_calc.scss +2 -0
- data/app/assets/stylesheets/css3/_columns.scss +21 -1
- data/app/assets/stylesheets/css3/_filter.scss +2 -0
- data/app/assets/stylesheets/css3/_flex-box.scss +40 -0
- data/app/assets/stylesheets/css3/_font-face.scss +5 -0
- data/app/assets/stylesheets/css3/_font-feature-settings.scss +2 -0
- data/app/assets/stylesheets/css3/_hidpi-media-query.scss +2 -0
- data/app/assets/stylesheets/css3/_hyphens.scss +2 -0
- data/app/assets/stylesheets/css3/_image-rendering.scss +1 -0
- data/app/assets/stylesheets/css3/_keyframes.scss +2 -0
- data/app/assets/stylesheets/css3/_linear-gradient.scss +2 -0
- data/app/assets/stylesheets/css3/_perspective.scss +4 -0
- data/app/assets/stylesheets/css3/_placeholder.scss +2 -0
- data/app/assets/stylesheets/css3/_radial-gradient.scss +3 -2
- data/app/assets/stylesheets/css3/_selection.scss +2 -0
- data/app/assets/stylesheets/css3/_text-decoration.scss +8 -0
- data/app/assets/stylesheets/css3/_transform.scss +6 -0
- data/app/assets/stylesheets/css3/_transition.scss +10 -0
- data/app/assets/stylesheets/css3/_user-select.scss +2 -0
- data/app/assets/stylesheets/functions/_assign-inputs.scss +5 -0
- data/app/assets/stylesheets/functions/_contains-falsy.scss +5 -0
- data/app/assets/stylesheets/functions/_contains.scss +5 -0
- data/app/assets/stylesheets/functions/_is-length.scss +5 -0
- data/app/assets/stylesheets/functions/_is-light.scss +5 -0
- data/app/assets/stylesheets/functions/_is-number.scss +5 -0
- data/app/assets/stylesheets/functions/_is-size.scss +10 -0
- data/app/assets/stylesheets/functions/_modular-scale.scss +5 -0
- data/app/assets/stylesheets/functions/_px-to-em.scss +11 -0
- data/app/assets/stylesheets/functions/_px-to-rem.scss +11 -0
- data/app/assets/stylesheets/functions/_strip-units.scss +5 -0
- data/app/assets/stylesheets/functions/_transition-property-name.scss +15 -0
- data/app/assets/stylesheets/functions/_unpack.scss +5 -0
- data/app/assets/stylesheets/helpers/_convert-units.scss +5 -0
- data/app/assets/stylesheets/helpers/_directional-values.scss +12 -0
- data/app/assets/stylesheets/helpers/_font-source-declaration.scss +10 -0
- data/app/assets/stylesheets/helpers/_gradient-positions-parser.scss +11 -0
- data/app/assets/stylesheets/helpers/_linear-angle-parser.scss +10 -0
- data/app/assets/stylesheets/helpers/_linear-gradient-parser.scss +12 -2
- data/app/assets/stylesheets/helpers/_linear-positions-parser.scss +18 -2
- data/app/assets/stylesheets/helpers/_linear-side-corner-parser.scss +12 -2
- data/app/assets/stylesheets/helpers/_radial-arg-parser.scss +5 -0
- data/app/assets/stylesheets/helpers/_radial-gradient-parser.scss +6 -1
- data/app/assets/stylesheets/helpers/_radial-positions-parser.scss +10 -0
- data/app/assets/stylesheets/helpers/_render-gradients.scss +5 -0
- data/app/assets/stylesheets/helpers/_shape-size-stripper.scss +5 -0
- data/app/assets/stylesheets/helpers/_str-to-num.scss +5 -0
- data/app/assets/stylesheets/settings/_deprecation-warnings.scss +8 -0
- data/bourbon.gemspec +6 -6
- data/bower.json +1 -1
- data/circle.yml +10 -0
- data/eyeglass-exports.js +7 -0
- data/index.js +7 -0
- data/lib/bourbon/version.rb +1 -1
- data/package.json +7 -2
- data/spec/bourbon/addons/text_inputs_spec.rb +1 -0
- data/spec/bourbon/functions/shade_spec.rb +2 -2
- data/spec/bourbon/functions/tint_spec.rb +2 -2
- data/spec/fixtures/functions/shade.scss +2 -2
- data/spec/fixtures/functions/tint.scss +2 -2
- metadata +34 -30
- data/.travis.yml +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ef6ee45b54f96a49f9efeff2b37dc73297b1c28
|
4
|
+
data.tar.gz: 1755915841bdfb3100093e7ef80d4c8fb8d8a45e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b8f67656224a3c4ecf787c127987d72a8833edf30a57843448334a68b50646366c529a861e530fa49f2e440a4193932a49a76cb6cf6957a3eab79df6a912743
|
7
|
+
data.tar.gz: bfaea42d9444d693e4ef97c2d8886d1ceaa29b62a1d997cab3d139e4d639dfd11cfbd8e259bf5d35ad98debba656295106a6b61a60929c657fcd2911198bfff2
|
data/.gitignore
CHANGED
data/.npmignore
CHANGED
data/.scss-lint.yml
CHANGED
@@ -1,14 +1,155 @@
|
|
1
1
|
scss_files: "app/assets/stylesheets/**/*.scss"
|
2
2
|
linters:
|
3
|
-
|
3
|
+
BangFormat:
|
4
|
+
enabled: true
|
5
|
+
space_before_bang: true
|
6
|
+
space_after_bang: false
|
7
|
+
BemDepth:
|
4
8
|
enabled: false
|
9
|
+
BorderZero:
|
10
|
+
enabled: true
|
11
|
+
convention: zero
|
12
|
+
ColorKeyword:
|
13
|
+
enabled: true
|
5
14
|
ColorVariable:
|
6
15
|
enabled: false
|
16
|
+
Comment:
|
17
|
+
enabled: true
|
18
|
+
DebugStatement:
|
19
|
+
enabled: true
|
20
|
+
DeclarationOrder:
|
21
|
+
enabled: true
|
22
|
+
DisableLinterReason:
|
23
|
+
enabled: false
|
24
|
+
DuplicateProperty:
|
25
|
+
enabled: true
|
26
|
+
ElsePlacement:
|
27
|
+
enabled: true
|
28
|
+
style: same_line
|
29
|
+
EmptyLineBetweenBlocks:
|
30
|
+
enabled: true
|
31
|
+
ignore_single_line_blocks: true
|
32
|
+
EmptyRule:
|
33
|
+
enabled: true
|
34
|
+
ExtendDirective:
|
35
|
+
enabled: false
|
36
|
+
FinalNewline:
|
37
|
+
enabled: true
|
38
|
+
present: true
|
39
|
+
HexLength:
|
40
|
+
enabled: true
|
41
|
+
style: short
|
42
|
+
HexNotation:
|
43
|
+
enabled: true
|
44
|
+
style: lowercase
|
45
|
+
HexValidation:
|
46
|
+
enabled: true
|
47
|
+
IdSelector:
|
48
|
+
enabled: true
|
49
|
+
ImportantRule:
|
50
|
+
enabled: true
|
51
|
+
ImportPath:
|
52
|
+
enabled: true
|
53
|
+
leading_underscore: false
|
54
|
+
filename_extension: false
|
55
|
+
Indentation:
|
56
|
+
enabled: true
|
57
|
+
allow_non_nested_indentation: false
|
58
|
+
character: space
|
59
|
+
width: 2
|
7
60
|
LeadingZero:
|
8
61
|
enabled: true
|
9
62
|
style: include_zero
|
63
|
+
MergeableSelector:
|
64
|
+
enabled: true
|
65
|
+
force_nesting: true
|
66
|
+
NameFormat:
|
67
|
+
enabled: true
|
68
|
+
allow_leading_underscore: true
|
69
|
+
convention: hyphenated_lowercase
|
70
|
+
NestingDepth:
|
71
|
+
enabled: true
|
72
|
+
max_depth: 3
|
73
|
+
ignore_parent_selectors: false
|
74
|
+
PlaceholderInExtend:
|
75
|
+
enabled: true
|
76
|
+
PropertyCount:
|
77
|
+
enabled: false
|
78
|
+
PropertySortOrder:
|
79
|
+
enabled: true
|
80
|
+
ignore_unspecified: false
|
81
|
+
separate_groups: false
|
82
|
+
PropertySpelling:
|
83
|
+
enabled: true
|
84
|
+
PropertyUnits:
|
85
|
+
enabled: true
|
86
|
+
properties:
|
87
|
+
line-height: []
|
88
|
+
QualifyingElement:
|
89
|
+
enabled: true
|
90
|
+
allow_element_with_attribute: false
|
91
|
+
allow_element_with_class: false
|
92
|
+
allow_element_with_id: false
|
93
|
+
SelectorDepth:
|
94
|
+
enabled: true
|
95
|
+
max_depth: 2
|
96
|
+
severity: warning
|
10
97
|
SelectorFormat:
|
11
98
|
enabled: false
|
99
|
+
Shorthand:
|
100
|
+
enabled: true
|
101
|
+
allowed_shorthands: [1, 2, 3]
|
102
|
+
SingleLinePerProperty:
|
103
|
+
enabled: true
|
104
|
+
allow_single_line_rule_sets: true
|
105
|
+
SingleLinePerSelector:
|
106
|
+
enabled: true
|
107
|
+
SpaceAfterComma:
|
108
|
+
enabled: true
|
109
|
+
style: one_space
|
110
|
+
SpaceAfterPropertyColon:
|
111
|
+
enabled: true
|
112
|
+
style: one_space
|
113
|
+
SpaceAfterPropertyName:
|
114
|
+
enabled: true
|
115
|
+
SpaceAfterVariableName:
|
116
|
+
enabled: true
|
117
|
+
SpaceAroundOperator:
|
118
|
+
enabled: false
|
119
|
+
SpaceBeforeBrace:
|
120
|
+
enabled: true
|
121
|
+
style: space
|
122
|
+
allow_single_line_padding: false
|
123
|
+
SpaceBetweenParens:
|
124
|
+
enabled: true
|
125
|
+
spaces: 0
|
12
126
|
StringQuotes:
|
13
127
|
enabled: true
|
14
128
|
style: double_quotes
|
129
|
+
TrailingSemicolon:
|
130
|
+
enabled: true
|
131
|
+
TrailingWhitespace:
|
132
|
+
enabled: true
|
133
|
+
TrailingZero:
|
134
|
+
enabled: false
|
135
|
+
TransitionAll:
|
136
|
+
enabled: true
|
137
|
+
severity: warning
|
138
|
+
UnnecessaryMantissa:
|
139
|
+
enabled: true
|
140
|
+
UnnecessaryParentReference:
|
141
|
+
enabled: true
|
142
|
+
UrlFormat:
|
143
|
+
enabled: true
|
144
|
+
severity: warning
|
145
|
+
UrlQuotes:
|
146
|
+
enabled: true
|
147
|
+
VariableForProperty:
|
148
|
+
enabled: false
|
149
|
+
VendorPrefix:
|
150
|
+
enabled: true
|
151
|
+
identifier_list: base
|
152
|
+
ZeroUnit:
|
153
|
+
enabled: true
|
154
|
+
Compass::*:
|
155
|
+
enabled: false
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file. This
|
4
|
+
project adheres to [Semantic Versioning](http://semver.org).
|
5
|
+
|
6
|
+
## 4.3.4 - 2017-04-01
|
7
|
+
|
8
|
+
### Changed
|
9
|
+
|
10
|
+
- Updated deprecation warning message for `strip-units`. ([#1016])
|
11
|
+
|
12
|
+
[#1016]: https://github.com/thoughtbot/bourbon/pull/1016
|
13
|
+
|
14
|
+
## 4.3.3 - 2017-02-23
|
15
|
+
|
16
|
+
### Fixed
|
17
|
+
|
18
|
+
- Internal Bourbon deprecation warnings for `is-size` and `is-length` will no
|
19
|
+
longer be thrown when using the `size` mixin.
|
20
|
+
|
21
|
+
## 4.3.2 - 2017-02-10
|
22
|
+
|
23
|
+
### Fixed
|
24
|
+
|
25
|
+
- Internal Bourbon deprecation warnings for `unpack` and `is-length` will no
|
26
|
+
longer be thrown when using the `position` mixin. ([#1004])
|
27
|
+
|
28
|
+
[#1004]: https://github.com/thoughtbot/bourbon/pull/1004
|
29
|
+
|
30
|
+
## 4.3.1 - 2017-02-07
|
31
|
+
|
32
|
+
### Fixed
|
33
|
+
|
34
|
+
- Internal Bourbon deprecation warnings will no longer be thrown. ([#1002])
|
35
|
+
|
36
|
+
[#1002]: https://github.com/thoughtbot/bourbon/pull/1002
|
37
|
+
|
38
|
+
## 4.3.0 - 2017-02-03
|
39
|
+
|
40
|
+
### Added
|
41
|
+
|
42
|
+
- Added deprecation warnings for features that will be removed in 5.0.0. Please
|
43
|
+
reference our [change log], which includes a list of these changes and
|
44
|
+
removals. ([#891])
|
45
|
+
|
46
|
+
[change log]: https://github.com/thoughtbot/bourbon/blob/master/CHANGELOG.md
|
47
|
+
[#891]: https://github.com/thoughtbot/bourbon/pull/891
|
data/LICENSE.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright © 2011–
|
3
|
+
Copyright © 2011–2017 [thoughtbot, inc.](http://thoughtbot.com)
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the “Software”), to deal
|
data/README.md
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
[![Bourbon](http://images.thoughtbot.com/bourbon/bourbon-logo.svg)](http://bourbon.io)
|
2
2
|
|
3
|
-
[![
|
4
|
-
[![
|
5
|
-
[![Gitter chat](https://img.shields.io/badge/gitter-thoughtbot/bourbon-ae3dd2.svg?style=flat)](https://gitter.im/thoughtbot/bourbon)
|
6
|
-
[![Stack Overflow](http://img.shields.io/badge/stack%20overflow-bourbon-ae3dd2.svg?style=flat)](http://stackoverflow.com/questions/tagged/bourbon)
|
3
|
+
[![GitHub release](https://img.shields.io/github/release/thoughtbot/bourbon.svg)](https://github.com/thoughtbot/bourbon/releases)
|
4
|
+
[![CircleCI branch](https://img.shields.io/circleci/project/thoughtbot/bourbon/master.svg)](https://circleci.com/gh/thoughtbot/bourbon/tree/master)
|
7
5
|
|
8
6
|
## A simple and lightweight mixin library for Sass.
|
9
7
|
|
@@ -74,7 +72,7 @@ For command line help, visit our wiki page on Bourbon’s [command line interfac
|
|
74
72
|
mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss
|
75
73
|
```
|
76
74
|
|
77
|
-
4. Delete _all_ Sprockets directives in `application.scss` (`require`, `require_tree` and `require_self`) and use Sass’s native `@import` instead.
|
75
|
+
4. Delete _all_ Sprockets directives in `application.scss` (`require`, `require_tree` and `require_self`) and use Sass’s native `@import` instead. ([why?](http://pivotallabs.com/structure-your-sass-files-with-import))
|
78
76
|
|
79
77
|
5. Import Bourbon at the beginning of `application.scss`. All additional stylesheets should be imported below Bourbon:
|
80
78
|
|
@@ -86,6 +84,22 @@ For command line help, visit our wiki page on Bourbon’s [command line interfac
|
|
86
84
|
|
87
85
|
[Help! I’m getting an undefined mixin error.](https://github.com/thoughtbot/bourbon/wiki/Rails-Help-%5C-Undefined-mixin)
|
88
86
|
|
87
|
+
## Installing with npm and using a Node-based asset pipeline
|
88
|
+
|
89
|
+
1. Add Bourbon as a dependency:
|
90
|
+
|
91
|
+
```bash
|
92
|
+
npm install --save bourbon
|
93
|
+
```
|
94
|
+
|
95
|
+
2. If you’re using [Eyeglass](http://eyeglass.rocks), skip to Step 3. Otherwise, you’ll need to add Bourbon to your node-sass `includePaths` option. `require("bourbon").includePaths` is an array of directories that you should pass to node-sass. How you do this depends on how node-sass is integrated into your project.
|
96
|
+
|
97
|
+
3. Import Bourbon into your Sass files:
|
98
|
+
|
99
|
+
```scss
|
100
|
+
@import "bourbon";
|
101
|
+
```
|
102
|
+
|
89
103
|
## Installing older versions of Bourbon
|
90
104
|
|
91
105
|
1. Uninstall any Bourbon gem versions you already have:
|
@@ -121,13 +135,13 @@ Also check out [Proteus](https://github.com/thoughtbot/proteus), a collection of
|
|
121
135
|
|
122
136
|
## License
|
123
137
|
|
124
|
-
Copyright © 2011–
|
138
|
+
Copyright © 2011–2017 [thoughtbot, inc](http://thoughtbot.com).
|
125
139
|
Bourbon is free software,
|
126
140
|
and may be redistributed under the terms specified in the [license](LICENSE.md).
|
127
141
|
|
128
142
|
## About thoughtbot
|
129
143
|
|
130
|
-
[
|
144
|
+
[<img src="http://thoughtbot.github.io/images/signature.svg" width="250" alt="thoughtbot logo">][hire]
|
131
145
|
|
132
146
|
Bourbon is maintained and funded by thoughtbot, inc.
|
133
147
|
The names and logos for thoughtbot are trademarks of thoughtbot, inc.
|
@@ -0,0 +1,19 @@
|
|
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,12 +1,13 @@
|
|
1
1
|
// The following features have been deprecated and will be removed in the next MAJOR version release
|
2
2
|
|
3
3
|
@mixin inline-block {
|
4
|
-
|
4
|
+
@include _bourbon-deprecate("inline-block");
|
5
5
|
|
6
|
-
|
6
|
+
display: inline-block;
|
7
7
|
}
|
8
8
|
|
9
9
|
@mixin button ($style: simple, $base-color: #4294f0, $text-size: inherit, $padding: 7px 18px) {
|
10
|
+
@include _bourbon-deprecate("button");
|
10
11
|
|
11
12
|
@if type-of($style) == string and type-of($base-color) == color {
|
12
13
|
@include buttonstyle($style, $base-color, $text-size, $padding);
|
@@ -60,8 +61,6 @@
|
|
60
61
|
cursor: not-allowed;
|
61
62
|
opacity: 0.5;
|
62
63
|
}
|
63
|
-
|
64
|
-
@warn "The button mixin is deprecated and will be removed in the next major version release";
|
65
64
|
}
|
66
65
|
|
67
66
|
// Selector Style Button
|
@@ -377,35 +376,50 @@
|
|
377
376
|
|
378
377
|
// Flexible grid
|
379
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
|
+
|
380
385
|
$width: $columns * $fg-column + ($columns - 1) * $fg-gutter;
|
381
386
|
$container-width: $container-columns * $fg-column + ($container-columns - 1) * $fg-gutter;
|
382
387
|
@return percentage($width / $container-width);
|
383
|
-
|
384
|
-
@warn "The flex-grid function is deprecated and will be removed in the next major version release";
|
385
388
|
}
|
386
389
|
|
387
390
|
// Flexible gutter
|
388
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
|
+
|
389
398
|
$container-width: $container-columns * $fg-column + ($container-columns - 1) * $fg-gutter;
|
390
399
|
@return percentage($gutter / $container-width);
|
391
|
-
|
392
|
-
@warn "The flex-gutter function is deprecated and will be removed in the next major version release";
|
393
400
|
}
|
394
401
|
|
395
402
|
@function grid-width($n) {
|
396
|
-
@
|
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
|
+
}
|
397
408
|
|
398
|
-
@
|
409
|
+
@return $n * $gw-column + ($n - 1) * $gw-gutter;
|
399
410
|
}
|
400
411
|
|
401
412
|
@function golden-ratio($value, $increment) {
|
402
|
-
@
|
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
|
+
}
|
403
417
|
|
404
|
-
@
|
418
|
+
@return modular-scale($increment, $value, $ratio: $golden);
|
405
419
|
}
|
406
420
|
|
407
421
|
@mixin box-sizing($box) {
|
408
|
-
@include
|
422
|
+
@include _bourbon-deprecate-for-prefixing("box-sizing");
|
409
423
|
|
410
|
-
@
|
424
|
+
@include prefixer(box-sizing, $box, webkit moz spec);
|
411
425
|
}
|
@@ -1,12 +1,15 @@
|
|
1
|
-
// Bourbon 4.
|
1
|
+
// Bourbon 4.3.4
|
2
2
|
// http://bourbon.io
|
3
|
-
// Copyright 2011-
|
3
|
+
// Copyright 2011-2017 thoughtbot, inc.
|
4
4
|
// MIT License
|
5
5
|
|
6
|
+
@import "settings/deprecation-warnings";
|
6
7
|
@import "settings/prefixer";
|
7
8
|
@import "settings/px-to-em";
|
8
9
|
@import "settings/asset-pipeline";
|
9
10
|
|
11
|
+
@import "bourbon-deprecate";
|
12
|
+
|
10
13
|
@import "functions/assign-inputs";
|
11
14
|
@import "functions/contains";
|
12
15
|
@import "functions/contains-falsy";
|
@@ -22,5 +22,8 @@
|
|
22
22
|
/// @output `border-color`
|
23
23
|
|
24
24
|
@mixin border-color($vals...) {
|
25
|
+
$user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings;
|
26
|
+
$output-bourbon-deprecation-warnings: false !global;
|
25
27
|
@include directional-property(border, color, $vals...);
|
28
|
+
$output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global;
|
26
29
|
}
|