lessframework-rails 0.0.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.
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in lessframework-rails.gemspec
4
+ gemspec
File without changes
@@ -0,0 +1,2 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
@@ -0,0 +1,26 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "lessframework-rails/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "lessframework-rails"
7
+ s.version = Lessframework::Rails::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Aslam Najeebdeen"]
10
+ s.email = ["aslam@frontcube.com"]
11
+ s.homepage = "http://github.com/aslamnd/lessframework-rails"
12
+ s.summary = "Less Frameworks for Rails 3 projects"
13
+ s.description = "Less Frameworks is an adaptive CSS grid system, helps to make responsive website. This gem provides Less Framwork for your Rails 3 projects. Learn more about Less framwork at http://lessframework.com/"
14
+
15
+ s.rubyforge_project = "lessframework-rails"
16
+
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
+ s.require_paths = ["lib"]
21
+
22
+ s.add_dependency "railties", "~> 3.0"
23
+ s.add_dependency "thor", "~> 0.14"
24
+ s.add_development_dependency "bundler", "~> 1.0.0"
25
+ s.add_development_dependency "rails", "~> 3.0"
26
+ end
@@ -0,0 +1,9 @@
1
+ module Lessframework
2
+ module Rails
3
+ if ::Rails.version < "3.1"
4
+ require "lessframework-rails/railtie"
5
+ else
6
+ require "lessframework-rails/engine"
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,6 @@
1
+ module Lessframework
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ module Lessframework
2
+ module Rails
3
+ class Railtie < ::Rails::Railtie
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ module Lessframework
2
+ module Rails
3
+ VERSION = "0.0.1"
4
+ end
5
+ end
@@ -0,0 +1,151 @@
1
+ /* Less Framework 4
2
+ http://lessframework.com
3
+ by Joni Korpi
4
+ License: http://opensource.org/licenses/mit-license.php */
5
+
6
+
7
+ /* Resets
8
+ ------ */
9
+
10
+ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6,
11
+ p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em,
12
+ img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr,
13
+ dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
14
+ table, caption, tbody, tfoot, thead, tr, th, td,
15
+ article, aside, canvas, details, figure, figcaption, hgroup,
16
+ menu, footer, header, nav, section, summary, time, mark, audio, video {
17
+ margin: 0;
18
+ padding: 0;
19
+ border: 0;
20
+ }
21
+
22
+ article, aside, canvas, figure, figure img, figcaption, hgroup,
23
+ footer, header, nav, section, audio, video {
24
+ display: block;
25
+ }
26
+
27
+ a img {border: 0;}
28
+
29
+
30
+
31
+ /* Typography presets
32
+ ------------------ */
33
+
34
+ .gigantic {
35
+ font-size: 123px;
36
+ line-height: 132px;
37
+ letter-spacing: -2px;
38
+ }
39
+
40
+ .huge, h1 {
41
+ font-size: 76px;
42
+ line-height: 84px;
43
+ letter-spacing: -1px;
44
+ }
45
+
46
+ .large, h2 {
47
+ font-size: 47px;
48
+ line-height: 48px;
49
+ }
50
+
51
+ .bigger, h3 {
52
+ font-size: 29px;
53
+ line-height: 36px;
54
+ }
55
+
56
+ .big, h4 {
57
+ font-size: 25px;
58
+ line-height: 30px;
59
+ }
60
+
61
+ body {
62
+ font: 18px/24px "Times New Roman", Times, serif;
63
+ }
64
+
65
+ .small, small {
66
+ font-size: 13px;
67
+ line-height: 18px;
68
+ }
69
+
70
+ /* Selection colours (easy to forget) */
71
+
72
+ ::selection {background: rgb(255,255,158);}
73
+ ::-moz-selection {background: rgb(255,255,158);}
74
+ img::selection {background: transparent;}
75
+ img::-moz-selection {background: transparent;}
76
+ body {-webkit-tap-highlight-color: rgb(255,255,158);}
77
+
78
+
79
+
80
+ /* Default Layout: 992px.
81
+ Gutters: 24px.
82
+ Outer margins: 48px.
83
+ Leftover space for scrollbars @1024px: 32px.
84
+ -------------------------------------------------------------------------------
85
+ cols 1 2 3 4 5 6 7 8 9 10
86
+ px 68 160 252 344 436 528 620 712 804 896 */
87
+
88
+ body {
89
+ width: 896px;
90
+ padding: 72px 48px 84px;
91
+ background: rgb(232,232,232);
92
+ color: rgb(60,60,60);
93
+ -webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
94
+ }
95
+
96
+
97
+
98
+ /* Tablet Layout: 768px.
99
+ Gutters: 24px.
100
+ Outer margins: 28px.
101
+ Inherits styles from: Default Layout.
102
+ -----------------------------------------------------------------
103
+ cols 1 2 3 4 5 6 7 8
104
+ px 68 160 252 344 436 528 620 712 */
105
+
106
+ @media only screen and (min-width: 768px) and (max-width: 991px) {
107
+
108
+ body {
109
+ width: 712px;
110
+ padding: 48px 28px 60px;
111
+ }
112
+ }
113
+
114
+
115
+
116
+ /* Mobile Layout: 320px.
117
+ Gutters: 24px.
118
+ Outer margins: 34px.
119
+ Inherits styles from: Default Layout.
120
+ ---------------------------------------------
121
+ cols 1 2 3
122
+ px 68 160 252 */
123
+
124
+ @media only screen and (max-width: 767px) {
125
+
126
+ body {
127
+ width: 252px;
128
+ padding: 48px 34px 60px;
129
+ }
130
+
131
+ }
132
+
133
+
134
+
135
+ /* Wide Mobile Layout: 480px.
136
+ Gutters: 24px.
137
+ Outer margins: 22px.
138
+ Inherits styles from: Default Layout, Mobile Layout.
139
+ ------------------------------------------------------------
140
+ cols 1 2 3 4 5
141
+ px 68 160 252 344 436 */
142
+
143
+ @media only screen and (min-width: 480px) and (max-width: 767px) {
144
+
145
+ body {
146
+ width: 436px;
147
+ padding: 36px 22px 48px;
148
+ }
149
+
150
+ }
151
+
@@ -0,0 +1,151 @@
1
+ /* Less Framework 4
2
+ http://lessframework.com
3
+ by Joni Korpi
4
+ License: http://opensource.org/licenses/mit-license.php */
5
+
6
+
7
+ /* Resets
8
+ ------ */
9
+
10
+ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6,
11
+ p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em,
12
+ img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr,
13
+ dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
14
+ table, caption, tbody, tfoot, thead, tr, th, td,
15
+ article, aside, canvas, details, figure, figcaption, hgroup,
16
+ menu, footer, header, nav, section, summary, time, mark, audio, video {
17
+ margin: 0;
18
+ padding: 0;
19
+ border: 0;
20
+ }
21
+
22
+ article, aside, canvas, figure, figure img, figcaption, hgroup,
23
+ footer, header, nav, section, audio, video {
24
+ display: block;
25
+ }
26
+
27
+ a img {border: 0;}
28
+
29
+
30
+
31
+ /* Typography presets
32
+ ------------------ */
33
+
34
+ .gigantic {
35
+ font-size: 116px;
36
+ line-height: 120px;
37
+ letter-spacing: -2px;
38
+ }
39
+
40
+ .huge, h1 {
41
+ font-size: 72px;
42
+ line-height: 72px;
43
+ letter-spacing: -1px;
44
+ }
45
+
46
+ .large, h2 {
47
+ font-size: 44px;
48
+ line-height: 48px;
49
+ }
50
+
51
+ .bigger, h3 {
52
+ font-size: 28px;
53
+ line-height: 36px;
54
+ }
55
+
56
+ .big, h4 {
57
+ font-size: 24px;
58
+ line-height: 30px;
59
+ }
60
+
61
+ body {
62
+ font: 17px/24px Palatino, Constantia, "Palatino Linotype", serif;
63
+ }
64
+
65
+ .small, small {
66
+ font-size: 13px;
67
+ line-height: 18px;
68
+ }
69
+
70
+ /* Selection colours (easy to forget) */
71
+
72
+ ::selection {background: rgb(255,255,158);}
73
+ ::-moz-selection {background: rgb(255,255,158);}
74
+ img::selection {background: transparent;}
75
+ img::-moz-selection {background: transparent;}
76
+ body {-webkit-tap-highlight-color: rgb(255,255,158);}
77
+
78
+
79
+
80
+ /* Default Layout: 992px.
81
+ Gutters: 24px.
82
+ Outer margins: 48px.
83
+ Leftover space for scrollbars @1024px: 32px.
84
+ -------------------------------------------------------------------------------
85
+ cols 1 2 3 4 5 6 7 8 9 10
86
+ px 68 160 252 344 436 528 620 712 804 896 */
87
+
88
+ body {
89
+ width: 896px;
90
+ padding: 72px 48px 84px;
91
+ background: rgb(232,232,232);
92
+ color: rgb(60,60,60);
93
+ -webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
94
+ }
95
+
96
+
97
+
98
+ /* Tablet Layout: 768px.
99
+ Gutters: 24px.
100
+ Outer margins: 28px.
101
+ Inherits styles from: Default Layout.
102
+ -----------------------------------------------------------------
103
+ cols 1 2 3 4 5 6 7 8
104
+ px 68 160 252 344 436 528 620 712 */
105
+
106
+ @media only screen and (min-width: 768px) and (max-width: 991px) {
107
+
108
+ body {
109
+ width: 712px;
110
+ padding: 48px 28px 60px;
111
+ }
112
+ }
113
+
114
+
115
+
116
+ /* Mobile Layout: 320px.
117
+ Gutters: 24px.
118
+ Outer margins: 34px.
119
+ Inherits styles from: Default Layout.
120
+ ---------------------------------------------
121
+ cols 1 2 3
122
+ px 68 160 252 */
123
+
124
+ @media only screen and (max-width: 767px) {
125
+
126
+ body {
127
+ width: 252px;
128
+ padding: 48px 34px 60px;
129
+ }
130
+
131
+ }
132
+
133
+
134
+
135
+ /* Wide Mobile Layout: 480px.
136
+ Gutters: 24px.
137
+ Outer margins: 22px.
138
+ Inherits styles from: Default Layout, Mobile Layout.
139
+ ------------------------------------------------------------
140
+ cols 1 2 3 4 5
141
+ px 68 160 252 344 436 */
142
+
143
+ @media only screen and (min-width: 480px) and (max-width: 767px) {
144
+
145
+ body {
146
+ width: 436px;
147
+ padding: 36px 22px 48px;
148
+ }
149
+
150
+ }
151
+
@@ -0,0 +1,151 @@
1
+ /* Less Framework 4
2
+ http://lessframework.com
3
+ by Joni Korpi
4
+ License: http://opensource.org/licenses/mit-license.php */
5
+
6
+
7
+ /* Resets
8
+ ------ */
9
+
10
+ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6,
11
+ p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em,
12
+ img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr,
13
+ dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
14
+ table, caption, tbody, tfoot, thead, tr, th, td,
15
+ article, aside, canvas, details, figure, figcaption, hgroup,
16
+ menu, footer, header, nav, section, summary, time, mark, audio, video {
17
+ margin: 0;
18
+ padding: 0;
19
+ border: 0;
20
+ }
21
+
22
+ article, aside, canvas, figure, figure img, figcaption, hgroup,
23
+ footer, header, nav, section, audio, video {
24
+ display: block;
25
+ }
26
+
27
+ a img {border: 0;}
28
+
29
+
30
+
31
+ /* Typography presets
32
+ ------------------ */
33
+
34
+ .gigantic {
35
+ font-size: 110px;
36
+ line-height: 120px;
37
+ letter-spacing: -2px;
38
+ }
39
+
40
+ .huge, h1 {
41
+ font-size: 68px;
42
+ line-height: 72px;
43
+ letter-spacing: -1px;
44
+ }
45
+
46
+ .large, h2 {
47
+ font-size: 42px;
48
+ line-height: 48px;
49
+ }
50
+
51
+ .bigger, h3 {
52
+ font-size: 26px;
53
+ line-height: 36px;
54
+ }
55
+
56
+ .big, h4 {
57
+ font-size: 22px;
58
+ line-height: 30px;
59
+ }
60
+
61
+ body {
62
+ font: 16px/24px Georgia, serif;
63
+ }
64
+
65
+ .small, small {
66
+ font-size: 13px;
67
+ line-height: 18px;
68
+ }
69
+
70
+ /* Selection colours (easy to forget) */
71
+
72
+ ::selection {background: rgb(255,255,158);}
73
+ ::-moz-selection {background: rgb(255,255,158);}
74
+ img::selection {background: transparent;}
75
+ img::-moz-selection {background: transparent;}
76
+ body {-webkit-tap-highlight-color: rgb(255,255,158);}
77
+
78
+
79
+
80
+ /* Default Layout: 992px.
81
+ Gutters: 24px.
82
+ Outer margins: 48px.
83
+ Leftover space for scrollbars @1024px: 32px.
84
+ -------------------------------------------------------------------------------
85
+ cols 1 2 3 4 5 6 7 8 9 10
86
+ px 68 160 252 344 436 528 620 712 804 896 */
87
+
88
+ body {
89
+ width: 896px;
90
+ padding: 72px 48px 84px;
91
+ background: rgb(232,232,232);
92
+ color: rgb(60,60,60);
93
+ -webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
94
+ }
95
+
96
+
97
+
98
+ /* Tablet Layout: 768px.
99
+ Gutters: 24px.
100
+ Outer margins: 28px.
101
+ Inherits styles from: Default Layout.
102
+ -----------------------------------------------------------------
103
+ cols 1 2 3 4 5 6 7 8
104
+ px 68 160 252 344 436 528 620 712 */
105
+
106
+ @media only screen and (min-width: 768px) and (max-width: 991px) {
107
+
108
+ body {
109
+ width: 712px;
110
+ padding: 48px 28px 60px;
111
+ }
112
+ }
113
+
114
+
115
+
116
+ /* Mobile Layout: 320px.
117
+ Gutters: 24px.
118
+ Outer margins: 34px.
119
+ Inherits styles from: Default Layout.
120
+ ---------------------------------------------
121
+ cols 1 2 3
122
+ px 68 160 252 */
123
+
124
+ @media only screen and (max-width: 767px) {
125
+
126
+ body {
127
+ width: 252px;
128
+ padding: 48px 34px 60px;
129
+ }
130
+
131
+ }
132
+
133
+
134
+
135
+ /* Wide Mobile Layout: 480px.
136
+ Gutters: 24px.
137
+ Outer margins: 22px.
138
+ Inherits styles from: Default Layout, Mobile Layout.
139
+ ------------------------------------------------------------
140
+ cols 1 2 3 4 5
141
+ px 68 160 252 344 436 */
142
+
143
+ @media only screen and (min-width: 480px) and (max-width: 767px) {
144
+
145
+ body {
146
+ width: 436px;
147
+ padding: 36px 22px 48px;
148
+ }
149
+
150
+ }
151
+
@@ -0,0 +1,15 @@
1
+ /* Retina media query.
2
+ Overrides styles for devices with a
3
+ device-pixel-ratio of 2+, such as iPhone 4.
4
+ ----------------------------------------------- */
5
+
6
+ @media
7
+ only screen and (-webkit-min-device-pixel-ratio: 2),
8
+ only screen and (min-device-pixel-ratio: 2) {
9
+
10
+ body {
11
+
12
+ }
13
+
14
+ }
15
+
metadata ADDED
@@ -0,0 +1,140 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: lessframework-rails
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Aslam Najeebdeen
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-07-15 00:00:00 +05:30
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: railties
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ hash: 7
30
+ segments:
31
+ - 3
32
+ - 0
33
+ version: "3.0"
34
+ type: :runtime
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: thor
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ hash: 23
45
+ segments:
46
+ - 0
47
+ - 14
48
+ version: "0.14"
49
+ type: :runtime
50
+ version_requirements: *id002
51
+ - !ruby/object:Gem::Dependency
52
+ name: bundler
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ~>
58
+ - !ruby/object:Gem::Version
59
+ hash: 23
60
+ segments:
61
+ - 1
62
+ - 0
63
+ - 0
64
+ version: 1.0.0
65
+ type: :development
66
+ version_requirements: *id003
67
+ - !ruby/object:Gem::Dependency
68
+ name: rails
69
+ prerelease: false
70
+ requirement: &id004 !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ hash: 7
76
+ segments:
77
+ - 3
78
+ - 0
79
+ version: "3.0"
80
+ type: :development
81
+ version_requirements: *id004
82
+ description: Less Frameworks is an adaptive CSS grid system, helps to make responsive website. This gem provides Less Framwork for your Rails 3 projects. Learn more about Less framwork at http://lessframework.com/
83
+ email:
84
+ - aslam@frontcube.com
85
+ executables: []
86
+
87
+ extensions: []
88
+
89
+ extra_rdoc_files: []
90
+
91
+ files:
92
+ - .gitignore
93
+ - Gemfile
94
+ - README.md
95
+ - Rakefile
96
+ - lessframework-rails.gemspec
97
+ - lib/lessframework-rails.rb
98
+ - lib/lessframework-rails/engine.rb
99
+ - lib/lessframework-rails/railtie.rb
100
+ - lib/lessframework-rails/version.rb
101
+ - vendor/assets/stylesheets/less133.css
102
+ - vendor/assets/stylesheets/less14.css
103
+ - vendor/assets/stylesheets/less15.css
104
+ - vendor/assets/stylesheets/retina.css
105
+ has_rdoc: true
106
+ homepage: http://github.com/aslamnd/lessframework-rails
107
+ licenses: []
108
+
109
+ post_install_message:
110
+ rdoc_options: []
111
+
112
+ require_paths:
113
+ - lib
114
+ required_ruby_version: !ruby/object:Gem::Requirement
115
+ none: false
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ hash: 3
120
+ segments:
121
+ - 0
122
+ version: "0"
123
+ required_rubygems_version: !ruby/object:Gem::Requirement
124
+ none: false
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ hash: 3
129
+ segments:
130
+ - 0
131
+ version: "0"
132
+ requirements: []
133
+
134
+ rubyforge_project: lessframework-rails
135
+ rubygems_version: 1.6.2
136
+ signing_key:
137
+ specification_version: 3
138
+ summary: Less Frameworks for Rails 3 projects
139
+ test_files: []
140
+