bourbon 4.1.0 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +6 -8
- data/README.md +8 -6
- data/app/assets/stylesheets/_bourbon.scss +2 -2
- data/app/assets/stylesheets/addons/_font-family.scss +5 -5
- data/app/assets/stylesheets/helpers/_font-source-declaration.scss +15 -8
- data/bower.json +1 -1
- data/lib/bourbon/version.rb +1 -1
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34af2723961b9a89e6513f9b89be85dcddc1ce9a
|
4
|
+
data.tar.gz: 59153423a0c8950509e9330781dc52cc32d2792d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9d9e1f7ea4dbd6edd16ef0f1d30e2488a9ba271a704e1326d63a810b5b573bc74f58ae7c5c518542447c8a89b8b25d35e6e9a8502e77c92773787c119ad5c7e
|
7
|
+
data.tar.gz: 483a2be7af0498b89d3497bff4825e9f80692533b2c1e12155869d3074b0e47682ded577d3b12a647ee643fc15853eb529a9e668a325038ff3607d81ab38db0b
|
data/LICENSE.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
|
-
|
1
|
+
The MIT License (MIT)
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
Copyright © 2011–2014 [thoughtbot, inc.](http://thoughtbot.com)
|
3
|
+
Copyright © 2011–2015 [thoughtbot, inc.](http://thoughtbot.com)
|
6
4
|
|
7
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
6
|
of this software and associated documentation files (the “Software”), to deal
|
@@ -11,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
9
|
copies of the Software, and to permit persons to whom the Software is
|
12
10
|
furnished to do so, subject to the following conditions:
|
13
11
|
|
14
|
-
The above copyright notice and this permission notice shall be included in
|
15
|
-
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
16
14
|
|
17
15
|
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
23
|
-
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -18,7 +18,7 @@ The mixins contain vendor specific prefixes for all CSS3 properties for support
|
|
18
18
|
## Requirements
|
19
19
|
|
20
20
|
- [Sass](https://github.com/sass/sass) 3.3+
|
21
|
-
- :warning: If you are using
|
21
|
+
- :warning: If you are using **LibSass**, you need to [use Bourbon 3.2.3](#installing-older-versions-of-bourbon).
|
22
22
|
|
23
23
|
## Installation
|
24
24
|
|
@@ -66,19 +66,19 @@ For command line help, visit our wiki page on Bourbon’s [command line interfac
|
|
66
66
|
bundle install
|
67
67
|
```
|
68
68
|
|
69
|
-
3. Restart your server and rename `application.css` to `application.
|
69
|
+
3. Restart your server and rename `application.css` to `application.scss`:
|
70
70
|
|
71
71
|
```bash
|
72
|
-
mv app/assets/stylesheets/application.css app/assets/stylesheets/application.
|
72
|
+
mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss
|
73
73
|
```
|
74
74
|
|
75
|
-
4. Delete the
|
75
|
+
4. Delete the Sprockets directive in `application.scss`:
|
76
76
|
|
77
77
|
```scss
|
78
78
|
*= require_tree .
|
79
79
|
```
|
80
80
|
|
81
|
-
5. Import Bourbon at the beginning of `application.
|
81
|
+
5. Import Bourbon at the beginning of `application.scss`. All additional stylesheets should be imported below Bourbon:
|
82
82
|
|
83
83
|
```scss
|
84
84
|
@import "bourbon";
|
@@ -119,6 +119,8 @@ For command line help, visit our wiki page on Bourbon’s [command line interfac
|
|
119
119
|
- [Bitters](https://github.com/thoughtbot/bitters): Scaffold styles, variables and structure for Bourbon projects
|
120
120
|
- [Refills](https://github.com/thoughtbot/refills): Prepackaged patterns and components built with Bourbon, Neat and Bitters
|
121
121
|
|
122
|
+
Also check out [Proteus](https://github.com/thoughtbot/proteus), a collection of useful starter kits to help you prototype faster. Each kit comes with Bourbon, Neat and Bitters out-of-the-box.
|
123
|
+
|
122
124
|
## Credits
|
123
125
|
|
124
126
|
[![thoughtbot](http://images.thoughtbot.com/bourbon/thoughtbot-logo.svg)](http://thoughtbot.com)
|
@@ -127,4 +129,4 @@ Bourbon is maintained and funded by [thoughtbot, inc](http://thoughtbot.com). Tw
|
|
127
129
|
|
128
130
|
## License
|
129
131
|
|
130
|
-
Copyright © 2011–
|
132
|
+
Copyright © 2011–2015 [thoughtbot, inc](http://thoughtbot.com). Bourbon is free software, and may be redistributed under the terms specified in the [license](LICENSE.md).
|
@@ -1,5 +1,5 @@
|
|
1
|
-
$georgia: Georgia, Cambria, "Times New Roman", Times, serif;
|
2
|
-
$helvetica: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
3
|
-
$lucida-grande: "Lucida Grande", Tahoma, Verdana, Arial, sans-serif;
|
4
|
-
$monospace: "Bitstream Vera Sans Mono", Consolas, Courier, monospace;
|
5
|
-
$verdana: Verdana, Geneva, sans-serif;
|
1
|
+
$georgia: "Georgia", "Cambria", "Times New Roman", "Times", serif;
|
2
|
+
$helvetica: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif;
|
3
|
+
$lucida-grande: "Lucida Grande", "Tahoma", "Verdana", "Arial", sans-serif;
|
4
|
+
$monospace: "Bitstream Vera Sans Mono", "Consolas", "Courier", monospace;
|
5
|
+
$verdana: "Verdana", "Geneva", sans-serif;
|
@@ -19,16 +19,23 @@
|
|
19
19
|
$src: null;
|
20
20
|
|
21
21
|
$formats-map: (
|
22
|
-
eot:
|
23
|
-
woff2:
|
24
|
-
woff:
|
25
|
-
ttf:
|
26
|
-
svg:
|
22
|
+
eot: "#{$file-path}.eot?#iefix" format("embedded-opentype"),
|
23
|
+
woff2: "#{$file-path}.woff2" format("woff2"),
|
24
|
+
woff: "#{$file-path}.woff" format("woff"),
|
25
|
+
ttf: "#{$file-path}.ttf" format("truetype"),
|
26
|
+
svg: "#{$file-path}.svg##{$font-family}" format("svg")
|
27
27
|
);
|
28
28
|
|
29
|
-
@each $
|
30
|
-
@if contains($file-formats, $
|
31
|
-
$
|
29
|
+
@each $key, $values in $formats-map {
|
30
|
+
@if contains($file-formats, $key) {
|
31
|
+
$file-path: nth($values, 1);
|
32
|
+
$font-format: nth($values, 2);
|
33
|
+
|
34
|
+
@if $asset-pipeline == true {
|
35
|
+
$src: append($src, font-url($file-path) $font-format, comma);
|
36
|
+
} @else {
|
37
|
+
$src: append($src, url($file-path) $font-format, comma);
|
38
|
+
}
|
32
39
|
}
|
33
40
|
}
|
34
41
|
|
data/bower.json
CHANGED
data/lib/bourbon/version.rb
CHANGED
data/package.json
CHANGED
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.1.
|
4
|
+
version: 4.1.1
|
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:
|
25
|
+
date: 2015-01-12 00:00:00.000000000 Z
|
26
26
|
dependencies:
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sass
|