ama_layout 1.1.24 → 1.1.25

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9b94e0e4e79c589b1e18ac7a2e4794d900768246
4
- data.tar.gz: 2a0a062f9c436a45947856429cc3c3cc433c5a0c
3
+ metadata.gz: 7ada9269df26eee73147f218398914f68f452d83
4
+ data.tar.gz: df40a823ea31da26d7791cccbd2a4e2f2462e5a7
5
5
  SHA512:
6
- metadata.gz: 82e016ec050de0a227f8b049a39e61d96f22ebcd8b902d28775c04a056594e13f875997b7b58629b0072bf3924556832ae8d57e2df1a0318a6eccb612eba0711
7
- data.tar.gz: f09f8a3bccd2f943bc4cc9aeb3802defb6853c742e7e817a56b000b1348a89b1506412e96cb29bb8e523b95ff4b4a1b0087f83dc22c8f681fb6d4b9cba8b55a0
6
+ metadata.gz: f0b2b4453aeb6a63ec2847df0410585421d9668c41fb63746193f8bc4028991f83490f53b7a00a6ec317abda64302fe5ebed7da14c0d50c2f0c2a06d6ccbc55a
7
+ data.tar.gz: debdf68a7d47b9e2344df48a0177becade8cb4451df02ad9d46f1161cf6e6a753b1a95be46acc9330dd19b1231ec9341fc70092ec92a2a20096800bac5844c03
@@ -7,3 +7,4 @@
7
7
  //= require ./foundation-ready
8
8
  //= require ./sticky-footer
9
9
  //= require ./foundation-namespace
10
+ //= require ./sidebar
@@ -0,0 +1,4 @@
1
+ $(window).bind "load", ->
2
+ $('.dashboard-nav').click ->
3
+ $(this).toggleClass 'nav-open'
4
+ return
@@ -29,18 +29,11 @@
29
29
  width: 100%;
30
30
  padding: 18px;
31
31
 
32
- &:hover,
33
- &:active{
34
- color: $white;
35
- }
36
-
37
32
  span{
38
33
  margin-top: $base-margin*3;
39
34
  }
40
35
  }
41
36
 
42
- &:hover,
43
- &:active,
44
37
  &.activepage{
45
38
  background: $brand-blue-light;
46
39
 
@@ -65,6 +58,19 @@
65
58
  }
66
59
  }
67
60
 
61
+ &.nav-open{
62
+ .inner-nav{
63
+ max-height: 200px;
64
+ visibility: visible;
65
+ opacity: 1;
66
+ margin-top: 0;
67
+ }
68
+
69
+ a.sub-nav.activepage{
70
+ text-decoration: underline;
71
+ }
72
+ }
73
+
68
74
  .inner-nav li:hover,
69
75
  .inner-nav li:active{
70
76
  text-decoration: underline;
@@ -1,10 +1,10 @@
1
1
  member:
2
- - text: "Account Dashboard"
2
+ - text: "My Account Overview"
3
3
  alt: "Back to my dashboard"
4
4
  link: "<%= Rails.configuration.youraccount_site %>/dashboard"
5
5
  icon: "fa-tachometer"
6
- - text: "Membership"
7
- link: "<%= Rails.configuration.membership_site %>/membership/overview"
6
+ - text: "My Membership"
7
+ link: "#"
8
8
  icon: "fa-credit-card"
9
9
  sub_nav:
10
10
  - text: "Membership Overview"
@@ -15,19 +15,21 @@ member:
15
15
  link: "<%= Rails.configuration.youraccount_site %>/billing"
16
16
  - text: "Print/Request New Card"
17
17
  link: "<%= Rails.configuration.youraccount_site %>/membership"
18
- - text: "Driver Education"
18
+ - text: "My Driver Education"
19
19
  link: "<%= Rails.configuration.driveredonline_site %>"
20
20
  icon: "fa-car"
21
- - text: "Reward Dollars"
21
+ - text: "My Reward Dollars"
22
22
  link: "<%= Rails.configuration.youraccount_site %>/reward_dollars"
23
23
  icon: "fa-usd"
24
24
  - text: "Reload Esso Gift Cards"
25
25
  link: "<%= Rails.configuration.membership_site %>/reward_cards"
26
26
  icon: "fa-arrow-up"
27
- - text: "Settings & Subscriptions"
28
- link: "<%= Rails.configuration.gatekeeper_site %>/"
27
+ - text: "My Account Settings"
28
+ link: "#"
29
29
  icon: "fa-cogs"
30
30
  sub_nav:
31
+ - text: "Settings Overview"
32
+ link: "<%= Rails.configuration.gatekeeper_site %>/"
31
33
  - text: "Change Email/Password"
32
34
  link: "<%= Rails.configuration.gatekeeper_site %>/user/edit"
33
35
  - text: "Email Subscriptions"
@@ -1,3 +1,3 @@
1
1
  module AmaLayout
2
- VERSION = "1.1.24"
2
+ VERSION = "1.1.25"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ama_layout
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.24
4
+ version: 1.1.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael van den Beuken
@@ -17,7 +17,7 @@ authors:
17
17
  autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
- date: 2015-10-21 00:00:00.000000000 Z
20
+ date: 2015-10-23 00:00:00.000000000 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: foundation-rails
@@ -221,6 +221,7 @@ files:
221
221
  - app/assets/javascripts/ama_layout/desktop/header_menu.coffee
222
222
  - app/assets/javascripts/ama_layout/desktop/index.js
223
223
  - app/assets/javascripts/ama_layout/desktop/ready.js.coffee
224
+ - app/assets/javascripts/ama_layout/desktop/sidebar.coffee
224
225
  - app/assets/javascripts/ama_layout/desktop/sticky-footer.coffee
225
226
  - app/assets/javascripts/ama_layout/desktop/toggle_menu.js.coffee
226
227
  - app/assets/javascripts/ama_layout/mobile/index.js