ama_layout 11.1.0 → 11.2.0

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
  SHA256:
3
- metadata.gz: 2380a06aed2f7aa03a93d129962439dcb40e36dbd29870b356b4308b8ef8d1df
4
- data.tar.gz: 181133840c55714b18ed396c428e88b093cb297b394513e66023a8aab0e5553b
3
+ metadata.gz: be475124a8106fe62f2b86a83bff16976e9f0833d06c6e919794ec43f45ffdca
4
+ data.tar.gz: 4871ba936e915a8152f25a785eeb12a1f69e1d1521d6aa5c7af6037383ebdeef
5
5
  SHA512:
6
- metadata.gz: 98282959ce339f20eacebc6a175b811ffa992e08f5ebdcd64dbd680c9abc43a11f006b56eda955fcc93aa0ebedcc253f9132fe0f39c3f4869b21713d4031b93a
7
- data.tar.gz: c29d771ba792377d347f70b2aad220be5860f0ab7c6d278698e1fb4142137e2f2786c777bdeb2c7b5ae51d8d3278916de04acb76cdf2f0b1ce0b069347533859
6
+ metadata.gz: 1d3762084d76ecc3647cc40fc0c516596067647b99f6dfb939edaa25c99abb40ffa680e69109b12401178b39dfbf5da29c0530153aca5c3f676ce56c4806b207
7
+ data.tar.gz: f3249c93b5d27bb95e61e0d3b2a21a62b727c2ef7cf224e0b99d6b63e5db0b19da8ca1daad608e3f7fa6316eb34fa098a8733a3cc6b4a1fe686633106cf68faf
@@ -1,22 +1,19 @@
1
- <div class="off-canvas position-left" id="offCanvasLeft" data-off-canvas>
2
- <h2 class="side-nav__header">Online Account</h2>
3
- <div class="side-nav__content">
4
- <ul class="side-nav__list">
5
- <li class="side-nav__item">
6
- <%= link_to 'Sign In', "#{Rails.configuration.gatekeeper_site}/login", class: 'side-nav__link' %>
7
- </li>
8
- <li class="side-nav__item">
9
- <a class="side-nav__link" href="<%= Rails.configuration.amaabca_site %>">AMA Website</a>
10
- </li>
11
- <li class="side-nav__item">
12
- <a class="side-nav__link" href="http://amaroadreports.ca/">AMA Road Reports</a>
13
- </li>
14
- <li class="side-nav__item">
15
- <a class="side-nav__link" href="<%= Rails.configuration.amaabca_site %>/knowledge-base/articles" target="_blank">Help</a>
16
- </li>
17
- <li class="side-nav__item">
18
- <a class="side-nav__link" href="<%= Rails.configuration.amaabca_site %>/membership/contact-us--centre-locations-hours-and-contact-information">Contact Us</a>
19
- </li>
20
- </ul>
21
- </div>
1
+ <div class="m-side-nav__content off-canvas position-left" id="offCanvasLeft" data-off-canvas>
2
+ <ul class="m-side-nav__list vertical menu drilldown" data-drilldown>
3
+ <li class="side-nav__item">
4
+ <%= link_to 'Sign In', "#{Rails.configuration.gatekeeper_site}/login", class: 'side-nav__link' %>
5
+ </li>
6
+ <li class="m-side-nav__item">
7
+ <%= link_to 'AMA Website', Rails.configuration.amaabca_site, class: 'm-side-nav__link' %>
8
+ </li>
9
+ <li class="m-side-nav__item">
10
+ <%= link_to 'AMA Road Reports', 'https://roadreports.ama.ab.ca', class: 'm-side-nav__link' %>
11
+ </li>
12
+ <li class="m-side-nav__item">
13
+ <%= link_to 'Help', "#{Rails.configuration.amaabca_site}/knowledge-base/articles", class: 'm-side-nav__link' %>
14
+ </li>
15
+ <li class="m-side-nav__item">
16
+ <%= link_to 'Contact Us', "#{Rails.configuration.amaabca_site}/membership/contact-us--centre-locations-hours-and-contact-information", class: 'm-side-nav__link' %>
17
+ </li>
18
+ </ul>
22
19
  </div>
@@ -6,7 +6,7 @@
6
6
  </div>
7
7
  <div class="top-bar" id="main-menu">
8
8
  <div class="top-bar-left">
9
- <%= link_to(image_tag("ama-logo.png", class: "top-bar__logo"), Rails.configuration.amaabca_site) %>
9
+ <a href="<%= Rails.configuration.amaabca_site %>" class="ml1 pl1"><i class="fas fa-chevron-left pr1"></i> Back to Other AMA Services</a>
10
10
  </div>
11
11
  <div class="top-bar-right">
12
12
  <ul class="menu" data-responsive-menu="drilldown medium-dropdown">
@@ -31,16 +31,20 @@ box-sizing: border-box;
31
31
  color: rgba(0, 0, 0, 0.74902);
32
32
  cursor: auto;
33
33
  display: block;
34
- font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;font-size: 14px;
35
- font-style: normal;font-variant: normal;
34
+ font-family: 'Open Sans', Helvetica, Roboto, Arial, sans-serif;
35
+ font-size: 18px;
36
+ font-style: normal;
37
+ font-variant: normal;
36
38
  font-weight: normal;
37
- height: 44px;
39
+ height: 63px !important;
40
+ overflow: hidden;
38
41
  letter-spacing: normal;
39
42
  line-height: normal;
40
43
  margin-bottom: 0px;
41
44
  margin-left: 0px;
42
45
  margin-right: 0px;
43
46
  margin-top: 0px;
47
+ outline-color: rgb(36, 108, 169);
44
48
  padding-bottom: 8px;
45
49
  padding-left: 8px;
46
50
  padding-right: 8px;
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AmaLayout
4
- VERSION = '11.1.0'
4
+ VERSION = '11.2.0'
5
5
  end
@@ -36,16 +36,19 @@ describe AmaLayout::MonerisDecorator, type: :decorator do
36
36
  expect(moneris_presenter.textbox).to include "color: rgba(0, 0, 0, 0.74902);"
37
37
  expect(moneris_presenter.textbox).to include "cursor: auto;"
38
38
  expect(moneris_presenter.textbox).to include "display: block;"
39
- expect(moneris_presenter.textbox).to include "font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;font-size: 14px;"
40
- expect(moneris_presenter.textbox).to include "font-style: normal;font-variant: normal;"
39
+ expect(moneris_presenter.textbox).to include "font-family: 'Open Sans', Helvetica, Roboto, Arial, sans-serif;"
40
+ expect(moneris_presenter.textbox).to include "font-size: 18px;"
41
+ expect(moneris_presenter.textbox).to include "font-style: normal;"
42
+ expect(moneris_presenter.textbox).to include "font-variant: normal;"
41
43
  expect(moneris_presenter.textbox).to include "font-weight: normal;"
42
- expect(moneris_presenter.textbox).to include "height: 44px;"
44
+ expect(moneris_presenter.textbox).to include "height: 63px !important;"
43
45
  expect(moneris_presenter.textbox).to include "letter-spacing: normal;"
44
46
  expect(moneris_presenter.textbox).to include "line-height: normal;"
45
47
  expect(moneris_presenter.textbox).to include "margin-bottom: 0px;"
46
48
  expect(moneris_presenter.textbox).to include "margin-left: 0px;"
47
49
  expect(moneris_presenter.textbox).to include "margin-right: 0px;"
48
50
  expect(moneris_presenter.textbox).to include "margin-top: 0px;"
51
+ expect(moneris_presenter.textbox).to include "outline-color: rgb(36, 108, 169);"
49
52
  expect(moneris_presenter.textbox).to include "padding-bottom: 8px;"
50
53
  expect(moneris_presenter.textbox).to include "padding-left: 8px;"
51
54
  expect(moneris_presenter.textbox).to include "padding-right: 8px;"
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: 11.1.0
4
+ version: 11.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darko Dosenovic
@@ -10,10 +10,10 @@ authors:
10
10
  - Michael van den Beuken
11
11
  - Sinead Errity
12
12
  - Zoie Carnegie
13
- autorequire:
13
+ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2020-07-28 00:00:00.000000000 Z
16
+ date: 2020-08-17 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: breadcrumbs_on_rails
@@ -388,7 +388,7 @@ homepage: https://github.com/amaabca/ama_layout
388
388
  licenses:
389
389
  - MIT
390
390
  metadata: {}
391
- post_install_message:
391
+ post_install_message:
392
392
  rdoc_options: []
393
393
  require_paths:
394
394
  - lib
@@ -403,9 +403,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
403
403
  - !ruby/object:Gem::Version
404
404
  version: '0'
405
405
  requirements: []
406
- rubyforge_project:
407
- rubygems_version: 2.7.6.2
408
- signing_key:
406
+ rubygems_version: 3.1.4
407
+ signing_key:
409
408
  specification_version: 4
410
409
  summary: ".ama.ab.ca site layouts"
411
410
  test_files: