purecss-sass 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +23 -26
- data/lib/purecss/sass/version.rb +1 -1
- data/package.json +3 -4
- data/vendor/assets/stylesheets/purecss/_base.scss +1 -1
- data/vendor/assets/stylesheets/purecss/_buttons.scss +1 -1
- data/vendor/assets/stylesheets/purecss/_forms-nr.scss +1 -1
- data/vendor/assets/stylesheets/purecss/_forms.scss +1 -1
- data/vendor/assets/stylesheets/purecss/_grids-responsive.scss +1 -1
- data/vendor/assets/stylesheets/purecss/_grids.scss +1 -1
- data/vendor/assets/stylesheets/purecss/_menus.scss +1 -2
- data/vendor/assets/stylesheets/purecss/_tables.scss +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6d02dfc8e787c8bf213803a54a674005fa9b20e3fb2db1df8aaf5cc4bd6fe2f
|
4
|
+
data.tar.gz: 677cee31094001095a741bbf18bfb1373dca24b638117c832b446886c1e6c562
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf3f667e59d63065fdd11b9283bf52ead2c32b6c49ba76f28f89157c3b7665b22a2cd92b2f06b404a57de7db283ea6c4d8753534e7eeff11f9ec70de5d48cd0b
|
7
|
+
data.tar.gz: e5e774517ef896982fc01ad9f3b7ce88dc797da5ee30e62e6734de582fa98fa69f3bd4d9d135ab96898343e10d0dc7528b7016849102d4d6a9da1968ca3573d9
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,23 +1,30 @@
|
|
1
1
|
# Pure CSS for Sass
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/purecss-sass.svg)](
|
4
|
-
[![npm version](https://badge.fury.io/js/purecss-sass.svg)](
|
5
|
-
[![Build Status](https://travis-ci.
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/purecss-sass.svg)](https://badge.fury.io/rb/purecss-sass)
|
4
|
+
[![npm version](https://badge.fury.io/js/purecss-sass.svg)](https://badge.fury.io/js/purecss-sass)
|
5
|
+
[![Build Status](https://travis-ci.com/rubysamurai/purecss-sass.svg?branch=master)](https://travis-ci.com/rubysamurai/purecss-sass)
|
6
6
|
|
7
|
-
[Pure](https://purecss.io/)
|
8
|
-
|
9
|
-
`purecss-sass` is a Sass-powered version of Pure CSS for your applications. It allows to include all of Pure's components at once or load them individually.
|
7
|
+
`purecss-sass` is a Sass-powered version of [Pure CSS](https://purecss.io/) for your applications, allowing to include all of Pure's components at once or load them individually.
|
10
8
|
|
11
9
|
Original Pure CSS files are converted using `sass-convert` and otherwise untouched and unmodified.
|
12
10
|
|
13
|
-
##
|
11
|
+
## npm and Yarn
|
12
|
+
|
13
|
+
To install `purecss-sass` npm package execute this command:
|
14
|
+
|
15
|
+
```
|
16
|
+
$ npm install purecss-sass
|
17
|
+
```
|
14
18
|
|
15
|
-
|
16
|
-
|
19
|
+
If you are using Yarn:
|
20
|
+
|
21
|
+
```
|
22
|
+
$ yarn add purecss-sass
|
23
|
+
```
|
17
24
|
|
18
|
-
|
25
|
+
## Ruby on Rails
|
19
26
|
|
20
|
-
Open your
|
27
|
+
Open your `Gemfile` and add this line:
|
21
28
|
|
22
29
|
```ruby
|
23
30
|
gem 'purecss-sass'
|
@@ -31,22 +38,11 @@ Open `/app/assets/stylesheets/application.scss` file and add this line:
|
|
31
38
|
@import 'purecss';
|
32
39
|
```
|
33
40
|
|
34
|
-
> Note: Default Rails
|
35
|
-
|
36
|
-
Restart Rails web server if it was running and now your Rails application is powered by Pure CSS for Sass.
|
37
|
-
|
38
|
-
### npm
|
39
|
-
|
40
|
-
To install `purecss-sass` npm package execute this command:
|
41
|
-
```
|
42
|
-
npm install purecss-sass
|
43
|
-
```
|
44
|
-
|
45
|
-
This will fetch latest version of `purecss-sass` stylesheets to drop into your Sass powered application.
|
41
|
+
> Note: Default Rails-generated application comes with `.css` file extension for stylesheet assets files, make sure you change it to `.scss` and remove all the `*= require_tree .` and `*= require_self` statements from the file.
|
46
42
|
|
47
43
|
## Usage
|
48
44
|
|
49
|
-
By default, using `@import 'purecss';`, all of Pure CSS components are imported.
|
45
|
+
By default, using `@import 'purecss';`, all of Pure CSS responsive components are imported.
|
50
46
|
|
51
47
|
You can import individual Sass components like this:
|
52
48
|
|
@@ -54,6 +50,7 @@ You can import individual Sass components like this:
|
|
54
50
|
@import 'purecss/base';
|
55
51
|
@import 'purecss/buttons';
|
56
52
|
@import 'purecss/forms';
|
53
|
+
@import 'purecss/forms-nr';
|
57
54
|
@import 'purecss/grids';
|
58
55
|
@import 'purecss/grids-responsive';
|
59
56
|
@import 'purecss/menus';
|
@@ -62,7 +59,7 @@ You can import individual Sass components like this:
|
|
62
59
|
|
63
60
|
## Versioning
|
64
61
|
|
65
|
-
Pure CSS for Sass follows the upstream version of Pure. But last version number may be ahead, in case there is a need to release project
|
62
|
+
Pure CSS for Sass follows the upstream version of Pure. But the last version number may be ahead, in case there is a need to release project-specific changes.
|
66
63
|
|
67
64
|
## Credits
|
68
65
|
|
@@ -72,4 +69,4 @@ Pure CSS for Sass is inspired from [bootstrap-sass](https://github.com/twbs/boot
|
|
72
69
|
|
73
70
|
Pure © Yahoo! Inc. Licensed under the [BSD](https://github.com/pure-css/pure/blob/master/LICENSE) license.
|
74
71
|
|
75
|
-
`purecss-sass` © Dmitriy Tarasov. Licensed under the [MIT](
|
72
|
+
`purecss-sass` © Dmitriy Tarasov. Licensed under the [MIT](LICENSE.txt) licence.
|
data/lib/purecss/sass/version.rb
CHANGED
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "purecss-sass",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.1",
|
4
4
|
"description": "Pure CSS framework, converted to Sass and ready to use in Sass powered applications",
|
5
5
|
"keywords": [
|
6
6
|
"pure",
|
@@ -13,10 +13,9 @@
|
|
13
13
|
"url": "https://github.com/rubysamurai/purecss-sass/issues"
|
14
14
|
},
|
15
15
|
"license": "MIT",
|
16
|
-
"author": "Dmitriy Tarasov",
|
16
|
+
"author": "Dmitriy Tarasov <info@rubysamurai.com>",
|
17
17
|
"files": [
|
18
|
-
"vendor"
|
19
|
-
"LICENSE.txt"
|
18
|
+
"vendor"
|
20
19
|
],
|
21
20
|
"main": "vendor/assets/stylesheets/_purecss.scss",
|
22
21
|
"repository": {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
Pure v2.0.
|
2
|
+
Pure v2.0.1
|
3
3
|
Copyright 2013 Yahoo!
|
4
4
|
Licensed under the BSD License.
|
5
5
|
https://github.com/pure-css/pure/blob/master/LICENSE.md
|
@@ -117,7 +117,6 @@ https://github.com/pure-css/pure/blob/master/LICENSE.md
|
|
117
117
|
white-space: nowrap;
|
118
118
|
overflow-y: hidden;
|
119
119
|
overflow-x: auto;
|
120
|
-
-webkit-overflow-scrolling: touch;
|
121
120
|
|
122
121
|
/* a little extra padding for this style to allow for scrollbars */
|
123
122
|
padding: .5em 0;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: purecss-sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitriy Tarasov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sassc
|