ama_layout 4.9.0 → 4.10.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/assets/stylesheets/ama_layout/layout_components/callouts/callback-callout.scss +33 -0
- data/app/assets/stylesheets/ama_layout/layout_components/{callouts.scss → callouts/callouts.scss} +0 -22
- data/app/assets/stylesheets/ama_layout/layout_components/callouts/index.scss +4 -0
- data/app/assets/stylesheets/ama_layout/layout_components/callouts/price-callout.scss +31 -0
- data/app/assets/stylesheets/ama_layout/layout_components/callouts/quote-callout.scss +6 -0
- data/app/assets/stylesheets/ama_layout/layout_components/index.scss +1 -1
- data/lib/ama_layout/version.rb +1 -1
- metadata +7 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e8f440dc9a5c4aabe0fbcd00781dd36d074a9893
|
|
4
|
+
data.tar.gz: 4c0d467852cc2583ac864d9a7908c98e11c61b63
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 38def0ff5fd56dd88a2fa34eb320ddeb10373617dd8969a037384733a643a090c84da4bef82abee08af08b7e12e6b0b3bf8b5ddfea8c9b645142c731eeec0ee5
|
|
7
|
+
data.tar.gz: 4de3ef9637493d3cfce18e0557a6a0251172ed97f449eae6074d268236b244396a063c1839b35d970fc4c0fa569dd4e85d54a25b4a2904577c1aa6a43aab09a5
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.callback-callout{
|
|
2
|
+
background: $white;
|
|
3
|
+
width: 55%;
|
|
4
|
+
padding: $base-padding;
|
|
5
|
+
padding-left: 45px;
|
|
6
|
+
float: left;
|
|
7
|
+
|
|
8
|
+
@include breakpoint(medium only){
|
|
9
|
+
padding-left: 65px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@include breakpoint(small down){
|
|
13
|
+
width: 100%;
|
|
14
|
+
float: none;
|
|
15
|
+
margin-top: 25px;
|
|
16
|
+
padding-left: $base-padding;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__form{
|
|
20
|
+
@include clearfix;
|
|
21
|
+
margin-top: $base-padding*1.5;
|
|
22
|
+
text-align: center;
|
|
23
|
+
|
|
24
|
+
&--confirmation{
|
|
25
|
+
@include clearfix;
|
|
26
|
+
padding: 0 $base-padding*1.5 0 65px;
|
|
27
|
+
|
|
28
|
+
@include breakpoint(small down){
|
|
29
|
+
padding: $base-padding;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
data/app/assets/stylesheets/ama_layout/layout_components/{callouts.scss → callouts/callouts.scss}
RENAMED
|
@@ -56,25 +56,3 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
.callout{
|
|
61
|
-
&__side-arrow{ //this works best if it's a class on a svg element.
|
|
62
|
-
position: absolute;
|
|
63
|
-
z-index: 1;
|
|
64
|
-
top: 0;
|
|
65
|
-
left: 50%;
|
|
66
|
-
|
|
67
|
-
@include breakpoint(small down){
|
|
68
|
-
top: 100%;
|
|
69
|
-
left: 0%;
|
|
70
|
-
height: 30%;
|
|
71
|
-
background-color: $white;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&--mobile-spacing{
|
|
75
|
-
@include breakpoint(small down){
|
|
76
|
-
margin-top: 50px;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.price-callout{
|
|
2
|
+
width: 45%;
|
|
3
|
+
float: left;
|
|
4
|
+
position: relative;
|
|
5
|
+
margin-bottom: 0;
|
|
6
|
+
|
|
7
|
+
@include breakpoint(small down){
|
|
8
|
+
width: 100%;
|
|
9
|
+
float: none;
|
|
10
|
+
min-height: 175px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&__side-arrow{ //this works best if it's a class on a svg element.
|
|
14
|
+
position: absolute;
|
|
15
|
+
z-index: 1;
|
|
16
|
+
top: 0;
|
|
17
|
+
left: 50%;
|
|
18
|
+
|
|
19
|
+
@include breakpoint(small down){
|
|
20
|
+
top: 100%;
|
|
21
|
+
left: 0%;
|
|
22
|
+
height: 30%;
|
|
23
|
+
background-color: $white;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__content{
|
|
28
|
+
@include absolute-center;
|
|
29
|
+
text-align: center;
|
|
30
|
+
}
|
|
31
|
+
}
|
data/lib/ama_layout/version.rb
CHANGED
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: 4.
|
|
4
|
+
version: 4.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael van den Beuken
|
|
@@ -18,7 +18,7 @@ authors:
|
|
|
18
18
|
autorequire:
|
|
19
19
|
bindir: bin
|
|
20
20
|
cert_chain: []
|
|
21
|
-
date: 2017-02-
|
|
21
|
+
date: 2017-02-07 00:00:00.000000000 Z
|
|
22
22
|
dependencies:
|
|
23
23
|
- !ruby/object:Gem::Dependency
|
|
24
24
|
name: foundation-rails
|
|
@@ -297,7 +297,11 @@ files:
|
|
|
297
297
|
- app/assets/stylesheets/ama_layout/layout_components/buttons/buttons.scss
|
|
298
298
|
- app/assets/stylesheets/ama_layout/layout_components/buttons/index.scss
|
|
299
299
|
- app/assets/stylesheets/ama_layout/layout_components/call-to-action.scss
|
|
300
|
-
- app/assets/stylesheets/ama_layout/layout_components/callouts.scss
|
|
300
|
+
- app/assets/stylesheets/ama_layout/layout_components/callouts/callback-callout.scss
|
|
301
|
+
- app/assets/stylesheets/ama_layout/layout_components/callouts/callouts.scss
|
|
302
|
+
- app/assets/stylesheets/ama_layout/layout_components/callouts/index.scss
|
|
303
|
+
- app/assets/stylesheets/ama_layout/layout_components/callouts/price-callout.scss
|
|
304
|
+
- app/assets/stylesheets/ama_layout/layout_components/callouts/quote-callout.scss
|
|
301
305
|
- app/assets/stylesheets/ama_layout/layout_components/cart.scss
|
|
302
306
|
- app/assets/stylesheets/ama_layout/layout_components/colour-coordinated-list.scss
|
|
303
307
|
- app/assets/stylesheets/ama_layout/layout_components/comparison-radios.scss
|