hobo_clean_sidemenu 2.0.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
data/README ADDED
@@ -0,0 +1 @@
1
+ A slight tweak of the hobo clean theme to move the menu to the side.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 2.0.0.pre1
@@ -0,0 +1,26 @@
1
+ name = File.basename( __FILE__, '.gemspec' )
2
+ version = File.read(File.expand_path('../VERSION', __FILE__)).strip
3
+ require 'date'
4
+
5
+ Gem::Specification.new do |s|
6
+
7
+ s.authors = ['Tom Locke, James Garlick, Domizio Demichelis']
8
+ s.email = 'tom@tomlocke.com'
9
+ s.homepage = 'http://hobocentral.net'
10
+ s.rubyforge_project = 'hobo'
11
+ s.summary = 'The clean sidemenu theme for Hobo'
12
+ s.description = 'The clean sidemenu theme for Hobo'
13
+
14
+ s.add_runtime_dependency('rails', ["~> 3.2.0"])
15
+
16
+ s.files = `git ls-files -x #{name}/* -z`.split("\0")
17
+
18
+ s.name = name
19
+ s.version = version
20
+ s.date = Date.today.to_s
21
+
22
+ s.required_rubygems_version = ">= 1.3.6"
23
+ s.rdoc_options = ["--charset=UTF-8"]
24
+ s.require_paths = ["lib", "vendor", "taglibs"]
25
+
26
+ end
@@ -0,0 +1,13 @@
1
+ module HoboCleanSidemenu
2
+
3
+ VERSION = File.read(File.expand_path('../../VERSION', __FILE__)).strip
4
+ @@root = Pathname.new File.expand_path('../..', __FILE__)
5
+ def self.root; @@root; end
6
+
7
+ EDIT_LINK_BASE = "https://github.com/tablatom/hobo/edit/master/hobo_clean_sidemenu"
8
+
9
+ require 'hobo_clean_sidemenu/railtie' if defined?(Rails)
10
+
11
+ class Engine < ::Rails::Engine
12
+ end
13
+ end
@@ -0,0 +1,6 @@
1
+ require 'hobo_clean'
2
+ require 'rails'
3
+ module HoboCleanSidemenu
4
+ class Railtie < Rails::Railtie
5
+ end
6
+ end
@@ -0,0 +1,26 @@
1
+ <include gem="hobo_clean"/>
2
+
3
+ <extend tag="page" attrs="title, full-title">
4
+ <old-page merge title="&title" full-title="&full_title">
5
+
6
+ <header: class="sidemenu" param>
7
+ <live-search param if="&defined_route? :site_search"/>
8
+ <account-nav if="&login_url(Hobo::Model::UserBase.default_user_model)" param/>
9
+ <h1 param="app-name"><a href="#{base_url}/"><app-name/></a></h1>
10
+ </header:>
11
+
12
+ <content: replace>
13
+ <table id="container">
14
+ <tr>
15
+ <td id="main-nav-container">
16
+ <main-nav current="&title" param/>
17
+ </td>
18
+ <td id="content-container">
19
+ <section with-flash-messages param="content"/>
20
+ </td>
21
+ </tr>
22
+ </table>
23
+ </content:>
24
+
25
+ </old-page>
26
+ </extend>
@@ -0,0 +1,3 @@
1
+ //= require hobo_clean
2
+ //= require_tree .
3
+
@@ -0,0 +1,78 @@
1
+ body {
2
+ width: 95%;
3
+ min-width: 800px;
4
+ }
5
+
6
+ .page-header div.search {
7
+ margin-top: 0;
8
+ padding-left:50px;
9
+ padding-right:0
10
+ }
11
+
12
+ .page-header{
13
+ margin-top: 6px;
14
+ background: none;
15
+ }
16
+
17
+ .account-nav {
18
+ margin-top: 0;
19
+ }
20
+
21
+ .page-header h1 {
22
+ padding: 20px 30px 20px 20px;
23
+ }
24
+
25
+ .page-header h1 a {
26
+ color:#3B5F87
27
+ }
28
+
29
+ #container{
30
+ width:100%;
31
+ }
32
+
33
+ #main-nav-container{
34
+ width: 20%;
35
+ background: #ACD3E6 url(300-3B5F87-ACD3E6-H.png) repeat-y;
36
+ vertical-align:top;
37
+ }
38
+
39
+ #content-container {
40
+ width: 80%;
41
+ background-color:#FCFFF5;
42
+ vertical-align:top;
43
+ }
44
+
45
+ .section.with-flash {
46
+ background: none;
47
+ padding-top: 10px;
48
+ }
49
+
50
+ .main-nav {
51
+ padding: 30px 0;
52
+ }
53
+
54
+ .main-nav li {
55
+ text-align: right;
56
+ margin-right: 0;
57
+ list-style-type: none;
58
+ }
59
+
60
+ .main-nav a {
61
+ background: none;
62
+ border-bottom: 1px dotted #FCFFF5;
63
+ display: block;
64
+ font-size: 14px;
65
+ font-weight: bold;
66
+ padding: 7px 20px;
67
+ color: #FCFFF5;
68
+ }
69
+
70
+ .main-nav a:hover {
71
+ background: #DBE1E5 url(100-ACD3E6-DBE1E5-H.png) repeat-y;
72
+ color:#3B5F87;
73
+ }
74
+
75
+ .main-nav li.current a {
76
+ background: #FCFFF5 url(100-DBE1E5-FCFEF5-H.png) repeat-y;
77
+ color: #242E42;
78
+ }
@@ -0,0 +1,2 @@
1
+ //= require hobo_clean
2
+ //= require_tree .
metadata ADDED
@@ -0,0 +1,76 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hobo_clean_sidemenu
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0.pre1
5
+ prerelease: 6
6
+ platform: ruby
7
+ authors:
8
+ - Tom Locke, James Garlick, Domizio Demichelis
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-09-12 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.0
30
+ description: The clean sidemenu theme for Hobo
31
+ email: tom@tomlocke.com
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - README
37
+ - VERSION
38
+ - hobo_clean_sidemenu.gemspec
39
+ - lib/hobo_clean_sidemenu.rb
40
+ - lib/hobo_clean_sidemenu/railtie.rb
41
+ - taglibs/hobo_clean_sidemenu.dryml
42
+ - vendor/assets/images/100-ACD3E6-DBE1E5-H.png
43
+ - vendor/assets/images/100-DBE1E5-FCFEF5-H.png
44
+ - vendor/assets/images/300-3B5F87-ACD3E6-H.png
45
+ - vendor/assets/javascripts/hobo_clean_sidemenu.js
46
+ - vendor/assets/stylesheets/clean-sidemenu.css
47
+ - vendor/assets/stylesheets/hobo_clean_sidemenu.css
48
+ homepage: http://hobocentral.net
49
+ licenses: []
50
+ post_install_message:
51
+ rdoc_options:
52
+ - --charset=UTF-8
53
+ require_paths:
54
+ - lib
55
+ - vendor
56
+ - taglibs
57
+ required_ruby_version: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ required_rubygems_version: !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: 1.3.6
69
+ requirements: []
70
+ rubyforge_project: hobo
71
+ rubygems_version: 1.8.24
72
+ signing_key:
73
+ specification_version: 3
74
+ summary: The clean sidemenu theme for Hobo
75
+ test_files: []
76
+ has_rdoc: