bourbon 4.3.4 → 5.0.0.alpha.0
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 +1 -0
- data/.scss-lint.yml +2 -143
- data/.travis.yml +8 -0
- data/LICENSE.md +1 -1
- data/README.md +5 -19
- data/bourbon.gemspec +2 -2
- data/bower.json +7 -6
- data/core/_bourbon.scss +47 -0
- data/core/bourbon/_bourbon-deprecated.scss +1 -0
- data/core/bourbon/addons/_border-color.scss +26 -0
- data/{app/assets/stylesheets → core/bourbon}/addons/_border-radius.scss +19 -18
- data/core/bourbon/addons/_border-style.scss +25 -0
- data/core/bourbon/addons/_border-width.scss +25 -0
- data/core/bourbon/addons/_buttons.scss +61 -0
- data/core/bourbon/addons/_clearfix.scss +25 -0
- data/core/bourbon/addons/_ellipsis.scss +30 -0
- data/core/bourbon/addons/_font-stacks.scss +19 -0
- data/core/bourbon/addons/_hide-text.scss +23 -0
- data/core/bourbon/addons/_margin.scss +26 -0
- data/core/bourbon/addons/_padding.scss +26 -0
- data/core/bourbon/addons/_position.scss +49 -0
- data/core/bourbon/addons/_prefixer.scss +33 -0
- data/core/bourbon/addons/_size.scss +43 -0
- data/core/bourbon/addons/_text-inputs.scss +123 -0
- data/{app/assets/stylesheets → core/bourbon}/addons/_timing-functions.scss +7 -3
- data/core/bourbon/addons/_word-wrap.scss +29 -0
- data/core/bourbon/css3/_font-face.scss +50 -0
- data/core/bourbon/functions/_assign-inputs.scss +25 -0
- data/core/bourbon/functions/_contains-falsy.scss +20 -0
- data/core/bourbon/functions/_contains.scss +23 -0
- data/{app/assets/stylesheets → core/bourbon}/functions/_is-length.scss +3 -6
- data/{app/assets/stylesheets → core/bourbon}/functions/_is-light.scss +5 -10
- data/{app/assets/stylesheets → core/bourbon}/functions/_is-number.scss +3 -6
- data/core/bourbon/functions/_is-size.scss +16 -0
- data/core/bourbon/functions/_modular-scale.scss +101 -0
- data/core/bourbon/functions/_shade.scss +24 -0
- data/core/bourbon/functions/_strip-unit.scss +17 -0
- data/core/bourbon/functions/_tint.scss +24 -0
- data/{app/assets/stylesheets → core/bourbon}/functions/_unpack.scss +11 -14
- data/{app/assets/stylesheets → core/bourbon}/helpers/_directional-values.scss +26 -36
- data/{app/assets/stylesheets → core/bourbon}/helpers/_font-source-declaration.scss +0 -10
- data/{app/assets/stylesheets → core/bourbon}/settings/_asset-pipeline.scss +1 -1
- data/core/bourbon/settings/_global-font-file-formats.scss +12 -0
- data/core/bourbon/settings/_modular-scale.scss +17 -0
- data/core/bourbon/settings/_scales.scss +27 -0
- data/features/step_definitions/bourbon_steps.rb +1 -1
- data/index.js +1 -1
- data/lib/bourbon/engine.rb +1 -1
- data/lib/bourbon/generator.rb +1 -1
- data/lib/bourbon/version.rb +1 -1
- data/package.json +1 -6
- data/spec/bourbon/addons/buttons_spec.rb +3 -3
- data/spec/bourbon/addons/font_stacks_spec.rb +21 -11
- data/spec/bourbon/addons/text_inputs_spec.rb +14 -14
- data/spec/bourbon/css3/font_face_spec_1.rb +18 -0
- data/spec/bourbon/css3/font_face_spec_2.rb +19 -0
- data/spec/bourbon/css3/font_face_spec_3.rb +18 -0
- data/spec/bourbon/css3/font_face_spec_4.rb +19 -0
- data/spec/bourbon/functions/assign_inputs_spec.rb +3 -3
- data/spec/bourbon/functions/{strip_units_spec.rb → strip_unit_spec.rb} +2 -2
- data/spec/fixtures/_setup.scss +1 -1
- data/spec/fixtures/addons/font-stacks.scss +24 -8
- data/spec/fixtures/addons/size.scss +2 -2
- data/spec/fixtures/css3/font-face-1.scss +3 -0
- data/spec/fixtures/css3/font-face-2.scss +3 -0
- data/spec/fixtures/css3/font-face-3.scss +3 -0
- data/spec/fixtures/css3/font-face-4.scss +3 -0
- data/spec/fixtures/functions/assign-inputs.scss +1 -1
- data/spec/fixtures/functions/strip-unit.scss +17 -0
- metadata +72 -129
- data/CHANGELOG.md +0 -47
- data/app/assets/stylesheets/_bourbon-deprecate.scss +0 -19
- data/app/assets/stylesheets/_bourbon-deprecated-upcoming.scss +0 -425
- data/app/assets/stylesheets/_bourbon.scss +0 -90
- data/app/assets/stylesheets/addons/_border-color.scss +0 -29
- data/app/assets/stylesheets/addons/_border-style.scss +0 -28
- data/app/assets/stylesheets/addons/_border-width.scss +0 -28
- data/app/assets/stylesheets/addons/_buttons.scss +0 -69
- data/app/assets/stylesheets/addons/_clearfix.scss +0 -25
- data/app/assets/stylesheets/addons/_ellipsis.scss +0 -30
- data/app/assets/stylesheets/addons/_font-stacks.scss +0 -31
- data/app/assets/stylesheets/addons/_hide-text.scss +0 -27
- data/app/assets/stylesheets/addons/_margin.scss +0 -29
- data/app/assets/stylesheets/addons/_padding.scss +0 -29
- data/app/assets/stylesheets/addons/_position.scss +0 -51
- data/app/assets/stylesheets/addons/_prefixer.scss +0 -66
- data/app/assets/stylesheets/addons/_retina-image.scss +0 -27
- data/app/assets/stylesheets/addons/_size.scss +0 -56
- data/app/assets/stylesheets/addons/_text-inputs.scss +0 -118
- data/app/assets/stylesheets/addons/_triangle.scss +0 -63
- data/app/assets/stylesheets/addons/_word-wrap.scss +0 -29
- data/app/assets/stylesheets/css3/_animation.scss +0 -61
- data/app/assets/stylesheets/css3/_appearance.scss +0 -5
- data/app/assets/stylesheets/css3/_backface-visibility.scss +0 -5
- data/app/assets/stylesheets/css3/_background-image.scss +0 -44
- data/app/assets/stylesheets/css3/_background.scss +0 -57
- data/app/assets/stylesheets/css3/_border-image.scss +0 -61
- data/app/assets/stylesheets/css3/_calc.scss +0 -6
- data/app/assets/stylesheets/css3/_columns.scss +0 -67
- data/app/assets/stylesheets/css3/_filter.scss +0 -6
- data/app/assets/stylesheets/css3/_flex-box.scss +0 -327
- data/app/assets/stylesheets/css3/_font-face.scss +0 -29
- data/app/assets/stylesheets/css3/_font-feature-settings.scss +0 -6
- data/app/assets/stylesheets/css3/_hidpi-media-query.scss +0 -12
- data/app/assets/stylesheets/css3/_hyphens.scss +0 -6
- data/app/assets/stylesheets/css3/_image-rendering.scss +0 -15
- data/app/assets/stylesheets/css3/_keyframes.scss +0 -38
- data/app/assets/stylesheets/css3/_linear-gradient.scss +0 -40
- data/app/assets/stylesheets/css3/_perspective.scss +0 -12
- data/app/assets/stylesheets/css3/_placeholder.scss +0 -10
- data/app/assets/stylesheets/css3/_radial-gradient.scss +0 -40
- data/app/assets/stylesheets/css3/_selection.scss +0 -44
- data/app/assets/stylesheets/css3/_text-decoration.scss +0 -27
- data/app/assets/stylesheets/css3/_transform.scss +0 -21
- data/app/assets/stylesheets/css3/_transition.scss +0 -81
- data/app/assets/stylesheets/css3/_user-select.scss +0 -5
- data/app/assets/stylesheets/functions/_assign-inputs.scss +0 -16
- data/app/assets/stylesheets/functions/_contains-falsy.scss +0 -25
- data/app/assets/stylesheets/functions/_contains.scss +0 -31
- data/app/assets/stylesheets/functions/_is-size.scss +0 -23
- data/app/assets/stylesheets/functions/_modular-scale.scss +0 -74
- data/app/assets/stylesheets/functions/_px-to-em.scss +0 -24
- data/app/assets/stylesheets/functions/_px-to-rem.scss +0 -26
- data/app/assets/stylesheets/functions/_shade.scss +0 -24
- data/app/assets/stylesheets/functions/_strip-units.scss +0 -22
- data/app/assets/stylesheets/functions/_tint.scss +0 -24
- data/app/assets/stylesheets/functions/_transition-property-name.scss +0 -37
- data/app/assets/stylesheets/helpers/_convert-units.scss +0 -26
- data/app/assets/stylesheets/helpers/_gradient-positions-parser.scss +0 -24
- data/app/assets/stylesheets/helpers/_linear-angle-parser.scss +0 -35
- data/app/assets/stylesheets/helpers/_linear-gradient-parser.scss +0 -51
- data/app/assets/stylesheets/helpers/_linear-positions-parser.scss +0 -77
- data/app/assets/stylesheets/helpers/_linear-side-corner-parser.scss +0 -41
- data/app/assets/stylesheets/helpers/_radial-arg-parser.scss +0 -74
- data/app/assets/stylesheets/helpers/_radial-gradient-parser.scss +0 -55
- data/app/assets/stylesheets/helpers/_radial-positions-parser.scss +0 -28
- data/app/assets/stylesheets/helpers/_render-gradients.scss +0 -31
- data/app/assets/stylesheets/helpers/_shape-size-stripper.scss +0 -15
- data/app/assets/stylesheets/helpers/_str-to-num.scss +0 -55
- data/app/assets/stylesheets/settings/_deprecation-warnings.scss +0 -8
- data/app/assets/stylesheets/settings/_prefixer.scss +0 -9
- data/app/assets/stylesheets/settings/_px-to-em.scss +0 -1
- data/circle.yml +0 -10
- data/eyeglass-exports.js +0 -7
- data/sache.json +0 -5
- data/spec/bourbon/addons/retina_image_spec.rb +0 -57
- data/spec/bourbon/addons/triangle_spec.rb +0 -32
- data/spec/bourbon/css3/font_face_spec.rb +0 -45
- data/spec/bourbon/css3/hidpi_media_query_spec.rb +0 -23
- data/spec/bourbon/functions/px_to_em_spec.rb +0 -31
- data/spec/bourbon/functions/px_to_rem_spec.rb +0 -25
- data/spec/bourbon/helpers/convert_units_spec.rb +0 -31
- data/spec/bourbon/helpers/str_to_num_spec.rb +0 -25
- data/spec/fixtures/addons/retina-image.scss +0 -21
- data/spec/fixtures/addons/triangle.scss +0 -9
- data/spec/fixtures/css3/font-face.scss +0 -6
- data/spec/fixtures/css3/hidpi-media-query.scss +0 -13
- data/spec/fixtures/functions/px-to-em.scss +0 -17
- data/spec/fixtures/functions/px-to-rem.scss +0 -15
- data/spec/fixtures/functions/strip-units.scss +0 -17
- data/spec/fixtures/helpers/convert-units.scss +0 -17
- data/spec/fixtures/helpers/str-to-num.scss +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbf56be144883e8047194e7b3ee50699aebcf6fe
|
4
|
+
data.tar.gz: fd466ccc77bab8d3b3ec05a52848d7a3bb50808b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35dbc943a28010b3fe70c7fc33ef380d450d0f346d784108727a3eca6ae45a56bf1405ef465f2487c5e4921671c3c220a9206a117527a6df1512b7afd2f724d8
|
7
|
+
data.tar.gz: 0ce817e404ff8b9bef4eadd40d0f48efc0e0928c2741ac8e5f08e70f0a8ede692044c9dd90204acce10f67e5a66e245d11e160f9797265b57ca9c28607cbefac
|
data/.gitignore
CHANGED
data/.npmignore
CHANGED
data/.scss-lint.yml
CHANGED
@@ -1,155 +1,14 @@
|
|
1
|
-
scss_files: "
|
1
|
+
scss_files: "core/**/*.scss"
|
2
2
|
linters:
|
3
|
-
BangFormat:
|
4
|
-
enabled: true
|
5
|
-
space_before_bang: true
|
6
|
-
space_after_bang: false
|
7
|
-
BemDepth:
|
8
|
-
enabled: false
|
9
3
|
BorderZero:
|
10
|
-
enabled: true
|
11
|
-
convention: zero
|
12
|
-
ColorKeyword:
|
13
|
-
enabled: true
|
14
|
-
ColorVariable:
|
15
|
-
enabled: false
|
16
|
-
Comment:
|
17
|
-
enabled: true
|
18
|
-
DebugStatement:
|
19
|
-
enabled: true
|
20
|
-
DeclarationOrder:
|
21
|
-
enabled: true
|
22
|
-
DisableLinterReason:
|
23
4
|
enabled: false
|
24
|
-
|
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:
|
5
|
+
ColorVariable:
|
35
6
|
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
|
60
7
|
LeadingZero:
|
61
8
|
enabled: true
|
62
9
|
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
|
97
10
|
SelectorFormat:
|
98
11
|
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
|
126
12
|
StringQuotes:
|
127
13
|
enabled: true
|
128
14
|
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/.travis.yml
ADDED
data/LICENSE.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright © 2011–
|
3
|
+
Copyright © 2011–2015 [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,7 +1,9 @@
|
|
1
1
|
[![Bourbon](http://images.thoughtbot.com/bourbon/bourbon-logo.svg)](http://bourbon.io)
|
2
2
|
|
3
|
-
[![
|
4
|
-
[![
|
3
|
+
[![Gem Version](http://img.shields.io/gem/v/bourbon.svg?style=flat)](https://rubygems.org/gems/bourbon)
|
4
|
+
[![Code Climate](http://img.shields.io/codeclimate/github/thoughtbot/bourbon.svg?style=flat)](https://codeclimate.com/github/thoughtbot/bourbon)
|
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)
|
5
7
|
|
6
8
|
## A simple and lightweight mixin library for Sass.
|
7
9
|
|
@@ -84,22 +86,6 @@ For command line help, visit our wiki page on Bourbon’s [command line interfac
|
|
84
86
|
|
85
87
|
[Help! I’m getting an undefined mixin error.](https://github.com/thoughtbot/bourbon/wiki/Rails-Help-%5C-Undefined-mixin)
|
86
88
|
|
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
|
-
|
103
89
|
## Installing older versions of Bourbon
|
104
90
|
|
105
91
|
1. Uninstall any Bourbon gem versions you already have:
|
@@ -135,7 +121,7 @@ Also check out [Proteus](https://github.com/thoughtbot/proteus), a collection of
|
|
135
121
|
|
136
122
|
## License
|
137
123
|
|
138
|
-
Copyright © 2011–
|
124
|
+
Copyright © 2011–2015 [thoughtbot, inc](http://thoughtbot.com).
|
139
125
|
Bourbon is free software,
|
140
126
|
and may be redistributed under the terms specified in the [license](LICENSE.md).
|
141
127
|
|
data/bourbon.gemspec
CHANGED
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
|
|
5
5
|
s.name = "bourbon"
|
6
6
|
s.version = Bourbon::VERSION
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
|
-
s.authors = ["Andres Mejia", "Chad Mazzola", "Chris Lloyd", "Gabe Berke-Williams", "J. Edward Dewyea", "Jeremy Raines", "Kyle Fiedler", "Matt Jankowski", "Mike Burns", "Nick Quaranto", "Phil LaPier", "Reda Lemeden", "Travis Haynes", "Tyson Gach", "Will McMahan"]
|
8
|
+
s.authors = ["Andres Mejia", "Chad Mazzola", "Chris Lloyd", "Christian Reuter", "Gabe Berke-Williams", "Hugo Giraudel", "J. Edward Dewyea", "Jeremy Raines", "Joshua Ogle", "Kyle Fiedler", "Matt Jankowski", "Mike Burns", "Nick Quaranto", "Phil LaPier", "Reda Lemeden", "Travis Haynes", "Tyson Gach", "Will McMahan"]
|
9
9
|
s.email = "design+bourbon@thoughtbot.com"
|
10
10
|
s.license = "MIT"
|
11
11
|
s.homepage = "http://bourbon.io"
|
@@ -28,5 +28,5 @@ meaning they should be as close to the original CSS syntax as possible.
|
|
28
28
|
s.add_development_dependency("css_parser", "~> 1.3")
|
29
29
|
s.add_development_dependency("rake", "~> 10.4")
|
30
30
|
s.add_development_dependency("rspec", "~> 3.3")
|
31
|
-
s.add_development_dependency("scss_lint", "0.
|
31
|
+
s.add_development_dependency("scss_lint", "~> 0.40")
|
32
32
|
end
|
data/bower.json
CHANGED
@@ -1,21 +1,22 @@
|
|
1
1
|
{
|
2
2
|
"name": "bourbon",
|
3
3
|
"description": "A simple and lightweight mixin library for Sass.",
|
4
|
-
"version": "
|
5
|
-
"main": "
|
4
|
+
"version": "5.0.0.alpha.0",
|
5
|
+
"main": "core/_bourbon.scss",
|
6
6
|
"license": "MIT",
|
7
7
|
"ignore": [
|
8
8
|
"**/.*",
|
9
|
-
"CONTRIBUTING.md",
|
10
|
-
"Gemfile",
|
11
|
-
"Gemfile.lock",
|
12
|
-
"Rakefile",
|
13
9
|
"_site",
|
14
10
|
"bin",
|
15
11
|
"bourbon.gemspec",
|
12
|
+
"CONTRIBUTING.md",
|
16
13
|
"features",
|
14
|
+
"Gemfile",
|
15
|
+
"Gemfile.lock",
|
16
|
+
"index.js",
|
17
17
|
"lib",
|
18
18
|
"package.json",
|
19
|
+
"Rakefile",
|
19
20
|
"sache.json",
|
20
21
|
"spec"
|
21
22
|
],
|
data/core/_bourbon.scss
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
// Bourbon 5.0.0.alpha.0
|
2
|
+
// http://bourbon.io
|
3
|
+
// Copyright 2011-2015 thoughtbot, inc.
|
4
|
+
// MIT License
|
5
|
+
|
6
|
+
@import "bourbon/settings/asset-pipeline";
|
7
|
+
@import "bourbon/settings/global-font-file-formats";
|
8
|
+
@import "bourbon/settings/scales";
|
9
|
+
@import "bourbon/settings/modular-scale";
|
10
|
+
|
11
|
+
@import "bourbon/functions/assign-inputs";
|
12
|
+
@import "bourbon/functions/contains";
|
13
|
+
@import "bourbon/functions/contains-falsy";
|
14
|
+
@import "bourbon/functions/is-length";
|
15
|
+
@import "bourbon/functions/is-light";
|
16
|
+
@import "bourbon/functions/is-number";
|
17
|
+
@import "bourbon/functions/is-size";
|
18
|
+
@import "bourbon/functions/shade";
|
19
|
+
@import "bourbon/functions/strip-unit";
|
20
|
+
@import "bourbon/functions/tint";
|
21
|
+
@import "bourbon/functions/unpack";
|
22
|
+
@import "bourbon/functions/modular-scale";
|
23
|
+
|
24
|
+
@import "bourbon/helpers/directional-values";
|
25
|
+
@import "bourbon/helpers/font-source-declaration";
|
26
|
+
|
27
|
+
@import "bourbon/css3/font-face";
|
28
|
+
|
29
|
+
@import "bourbon/addons/border-color";
|
30
|
+
@import "bourbon/addons/border-radius";
|
31
|
+
@import "bourbon/addons/border-style";
|
32
|
+
@import "bourbon/addons/border-width";
|
33
|
+
@import "bourbon/addons/buttons";
|
34
|
+
@import "bourbon/addons/clearfix";
|
35
|
+
@import "bourbon/addons/ellipsis";
|
36
|
+
@import "bourbon/addons/font-stacks";
|
37
|
+
@import "bourbon/addons/hide-text";
|
38
|
+
@import "bourbon/addons/margin";
|
39
|
+
@import "bourbon/addons/padding";
|
40
|
+
@import "bourbon/addons/position";
|
41
|
+
@import "bourbon/addons/prefixer";
|
42
|
+
@import "bourbon/addons/size";
|
43
|
+
@import "bourbon/addons/text-inputs";
|
44
|
+
@import "bourbon/addons/timing-functions";
|
45
|
+
@import "bourbon/addons/word-wrap";
|
46
|
+
|
47
|
+
@import "bourbon/bourbon-deprecated";
|
@@ -0,0 +1 @@
|
|
1
|
+
// The following features have been deprecated and will be removed in the next major version
|
@@ -0,0 +1,26 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
/// Provides a quick method for targeting `border-color` on specific sides of a box. Use a `null` value to “skip” a side.
|
4
|
+
///
|
5
|
+
/// @param {arglist} $values
|
6
|
+
/// List of colors, defined as CSS shorthand
|
7
|
+
///
|
8
|
+
/// @example scss
|
9
|
+
/// .element {
|
10
|
+
/// @include border-color(#a60b55 #76cd9c null #e8ae1a);
|
11
|
+
/// }
|
12
|
+
///
|
13
|
+
/// @example css
|
14
|
+
/// .element {
|
15
|
+
/// border-left-color: #e8ae1a;
|
16
|
+
/// border-right-color: #76cd9c;
|
17
|
+
/// border-top-color: #a60b55;
|
18
|
+
/// }
|
19
|
+
///
|
20
|
+
/// @require {mixin} directional-property
|
21
|
+
///
|
22
|
+
/// @output `border-*-color`
|
23
|
+
|
24
|
+
@mixin border-color($values...) {
|
25
|
+
@include directional-property(border, color, $values...);
|
26
|
+
}
|
@@ -2,28 +2,29 @@
|
|
2
2
|
|
3
3
|
/// Provides a quick method for targeting `border-radius` on both corners on the side of a box.
|
4
4
|
///
|
5
|
-
/// @param {
|
6
|
-
/// List of arguments
|
5
|
+
/// @param {number} $radii
|
7
6
|
///
|
8
|
-
/// @example scss
|
9
|
-
///
|
10
|
-
///
|
11
|
-
///
|
7
|
+
/// @example scss
|
8
|
+
/// .element-one {
|
9
|
+
/// @include border-top-radius(5px);
|
10
|
+
/// }
|
12
11
|
///
|
13
|
-
///
|
14
|
-
///
|
15
|
-
///
|
12
|
+
/// @example css
|
13
|
+
/// .element-one {
|
14
|
+
/// border-top-left-radius: 5px;
|
15
|
+
/// border-top-right-radius: 5px;
|
16
|
+
/// }
|
16
17
|
///
|
17
|
-
/// @example
|
18
|
-
///
|
19
|
-
///
|
20
|
-
///
|
21
|
-
/// }
|
18
|
+
/// @example scss
|
19
|
+
/// .element-two {
|
20
|
+
/// @include border-left-radius(3px);
|
21
|
+
/// }
|
22
22
|
///
|
23
|
-
///
|
24
|
-
///
|
25
|
-
///
|
26
|
-
///
|
23
|
+
/// @example css
|
24
|
+
/// .element-two {
|
25
|
+
/// border-bottom-left-radius: 3px;
|
26
|
+
/// border-top-left-radius: 3px;
|
27
|
+
/// }
|
27
28
|
///
|
28
29
|
/// @output `border-radius`
|
29
30
|
|
@@ -0,0 +1,25 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
/// Provides a quick method for targeting `border-style` on specific sides of a box. Use a `null` value to “skip” a side.
|
4
|
+
///
|
5
|
+
/// @param {arglist} $values
|
6
|
+
/// List of border styles, defined as CSS shorthand
|
7
|
+
///
|
8
|
+
/// @example scss
|
9
|
+
/// .element {
|
10
|
+
/// @include border-style(dashed null solid);
|
11
|
+
/// }
|
12
|
+
///
|
13
|
+
/// @example css
|
14
|
+
/// .element {
|
15
|
+
/// border-bottom-style: solid;
|
16
|
+
/// border-top-style: dashed;
|
17
|
+
/// }
|
18
|
+
///
|
19
|
+
/// @require {mixin} directional-property
|
20
|
+
///
|
21
|
+
/// @output `border-*-style`
|
22
|
+
|
23
|
+
@mixin border-style($values...) {
|
24
|
+
@include directional-property(border, style, $values...);
|
25
|
+
}
|