ama_layout 11.1.0 → 11.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.
- checksums.yaml +4 -4
- data/app/views/ama_layout/v3/_mobile_links.html.erb +18 -21
- data/app/views/ama_layout/v3/_siteheader.html.erb +1 -1
- data/lib/ama_layout/moneris/v3/textbox.txt +7 -3
- data/lib/ama_layout/version.rb +1 -1
- data/spec/ama_layout/decorators/moneris_decorator_spec.rb +6 -3
- metadata +6 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: be475124a8106fe62f2b86a83bff16976e9f0833d06c6e919794ec43f45ffdca
|
|
4
|
+
data.tar.gz: 4871ba936e915a8152f25a785eeb12a1f69e1d1521d6aa5c7af6037383ebdeef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
<%=
|
|
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: '
|
|
35
|
-
font-
|
|
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:
|
|
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;
|
data/lib/ama_layout/version.rb
CHANGED
|
@@ -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: '
|
|
40
|
-
expect(moneris_presenter.textbox).to include "font-
|
|
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:
|
|
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.
|
|
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-
|
|
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
|
-
|
|
407
|
-
|
|
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:
|