groundworkcss 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +24 -29
- data/app/assets/stylesheets/groundworkcss/_settings-rails4.scss +1 -1
- data/groundworkcss-0.4.0.gem +0 -0
- data/lib/groundworkcss/version.rb +1 -1
- metadata +65 -78
data/README.md
CHANGED
@@ -14,14 +14,35 @@ group :assets do
|
|
14
14
|
end
|
15
15
|
```
|
16
16
|
|
17
|
+
Note, you will need to have therubyracer enabled in order to support Coffeescript. Ensure that this line is uncommented in your Gemfile:
|
18
|
+
```
|
19
|
+
gem 'therubyracer', :platforms => :ruby
|
20
|
+
```
|
21
|
+
|
22
|
+
Rails 4
|
23
|
+
----
|
24
|
+
|
25
|
+
Note: @ghepting: I've noticed that `compass-rails` doesn't propertly support Rails 4 yet, so I've been using the edge version of @milgner's fork, which seems to work well. Use at your own risk.
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
gem 'compass-rails', github: 'milgner/compass-rails', ref: '1749c06f15dc4b058427e7969810457213647fb8'
|
29
|
+
```
|
30
|
+
|
31
|
+
|
17
32
|
Then run `bundle install` to install the gem.
|
18
33
|
|
19
|
-
##
|
34
|
+
## Include GroundworkCSS in your manifest file(s):
|
20
35
|
|
21
36
|
If you want to include GroundworkCSS on all of your pages then run the following to append `groundworkcss` to your application sprockets files:
|
22
37
|
|
23
38
|
```bash
|
24
|
-
bundle exec rails g groundworkcss:install
|
39
|
+
$ bundle exec rails g groundworkcss:install
|
40
|
+
```
|
41
|
+
|
42
|
+
If necessary, rename your `application.css` to `application.scss` to enable Sass compilation.
|
43
|
+
|
44
|
+
```bash
|
45
|
+
$ mv app/assets/stylesheets/application.{css,scss}
|
25
46
|
```
|
26
47
|
|
27
48
|
You can also manually include `groundworkcss` on individual pages:
|
@@ -39,39 +60,13 @@ You can add `require "groundworkcss"` to your javascripts sprockets file(s):
|
|
39
60
|
//= require "groundworkcss"
|
40
61
|
```
|
41
62
|
|
42
|
-
### Setup custom settings file
|
43
|
-
|
44
|
-
Now you have everything installed, but need to copy the example settings file to setup customizations, such as asset paths, colors and all other configurations.
|
45
|
-
|
46
|
-
- Copy or rename `_groundwork_settings.scss.example` to `_groundwork_settings.scss`
|
47
|
-
|
48
|
-
- Setup the asset paths on Rails 3:
|
49
|
-
|
50
|
-
```scss
|
51
|
-
$root_path: "/assets/";
|
52
|
-
$images_path: asset-path("", image);
|
53
|
-
$fonts_path: 'groundworkcss/';
|
54
|
-
$boxsizing_path: asset-path("groundworkcss/libs/boxsizing.htc", javascript);
|
55
|
-
$PIE_path: asset-path("groundworkcss/libs/PIE.htc", javascript);
|
56
|
-
```
|
57
|
-
|
58
|
-
- Setup the asset paths on Rails 4:
|
59
|
-
|
60
|
-
```scss
|
61
|
-
$root_path: "./";
|
62
|
-
$images_path: asset-path("images/");
|
63
|
-
$fonts_path: font-path("");
|
64
|
-
$boxsizing_path: asset-path("groundworkcss/libs/boxsizing.htc");
|
65
|
-
$PIE_path: asset-path("groundworkcss/libs/PIE.htc");
|
66
|
-
```
|
67
|
-
|
68
63
|
### Advanced
|
69
64
|
|
70
65
|
Alternatively, you may be more selective about which modules to use and can selectively add stylesheets and javascripts to your project:
|
71
66
|
|
72
67
|
**in application.css**
|
73
68
|
|
74
|
-
```
|
69
|
+
```scss
|
75
70
|
@import "groundworkcss/groundwork/core/all-core";
|
76
71
|
@import "groundworkcss/groundwork/base/all-base";
|
77
72
|
@import "groundworkcss/groundwork/type/all-type";
|
@@ -11,7 +11,7 @@
|
|
11
11
|
// file paths
|
12
12
|
$root_path: "./"; // path to HTML document root (relative from $css_path)
|
13
13
|
$images_path: asset-path("images/"); // path to images (relative from $root_path)
|
14
|
-
$fonts_path:
|
14
|
+
$fonts_path: "groundworkcss/"; // path to fonts (relative from $root_path)
|
15
15
|
$boxsizing_path: asset-path("groundworkcss/libs/boxsizing.htc"); // path to box sizing polyfill (change to absolute path from HTML document root)
|
16
16
|
$PIE_path: asset-path("groundworkcss/libs/PIE.htc"); // path to IE CSS3 polyfill (change to absolute path from HTML document root)
|
17
17
|
|
Binary file
|
metadata
CHANGED
@@ -1,15 +1,10 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: groundworkcss
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 0
|
10
|
-
version: 0.4.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- ghepting
|
14
9
|
- BananaNeil
|
15
10
|
- nicknovitski
|
@@ -17,70 +12,71 @@ authors:
|
|
17
12
|
autorequire:
|
18
13
|
bindir: bin
|
19
14
|
cert_chain: []
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
- !ruby/object:Gem::Dependency
|
15
|
+
date: 2013-07-22 00:00:00.000000000 Z
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
24
18
|
name: compass-rails
|
25
|
-
|
26
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
requirement: !ruby/object:Gem::Requirement
|
27
20
|
none: false
|
28
|
-
requirements:
|
21
|
+
requirements:
|
29
22
|
- - ~>
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
|
32
|
-
segments:
|
33
|
-
- 1
|
34
|
-
version: "1"
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: '1'
|
35
25
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: railties
|
39
26
|
prerelease: false
|
40
|
-
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
28
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '1'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: railties
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
none: false
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
50
40
|
version: 3.1.0
|
51
41
|
- - <
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
|
54
|
-
segments:
|
55
|
-
- 5
|
56
|
-
- 0
|
57
|
-
version: "5.0"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '5.0'
|
58
44
|
type: :runtime
|
59
|
-
version_requirements: *id002
|
60
|
-
- !ruby/object:Gem::Dependency
|
61
|
-
name: jquery-rails
|
62
45
|
prerelease: false
|
63
|
-
|
46
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
47
|
none: false
|
65
|
-
requirements:
|
48
|
+
requirements:
|
49
|
+
- - ! '>='
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: 3.1.0
|
52
|
+
- - <
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: jquery-rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
66
60
|
- - ~>
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
|
69
|
-
segments:
|
70
|
-
- 3
|
71
|
-
version: "3"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3'
|
72
63
|
type: :runtime
|
73
|
-
|
74
|
-
|
75
|
-
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '3'
|
71
|
+
description: The official GroundworkCSS rails gem. Created by @ghepting and @ldewald.
|
72
|
+
GroundworkCSS is a fully responsive HTML5, CSS and Javascript toolkit created by
|
73
|
+
@ghepting.
|
74
|
+
email:
|
76
75
|
- groundwork@sidereel.com
|
77
76
|
executables: []
|
78
|
-
|
79
77
|
extensions: []
|
80
|
-
|
81
78
|
extra_rdoc_files: []
|
82
|
-
|
83
|
-
files:
|
79
|
+
files:
|
84
80
|
- .gitignore
|
85
81
|
- Gemfile
|
86
82
|
- README.md
|
@@ -416,6 +412,7 @@ files:
|
|
416
412
|
- app/assets/stylesheets/groundworkcss/ui/_modals.scss
|
417
413
|
- app/assets/stylesheets/groundworkcss/ui/_tables.scss
|
418
414
|
- app/assets/stylesheets/groundworkcss/ui/_tooltips.scss
|
415
|
+
- groundworkcss-0.4.0.gem
|
419
416
|
- groundworkcss.gemspec
|
420
417
|
- lib/groundworkcss.rb
|
421
418
|
- lib/groundworkcss/engine.rb
|
@@ -424,36 +421,26 @@ files:
|
|
424
421
|
- lib/groundworkcss/version.rb
|
425
422
|
homepage: http://groundworkcss.github.io
|
426
423
|
licenses: []
|
427
|
-
|
428
424
|
post_install_message:
|
429
425
|
rdoc_options: []
|
430
|
-
|
431
|
-
require_paths:
|
426
|
+
require_paths:
|
432
427
|
- lib
|
433
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
428
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
434
429
|
none: false
|
435
|
-
requirements:
|
436
|
-
- -
|
437
|
-
- !ruby/object:Gem::Version
|
438
|
-
|
439
|
-
|
440
|
-
- 0
|
441
|
-
version: "0"
|
442
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
430
|
+
requirements:
|
431
|
+
- - ! '>='
|
432
|
+
- !ruby/object:Gem::Version
|
433
|
+
version: '0'
|
434
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
443
435
|
none: false
|
444
|
-
requirements:
|
445
|
-
- -
|
446
|
-
- !ruby/object:Gem::Version
|
447
|
-
|
448
|
-
segments:
|
449
|
-
- 0
|
450
|
-
version: "0"
|
436
|
+
requirements:
|
437
|
+
- - ! '>='
|
438
|
+
- !ruby/object:Gem::Version
|
439
|
+
version: '0'
|
451
440
|
requirements: []
|
452
|
-
|
453
441
|
rubyforge_project: groundworkcss
|
454
|
-
rubygems_version: 1.8.
|
442
|
+
rubygems_version: 1.8.25
|
455
443
|
signing_key:
|
456
444
|
specification_version: 3
|
457
445
|
summary: Setup GroundworkCSS on your rails projects in seconds.
|
458
446
|
test_files: []
|
459
|
-
|