groundworkcss 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +11 -33
- data/lib/groundworkcss/generators/install_generator.rb +1 -1
- data/lib/groundworkcss/version.rb +1 -1
- data/vendor/assets/fonts/groundworkcss/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.svg +153 -38
- data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.woff +0 -0
- data/vendor/assets/stylesheets/groundworkcss/_settings.scss +301 -1
- data/vendor/assets/stylesheets/groundworkcss/base/{_all.scss → _all-base.scss} +2 -3
- data/vendor/assets/stylesheets/groundworkcss/base/_animations.scss +1 -1
- data/vendor/assets/stylesheets/groundworkcss/base/_global.scss +4 -23
- data/vendor/assets/stylesheets/groundworkcss/base/_grid.scss +53 -26
- data/vendor/assets/stylesheets/groundworkcss/base/_helpers.scss +105 -56
- data/vendor/assets/stylesheets/groundworkcss/base/_reset.scss +34 -34
- data/vendor/assets/stylesheets/groundworkcss/core/{_all.scss → _all-core.scss} +1 -1
- data/vendor/assets/stylesheets/groundworkcss/core/_breakpoints.scss +22 -0
- data/vendor/assets/stylesheets/groundworkcss/core/_defaults.scss +196 -93
- data/vendor/assets/stylesheets/groundworkcss/core/_mixins.scss +132 -131
- data/vendor/assets/stylesheets/groundworkcss/form/_all-form.scss +11 -0
- data/vendor/assets/stylesheets/groundworkcss/form/_forms.scss +57 -112
- data/vendor/assets/stylesheets/groundworkcss/form/_tiles.scss +9 -11
- data/vendor/assets/stylesheets/groundworkcss/groundwork-ie.scss +7 -8
- data/vendor/assets/stylesheets/groundworkcss/groundwork.scss +11 -14
- data/vendor/assets/stylesheets/groundworkcss/nav/_all-nav.scss +12 -0
- data/vendor/assets/stylesheets/groundworkcss/nav/_buttons.scss +22 -15
- data/vendor/assets/stylesheets/groundworkcss/nav/_navigation.scss +26 -29
- data/vendor/assets/stylesheets/groundworkcss/nav/_tabs.scss +39 -37
- data/vendor/assets/stylesheets/groundworkcss/responsive/_all-responsive.scss +14 -0
- data/vendor/assets/stylesheets/groundworkcss/responsive/_desktop.scss +5 -3
- data/vendor/assets/stylesheets/groundworkcss/responsive/_ipad.scss +5 -3
- data/vendor/assets/stylesheets/groundworkcss/responsive/_mobile.scss +6 -4
- data/vendor/assets/stylesheets/groundworkcss/responsive/_small-tablet.scss +20 -16
- data/vendor/assets/stylesheets/groundworkcss/social-icons-png.scss +295 -0
- data/vendor/assets/stylesheets/groundworkcss/{misc/_social-icons.scss → social-icons-svg.scss} +8 -5
- data/vendor/assets/stylesheets/groundworkcss/type/{_all.scss → _all-type.scss} +0 -1
- data/vendor/assets/stylesheets/groundworkcss/type/_typography.scss +168 -161
- data/vendor/assets/stylesheets/groundworkcss/type/_webfonts.scss +1 -1
- data/vendor/assets/stylesheets/groundworkcss/ui/_all-ui.scss +14 -0
- data/vendor/assets/stylesheets/groundworkcss/ui/_callouts.scss +31 -18
- data/vendor/assets/stylesheets/groundworkcss/ui/_messages.scss +31 -18
- data/vendor/assets/stylesheets/groundworkcss/ui/_modals.scss +6 -8
- data/vendor/assets/stylesheets/groundworkcss/ui/_tables.scss +6 -5
- data/vendor/assets/stylesheets/groundworkcss/ui/_tooltips.scss +15 -14
- metadata +28 -25
- checksums.yaml +0 -7
- data/vendor/assets/stylesheets/groundworkcss/_rails-settings.scss +0 -202
- data/vendor/assets/stylesheets/groundworkcss/font-awesome-ie7.min.css +0 -22
- data/vendor/assets/stylesheets/groundworkcss/form/_all.scss +0 -10
- data/vendor/assets/stylesheets/groundworkcss/index.scss +0 -3
- data/vendor/assets/stylesheets/groundworkcss/magnific-popup.css +0 -393
- data/vendor/assets/stylesheets/groundworkcss/misc/_all.scss +0 -9
- data/vendor/assets/stylesheets/groundworkcss/nav/_all.scss +0 -11
- data/vendor/assets/stylesheets/groundworkcss/no-svg.scss +0 -355
- data/vendor/assets/stylesheets/groundworkcss/placeholder_polyfill.css +0 -32
- data/vendor/assets/stylesheets/groundworkcss/responsive/_all.scss +0 -13
- data/vendor/assets/stylesheets/groundworkcss/type/_font-awesome.scss +0 -542
- data/vendor/assets/stylesheets/groundworkcss/ui/_all.scss +0 -13
data/README.md
CHANGED
@@ -5,28 +5,12 @@ GroundworkCSS Rails Gem
|
|
5
5
|
Add GroundworkCSS to your rails project.
|
6
6
|
|
7
7
|
|
8
|
-
|
9
|
-
```
|
10
|
-
gem 'groundworkcss', :github => 'groundworkcss/groundworkcss-rails'
|
11
|
-
```
|
12
|
-
|
13
|
-
And then run:
|
14
|
-
```
|
15
|
-
$ bundle exec rails g groundworkcss:install
|
16
|
-
```
|
17
|
-
|
18
|
-
Yay!
|
19
|
-
|
20
|
-
|
21
|
-
# Installation
|
22
|
-
|
23
|
-
|
24
|
-
Inside your Gemfile add the following line:
|
8
|
+
Inside your Gemfile add the following lines:
|
25
9
|
|
26
10
|
```ruby
|
27
11
|
group :assets do
|
28
12
|
gem 'compass-rails'
|
29
|
-
gem 'groundworkcss'
|
13
|
+
gem 'groundworkcss'
|
30
14
|
end
|
31
15
|
```
|
32
16
|
|
@@ -37,7 +21,7 @@ Then run `bundle install` to install the gem.
|
|
37
21
|
If you want to include GroundworkCSS on all of your pages then run the following to append `groundworkcss` to your application sprockets files:
|
38
22
|
|
39
23
|
```bash
|
40
|
-
rails g groundworkcss:install
|
24
|
+
bundle exec rails g groundworkcss:install
|
41
25
|
```
|
42
26
|
|
43
27
|
You can also manually include `groundworkcss` on individual pages:
|
@@ -47,13 +31,7 @@ stylesheet_link_tag "groundworkcss"
|
|
47
31
|
javascript_include_tag "groundworkcss"
|
48
32
|
```
|
49
33
|
|
50
|
-
|
51
|
-
|
52
|
-
**in application.css**
|
53
|
-
|
54
|
-
```css
|
55
|
-
/*= require "groundworkcss" */
|
56
|
-
```
|
34
|
+
You can add `require "groundworkcss"` to your javascripts sprockets file(s):
|
57
35
|
|
58
36
|
**in application.js**
|
59
37
|
|
@@ -68,17 +46,17 @@ Alternatively, you may be more selective about which modules to use and can sele
|
|
68
46
|
**in application.css**
|
69
47
|
|
70
48
|
```css
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
*= require "groundworkcss/type/all"
|
75
|
-
*/
|
49
|
+
@import "groundworkcss/groundwork/core/all";
|
50
|
+
@import "groundworkcss/groundwork/base/all";
|
51
|
+
@import "groundworkcss/groundwork/type/all";
|
76
52
|
```
|
77
53
|
|
78
54
|
**in application.js**
|
79
55
|
|
80
56
|
```javascript
|
81
|
-
//= require "groundworkcss/jquery
|
57
|
+
//= require "groundworkcss/jquery-responsiveText"
|
58
|
+
//= require "groundworkcss/jquery.cycle2"
|
59
|
+
//= require "groundworkcss/jquery.magnific-popup"
|
82
60
|
```
|
83
61
|
|
84
62
|
### Setup your layout with the Groundwork boilerplate
|
@@ -160,6 +138,6 @@ By default assets that are precompiled will be located in the `public/assets/` f
|
|
160
138
|
|
161
139
|
|
162
140
|
# Dependencies
|
163
|
-
|
141
|
+
* compass-rails (~> 1)
|
164
142
|
* rails (~> 3.1)
|
165
143
|
* jquery-rails (~> 1.0)
|
@@ -7,7 +7,7 @@ module Groundworkcss
|
|
7
7
|
|
8
8
|
def add_assets
|
9
9
|
insert_into_file "app/assets/javascripts/application#{detect_js_format[0]}", "#{detect_js_format[1]} require groundworkcss\n", :after => "jquery_ujs\n"
|
10
|
-
insert_into_file "app/assets/stylesheets/application#{detect_css_format[0]}", "@import 'groundworkcss/groundwork';\n", :after => "*/\n"
|
10
|
+
insert_into_file "app/assets/stylesheets/application#{detect_css_format[0]}", "@import 'groundwork_settings';\n@import 'groundworkcss/groundwork';\n", :after => "*/\n"
|
11
11
|
end
|
12
12
|
|
13
13
|
def detect_js_format
|
Binary file
|
Binary file
|