beef-layout 0.1.0 → 0.2.0

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.
Files changed (36) hide show
  1. data/VERSION +1 -1
  2. data/generators/layout_files/layout_files_generator.rb +21 -13
  3. data/generators/layout_files/templates/application_layout.html.erb +58 -49
  4. data/generators/layout_files/templates/public/javascripts/application.js +38 -0
  5. data/generators/layout_files/templates/public/stylesheets/{ie.css → ie6.css} +0 -0
  6. data/generators/layout_files/templates/public/stylesheets/ie7.css +1 -0
  7. data/generators/layout_files/templates/public/stylesheets/layout.css +0 -6
  8. data/generators/layout_files/templates/public/stylesheets/print.css +1 -3
  9. data/generators/layout_files/templates/public/stylesheets/skin.css +0 -74
  10. data/generators/layout_files/templates/public/stylesheets/typography.css +7 -27
  11. data/generators/layout_files/templates/public/stylesheets/wireframe.css +91 -0
  12. data/generators/layout_files/templates/public/stylesheets/wireframe/ie6.css +26 -0
  13. data/generators/layout_files/templates/public/stylesheets/wireframe/ie7.css +1 -0
  14. data/generators/layout_files/templates/public/stylesheets/wireframe/images/2nd_nav_bg.gif +0 -0
  15. data/generators/layout_files/templates/public/stylesheets/wireframe/images/body_bg.gif +0 -0
  16. data/generators/layout_files/templates/public/stylesheets/wireframe/images/content_wrap_bg.gif +0 -0
  17. data/generators/layout_files/templates/public/stylesheets/wireframe/images/content_wrap_e_bg.gif +0 -0
  18. data/generators/layout_files/templates/public/stylesheets/wireframe/images/featurebox2_bg.gif +0 -0
  19. data/generators/layout_files/templates/public/stylesheets/wireframe/images/featurebox_bg.gif +0 -0
  20. data/generators/layout_files/templates/public/stylesheets/wireframe/images/header_bg.gif +0 -0
  21. data/generators/layout_files/templates/public/stylesheets/wireframe/images/sprites.gif +0 -0
  22. data/generators/layout_files/templates/public/stylesheets/wireframe/images/td_bg.gif +0 -0
  23. data/generators/layout_files/templates/public/stylesheets/wireframe/images/thumb_100wide.gif +0 -0
  24. data/generators/layout_files/templates/public/stylesheets/wireframe/main.css +289 -0
  25. data/generators/layout_files/templates/public/stylesheets/wireframe/print.css +51 -0
  26. data/layout.gemspec +74 -0
  27. metadata +21 -12
  28. data/generators/layout_files/templates/public/images/icons/ical.gif +0 -0
  29. data/generators/layout_files/templates/public/images/icons/rss.gif +0 -0
  30. data/generators/layout_files/templates/public/images/icons/share-delicious.gif +0 -0
  31. data/generators/layout_files/templates/public/images/icons/share-digg.gif +0 -0
  32. data/generators/layout_files/templates/public/images/icons/share-email.gif +0 -0
  33. data/generators/layout_files/templates/public/images/icons/share-facebook.gif +0 -0
  34. data/generators/layout_files/templates/public/images/icons/share-stumble.gif +0 -0
  35. data/generators/layout_files/templates/public/images/logos/beef-logo.gif +0 -0
  36. data/generators/layout_files/templates/public/images/logos/logo.gif +0 -0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -2,26 +2,34 @@ class LayoutFilesGenerator < Rails::Generator::Base
2
2
 
3
3
  def manifest
4
4
  record do |m|
5
- m.directory File.join("public", "images", "icons")
6
- m.directory File.join("public", "images", "logos")
5
+ m.directory File.join("public", "stylesheets", "wireframe")
6
+ m.directory File.join("public", "stylesheets", "wireframe", "images")
7
7
 
8
- ["public/images/icons/ical.gif",
9
- "public/images/icons/rss.gif",
10
- "public/images/icons/share-delicious.gif",
11
- "public/images/icons/share-digg.gif",
12
- "public/images/icons/share-email.gif",
13
- "public/images/icons/share-facebook.gif",
14
- "public/images/icons/share-stumble.gif",
15
- "public/images/logos/beef-logo.gif",
16
- "public/images/logos/logo.gif",
8
+ ["public/javascripts/application.js",
17
9
  "public/stylesheets/forms.css",
18
- "public/stylesheets/ie.css",
10
+ "public/stylesheets/ie6.css",
11
+ "public/stylesheets/ie7.css",
19
12
  "public/stylesheets/layout.css",
20
13
  "public/stylesheets/mobile.css",
21
14
  "public/stylesheets/print.css",
22
15
  "public/stylesheets/reset.css",
23
16
  "public/stylesheets/skin.css",
24
- "public/stylesheets/typography.css"].each do |file|
17
+ "public/stylesheets/typography.css",
18
+ "public/stylesheets/wireframe.css",
19
+ "public/stylesheets/wireframe/ie6.css",
20
+ "public/stylesheets/wireframe/ie7.css",
21
+ "public/stylesheets/wireframe/images/2nd_nav_bg.gif",
22
+ "public/stylesheets/wireframe/images/body_bg.gif",
23
+ "public/stylesheets/wireframe/images/content_wrap_bg.gif",
24
+ "public/stylesheets/wireframe/images/content_wrap_e_bg.gif",
25
+ "public/stylesheets/wireframe/images/featurebox2_bg.gif",
26
+ "public/stylesheets/wireframe/images/featurebox_bg.gif",
27
+ "public/stylesheets/wireframe/images/header_bg.gif",
28
+ "public/stylesheets/wireframe/images/sprites.gif",
29
+ "public/stylesheets/wireframe/images/td_bg.gif",
30
+ "public/stylesheets/wireframe/images/thumb_100wide.gif",
31
+ "public/stylesheets/wireframe/main.css",
32
+ "public/stylesheets/wireframe/print.css"].each do |file|
25
33
  m.file file, file
26
34
  end
27
35
 
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
2
  <html xmlns="http://www.w3.org/1999/xhtml">
3
3
  <head>
4
- <title><%= Settings.site_name %> | <%=h page_title %></title>
4
+ <title> <%=h Settings.site_name %> | <%=h page_title %></title>
5
5
  <!-- so:meta-tags -->
6
6
 
7
7
  <meta name="description" content="<%=h page_description %>" />
@@ -22,63 +22,72 @@
22
22
  <link rel="Bookmark" href="http://www.wearebeef.co.uk/" title="Beef" />
23
23
 
24
24
  <!-- so:stylesheets -->
25
- <%= stylesheet_link_tag 'reset', 'typography', 'layout', 'skin', 'forms', :cache => 'screen', :media=>'screen,tv,projection' %>
26
-
27
- <%= stylesheet_link_tag 'print', :media=>'print' %>
25
+ <%= stylesheet_link_tag 'wireframe/main', 'wireframe', :media => 'screen,tv,projection' %>
26
+ <!-- replace with 'reset', 'typography', 'layout', 'skin', 'forms' and ad :cache => "main" when you start styling -->
27
+ <%= stylesheet_link_tag 'wireframe/print', :media=>'print' %>
28
+ <!-- remove with 'wireframe/' when you start styling -->
28
29
  <%= stylesheet_link_tag 'mobile', :media=>'handheld' %>
29
30
 
30
- <!--[if IE]><link href="/stylesheets/ie.css" media="screen" rel="Stylesheet" type="text/css" /><![endif]-->
31
- <!--[if IE 6]><link href="/stylesheets/ie6.css" media="screen" rel="Stylesheet" type="text/css" /><![endif]-->
32
-
31
+ <!--[if lte IE 6]>
32
+ <%= stylesheet_link_tag 'wireframe/ie6', :media=>'screen' %>
33
+ <![endif]-->
34
+ <!--[if lte IE 7]>
35
+ <%= stylesheet_link_tag 'wireframe/ie7', :media=>'screen' %>
36
+ <![endif]-->
37
+ <!-- remove with 'wireframe/' when you start styling -->
33
38
  <!-- eo:stylesheets -->
34
39
 
40
+ <!-- so:javascript -->
41
+ <script src="http://www.google.com/jsapi"></script>
42
+ <script>
43
+ // Load jQuery
44
+ google.load("jquery", "1.3.2");
45
+ // google.load("swfobject", "2.2");
46
+ </script>
47
+ <%= javascript_include_tag 'application', :cache => 'global' %>
48
+ <!-- eo:javascript -->
49
+
35
50
  <%= yield :header %>
36
51
 
37
52
  </head>
38
53
  <body id="<%= page_id %>" class="<%= page_class %>">
39
- <!-- so:screen -->
40
- <div id="page">
41
- <!-- so:header -->
42
- <div id="header">
43
- <a id="skip" href="#content-area">Skip to content</a>
44
-
45
- <h1><a href="/" id="logo"><%= Settings.site_name %></a></h1>
46
- <!-- so:navigation -->
47
- <ul id="navigation">
48
- <li id="home-nav"><a href="/" title="Home" >Home</a></li>
49
- </ul>
50
- <!-- eo:navigation -->
51
- </div>
52
- <!-- eo:header -->
53
-
54
- <div id="content-area">
55
- <%= flash_messages %>
56
- <%= yield %>
57
- </div>
58
-
59
- <!-- so:footer -->
60
- <div id="footer">
61
- &copy; Copyright <%= Time.now.year %> <%= Settings.site_name %> &bull; <%= [Settings.house_number,Settings.street,Settings.district,Settings.town,Settings.county,Settings.region,( link_to Settings.postcode, "http://maps.google.co.uk/?q=#{Settings.postcode}")].reject{|e| e.blank? }.join(' ') %> &bull; <%= Settings.telephone %>
62
- <a href="http://www.wearebeef.co.uk" id="beef-logo">With &hearts; from Beef</a>
63
- </div>
64
- <!-- eo:footer -->
65
-
66
- </div>
67
-
54
+ <div id="type-b">
55
+ <!-- so:screen -->
56
+ <div id="wrap">
57
+ <div id="header">
58
+ <h1 id="site-name"><%= link_to h(Settings.site_name), '/', :id => "logo", :rel => "home" %></h1>
59
+ <ul id="nav">
60
+ <li><%= link_to "Page one" %></li>
61
+ <li><%= link_to "Page two" %></li>
62
+ <li><%= link_to "Page three" %></li>
63
+ </ul>
64
+ </div>
65
+ <div id="content-wrap">
66
+
67
+ <div id="content">
68
+ <div id="breadcrumb">
69
+ <%= link_to 'Home', root_path %> / <strong><%= page_title %></strong>
70
+ </div>
71
+ <%= flash_messages %>
72
+ <%= yield %>
73
+ </div>
74
+
75
+ </div><!-- en:content-wrap -->
68
76
 
69
- <!-- so:javascript -->
70
- <%= javascript_include_tag 'prototype', 'effects', 'application', :cache => 'front' %>
71
- <% unless Settings.google_analytics_web_property_id.blank? %>
72
- <script type="text/javascript">
73
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
74
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
75
- </script>
76
- <script type="text/javascript">
77
- var pageTracker = _gat._getTracker("<%= Settings.google_analytics_web_property_id %>");
78
- pageTracker._trackPageview();
79
- </script>
80
- <% end -%>
81
- <!-- eo:javascript -->
77
+ <div id="footer">
78
+ <%= yield :footer %>
79
+ <ul id="footer-nav">
80
+ <li><%= link_to "Page one" %></li>
81
+ <li><%= link_to "Page two" %></li>
82
+ <li><%= link_to "Page three" %></li>
83
+ </ul>
84
+ <div class="vcard">
85
+ &copy; <%= Time.now.year %> <span class="fn org"><%=h Settings.site_name %></span> |
86
+ <span class="email"><a href="mailto:<%=h Settings.default_email %>" title="e-mail us"><%=h Settings.default_email %></a></span>
87
+ </div><!-- eo:vcard -->
88
+ </div><!-- eo:footer -->
89
+ </div><!-- en:wrap -->
90
+ </div><!-- en:page-type -->
82
91
  </body>
83
92
  </html>
84
93
 
@@ -0,0 +1,38 @@
1
+ $(document).ready(function(){
2
+
3
+ // Use fancy box on all images that link to an image
4
+ // $("a[href$=jpg], a[href$=png], a[href$=gif]").fancybox({
5
+ // 'zoomOpacity' : true,
6
+ // 'overlayShow' : true,
7
+ // 'zoomSpeedIn' : 500,
8
+ // 'zoomSpeedOut' : 500,
9
+ // 'overlayOpacity' : 0.9
10
+ // });
11
+
12
+ $("a[href^=http]").attr('target', '_blank');
13
+
14
+ });
15
+
16
+ // Set a form to send vie ajax and remove current errors
17
+ // usage:
18
+ // ajaxifyForms('#new_subscriber')
19
+ function ajaxifyForms(selector) {
20
+ $(selector).submit(function() {
21
+ $(this).find('#errorExplanation, .success').slideUp('fast', function() { $(this).remove();});
22
+ $.post($(this).attr('action'), $(this).serialize(), null, 'script' );
23
+ return false;
24
+ });
25
+ }
26
+
27
+ // Set value in the field which is removed on submit
28
+ // usage:
29
+ // labelInputValue('input#subscriber_email', 'Enter your email...')
30
+ function labelInputValue(selector, label) {
31
+ $(selector + ':input:not([value])').val(label);
32
+
33
+ $(selector + ':input').closest('form').submit(function() {
34
+ if ($(selector + ':input').val() == label)
35
+ $(selector + ':input').val('');
36
+ return true;
37
+ });
38
+ }
@@ -0,0 +1 @@
1
+ /* IE 7 fixes */
@@ -56,9 +56,3 @@
56
56
  }
57
57
 
58
58
  /* eo:clearfix */
59
-
60
-
61
- /* adblock tab hide */
62
- .sIFR-replaced > div {
63
- display: none !important;
64
- }
@@ -51,9 +51,7 @@ a:link, a:visited {
51
51
  }
52
52
 
53
53
  /*Add elements here that dont need to be printed (add banners, unneccesary images etc )*/
54
- a#skip,
55
- ul.tag-cloud,
56
- ul.archive{
54
+ a#skip {
57
55
  display: none;
58
56
  }
59
57
 
@@ -1,78 +1,4 @@
1
1
  /*
2
2
  SKIN
3
3
  All colour and background image styling.
4
- */
5
-
6
-
7
- body {
8
- color: #766D6A;
9
- background: #CCC;
10
- }
11
-
12
- #page {
13
- background-color: #fff;
14
- }
15
-
16
- #header {
17
- border-color: #766c6a;
18
- border-style: dashed;
19
- padding: 20px;
20
- }
21
-
22
- #footer {
23
- color: #fff;
24
- background-color: #766c6a;
25
- }
26
-
27
- /* BIR */
28
- /*a.share-link,*/
29
- a#logo,
30
- a#beef-logo{
31
- text-indent: -1000em;
32
- overflow: hidden;
33
- text-align: left;
34
- display: block;
35
- }
36
-
37
- a#logo{
38
- background: url('/images/logos/logo.gif') no-repeat;
39
- width: 238px; /*Change this to the dimensions of the new image*/
40
- height: 121px; /*Change this to the dimensions of the new image*/
41
- }
42
-
43
- a#beef-logo{
44
- background: url('/images/logos/beef-logo.gif') no-repeat;
45
- width: 40px; /*Change this to the dimensions of the new image*/
46
- height: 34px; /*Change this to the dimensions of the new image*/
47
- }
48
-
49
- /*Share links*/
50
-
51
- /*a.share-link{
52
- width: 16px;
53
- height: 16px;
54
- }
55
-
56
- a#digg-submit{
57
- background: transparent url("/images/icons/share-digg.gif") no-repeat 0 0px !important;
58
- }
59
-
60
- a#delicious-submit{
61
- background: transparent url("/images/icons/share-delicious.gif") no-repeat 0 0px !important;
62
- }
63
-
64
-
65
- a#facebook-submit{
66
- background: transparent url("/images/icons/share-facebook.gif") no-repeat 0 0px !important;
67
- }
68
-
69
-
70
- a#stumble-submit{
71
- background: transparent url("/images/icons/share-stumble.gif") no-repeat 0 0px !important;
72
- }
73
-
74
-
75
- a#mail-link{
76
- background: transparent url("/images/icons/share-email.gif") no-repeat 0 0px !important;
77
- }
78
4
  */
@@ -2,44 +2,24 @@
2
2
  TYPOGRAPHY
3
3
  Font related information only (ie. font-*, text-*, line-height )
4
4
  See http://www.alistapart.com/articles/howtosizetextincss for sizing technique
5
-
5
+ for a quick note - just hit this: http://jontangerine.com/silo/css/pixels-to-ems/ very easy guide to use.
6
6
  */
7
7
  body {
8
8
  font-family: "Lucida Sans Unicode", "Lucida Grande", arial, verdana, sans-serif;
9
- /*font-size:100%; - This is defined in the reset.css so dont need it here*/
10
- line-height:1.125em; /* 16×1.125=18 */
11
- }
12
- h1, h2, h3, h4, h5, h6{
13
- line-height: 1.5em;
14
9
  }
15
10
 
11
+ /* 34px */
16
12
  h1 {
17
- font-size: 2.125em;
13
+ font-size: 2.125em;
18
14
  }
19
15
 
16
+ /* 26px */
20
17
  h2 {
21
18
  font-size: 1.625em;
22
19
  }
23
20
 
24
- ul#navigation {
25
- font-size: 0.875em;
26
- }
27
-
28
- p {
29
- font-size: 0.6875em;
30
- }
31
-
21
+ /* 14px */
22
+ ul#navigation,
32
23
  #footer {
33
- font-size: 0.625em;
34
- }
35
-
36
- .supporting-content h2 {
37
- font-size: 1.375em;
24
+ font-size: 0.875em;
38
25
  }
39
-
40
- /* Tag Cloud */
41
-
42
- .tag1 { font-size: .875em; }
43
- .tag2 { font-size: 1em; }
44
- .tag3 { font-size: 1.25em; }
45
- .tag4 { font-size: 1.375em; }
@@ -0,0 +1,91 @@
1
+ h1, h2, h3 {
2
+ clear: both;
3
+ }
4
+
5
+ #nav {
6
+ margin: 0 40px;
7
+ }
8
+
9
+ .column {
10
+ width:28%;
11
+ margin:0 25px 0 25px;
12
+ float:left;
13
+ }
14
+
15
+ #our-work .column img,
16
+ #case .column img {
17
+ width:100%;
18
+ background:#eee;
19
+ }
20
+
21
+ ul.rating {float:right;}
22
+ ul.rating li {float:left;background:none; }
23
+
24
+ #articles #main-content img,
25
+ #team-members .column img {
26
+ float:left;
27
+ margin:0 10px 0 0;
28
+ }
29
+
30
+ #footer-nav li,
31
+ .show #main-content img {
32
+ float:left;
33
+ }
34
+
35
+ .show #main-content img {
36
+ margin:0 20px 0 0;
37
+ }
38
+
39
+ .job-title {
40
+ font-weight:bold;
41
+ }
42
+
43
+ textarea {
44
+ height:120px;
45
+ }
46
+
47
+ #footer p {
48
+ float:left;
49
+ margin:0 0 10px 0;
50
+ }
51
+
52
+ body#articles #main-content {
53
+ float:left; width:660px;
54
+ }
55
+
56
+ body#articles #supporting-content,
57
+ body#articles #supplementary-content {
58
+ float:right; width:300px;
59
+ }
60
+
61
+ #home.index #content-wrap,
62
+ #team-members.index #content-wrap,
63
+ #case-studies.index #content-wrap,
64
+ #case-studies.show #content-wrap,
65
+ body#articles #content-wrap {
66
+ background:none;
67
+ }
68
+
69
+ #home.index #content,
70
+ #team-members.index #content,
71
+ #case-studies.index #content,
72
+ #case-studies.show #content,
73
+ body#articles #content {
74
+ margin: 0
75
+ }
76
+
77
+ /* so:clearfix */
78
+ ul.gallery:after,
79
+ #our-work:after,
80
+ #article-title:after,
81
+ #team-members:after,
82
+ body:after {
83
+ content: ".";
84
+ display: block;
85
+ height: 0;
86
+ clear: both;
87
+ visibility: hidden;
88
+ }
89
+
90
+ /* eo:clearfix */
91
+
@@ -0,0 +1,26 @@
1
+ /*
2
+ LEGAL
3
+ =====
4
+ Copyright: Daemon Pty Limited 2006, http://www.daemon.com.au
5
+ Community: Mollio http://www.mollio.org $
6
+ License: Released Under the "Common Public License 1.0",
7
+ http://www.opensource.org/licenses/cpl.php
8
+ License: Released Under the "Creative Commons License",
9
+ http://creativecommons.org/licenses/by/2.5/
10
+ License: Released Under the "GNU Creative Commons License",
11
+ http://creativecommons.org/licenses/GPL/2.0/
12
+ */
13
+
14
+ #header {width:100%}
15
+
16
+ #nav-secondary a {width:143px}
17
+
18
+ #resultslist-wrap li dl {display:inline}
19
+
20
+
21
+ /*
22
+ I've added position:relative to these items below to fix the IE Peakaboo bug.
23
+ more about it here: http://www.positioniseverything.net/explorer/peekaboo.html
24
+ */
25
+ ol.code, .featurebox, #content ul, #sidebar ul {position:relative}
26
+
@@ -0,0 +1,289 @@
1
+ /*
2
+ LEGAL
3
+ =====
4
+ Copyright: Daemon Pty Limited 2006, http://www.daemon.com.au
5
+ Community: Mollio http://www.mollio.org $
6
+ License: Released Under the "Common Public License 1.0",
7
+ http://www.opensource.org/licenses/cpl.php
8
+ License: Released Under the "Creative Commons License",
9
+ http://creativecommons.org/licenses/by/2.5/
10
+ License: Released Under the "GNU Creative Commons License",
11
+ http://creativecommons.org/licenses/GPL/2.0/
12
+ */
13
+
14
+ /* THE BIG GUYS */
15
+ * {margin:0;padding:0}
16
+ body {padding: 0 0 20px;color:#333;font:83%/1.5 arial,tahoma,verdana,sans-serif}
17
+
18
+ /* LINKS */
19
+ a {text-decoration:none;}
20
+ a:link,a:link,a:link,a:hover {background:transparent;text-decoration:underline;cursor:pointer}
21
+ a:link {color:#c00}
22
+ a:visited {color:#999}
23
+ a:hover,a:active {color:}
24
+
25
+ /* FORMS */
26
+ form {margin: 0 0 1.5em}
27
+ input {font-family: arial,tahoma,verdana,sans-serif;margin: 2px 0}
28
+ fieldset {border: none}
29
+ label {display:block;padding: 5px 0}
30
+ label br {clear:left}
31
+
32
+ /* FORMS - general classes */
33
+ input.f-submit {padding: 1px 3px;background:#666;color:#fff;font-weight:bold;font-size:96%}
34
+
35
+ /* FORMS - f-wrap-1 - simple form, headings on left, form elements on right */
36
+ form.f-wrap-1 {width:100%;padding: .5em 0;background: #f6f6f6 url("images/featurebox_bg.gif") no-repeat 100% 100%;border-top: 1px solid #d7d7d7;position:relative}
37
+ form.f-wrap-1 fieldset {width:auto;margin: 0 1em}
38
+ form.f-wrap-1 h3 {margin:0 0 .6em;font: bold 155% arial;color:#c00}
39
+ form.f-wrap-1 label {clear:left;float:left;width:100%;border-top: 1px solid #fff}
40
+
41
+ /* hide from IE mac \*/
42
+ form.f-wrap-1 label {float:none}
43
+ /* end hiding from IE5 mac */
44
+
45
+ form.f-wrap-1 label input, form.f-wrap-1 label textarea, form.f-wrap-1 label select {width:15em;float:left;margin-left:10px}
46
+
47
+ form.f-wrap-1 label b {float:left;width:8em;line-height: 1.7;display:block;position:relative}
48
+ form.f-wrap-1 label b .req {color:#c00;font-size:150%;font-weight:normal;position:absolute;top:-.1em;line-height:1;left:-.4em;width:.3em;height:.3em}
49
+ form.f-wrap-1 div.req {color:#666;font-size:96%;font-weight:normal;position:absolute;top:.4em;right:.4em;left:auto;width:13em;text-align:right}
50
+ form.f-wrap-1 div.req b {color:#c00;font-size:140%}
51
+ form.f-wrap-1 label select {width: 15.5em}
52
+ form.f-wrap-1 label textarea.f-comments {width: 20em}
53
+ form.f-wrap-1 div.f-submit-wrap {padding: 5px 0 5px 8em}
54
+ form.f-wrap-1 input.f-submit {margin: 0 0 0 10px}
55
+
56
+ form.f-wrap-1 fieldset.f-checkbox-wrap, form.f-wrap-1 fieldset.f-radio-wrap {clear:left;float:left;width:32em;border:none;margin:0;padding-bottom:.7em}
57
+ form.f-wrap-1 fieldset.f-checkbox-wrap b, form.f-wrap-1 fieldset.f-radio-wrap b {float:left;width:8em;line-height: 1.7;display:block;position:relative;padding-top:.3em}
58
+ form.f-wrap-1 fieldset.f-checkbox-wrap fieldset, form.f-wrap-1 fieldset.f-radio-wrap fieldset {float:left;width:13em;margin: 3px 0 0 10px}
59
+ form.f-wrap-1 fieldset.f-checkbox-wrap label, form.f-wrap-1 fieldset.f-radio-wrap label {float:left;width:13em;border:none;margin:0;padding:2px 0;margin-right:-3px}
60
+ form.f-wrap-1 label input.f-checkbox, form.f-wrap-1 label input.f-radio {width:auto;float:none;margin:0;padding:0}
61
+
62
+ form.f-wrap-1 label span.errormsg {position:absolute;top:0;right:-10em;left:auto;display:block;width:16em;background: transparent url(images/errormsg_bg.gif) no-repeat 0 0}
63
+ form.f-wrap-1 label span.errormsg b {padding: 10px 0;margin: 0 10px 0 30px;color:#B30800;font-weight:bold;display:block;width:auto;float:none;line-height:1.3}
64
+
65
+ /* TYPOGRAPHY */
66
+ p, ul, ol {margin: 0 0 1.5em}
67
+ h1, h2, h3, h4, h5, h6 {letter-spacing: -1px;font-family: arial,verdana,sans-serif;margin: 1.2em 0 .3em;color:#000;border-bottom: 1px solid #eee;padding-bottom: .1em}
68
+ h1 {font-size: 196%;margin-top:.6em}
69
+ h2 {font-size: 136%}
70
+ h3 {font-size: 126%}
71
+ h4 {font-size: 116%}
72
+ h5 {font-size: 106%}
73
+ h6 {font-size: 96%}
74
+ .highlight {color:#E17000}
75
+ .subdued {color:#999}
76
+ .error {color:#c00;font-weight:bold}
77
+ .success {color:#390;font-weight:bold}
78
+ .caption {color:#999;font-size:11px}
79
+ .date {font: bold 82% arial;color:#bbb;display:block;letter-spacing: 1px}
80
+ small {font-size:11px}
81
+
82
+ /* LISTS */
83
+ ul {margin: .3em 0 1.5em 0;list-style-type:none}
84
+ ul.related {margin-top: -1em}
85
+ ol {margin: .5em .5em 1.5em}
86
+ ol li {margin-left: 1.4em;padding-left: 0;background: none; list-style-type: decimal}
87
+ li {line-height: 1.4em;padding-left: 25px;background: transparent url("images/sprites.gif") no-repeat 0 0}
88
+ li.doc {background-position: 3px -500px}
89
+ ul.nomarker li {background:none;padding-left:0}
90
+
91
+ dl {margin: 0 0 1em 0}
92
+ dt {font-weight:bold;margin-top: 1.3em}
93
+ dl dl {margin: 0 0 1.5em 30px}
94
+
95
+ /* GENERAL */
96
+ img {border:none}
97
+ hr {margin: 1em 0;background:#f2f2f2;height:1px;color:#f2f2f2;border:none;clear:both}
98
+ .clear {clear:both;position:relative;font-size:0px;height:0px;line-height:0px}
99
+
100
+ /* LAYOUT - HEADER */
101
+ #header {background: #666 url("images/sprites.gif") repeat-x 0 100%;margin: 0 0 25px;padding: 0 0 8px}
102
+
103
+ #header #site-name {font: 265% arial;letter-spacing: -.05em;margin:0 0 0 40px;padding:3px 0;color:#ccc;border:none}
104
+
105
+ /* NAV - top horizontal nav */
106
+ #nav, #nav ul {padding: 0;margin: 0;list-style: none}
107
+ #nav {font-weight:bold;height:2.09em;font: bold 96% arial;margin: 0 105px 0 40px}
108
+ #nav li {position:relative;background: #999;float: left;width: 10em;display:block;margin: 0;border-bottom: 3px solid #666;border-right: 3px solid #252525;padding:0}
109
+ #nav a, #nav a:link, #nav a:visited, #nav a:hover, #nav a:active {text-decoration:none;cursor:pointer;color:#fff;display: block;padding: 4px 10px 2px}
110
+ #nav a:hover {color:#000}
111
+
112
+ #nav li ul {border-left: 1px solid #c00;background: #f6f6f6 url("images/featurebox_bg.gif") no-repeat 100% 100%;width:15.8em;font-size:90%;margin-top:3px;position: absolute;font-weight:normal;left: -999em}
113
+ #nav li:hover ul, #nav li.sfhover ul {left: 0;z-index:99999}
114
+
115
+ #nav li li {background:none;float:none;border:none;border: 1px solid #999;border-top:1px solid #fff;border-right:none;border-left:none;padding-left:0}
116
+ #nav li li.last {border-bottom:none}
117
+ #nav li li a, #nav li li a:link, #nav li li a:visited, #nav li li a:hover {color:#000;padding: 3px 10px 2px;width:14em}
118
+ #nav li li a:hover {color:#fff;background:#c00}
119
+
120
+ #nav li.active {background: #c00;border-bottom: 3px solid #c00}
121
+ #nav li.active ul {border:none;background: #c00 url("images/featurebox2_bg.gif") no-repeat 100% 100%}
122
+ #nav li.active a:link, #nav li.active a:visited, #nav li.active a:hover, #nav li.active a:active {}
123
+ #nav li.active a:hover {color:#000}
124
+
125
+ #nav li.active li {border:none;border-top: 1px solid #c15c5c;border-bottom: 1px solid #870000}
126
+ #nav li.active li.last {border-bottom: none}
127
+ #nav li.active li a:link, #nav li.active li a:visited, #nav li.active li a:hover, #nav li.active li a:active {color:#fff}
128
+ #nav li.active li a:hover {background: #666 url("images/sprites.gif") repeat-x 0 99%;color:#fff}
129
+
130
+ #nav li.active li.active a:link, #nav li.active li.active a:visited, #nav li.active li.active a:hover, #nav li.active li.active a:active {color:#fff;font-weight:bold;background: #666 url("images/sprites.gif") repeat-x 0 99%}
131
+
132
+ /* hide from IE mac \*/
133
+ #nav li {width:auto}
134
+ /* end hiding from IE5 mac */
135
+
136
+ /* SEARCH */
137
+ #search {color:#fff;font-weight:bold;position:absolute;top:10px;right:110px;left:auto;width:18em}
138
+ #search form {margin:0}
139
+ #search input {width:8em;margin: 0 0 -1px;height:1.2em}
140
+ #search label {padding:5px 0 0;display:inline}
141
+ #search input.f-submit {width:auto;font-size:81%;margin:0 0 -.15em;height:1.95em}
142
+
143
+ /* POWERED BY - mollio logo in this case */
144
+ #poweredby {width:96px;height:63px;position:absolute;top:-102px;right:0}
145
+
146
+ /* LAYOUT - main body of page */
147
+ #wrap {min-width:960px;max-width:1020px;margin: 0 auto;position:relative}
148
+ #content-wrap {position:relative;width:100%}
149
+ #utility {position:absolute;top:0;left:25px;width:165px;border-top: 5px solid #999;padding-bottom: 40px}
150
+ #sidebar {position:absolute;top:0;right:25px;width:20%;border-top: 5px solid #999;padding-top: 1px;padding-bottom: 40px}
151
+
152
+ #content {margin: 0 50px}
153
+ #content #breadcrumb {margin-top:-5px;font-size:93%;font-weight:bold}
154
+ #content #breadcrumb a:link, #content #breadcrumb a:visited {text-decoration:none}
155
+ #content #breadcrumb a:hover, #content #breadcrumb a:active {text-decoration:underline}
156
+
157
+ .featurebox {color:#333;padding: 15px 20px 20px;border-top: 1px solid #d7d7d7;margin: 0 0 1.5em;background: #f6f6f6 url("images/featurebox_bg.gif") no-repeat 100% 100%}
158
+ .featurebox p, .featurebox h1, .featurebox h2, .featurebox h3, .featurebox h4, .featurebox h5, .featurebox h6 {margin: 0 0 .3em;border-bottom: 1px solid #c00;color:#c00}
159
+ .featurebox p {border:none;margin: 0 0 1em;color:#444}
160
+ .featurebox a {font-weight:bold}
161
+
162
+ .thumbnail {margin: 0 0 0 10px;position:relative;z-index:9999;border: 1px solid #eee;float:right;width:100px;padding:5px;background:#fff}
163
+ .thumbnail img {border: 1px solid #000}
164
+
165
+ .pagination {background: #f2f2f2;color:#666;padding: 4px 2px 4px 7px;border: 1px solid #ddd;margin: 0 0 1.5em}
166
+ .pagination p {position:relative;text-align:right}
167
+ .pagination p a:link, .pagination p a:visited, .pagination p a:hover, .pagination p a:active {text-decoration:none;background:#fff;padding:2px 5px;border: 1px solid #ccc}
168
+ .pagination p a:hover {background:#c00;color:#fff}
169
+ .pagination p span {text-decoration:none;background:#fff;padding:2px 5px;border: 1px solid #ccc;color:#ccc}
170
+ .pagination * {margin:0}
171
+ .pagination h4 {margin-top:-1.45em;padding:0;border:none}
172
+
173
+ #resultslist-wrap {margin: 0 0 1.5em;font-size:92%}
174
+ #resultslist-wrap dt, #resultslist-wrap dl {margin: 0}
175
+ #resultslist-wrap dt {font: bold 85% arial;padding: 3px 0}
176
+ #resultslist-wrap li {padding: 0 0 1em;margin:0 0 0 1.2em;font: bold 145% arial}
177
+ #resultslist-wrap li dd {font: normal 73% arial}
178
+ #resultslist-wrap li dl {margin:0}
179
+ #resultslist-wrap dd {line-height:1.3}
180
+ #resultslist-wrap dd.filetype, #resultslist-wrap dd.date {color:#999;display:inline;padding-right:.5em}
181
+
182
+ /* TABLES */
183
+ .table1 {border: 2px solid #900;border-collapse:collapse;width:100%}
184
+ .table1 td {background: #fff url("images/sprites.gif") repeat-x 0 -1600px;padding:3px;border: 1px solid #fff}
185
+ .table1 th {text-align:left;border: 1px solid #fff}
186
+ .table1 thead th {color:#fff;font-size:145%;background: #900 url("images/sprites.gif") repeat-x 0 -1300px;padding: 10px 6px}
187
+ .table1 tbody th {color:#fff;font-size:115%;background: #88b8db url("images/sprites.gif") repeat-x 0 -1400px;padding: 6px}
188
+ .table1 tbody th.sub {font-size:100%;color:#000;background: #efefef url("images/sprites.gif") repeat-x 0 -1500px;padding: 6px}
189
+
190
+ /* TABLES - calendar */
191
+ .calendar {width:200px;font-size:92%}
192
+ .calendar td {text-align:center;border: 1px solid #ddd}
193
+ .calendar th {text-align:center}
194
+ .calendar thead th {padding: 3px 2px}
195
+ .calendar tbody th {padding: 2px}
196
+ .calendar tbody th.sub {padding: 2px}
197
+
198
+ /* 'MORE' LINK - provides an accessible alternative to just using 'more' as a link at the end of paragraphs */
199
+ a.morelink:link, a.morelink:visited, a.morelink:hover, a.morelink:active {background: transparent url("images/sprites.gif") no-repeat 5px -500px;padding-left:21px}
200
+ a.morelink:hover {background: transparent url("images/sprites.gif") 5px -400px}
201
+ .morelink span {position:absolute;left:-9999px;width:900px}
202
+
203
+ /* CODE - formatting for code inserted into body - more here: http://dizque.lacalabaza.net/temp/lipt/ */
204
+ ol.code {font-family: monospace;position:relative}
205
+ ol.code li {color: #666;margin-bottom: 1px}
206
+ ol.code code {color: #000;display: block}
207
+ ol.code .cmt {color: #4077d2}
208
+ li.tab0 code {padding-left: 4em}
209
+ li.tab1 code {padding-left: 8em}
210
+ li.tab2 code {padding-left: 12em}
211
+ li.tab3 code {padding-left: 16em}
212
+ li.tab4 code {padding-left: 20em}
213
+ li.tab5 code {padding-left: 24em}
214
+ ol.code li {background: #f3f3f3 url("images/td_bg.gif") no-repeat 100% 100%}
215
+ p.note {margin: 1em;border: 1px solid #ddd;background: #f0f0f0;padding: 1em}
216
+
217
+ /* LAYOUT TYPE B */
218
+ #type-b #content-wrap {background: transparent url("images/content_wrap_bg.gif") repeat-y 30px 0;}
219
+ #type-b #content {margin: 0 23px 0 235px}
220
+
221
+ /* LAYOUT TYPE C */
222
+ #type-c #content-wrap {background: transparent url("images/content_wrap_bg.gif") repeat-y 30px 0}
223
+ #type-c #content {margin: 0 25% 0 235px}
224
+
225
+ /* LAYOUT TYPE D */
226
+ #type-d #content {margin: 0 25% 0 50px}
227
+
228
+ /* LAYOUT TYPE E */
229
+ #type-e #content-wrap {background: transparent url("images/content_wrap_e_bg.gif") repeat-y 100% 0}
230
+ #type-e #utility {position:absolute;top:0;left:auto;right:25px;width:165px;border-top: 5px solid #999}
231
+ #type-e #content {margin: 0 243px 0 50px}
232
+
233
+ /* LAYOUT TYPE F */
234
+ #type-f #content-wrap {background: transparent url("images/content_wrap_e_bg.gif") repeat-y 100% 0}
235
+ #type-f #content {margin: 0 235px 0 25%}
236
+ #type-f #utility {left:auto;right:25px}
237
+ #type-f #sidebar {right:auto;left:25px}
238
+
239
+ /* SECONDARY NAVIGATION - vertical navigation */
240
+ #nav-secondary, #nav-secondary ul {position:static}
241
+ #nav-secondary, #nav-secondary li {list-style: none;margin:0;padding:0;background:#fff}
242
+ #nav-secondary {padding-top:0;border-top: 1px solid #ccc;margin-top: 1px}
243
+ #nav-secondary a {line-height:1.8;padding: 5px 0 5px 23px;background: #fff url("images/sprites.gif") no-repeat 10px -695px;font: bold 86% arial;display:block}
244
+ #nav-secondary a, #nav-secondary a:link, #nav-secondary a:visited, #nav-secondary a:hover, #nav-secondary a:active {text-decoration:none;cursor:pointer}
245
+ #nav-secondary a:link {color:#000}
246
+ #nav-secondary a:visited {color:#000}
247
+ #nav-secondary a:hover {color:#c00;background: #fee url("images/sprites.gif") no-repeat 10px -695px}
248
+ #nav-secondary li.active a:link, #nav-secondary li.active a:visited, #nav-secondary li.active a:hover, #nav-secondary li.active a:active {color:#c00}
249
+ #nav-secondary li {border-top: 1px solid #fff;border-bottom: 1px solid #ccc}
250
+
251
+ /* SECONDARY NAVIGATION - 2nd TIER */
252
+ #nav-secondary ul {margin: 0 0 1em 23px;padding:0}
253
+ #nav-secondary li.active li a, #nav-secondary li.active li a:link, #nav-secondary li.active li a:visited {line-height:1.5;background: #fff url("images/sprites.gif") no-repeat 0 -798px;padding:0 0 0 12px;font-weight:normal;width:auto;color:#000;width:130px;display:block}
254
+ #nav-secondary li.active li a:hover, #nav-secondary li.active li a:active {color: #c00}
255
+ #nav-secondary li.active li {border: none;margin:0}
256
+
257
+ #nav-secondary li.active li.active a:link,
258
+ #nav-secondary li.active li.active a:visited,
259
+ #nav-secondary li.active li.active a:hover,
260
+ #nav-secondary li.active li.active a:active {font-weight:bold}
261
+
262
+ /* SECONDARY NAVIGATION - 3rd TIER */
263
+ #nav-secondary ul ul {margin: 0 0 1em 13px;padding:0}
264
+ #nav-secondary li.active li.active li a, #nav-secondary li.active li.active li a:link, #nav-secondary li.active li.active li a:visited {width:117px}
265
+ #nav-secondary li.active li.active li a:link,
266
+ #nav-secondary li.active li.active li a:visited,
267
+ #nav-secondary li.active li.active li a:hover,
268
+ #nav-secondary li.active li.active li a:active {font-weight:normal}
269
+ #nav-secondary li.active li.active li.active a:link,
270
+ #nav-secondary li.active li.active li.active a:visited,
271
+ #nav-secondary li.active li.active li.active a:hover,
272
+ #nav-secondary li.active li.active li.active a:active {font-weight:bold}
273
+
274
+ /* SECONDARY NAVIGATION - 4th TIER */
275
+ #nav-secondary ul ul ul {margin: 0 0 1em 13px;padding:0}
276
+ #nav-secondary li.active li.active li.active li a, #nav-secondary li.active li.active li.active li a:link, #nav-secondary li.active li.active li.active li a:visited {width:104px}
277
+ #nav-secondary li.active li.active li.active li a:link,
278
+ #nav-secondary li.active li.active li.active li a:visited,
279
+ #nav-secondary li.active li.active li.active li a:hover,
280
+ #nav-secondary li.active li.active li.active li a:active {font-weight:normal}
281
+ #nav-secondary li.active li.active li.active li.active a:link,
282
+ #nav-secondary li.active li.active li.active li.active a:visited,
283
+ #nav-secondary li.active li.active li.active li.active a:hover,
284
+ #nav-secondary li.active li.active li.active li.active a:active {font-weight:bold}
285
+
286
+ /* LAYOUT - FOOTER */
287
+ #footer {clear:both; border-top: 1px solid #E3E8EE;padding: 10px 0 30px;font-size:86%;color:#999; background:#fff;}
288
+ #footer p {margin:0}
289
+ #footer a:link {color:#999}
@@ -0,0 +1,51 @@
1
+ /*
2
+ LEGAL
3
+ =====
4
+ Copyright: Daemon Pty Limited 2006, http://www.daemon.com.au
5
+ Community: Mollio http://www.mollio.org $
6
+ License: Released Under the "Common Public License 1.0",
7
+ http://www.opensource.org/licenses/cpl.php
8
+ License: Released Under the "Creative Commons License",
9
+ http://creativecommons.org/licenses/by/2.5/
10
+ License: Released Under the "GNU Creative Commons License",
11
+ http://creativecommons.org/licenses/GPL/2.0/
12
+ */
13
+
14
+
15
+ body {font: 10pt arial,tahoma,verdana,sans-serif}
16
+ h1, h2, h3, h4, h5, h6 {margin: 1em 0 .2em;font-family: arial,tahoma,verdana,sans-serif}
17
+
18
+ * {float:none;position:static;width:auto;background:#fff}
19
+ p {margin: 0 0 1em}
20
+ img {border:none;display:block;margin: .5em 0}
21
+ dt {font-weight:bold}
22
+
23
+ #nav, #search, #nav-secondary, #breadcrumb, #poweredby {display:none}
24
+
25
+ /* =LINKS */
26
+ a {border:none}
27
+ a,a:link,a:link,a:link,a:hover {background:transparent;text-decoration:underline;cursor:pointer}
28
+ a:link {color:#5291c4}
29
+ a:visited {color:#666}
30
+ a:hover {color:#ff9900;border:none}
31
+ a:active {color:#0066cc}
32
+
33
+ .teaserBox {clear:both;margin: 0 0 1em}
34
+
35
+ .sponsors img {margin: .5em 0}
36
+
37
+ #footer {margin: 1em 0}
38
+
39
+ #header {border-bottom: 3px solid #c00}
40
+
41
+ /* TABLES */
42
+ table {font-size: 9pt;margin: 0 0 1em;border-collapse:collapse}
43
+ table th {border-bottom: 3px solid #000;vertical-align:top;padding: 1.5em 3px 3px;line-height:1.1;font: bold 145% arial;letter-spacing:0;text-align:left}
44
+ .table1 th.time {border-bottom: none;font: bold 89% verdana;color:#ff9c00;vertical-align:top;padding: 3px}
45
+ .table1 td {border: 1px solid #ddd;font-size: 9pt;padding: 3px;vertical-align:top}
46
+ .table1 td a {display:block;width:auto;font-weight:bold}
47
+ .table1 td a:link, .table1 td a:visited, .table1 td a:hover, .table1 td a:active {border:none;text-decoration:none}
48
+ .table1 th.sub {background: #aaa}
49
+ .table1 th.sub2 {background: #bbb;color:#000}
50
+ .table1 td ul li {background: #fff}
51
+
data/layout.gemspec ADDED
@@ -0,0 +1,74 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{layout}
5
+ s.version = "0.2.0"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Steve England"]
9
+ s.date = %q{2009-08-26}
10
+ s.email = %q{steve@wearebeef.co.uk}
11
+ s.extra_rdoc_files = [
12
+ "LICENSE",
13
+ "README.rdoc"
14
+ ]
15
+ s.files = [
16
+ ".document",
17
+ ".gitignore",
18
+ "LICENSE",
19
+ "README.rdoc",
20
+ "Rakefile",
21
+ "VERSION",
22
+ "generators/layout_files/layout_files_generator.rb",
23
+ "generators/layout_files/templates/application_layout.html.erb",
24
+ "generators/layout_files/templates/public/javascripts/application.js",
25
+ "generators/layout_files/templates/public/stylesheets/forms.css",
26
+ "generators/layout_files/templates/public/stylesheets/ie6.css",
27
+ "generators/layout_files/templates/public/stylesheets/ie7.css",
28
+ "generators/layout_files/templates/public/stylesheets/layout.css",
29
+ "generators/layout_files/templates/public/stylesheets/mobile.css",
30
+ "generators/layout_files/templates/public/stylesheets/print.css",
31
+ "generators/layout_files/templates/public/stylesheets/reset.css",
32
+ "generators/layout_files/templates/public/stylesheets/skin.css",
33
+ "generators/layout_files/templates/public/stylesheets/typography.css",
34
+ "generators/layout_files/templates/public/stylesheets/wireframe.css",
35
+ "generators/layout_files/templates/public/stylesheets/wireframe/ie6.css",
36
+ "generators/layout_files/templates/public/stylesheets/wireframe/ie7.css",
37
+ "generators/layout_files/templates/public/stylesheets/wireframe/images/2nd_nav_bg.gif",
38
+ "generators/layout_files/templates/public/stylesheets/wireframe/images/body_bg.gif",
39
+ "generators/layout_files/templates/public/stylesheets/wireframe/images/content_wrap_bg.gif",
40
+ "generators/layout_files/templates/public/stylesheets/wireframe/images/content_wrap_e_bg.gif",
41
+ "generators/layout_files/templates/public/stylesheets/wireframe/images/featurebox2_bg.gif",
42
+ "generators/layout_files/templates/public/stylesheets/wireframe/images/featurebox_bg.gif",
43
+ "generators/layout_files/templates/public/stylesheets/wireframe/images/header_bg.gif",
44
+ "generators/layout_files/templates/public/stylesheets/wireframe/images/sprites.gif",
45
+ "generators/layout_files/templates/public/stylesheets/wireframe/images/td_bg.gif",
46
+ "generators/layout_files/templates/public/stylesheets/wireframe/images/thumb_100wide.gif",
47
+ "generators/layout_files/templates/public/stylesheets/wireframe/main.css",
48
+ "generators/layout_files/templates/public/stylesheets/wireframe/print.css",
49
+ "layout.gemspec",
50
+ "lib/layout.rb",
51
+ "rails/init.rb",
52
+ "test/layout_test.rb",
53
+ "test/test_helper.rb"
54
+ ]
55
+ s.homepage = %q{http://github.com/beef/Layout}
56
+ s.rdoc_options = ["--charset=UTF-8"]
57
+ s.require_paths = ["lib"]
58
+ s.rubygems_version = %q{1.3.5}
59
+ s.summary = %q{Generates basic beef layout}
60
+ s.test_files = [
61
+ "test/layout_test.rb",
62
+ "test/test_helper.rb"
63
+ ]
64
+
65
+ if s.respond_to? :specification_version then
66
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
67
+ s.specification_version = 3
68
+
69
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
70
+ else
71
+ end
72
+ else
73
+ end
74
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beef-layout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve England
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-24 00:00:00 -07:00
12
+ date: 2009-08-26 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -31,23 +31,32 @@ files:
31
31
  - VERSION
32
32
  - generators/layout_files/layout_files_generator.rb
33
33
  - generators/layout_files/templates/application_layout.html.erb
34
- - generators/layout_files/templates/public/images/icons/ical.gif
35
- - generators/layout_files/templates/public/images/icons/rss.gif
36
- - generators/layout_files/templates/public/images/icons/share-delicious.gif
37
- - generators/layout_files/templates/public/images/icons/share-digg.gif
38
- - generators/layout_files/templates/public/images/icons/share-email.gif
39
- - generators/layout_files/templates/public/images/icons/share-facebook.gif
40
- - generators/layout_files/templates/public/images/icons/share-stumble.gif
41
- - generators/layout_files/templates/public/images/logos/beef-logo.gif
42
- - generators/layout_files/templates/public/images/logos/logo.gif
34
+ - generators/layout_files/templates/public/javascripts/application.js
43
35
  - generators/layout_files/templates/public/stylesheets/forms.css
44
- - generators/layout_files/templates/public/stylesheets/ie.css
36
+ - generators/layout_files/templates/public/stylesheets/ie6.css
37
+ - generators/layout_files/templates/public/stylesheets/ie7.css
45
38
  - generators/layout_files/templates/public/stylesheets/layout.css
46
39
  - generators/layout_files/templates/public/stylesheets/mobile.css
47
40
  - generators/layout_files/templates/public/stylesheets/print.css
48
41
  - generators/layout_files/templates/public/stylesheets/reset.css
49
42
  - generators/layout_files/templates/public/stylesheets/skin.css
50
43
  - generators/layout_files/templates/public/stylesheets/typography.css
44
+ - generators/layout_files/templates/public/stylesheets/wireframe.css
45
+ - generators/layout_files/templates/public/stylesheets/wireframe/ie6.css
46
+ - generators/layout_files/templates/public/stylesheets/wireframe/ie7.css
47
+ - generators/layout_files/templates/public/stylesheets/wireframe/images/2nd_nav_bg.gif
48
+ - generators/layout_files/templates/public/stylesheets/wireframe/images/body_bg.gif
49
+ - generators/layout_files/templates/public/stylesheets/wireframe/images/content_wrap_bg.gif
50
+ - generators/layout_files/templates/public/stylesheets/wireframe/images/content_wrap_e_bg.gif
51
+ - generators/layout_files/templates/public/stylesheets/wireframe/images/featurebox2_bg.gif
52
+ - generators/layout_files/templates/public/stylesheets/wireframe/images/featurebox_bg.gif
53
+ - generators/layout_files/templates/public/stylesheets/wireframe/images/header_bg.gif
54
+ - generators/layout_files/templates/public/stylesheets/wireframe/images/sprites.gif
55
+ - generators/layout_files/templates/public/stylesheets/wireframe/images/td_bg.gif
56
+ - generators/layout_files/templates/public/stylesheets/wireframe/images/thumb_100wide.gif
57
+ - generators/layout_files/templates/public/stylesheets/wireframe/main.css
58
+ - generators/layout_files/templates/public/stylesheets/wireframe/print.css
59
+ - layout.gemspec
51
60
  - lib/layout.rb
52
61
  - rails/init.rb
53
62
  - test/layout_test.rb