gridle-rails 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +7 -0
  6. data/Rakefile +1 -0
  7. data/gridle-rails.gemspec +21 -0
  8. data/lib/gridle/rails.rb +8 -0
  9. data/lib/gridle/rails/version.rb +5 -0
  10. data/vendor/assets/stylesheets/.DS_Store +0 -0
  11. data/vendor/assets/stylesheets/_settings.scss +12 -0
  12. data/vendor/assets/stylesheets/grid.scss +11 -0
  13. data/vendor/assets/stylesheets/gridle/.DS_Store +0 -0
  14. data/vendor/assets/stylesheets/gridle/_12-columns-classes.scss +9 -0
  15. data/vendor/assets/stylesheets/gridle/_12-columns-responsive-classes.scss +9 -0
  16. data/vendor/assets/stylesheets/gridle/_12-columns-responsive.scss +14 -0
  17. data/vendor/assets/stylesheets/gridle/_12-columns.scss +9 -0
  18. data/vendor/assets/stylesheets/gridle/_16-columns-classes.scss +9 -0
  19. data/vendor/assets/stylesheets/gridle/_16-columns-responsive-classes.scss +9 -0
  20. data/vendor/assets/stylesheets/gridle/_16-columns-responsive.scss +14 -0
  21. data/vendor/assets/stylesheets/gridle/_16-columns.scss +9 -0
  22. data/vendor/assets/stylesheets/gridle/_24-columns-classes.scss +9 -0
  23. data/vendor/assets/stylesheets/gridle/_24-columns-responsive-classes.scss +9 -0
  24. data/vendor/assets/stylesheets/gridle/_24-columns-responsive.scss +14 -0
  25. data/vendor/assets/stylesheets/gridle/_24-columns.scss +9 -0
  26. data/vendor/assets/stylesheets/gridle/_960gs-classes.scss +9 -0
  27. data/vendor/assets/stylesheets/gridle/_960gs-responsive-classes.scss +9 -0
  28. data/vendor/assets/stylesheets/gridle/_960gs-responsive.scss +23 -0
  29. data/vendor/assets/stylesheets/gridle/_960gs.scss +18 -0
  30. data/vendor/assets/stylesheets/gridle/_gridle.scss +1762 -0
  31. data/vendor/assets/stylesheets/gridle/_unsementic-classes.scss +9 -0
  32. data/vendor/assets/stylesheets/gridle/_unsementic-responsive-classes.scss +9 -0
  33. data/vendor/assets/stylesheets/gridle/_unsementic-responsive.scss +23 -0
  34. data/vendor/assets/stylesheets/gridle/_unsementic.scss +18 -0
  35. data/vendor/assets/stylesheets/style.scss +55 -0
  36. metadata +107 -0
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Imports :
3
+ */
4
+ @import 'unsementic';
5
+
6
+ /**
7
+ * Generate classes :
8
+ */
9
+ @include gridle_generate_classes();
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Imports :
3
+ */
4
+ @import 'unsementic-responsive';
5
+
6
+ /**
7
+ * Generate classes :
8
+ */
9
+ @include gridle_generate_classes();
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Imports
3
+ */
4
+ @import 'gridle';
5
+
6
+ /**
7
+ * Configuration :
8
+ */
9
+ $gridle-columns-count : 20;
10
+ $gridle-name-multiplicator : 5;
11
+
12
+ /**
13
+ * Register states :
14
+ */
15
+ @include gridle_register_default_states();
16
+
17
+ /**
18
+ * Fix width of container :
19
+ */
20
+ .container, .grid-container, .container-20, .c-20 {
21
+ max-width:1200px;
22
+ margin:0 auto;
23
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Imports
3
+ */
4
+ @import 'gridle';
5
+
6
+ /**
7
+ * Configuration :
8
+ */
9
+ $gridle-columns-count : 20;
10
+ $gridle-name-multiplicator : 5;
11
+
12
+ /**
13
+ * Fix width of container :
14
+ */
15
+ .container, .grid-container, .container-20, .c-20 {
16
+ max-width:1200px;
17
+ margin:0 auto;
18
+ }
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Imports :
3
+ */
4
+ @import 'compass/reset';
5
+ @import 'compass/css3/box';
6
+
7
+ /**
8
+ * Import grid settings :
9
+ * This to be able to use gridle mixins, etc...
10
+ */
11
+ @import 'settings';
12
+
13
+ /**
14
+ * Medias :
15
+ */
16
+ ul#medias {
17
+ background:black;
18
+ text-align:center;
19
+ margin-bottom:30px;
20
+
21
+ li {
22
+ display:inline-block;
23
+ height:50px;
24
+ line-height:50px;
25
+ padding:0 30px;
26
+ color:white;
27
+ font-size:16px;
28
+ cursor:pointer;
29
+ margin:0;
30
+
31
+ &.active,
32
+ &:hover {
33
+ background:white;
34
+ color:black;
35
+ }
36
+ }
37
+
38
+ @include gridle_state(0, 600px) {
39
+ display:none;
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Basic formatting :
45
+ */
46
+ body {
47
+ font:11px/1.5 'Helvetica Neue', Verdana, sans-serif;
48
+
49
+ @include gridle_state('mobile') {
50
+ text-align:center;
51
+ }
52
+ @include gridle_state('ipad-landscape') {
53
+ font-size:16px;
54
+ }
55
+ }
metadata ADDED
@@ -0,0 +1,107 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gridle-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.0
5
+ platform: ruby
6
+ authors:
7
+ - polymatt
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-04-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Rails wrapper for Gridle{.SCSS} grid library.
42
+ email:
43
+ - matt@polymathic.me
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - .gitignore
49
+ - Gemfile
50
+ - LICENSE.txt
51
+ - README.md
52
+ - Rakefile
53
+ - gridle-rails.gemspec
54
+ - lib/gridle/rails.rb
55
+ - lib/gridle/rails/version.rb
56
+ - vendor/assets/stylesheets/.DS_Store
57
+ - vendor/assets/stylesheets/_settings.scss
58
+ - vendor/assets/stylesheets/grid.scss
59
+ - vendor/assets/stylesheets/gridle/.DS_Store
60
+ - vendor/assets/stylesheets/gridle/_12-columns-classes.scss
61
+ - vendor/assets/stylesheets/gridle/_12-columns-responsive-classes.scss
62
+ - vendor/assets/stylesheets/gridle/_12-columns-responsive.scss
63
+ - vendor/assets/stylesheets/gridle/_12-columns.scss
64
+ - vendor/assets/stylesheets/gridle/_16-columns-classes.scss
65
+ - vendor/assets/stylesheets/gridle/_16-columns-responsive-classes.scss
66
+ - vendor/assets/stylesheets/gridle/_16-columns-responsive.scss
67
+ - vendor/assets/stylesheets/gridle/_16-columns.scss
68
+ - vendor/assets/stylesheets/gridle/_24-columns-classes.scss
69
+ - vendor/assets/stylesheets/gridle/_24-columns-responsive-classes.scss
70
+ - vendor/assets/stylesheets/gridle/_24-columns-responsive.scss
71
+ - vendor/assets/stylesheets/gridle/_24-columns.scss
72
+ - vendor/assets/stylesheets/gridle/_960gs-classes.scss
73
+ - vendor/assets/stylesheets/gridle/_960gs-responsive-classes.scss
74
+ - vendor/assets/stylesheets/gridle/_960gs-responsive.scss
75
+ - vendor/assets/stylesheets/gridle/_960gs.scss
76
+ - vendor/assets/stylesheets/gridle/_gridle.scss
77
+ - vendor/assets/stylesheets/gridle/_unsementic-classes.scss
78
+ - vendor/assets/stylesheets/gridle/_unsementic-responsive-classes.scss
79
+ - vendor/assets/stylesheets/gridle/_unsementic-responsive.scss
80
+ - vendor/assets/stylesheets/gridle/_unsementic.scss
81
+ - vendor/assets/stylesheets/style.scss
82
+ homepage: https://github.com/olivierbossel/gridle
83
+ licenses:
84
+ - MIT
85
+ metadata: {}
86
+ post_install_message:
87
+ rdoc_options: []
88
+ require_paths:
89
+ - lib
90
+ required_ruby_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - '>='
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ required_rubygems_version: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - '>='
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
100
+ requirements: []
101
+ rubyforge_project:
102
+ rubygems_version: 2.0.3
103
+ signing_key:
104
+ specification_version: 4
105
+ summary: Gridle is a set of complete and simple settings, mixins and classes that
106
+ make the creation and usage of grid systems (even complex ones) really simple.
107
+ test_files: []