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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 60ecdc9a1f2ee7f3a0facd10c7994f97b70cab02
4
- data.tar.gz: 346e5c6bd027822e5e8550f427202bf47d1ea6cb
3
+ metadata.gz: e8f440dc9a5c4aabe0fbcd00781dd36d074a9893
4
+ data.tar.gz: 4c0d467852cc2583ac864d9a7908c98e11c61b63
5
5
  SHA512:
6
- metadata.gz: 7eae64c4b542b81f01f2e36fd45de38f811605543dbc3d58e43848184af862ccbe78d0fe6880d15c94cb71a10bc0d8550e0691af69479c3b3706c413b784c8a4
7
- data.tar.gz: 40fece6c529f68e722cff0aa7dfbcfd7be71f690bb3d46e7c8cdf5fcdbadcf63c04f2e9600064b66365c7eaf6f1fd74faf7a9d572541483f0aa2e3d18ebc8c93
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
+ }
@@ -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,4 @@
1
+ @import "callouts";
2
+ @import "quote-callout";
3
+ @import "callback-callout";
4
+ @import "price-callout";
@@ -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
+ }
@@ -0,0 +1,6 @@
1
+ .quote-callout{
2
+ &__content{
3
+ @include absolute-center;
4
+ text-align: center;
5
+ }
6
+ }
@@ -3,8 +3,8 @@
3
3
  @import "siteheader";
4
4
  @import "banners";
5
5
  @import "breadcrumbs";
6
+ @import "callouts/index";
6
7
  @import "buttons/index";
7
- @import "callouts";
8
8
  @import "cart";
9
9
  @import "comparison-radios";
10
10
  @import "content-toggle";
@@ -1,3 +1,3 @@
1
1
  module AmaLayout
2
- VERSION = '4.9.0'
2
+ VERSION = '4.10.0'
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: 4.9.0
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-06 00:00:00.000000000 Z
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