bourbon 4.1.1 → 4.2.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -3
- data/.hound.yml +4 -0
- data/.npmignore +5 -2
- data/.scss-lint.yml +175 -0
- data/README.md +7 -12
- data/Rakefile +6 -4
- data/app/assets/stylesheets/_bourbon-deprecated-upcoming.scss +16 -7
- data/app/assets/stylesheets/_bourbon.scss +27 -26
- data/app/assets/stylesheets/addons/_border-color.scss +26 -0
- data/app/assets/stylesheets/addons/_border-radius.scss +48 -0
- data/app/assets/stylesheets/addons/_border-style.scss +25 -0
- data/app/assets/stylesheets/addons/_border-width.scss +25 -0
- data/app/assets/stylesheets/addons/_buttons.scss +64 -0
- data/app/assets/stylesheets/addons/_clearfix.scss +17 -10
- data/app/assets/stylesheets/addons/_ellipsis.scss +22 -0
- data/app/assets/stylesheets/addons/{_font-family.scss → _font-stacks.scss} +26 -0
- data/app/assets/stylesheets/addons/_hide-text.scss +23 -8
- data/app/assets/stylesheets/addons/_margin.scss +26 -0
- data/app/assets/stylesheets/addons/_padding.scss +26 -0
- data/app/assets/stylesheets/addons/_position.scss +24 -2
- data/app/assets/stylesheets/addons/_prefixer.scss +36 -15
- data/app/assets/stylesheets/addons/_size.scss +30 -1
- data/app/assets/stylesheets/addons/_text-inputs.scss +112 -0
- data/app/assets/stylesheets/addons/_timing-functions.scss +7 -5
- data/app/assets/stylesheets/addons/_triangle.scss +11 -11
- data/app/assets/stylesheets/addons/_word-wrap.scss +19 -0
- data/app/assets/stylesheets/css3/_animation.scss +14 -23
- data/app/assets/stylesheets/css3/_appearance.scss +1 -1
- data/app/assets/stylesheets/css3/_backface-visibility.scss +0 -3
- data/app/assets/stylesheets/css3/_background-image.scss +1 -1
- data/app/assets/stylesheets/css3/_background.scss +3 -3
- data/app/assets/stylesheets/css3/_border-image.scss +3 -3
- data/app/assets/stylesheets/css3/_calc.scss +1 -1
- data/app/assets/stylesheets/css3/_columns.scss +8 -8
- data/app/assets/stylesheets/css3/_filter.scss +0 -1
- data/app/assets/stylesheets/css3/_flex-box.scss +16 -47
- data/app/assets/stylesheets/css3/_font-feature-settings.scss +1 -7
- data/app/assets/stylesheets/css3/_hyphens.scss +2 -2
- data/app/assets/stylesheets/css3/_image-rendering.scss +6 -6
- data/app/assets/stylesheets/css3/_keyframes.scss +1 -0
- data/app/assets/stylesheets/css3/_linear-gradient.scss +11 -11
- data/app/assets/stylesheets/css3/_radial-gradient.scss +14 -14
- data/app/assets/stylesheets/css3/_selection.scss +39 -11
- data/app/assets/stylesheets/css3/_transform.scss +5 -5
- data/app/assets/stylesheets/css3/_transition.scss +17 -23
- data/app/assets/stylesheets/css3/_user-select.scss +2 -2
- data/app/assets/stylesheets/functions/{_assign.scss → _assign-inputs.scss} +2 -2
- data/app/assets/stylesheets/functions/_contains-falsy.scss +20 -0
- data/app/assets/stylesheets/functions/_contains.scss +16 -2
- data/app/assets/stylesheets/functions/_is-length.scss +5 -1
- data/app/assets/stylesheets/functions/_is-light.scss +21 -0
- data/app/assets/stylesheets/functions/_is-number.scss +11 -0
- data/app/assets/stylesheets/functions/_is-size.scss +8 -1
- data/app/assets/stylesheets/functions/_px-to-em.scss +2 -2
- data/app/assets/stylesheets/functions/_px-to-rem.scss +2 -2
- data/app/assets/stylesheets/functions/_shade.scss +24 -0
- data/app/assets/stylesheets/functions/_strip-units.scss +15 -3
- data/app/assets/stylesheets/functions/_tint.scss +24 -0
- data/app/assets/stylesheets/functions/_transition-property-name.scss +14 -14
- data/app/assets/stylesheets/functions/_unpack.scss +18 -8
- data/app/assets/stylesheets/helpers/_convert-units.scss +2 -2
- data/app/assets/stylesheets/helpers/_directional-values.scss +96 -0
- data/app/assets/stylesheets/helpers/_font-source-declaration.scss +2 -1
- data/app/assets/stylesheets/helpers/_linear-gradient-parser.scss +1 -1
- data/app/assets/stylesheets/helpers/_linear-positions-parser.scss +1 -1
- data/app/assets/stylesheets/helpers/_radial-arg-parser.scss +10 -10
- data/app/assets/stylesheets/helpers/_radial-gradient-parser.scss +4 -4
- data/app/assets/stylesheets/helpers/_radial-positions-parser.scss +2 -2
- data/app/assets/stylesheets/helpers/_str-to-num.scss +3 -3
- data/app/assets/stylesheets/settings/_asset-pipeline.scss +6 -0
- data/app/assets/stylesheets/settings/_prefixer.scss +5 -2
- data/bourbon.gemspec +4 -2
- data/bower.json +8 -6
- data/lib/bourbon/version.rb +1 -1
- data/package.json +1 -1
- data/spec/bourbon/functions/assign_inputs_spec.rb +50 -0
- data/spec/bourbon/functions/contains_spec.rb +27 -0
- data/spec/bourbon/functions/is_length_spec.rb +49 -0
- data/spec/bourbon/functions/is_light_spec.rb +37 -0
- data/spec/bourbon/functions/is_number_spec.rb +43 -0
- data/spec/bourbon/functions/is_size_spec.rb +43 -0
- data/spec/bourbon/functions/modular_scale_spec.rb +43 -0
- data/spec/bourbon/functions/px_to_em_spec.rb +31 -0
- data/spec/fixtures/_setup.scss +1 -0
- data/spec/fixtures/functions/assign-inputs.scss +19 -0
- data/spec/fixtures/functions/contains.scss +28 -0
- data/spec/fixtures/functions/is-length.scss +35 -0
- data/spec/fixtures/functions/is-light.scss +29 -0
- data/spec/fixtures/functions/is-number.scss +31 -0
- data/spec/fixtures/functions/is-size.scss +31 -0
- data/spec/fixtures/functions/modular-scale.scss +29 -0
- data/spec/fixtures/functions/px-to-em.scss +17 -0
- data/spec/spec_helper.rb +22 -0
- data/spec/support/matchers/be_contained_in.rb +10 -0
- data/spec/support/matchers/have_rule.rb +35 -0
- data/spec/support/matchers/have_value.rb +15 -0
- data/spec/support/parser_support.rb +16 -0
- data/spec/support/sass_support.rb +10 -0
- metadata +102 -19
- data/app/assets/stylesheets/addons/_directional-values.scss +0 -111
- data/app/assets/stylesheets/addons/_html5-input-types.scss +0 -90
- data/app/assets/stylesheets/css3/_border-radius.scss +0 -22
- data/app/assets/stylesheets/css3/_box-sizing.scss +0 -4
- data/app/assets/stylesheets/functions/_color-lightness.scss +0 -13
- data/app/assets/stylesheets/functions/_tint-shade.scss +0 -9
- data/app/assets/stylesheets/helpers/_is-num.scss +0 -5
@@ -0,0 +1,31 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "px-to-em" do
|
4
|
+
before(:all) do
|
5
|
+
ParserSupport.parse_file("functions/px-to-em")
|
6
|
+
end
|
7
|
+
|
8
|
+
context "called with unitless integer" do
|
9
|
+
it "outputs ems" do
|
10
|
+
expect(".unitless").to have_rule("font-size: 0.75em")
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
context "called with unitless integer and base" do
|
15
|
+
it "outputs ems" do
|
16
|
+
expect(".unitless-with-base").to have_rule("font-size: 0.66667em")
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
context "called with px" do
|
21
|
+
it "outputs ems" do
|
22
|
+
expect(".px").to have_rule("font-size: 1em")
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
context "called with px" do
|
27
|
+
it "outputs ems" do
|
28
|
+
expect(".px-with-base").to have_rule("font-size: 1.5em")
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "app/assets/stylesheets/bourbon";
|
@@ -0,0 +1,19 @@
|
|
1
|
+
@import "setup";
|
2
|
+
|
3
|
+
#{assign-inputs($text-inputs-list)} {
|
4
|
+
color: #ff0000;
|
5
|
+
}
|
6
|
+
|
7
|
+
#{assign-inputs($text-inputs-list, active)} {
|
8
|
+
color: #00ff00;
|
9
|
+
}
|
10
|
+
|
11
|
+
#{assign-inputs($text-inputs-list)},
|
12
|
+
select {
|
13
|
+
color: #0000ff;
|
14
|
+
}
|
15
|
+
|
16
|
+
input[type="file"],
|
17
|
+
#{assign-inputs($text-inputs-list)} {
|
18
|
+
color: #ff00ff;
|
19
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
@import "setup";
|
2
|
+
|
3
|
+
$single: "apple";
|
4
|
+
$multiple: "pineapple", "banana", "cumquat";
|
5
|
+
|
6
|
+
@mixin color-contains($list, $values) {
|
7
|
+
@if contains($list, $values) {
|
8
|
+
color: #fff;
|
9
|
+
} @else {
|
10
|
+
color: #000;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
.single {
|
15
|
+
@include color-contains($single, "apple");
|
16
|
+
}
|
17
|
+
|
18
|
+
.single-missing {
|
19
|
+
@include color-contains($single, "pear");
|
20
|
+
}
|
21
|
+
|
22
|
+
.multiple {
|
23
|
+
@include color-contains($multiple, "banana");
|
24
|
+
}
|
25
|
+
|
26
|
+
.multiple-missing {
|
27
|
+
@include color-contains($multiple, "strawberry");
|
28
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
@import "setup";
|
2
|
+
|
3
|
+
@mixin color-length($value) {
|
4
|
+
@if is-length($value) {
|
5
|
+
color: #fff;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
.integer {
|
10
|
+
@include color-length(1);
|
11
|
+
}
|
12
|
+
|
13
|
+
.pixels {
|
14
|
+
@include color-length(10px);
|
15
|
+
}
|
16
|
+
|
17
|
+
.ems {
|
18
|
+
@include color-length(10em);
|
19
|
+
}
|
20
|
+
|
21
|
+
.percent {
|
22
|
+
@include color-length(10%);
|
23
|
+
}
|
24
|
+
|
25
|
+
.calc {
|
26
|
+
@include color-length(calc(2em - 5px));
|
27
|
+
}
|
28
|
+
|
29
|
+
.string {
|
30
|
+
@include color-length("stringy");
|
31
|
+
}
|
32
|
+
|
33
|
+
.null {
|
34
|
+
@include color-length(null);
|
35
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
@import "setup";
|
2
|
+
|
3
|
+
@mixin reverse-color($color) {
|
4
|
+
@if is-light($color) {
|
5
|
+
color: #000;
|
6
|
+
} @else {
|
7
|
+
color: #fff;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
.pink {
|
12
|
+
@include reverse-color(#ffcccc);
|
13
|
+
}
|
14
|
+
|
15
|
+
.sky {
|
16
|
+
@include reverse-color(#aaeeff);
|
17
|
+
}
|
18
|
+
|
19
|
+
.medium-gray {
|
20
|
+
@include reverse-color(#888);
|
21
|
+
}
|
22
|
+
|
23
|
+
.charcoal {
|
24
|
+
@include reverse-color(#333);
|
25
|
+
}
|
26
|
+
|
27
|
+
.translucent {
|
28
|
+
@include reverse-color(rgba(#fff, 0.1));
|
29
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
@import "setup";
|
2
|
+
|
3
|
+
@mixin line-height($number) {
|
4
|
+
@if is-number($number) {
|
5
|
+
line-height: $number;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
.integer {
|
10
|
+
@include line-height(1);
|
11
|
+
}
|
12
|
+
|
13
|
+
.px {
|
14
|
+
@include line-height(2px);
|
15
|
+
}
|
16
|
+
|
17
|
+
.em {
|
18
|
+
@include line-height(3em);
|
19
|
+
}
|
20
|
+
|
21
|
+
.rem {
|
22
|
+
@include line-height(4rem);
|
23
|
+
}
|
24
|
+
|
25
|
+
.percent {
|
26
|
+
@include line-height(5%);
|
27
|
+
}
|
28
|
+
|
29
|
+
.string {
|
30
|
+
@include line-height("stringy");
|
31
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
@import "setup";
|
2
|
+
|
3
|
+
@mixin size-margin($size) {
|
4
|
+
@if is-size($size) {
|
5
|
+
margin-top: $size;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
.integer {
|
10
|
+
@include size-margin(1);
|
11
|
+
}
|
12
|
+
|
13
|
+
.px {
|
14
|
+
@include size-margin(2px);
|
15
|
+
}
|
16
|
+
|
17
|
+
.em {
|
18
|
+
@include size-margin(3em);
|
19
|
+
}
|
20
|
+
|
21
|
+
.rem {
|
22
|
+
@include size-margin(4rem);
|
23
|
+
}
|
24
|
+
|
25
|
+
.percent {
|
26
|
+
@include size-margin(5%);
|
27
|
+
}
|
28
|
+
|
29
|
+
.string {
|
30
|
+
@include size-margin("stringy");
|
31
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
@import "setup";
|
2
|
+
|
3
|
+
.one {
|
4
|
+
&-base-two {
|
5
|
+
font-size: modular-scale(1, $value: 2em);
|
6
|
+
}
|
7
|
+
|
8
|
+
&-base-three {
|
9
|
+
font-size: modular-scale(1, $value: 3em);
|
10
|
+
}
|
11
|
+
|
12
|
+
&-double-value {
|
13
|
+
font-size: modular-scale(1, $value: 1em 2em);
|
14
|
+
}
|
15
|
+
|
16
|
+
&-golden-ratio {
|
17
|
+
font-size: modular-scale(1, $ratio: $golden);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.two {
|
22
|
+
&-base-one {
|
23
|
+
font-size: modular-scale(2, $value: 1em);
|
24
|
+
}
|
25
|
+
|
26
|
+
&-double-value {
|
27
|
+
font-size: modular-scale(2, $value: 2em);
|
28
|
+
}
|
29
|
+
}
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
|
2
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
3
|
+
require "rspec"
|
4
|
+
require "bourbon"
|
5
|
+
require "aruba/api"
|
6
|
+
require "css_parser"
|
7
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
8
|
+
|
9
|
+
RSpec.configure do |config|
|
10
|
+
config.include SassSupport
|
11
|
+
config.include CssParser
|
12
|
+
config.include ParserSupport
|
13
|
+
config.include Aruba::Api
|
14
|
+
|
15
|
+
config.before(:all) do
|
16
|
+
generate_css
|
17
|
+
end
|
18
|
+
|
19
|
+
config.after(:all) do
|
20
|
+
clean_up
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
RSpec::Matchers.define :be_contained_in do |expected|
|
2
|
+
match do |actual|
|
3
|
+
@query = ParserSupport.parser.find_by_selector(actual, expected)
|
4
|
+
@query.any?
|
5
|
+
end
|
6
|
+
|
7
|
+
failure_message_for_should do |actual|
|
8
|
+
%{expected selector #{actual} to be container in #{expected}}
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
RSpec::Matchers.define :have_rule do |expected|
|
2
|
+
match do |selector|
|
3
|
+
@rules = rules_from_selector(selector)
|
4
|
+
@rules.include? expected
|
5
|
+
end
|
6
|
+
|
7
|
+
failure_message do |selector|
|
8
|
+
if @rules.empty?
|
9
|
+
%{no CSS for selector #{selector} were found}
|
10
|
+
else
|
11
|
+
rules = @rules.join("; ")
|
12
|
+
%{Expected selector #{selector} to have CSS rule "#{expected}".
|
13
|
+
Had "#{rules}".}
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def rules_from_selector(selector)
|
18
|
+
rulesets = ParserSupport.parser.find_by_selector(selector)
|
19
|
+
if rulesets.empty?
|
20
|
+
[]
|
21
|
+
else
|
22
|
+
rules(rulesets)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def rules(rulesets)
|
27
|
+
rules = []
|
28
|
+
rulesets.map do |ruleset|
|
29
|
+
ruleset.split(";").each do |rule|
|
30
|
+
rules << rule.strip
|
31
|
+
end
|
32
|
+
end
|
33
|
+
rules
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
RSpec::Matchers.define :have_value do |expected|
|
2
|
+
match do |variable|
|
3
|
+
selector_id = variable.sub("$", "#")
|
4
|
+
value_attribute = ParserSupport.parser.find_by_selector(selector_id)[0]
|
5
|
+
|
6
|
+
unless value_attribute.nil?
|
7
|
+
actual_value = value_attribute.split(':')[1].strip.sub(";", "")
|
8
|
+
actual_value == expected
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
failure_message_for_should do |variable_name|
|
13
|
+
%{expected variable #{variable_name} to have value "#{expected}"}
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module ParserSupport
|
2
|
+
def self.parser
|
3
|
+
@parser ||= CssParser::Parser.new
|
4
|
+
end
|
5
|
+
|
6
|
+
def self.parse_file(identifier)
|
7
|
+
parser.load_file!("tmp/#{identifier}.css")
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.show_contents(identifier)
|
11
|
+
css_file_contents = File.open("tmp/#{identifier}.css").read
|
12
|
+
css_file_contents.each_line do |line|
|
13
|
+
puts line
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bourbon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.2.0.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andres Mejia
|
@@ -22,7 +22,7 @@ authors:
|
|
22
22
|
autorequire:
|
23
23
|
bindir: bin
|
24
24
|
cert_chain: []
|
25
|
-
date: 2015-
|
25
|
+
date: 2015-02-06 00:00:00.000000000 Z
|
26
26
|
dependencies:
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sass
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '3.
|
33
|
+
version: '3.4'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '3.
|
40
|
+
version: '3.4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: thor
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: aruba
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +80,34 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: css_parser
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
83
111
|
description: |
|
84
112
|
Bourbon is a library of pure Sass mixins that are designed to be simple and easy
|
85
113
|
to use. No configuration required. The mixins aim to be as vanilla as possible,
|
@@ -91,7 +119,9 @@ extensions: []
|
|
91
119
|
extra_rdoc_files: []
|
92
120
|
files:
|
93
121
|
- ".gitignore"
|
122
|
+
- ".hound.yml"
|
94
123
|
- ".npmignore"
|
124
|
+
- ".scss-lint.yml"
|
95
125
|
- CONTRIBUTING.md
|
96
126
|
- Gemfile
|
97
127
|
- LICENSE.md
|
@@ -99,16 +129,22 @@ files:
|
|
99
129
|
- Rakefile
|
100
130
|
- app/assets/stylesheets/_bourbon-deprecated-upcoming.scss
|
101
131
|
- app/assets/stylesheets/_bourbon.scss
|
132
|
+
- app/assets/stylesheets/addons/_border-color.scss
|
133
|
+
- app/assets/stylesheets/addons/_border-radius.scss
|
134
|
+
- app/assets/stylesheets/addons/_border-style.scss
|
135
|
+
- app/assets/stylesheets/addons/_border-width.scss
|
136
|
+
- app/assets/stylesheets/addons/_buttons.scss
|
102
137
|
- app/assets/stylesheets/addons/_clearfix.scss
|
103
|
-
- app/assets/stylesheets/addons/_directional-values.scss
|
104
138
|
- app/assets/stylesheets/addons/_ellipsis.scss
|
105
|
-
- app/assets/stylesheets/addons/_font-
|
139
|
+
- app/assets/stylesheets/addons/_font-stacks.scss
|
106
140
|
- app/assets/stylesheets/addons/_hide-text.scss
|
107
|
-
- app/assets/stylesheets/addons/
|
141
|
+
- app/assets/stylesheets/addons/_margin.scss
|
142
|
+
- app/assets/stylesheets/addons/_padding.scss
|
108
143
|
- app/assets/stylesheets/addons/_position.scss
|
109
144
|
- app/assets/stylesheets/addons/_prefixer.scss
|
110
145
|
- app/assets/stylesheets/addons/_retina-image.scss
|
111
146
|
- app/assets/stylesheets/addons/_size.scss
|
147
|
+
- app/assets/stylesheets/addons/_text-inputs.scss
|
112
148
|
- app/assets/stylesheets/addons/_timing-functions.scss
|
113
149
|
- app/assets/stylesheets/addons/_triangle.scss
|
114
150
|
- app/assets/stylesheets/addons/_word-wrap.scss
|
@@ -118,8 +154,6 @@ files:
|
|
118
154
|
- app/assets/stylesheets/css3/_background-image.scss
|
119
155
|
- app/assets/stylesheets/css3/_background.scss
|
120
156
|
- app/assets/stylesheets/css3/_border-image.scss
|
121
|
-
- app/assets/stylesheets/css3/_border-radius.scss
|
122
|
-
- app/assets/stylesheets/css3/_box-sizing.scss
|
123
157
|
- app/assets/stylesheets/css3/_calc.scss
|
124
158
|
- app/assets/stylesheets/css3/_columns.scss
|
125
159
|
- app/assets/stylesheets/css3/_filter.scss
|
@@ -139,22 +173,25 @@ files:
|
|
139
173
|
- app/assets/stylesheets/css3/_transform.scss
|
140
174
|
- app/assets/stylesheets/css3/_transition.scss
|
141
175
|
- app/assets/stylesheets/css3/_user-select.scss
|
142
|
-
- app/assets/stylesheets/functions/_assign.scss
|
143
|
-
- app/assets/stylesheets/functions/
|
176
|
+
- app/assets/stylesheets/functions/_assign-inputs.scss
|
177
|
+
- app/assets/stylesheets/functions/_contains-falsy.scss
|
144
178
|
- app/assets/stylesheets/functions/_contains.scss
|
145
179
|
- app/assets/stylesheets/functions/_is-length.scss
|
180
|
+
- app/assets/stylesheets/functions/_is-light.scss
|
181
|
+
- app/assets/stylesheets/functions/_is-number.scss
|
146
182
|
- app/assets/stylesheets/functions/_is-size.scss
|
147
183
|
- app/assets/stylesheets/functions/_modular-scale.scss
|
148
184
|
- app/assets/stylesheets/functions/_px-to-em.scss
|
149
185
|
- app/assets/stylesheets/functions/_px-to-rem.scss
|
186
|
+
- app/assets/stylesheets/functions/_shade.scss
|
150
187
|
- app/assets/stylesheets/functions/_strip-units.scss
|
151
|
-
- app/assets/stylesheets/functions/_tint
|
188
|
+
- app/assets/stylesheets/functions/_tint.scss
|
152
189
|
- app/assets/stylesheets/functions/_transition-property-name.scss
|
153
190
|
- app/assets/stylesheets/functions/_unpack.scss
|
154
191
|
- app/assets/stylesheets/helpers/_convert-units.scss
|
192
|
+
- app/assets/stylesheets/helpers/_directional-values.scss
|
155
193
|
- app/assets/stylesheets/helpers/_font-source-declaration.scss
|
156
194
|
- app/assets/stylesheets/helpers/_gradient-positions-parser.scss
|
157
|
-
- app/assets/stylesheets/helpers/_is-num.scss
|
158
195
|
- app/assets/stylesheets/helpers/_linear-angle-parser.scss
|
159
196
|
- app/assets/stylesheets/helpers/_linear-gradient-parser.scss
|
160
197
|
- app/assets/stylesheets/helpers/_linear-positions-parser.scss
|
@@ -184,6 +221,29 @@ files:
|
|
184
221
|
- lib/tasks/install.rake
|
185
222
|
- package.json
|
186
223
|
- sache.json
|
224
|
+
- spec/bourbon/functions/assign_inputs_spec.rb
|
225
|
+
- spec/bourbon/functions/contains_spec.rb
|
226
|
+
- spec/bourbon/functions/is_length_spec.rb
|
227
|
+
- spec/bourbon/functions/is_light_spec.rb
|
228
|
+
- spec/bourbon/functions/is_number_spec.rb
|
229
|
+
- spec/bourbon/functions/is_size_spec.rb
|
230
|
+
- spec/bourbon/functions/modular_scale_spec.rb
|
231
|
+
- spec/bourbon/functions/px_to_em_spec.rb
|
232
|
+
- spec/fixtures/_setup.scss
|
233
|
+
- spec/fixtures/functions/assign-inputs.scss
|
234
|
+
- spec/fixtures/functions/contains.scss
|
235
|
+
- spec/fixtures/functions/is-length.scss
|
236
|
+
- spec/fixtures/functions/is-light.scss
|
237
|
+
- spec/fixtures/functions/is-number.scss
|
238
|
+
- spec/fixtures/functions/is-size.scss
|
239
|
+
- spec/fixtures/functions/modular-scale.scss
|
240
|
+
- spec/fixtures/functions/px-to-em.scss
|
241
|
+
- spec/spec_helper.rb
|
242
|
+
- spec/support/matchers/be_contained_in.rb
|
243
|
+
- spec/support/matchers/have_rule.rb
|
244
|
+
- spec/support/matchers/have_value.rb
|
245
|
+
- spec/support/parser_support.rb
|
246
|
+
- spec/support/sass_support.rb
|
187
247
|
homepage: http://bourbon.io
|
188
248
|
licenses:
|
189
249
|
- MIT
|
@@ -199,9 +259,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
199
259
|
version: '0'
|
200
260
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
201
261
|
requirements:
|
202
|
-
- - "
|
262
|
+
- - ">"
|
203
263
|
- !ruby/object:Gem::Version
|
204
|
-
version:
|
264
|
+
version: 1.3.1
|
205
265
|
requirements: []
|
206
266
|
rubyforge_project: bourbon
|
207
267
|
rubygems_version: 2.2.2
|
@@ -215,3 +275,26 @@ test_files:
|
|
215
275
|
- features/support/env.rb
|
216
276
|
- features/update.feature
|
217
277
|
- features/version.feature
|
278
|
+
- spec/bourbon/functions/assign_inputs_spec.rb
|
279
|
+
- spec/bourbon/functions/contains_spec.rb
|
280
|
+
- spec/bourbon/functions/is_length_spec.rb
|
281
|
+
- spec/bourbon/functions/is_light_spec.rb
|
282
|
+
- spec/bourbon/functions/is_number_spec.rb
|
283
|
+
- spec/bourbon/functions/is_size_spec.rb
|
284
|
+
- spec/bourbon/functions/modular_scale_spec.rb
|
285
|
+
- spec/bourbon/functions/px_to_em_spec.rb
|
286
|
+
- spec/fixtures/_setup.scss
|
287
|
+
- spec/fixtures/functions/assign-inputs.scss
|
288
|
+
- spec/fixtures/functions/contains.scss
|
289
|
+
- spec/fixtures/functions/is-length.scss
|
290
|
+
- spec/fixtures/functions/is-light.scss
|
291
|
+
- spec/fixtures/functions/is-number.scss
|
292
|
+
- spec/fixtures/functions/is-size.scss
|
293
|
+
- spec/fixtures/functions/modular-scale.scss
|
294
|
+
- spec/fixtures/functions/px-to-em.scss
|
295
|
+
- spec/spec_helper.rb
|
296
|
+
- spec/support/matchers/be_contained_in.rb
|
297
|
+
- spec/support/matchers/have_rule.rb
|
298
|
+
- spec/support/matchers/have_value.rb
|
299
|
+
- spec/support/parser_support.rb
|
300
|
+
- spec/support/sass_support.rb
|