playmo 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +4 -0
  3. data/README.md +55 -0
  4. data/Rakefile +2 -0
  5. data/TODO.md +16 -0
  6. data/lib/app/helpers/playmo_helper.rb +54 -0
  7. data/lib/generators/playmo/USAGE +8 -0
  8. data/lib/generators/playmo/install_generator.rb +166 -0
  9. data/lib/generators/playmo/templates/application.html.erb +56 -0
  10. data/lib/generators/playmo/templates/application_controller.rb +9 -0
  11. data/lib/generators/playmo/templates/application_helper.rb +21 -0
  12. data/lib/generators/playmo/templates/assets.yml +32 -0
  13. data/lib/generators/playmo/templates/deploy.rb +50 -0
  14. data/lib/generators/playmo/templates/jquery/jquery-1.5.2.min.js +16 -0
  15. data/lib/generators/playmo/templates/jquery/rails.js +157 -0
  16. data/lib/generators/playmo/templates/mootools/mootools-core-1.3.1.js +485 -0
  17. data/lib/generators/playmo/templates/mootools/mootools-more-1.3.1.1.js +741 -0
  18. data/lib/generators/playmo/templates/mootools/rails.js +161 -0
  19. data/lib/generators/playmo/templates/tasks/assets.rake +10 -0
  20. data/lib/generators/playmo/templates/tasks/sass.rake +8 -0
  21. data/lib/playmo.rb +12 -0
  22. data/playmo.gemspec +22 -0
  23. data/stylesheets/_playmo_rails.sass +13 -0
  24. data/stylesheets/playmo-rails/_fonts.scss +46 -0
  25. data/stylesheets/playmo-rails/_handheld.scss +8 -0
  26. data/stylesheets/playmo-rails/_helpers.scss +57 -0
  27. data/stylesheets/playmo-rails/_media.scss +60 -0
  28. data/stylesheets/playmo-rails/_reset.scss +56 -0
  29. data/stylesheets/playmo-rails/_styles.scss +125 -0
  30. data/templates/project/boilerplate/css/handheld.scss +7 -0
  31. data/templates/project/boilerplate/css/style.scss +141 -0
  32. data/templates/project/boilerplate/files/apple-touch-icon.png +0 -0
  33. data/templates/project/boilerplate/files/crossdomain.xml +25 -0
  34. data/templates/project/boilerplate/files/favicon.ico +0 -0
  35. data/templates/project/boilerplate/files/robots.txt +5 -0
  36. data/templates/project/boilerplate/js/libs/dd_belatedpng.js +13 -0
  37. data/templates/project/boilerplate/js/libs/modernizr-1.7.min.js +2 -0
  38. data/templates/project/google/google.yml +22 -0
  39. data/templates/project/manifest.rb +34 -0
  40. data/templates/project/playmo/article.scss +69 -0
  41. data/templates/project/playmo/icons/outgoing.png +0 -0
  42. data/templates/project/playmo/playmo.scss +90 -0
  43. data/templates/project/rails/public/stylesheets/layout.scss +20 -0
  44. data/templates/project/rails/public/stylesheets/print.scss +11 -0
  45. data/templates/project/rails/public/stylesheets/screen.scss +14 -0
  46. data/templates/project/rails/public/stylesheets/wysiwyg.scss +19 -0
  47. metadata +112 -0
@@ -0,0 +1,90 @@
1
+ @charset "utf-8";
2
+ /*==============================================================================
3
+
4
+ Title : Playmo CSS Framework (https://github.com/tanraya/playmo)
5
+ Name : default.css
6
+
7
+ ATTENTION! DO NOT ADD YOUR CUSTOM STYLES IN THIS FILE!
8
+
9
+ ================================================================================
10
+
11
+ 1. General Elements
12
+ 2. Headings
13
+ 3. Lists
14
+ 4. Tables
15
+ 5. Article markup
16
+ 6. Images
17
+ 7. Other styles
18
+
19
+ ==============================================================================*/
20
+ /* 1. General Elements =======================================================*/
21
+ body {
22
+ background-color: #fff;
23
+ font: .75em/18px "Helvetica Neue", Arial, Helvetica, sans-serif;
24
+ }
25
+
26
+ /* 2. Headings */
27
+ h1, h2, h3, h4, h5, h6 {
28
+ margin: 0 0 10px 0;
29
+ padding: 0;
30
+ }
31
+
32
+ h1 { font-size: 2em; } /* 100% */
33
+ h2 { font-size: 1.7em; } /* -0.3 */
34
+ h3 { font-size: 1.5em; } /* -0.6 */
35
+ h4 { font-size: 1.1em; } /* -0.9 */
36
+ h5 { font-size: 1em; } /* -1 */
37
+ h6 { font-size: 0.8em; } /* -1.2 */
38
+
39
+ /* 3. Lists */
40
+ ul, ol, dl { list-style: none; margin: 0; padding: 0; }
41
+
42
+ /* 4. Tables */
43
+ table {
44
+ border-collapse: collapse;
45
+ border-spacing: 0;
46
+ }
47
+ caption, th, td {
48
+ text-align: left;
49
+ font-weight: normal;
50
+ padding: 0;
51
+ vertical-align: top;
52
+ }
53
+
54
+ /* 5. Article markup */
55
+ em { font-style: italic; }
56
+ sup, sub { vertical-align: baseline; position: relative; }
57
+ sup { top: -0.4em; }
58
+ sub { bottom: -0.3em; }
59
+
60
+ p {
61
+ margin: 18px 0;
62
+ zoom: 1;
63
+ }
64
+ p:before, p:after {
65
+ content: "\0020";
66
+ display: block;
67
+ height: 0;
68
+ visibility: hidden;
69
+ }
70
+
71
+ p:after { clear: both; }
72
+
73
+ blockquote {
74
+ margin: 0 0 18px 30px;
75
+ border-left: 3px solid #ddd;
76
+ padding: 8px 8px 8px 16px;
77
+ }
78
+
79
+ pre, code, kbd, samp, var {
80
+ font: 0.9em Consolas, "Courier New", monospace, sans-serif;
81
+ }
82
+
83
+ /* 6. Images */
84
+ a img { border: 0; }
85
+ img.f-left { float: left; margin: 0 18px 0 0; clear: left; }
86
+ img.f-right { float: right; margin: 0 0 0 18px; }
87
+
88
+ /* 7. Other styles */
89
+ ::-moz-selection{ background: #555; color:#fff; }
90
+ ::selection { background: #555; color:#fff; }
@@ -0,0 +1,20 @@
1
+ /*===============================================================================================
2
+
3
+ Title : Playmo CSS Framework (https://github.com/tanraya/playmo)
4
+ Name : layout.css
5
+
6
+ Styles for pages layout, custom CSS styles for layout containers positioning.
7
+ Make the separation for home, domestic and other pages by define id for the 'body' tag.
8
+
9
+ Like:
10
+
11
+ body#main-page {}, body#about-page {}, body#products-page {}
12
+
13
+ ===============================================================================================*/
14
+ body { background: #ddd; }
15
+ div#container {
16
+ width: 700px;
17
+ margin: 20px auto;
18
+ padding: 30px;
19
+ background: #fff;
20
+ }
@@ -0,0 +1,11 @@
1
+ /*===============================================================================================
2
+
3
+ Title : Playmo CSS Framework (https://github.com/tanraya/playmo)
4
+ Name : print.css
5
+
6
+ A standard location for print page styles.
7
+ You can add your styles here.
8
+
9
+ ===============================================================================================*/
10
+
11
+
@@ -0,0 +1,14 @@
1
+ /*===============================================================================================
2
+
3
+ Title : Playmo CSS Framework (https://github.com/tanraya/playmo)
4
+ Name : screen.css
5
+
6
+ Styles for the site's content zone.
7
+ You can put your custom content styles here or override
8
+ styles defined by framework as well.
9
+
10
+ Do not define styles for site layout here! If you want to define some styles
11
+ for site layout, add it in layout.css stylesheet.
12
+
13
+ ===============================================================================================*/
14
+
@@ -0,0 +1,19 @@
1
+ /*===============================================================================================
2
+
3
+ Title : Playmo CSS Framework (https://github.com/tanraya/playmo)
4
+ Name : wysiwyg.css
5
+
6
+ Styles for wysiwyg editor content zone. Include this file in your
7
+ wysiwyg editing area.
8
+
9
+ ===============================================================================================*/
10
+
11
+ /* Include css framework base styles */
12
+ @import url(./defaults/playmo.css?) screen,\(\);
13
+
14
+ /* Include css framework content styles */
15
+ @import url(./defaults/article.css?) screen,\(\);
16
+
17
+
18
+
19
+
metadata ADDED
@@ -0,0 +1,112 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: playmo
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.0.5
6
+ platform: ruby
7
+ authors:
8
+ - Andrew Kozloff
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-04-13 00:00:00 +06:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: compass
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: 0.10.6
25
+ type: :runtime
26
+ version_requirements: *id001
27
+ description:
28
+ email:
29
+ - andrew@tanraya.com
30
+ executables: []
31
+
32
+ extensions: []
33
+
34
+ extra_rdoc_files: []
35
+
36
+ files:
37
+ - .gitignore
38
+ - Gemfile
39
+ - README.md
40
+ - Rakefile
41
+ - TODO.md
42
+ - lib/app/helpers/playmo_helper.rb
43
+ - lib/generators/playmo/USAGE
44
+ - lib/generators/playmo/install_generator.rb
45
+ - lib/generators/playmo/templates/application.html.erb
46
+ - lib/generators/playmo/templates/application_controller.rb
47
+ - lib/generators/playmo/templates/application_helper.rb
48
+ - lib/generators/playmo/templates/assets.yml
49
+ - lib/generators/playmo/templates/deploy.rb
50
+ - lib/generators/playmo/templates/jquery/jquery-1.5.2.min.js
51
+ - lib/generators/playmo/templates/jquery/rails.js
52
+ - lib/generators/playmo/templates/mootools/mootools-core-1.3.1.js
53
+ - lib/generators/playmo/templates/mootools/mootools-more-1.3.1.1.js
54
+ - lib/generators/playmo/templates/mootools/rails.js
55
+ - lib/generators/playmo/templates/tasks/assets.rake
56
+ - lib/generators/playmo/templates/tasks/sass.rake
57
+ - lib/playmo.rb
58
+ - playmo.gemspec
59
+ - stylesheets/_playmo_rails.sass
60
+ - stylesheets/playmo-rails/_fonts.scss
61
+ - stylesheets/playmo-rails/_handheld.scss
62
+ - stylesheets/playmo-rails/_helpers.scss
63
+ - stylesheets/playmo-rails/_media.scss
64
+ - stylesheets/playmo-rails/_reset.scss
65
+ - stylesheets/playmo-rails/_styles.scss
66
+ - templates/project/boilerplate/css/handheld.scss
67
+ - templates/project/boilerplate/css/style.scss
68
+ - templates/project/boilerplate/files/apple-touch-icon.png
69
+ - templates/project/boilerplate/files/crossdomain.xml
70
+ - templates/project/boilerplate/files/favicon.ico
71
+ - templates/project/boilerplate/files/robots.txt
72
+ - templates/project/boilerplate/js/libs/dd_belatedpng.js
73
+ - templates/project/boilerplate/js/libs/modernizr-1.7.min.js
74
+ - templates/project/google/google.yml
75
+ - templates/project/manifest.rb
76
+ - templates/project/playmo/article.scss
77
+ - templates/project/playmo/icons/outgoing.png
78
+ - templates/project/playmo/playmo.scss
79
+ - templates/project/rails/public/stylesheets/layout.scss
80
+ - templates/project/rails/public/stylesheets/print.scss
81
+ - templates/project/rails/public/stylesheets/screen.scss
82
+ - templates/project/rails/public/stylesheets/wysiwyg.scss
83
+ has_rdoc: true
84
+ homepage: https://github.com/tanraya/playmo
85
+ licenses: []
86
+
87
+ post_install_message:
88
+ rdoc_options: []
89
+
90
+ require_paths:
91
+ - lib
92
+ required_ruby_version: !ruby/object:Gem::Requirement
93
+ none: false
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: "0"
98
+ required_rubygems_version: !ruby/object:Gem::Requirement
99
+ none: false
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: "0"
104
+ requirements: []
105
+
106
+ rubyforge_project: playmo
107
+ rubygems_version: 1.6.1
108
+ signing_key:
109
+ specification_version: 3
110
+ summary: Special kit that allows you create Rails 3 apps quick with pre-included few useful libs in your app.
111
+ test_files: []
112
+