rails-maker 0.1.1 → 0.1.7

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.
@@ -1,43 +0,0 @@
1
- create_file 'public/stylesheets/sass/admin.scss' do
2
- <<-FILE
3
- @import "partials/admin_variables";
4
- @import "partials/fonts";
5
- @import "partials/defaults";
6
- @import "partials/media";
7
-
8
- @mixin admin {
9
- @include fonts;
10
- @include defaults;
11
- @include media;
12
- }
13
- @include admin;
14
- FILE
15
- end
16
-
17
- create_file 'public/stylesheets/sass/partials/_admin_variables.scss' do
18
- <<-FILE
19
- $base-font-family: unquote('sans-serif'); // default font-family
20
-
21
- $base-font-size: 13px; // default font-size for YUI fonts
22
-
23
- $base-line-height: 1.231; // default line-height for YUI fonts
24
-
25
- $font-color: #444;
26
-
27
- $link-color: #607890;
28
-
29
- $link-hover-color: #036;
30
-
31
- $link-active-color: #607890;
32
-
33
- $link-visited-color: #607890;
34
-
35
- $selected-font-color: #fff; // color for selected text
36
-
37
- $selected-background-color: #ff5E99; // bg-color for selected text
38
-
39
- $list-left-margin: 1.8em; // left margin for ul an ol
40
- FILE
41
- end
42
-
43
- run 'sass public/stylesheets/sass/admin.scss public/stylesheets/admin.css'
@@ -1,13 +0,0 @@
1
- inject_into_file 'config/application.rb', :after => "# Configure the default encoding used in templates for Ruby 1.9.\n" do
2
- <<-RUBY
3
- config.generators do |g|
4
- g.template_engine :haml
5
- end
6
- RUBY
7
- end
8
-
9
- initializer('haml.rb') do
10
- <<-'FILE'
11
- Haml::Template.options[:format] = :html5
12
- FILE
13
- end