head_start 0.1.1 → 0.1.2

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.
@@ -48,8 +48,8 @@ module HeadStartRailsHelper
48
48
  end
49
49
 
50
50
  def context_aware_link_to(name, url, options = {})
51
- options = add_class "current", options
52
51
  link = link_to_unless_current(name, url, options) do |name,url,options|
52
+ options = add_class "current", options
53
53
  link_to(name,url,options)
54
54
  end
55
55
  link.html_safe
@@ -1,3 +1,3 @@
1
1
  module HeadStart
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -75,4 +75,28 @@
75
75
  }
76
76
  }
77
77
  }
78
- }
78
+ }
79
+
80
+ @mixin link_menu {
81
+ ul {
82
+ li {
83
+ @include float(left);
84
+ a {
85
+ padding:0em 0.75em;
86
+ text-decoration:none;
87
+ color:$color;
88
+ border-right:1px solid darken($color, 50%);
89
+ }
90
+ a {
91
+ &:hover {
92
+ text-decoration:underline;
93
+ color:lighten($color, 20%);
94
+ }
95
+ &.last {
96
+ border-width:0;
97
+ }
98
+ }
99
+ }
100
+ }
101
+ }
102
+
@@ -8,7 +8,7 @@
8
8
  :locals => {:stylesheet => "name_of_stylesheet"}
9
9
  = render :partial => "layouts/boilerplate/head", :locals => {:stylesheet => "boilerplate"}
10
10
 
11
- %body{ :class => "#{controller.controller_name}" }
11
+ %body{ :class => "#{controller.controller_name} #{controller.action_name}" }
12
12
  #container
13
13
  %header#header
14
14
  = render "layouts/boilerplate/header"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: head_start
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-19 00:00:00.000000000Z
12
+ date: 2011-10-20 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: compass
16
- requirement: &70278048196200 !ruby/object:Gem::Requirement
16
+ requirement: &70325292150340 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70278048196200
24
+ version_requirements: *70325292150340
25
25
  description: This gem extends Compass with Foxsoft's own SCSS libraries and third
26
26
  party Javascript libraries - full description pending
27
27
  email: