ama_layout 3.2.2 → 4.0.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/ama_layout.gemspec +2 -1
- data/app/assets/images/ama-logo-blue.svg +44 -0
- data/app/assets/images/ama-logo.png +0 -0
- data/app/assets/javascripts/ama_layout/desktop/foundation-custom.js +21 -0
- data/app/assets/javascripts/ama_layout/desktop/foundation-equalizer-reflow.coffee +5 -0
- data/app/assets/javascripts/ama_layout/desktop/foundation-ready.coffee +2 -0
- data/app/assets/javascripts/ama_layout/desktop/index.js +2 -8
- data/app/assets/stylesheets/ama_layout/_settings.scss +66 -66
- data/app/assets/stylesheets/ama_layout/application.scss +0 -1
- data/app/assets/stylesheets/ama_layout/foundation_and_overrides.scss +1 -24
- data/app/assets/stylesheets/ama_layout/layout/base-styles.scss +2 -72
- data/app/assets/stylesheets/ama_layout/layout/helper-classes.scss +98 -43
- data/app/assets/stylesheets/ama_layout/layout/index.scss +2 -0
- data/app/assets/stylesheets/ama_layout/layout/mixins-grid.scss +847 -0
- data/app/assets/stylesheets/ama_layout/layout/print.scss +23 -0
- data/app/assets/stylesheets/ama_layout/layout/variables.scss +20 -4
- data/app/assets/stylesheets/ama_layout/layout_components/accordions.scss +32 -14
- data/app/assets/stylesheets/ama_layout/layout_components/banner.scss +17 -0
- data/app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss +81 -4
- data/app/assets/stylesheets/ama_layout/layout_components/breadcrumbs.scss +10 -0
- data/app/assets/stylesheets/ama_layout/layout_components/button-grouping.scss +111 -0
- data/app/assets/stylesheets/ama_layout/layout_components/buttons.scss +14 -0
- data/app/assets/stylesheets/ama_layout/layout_components/callouts.scss +106 -0
- data/app/assets/stylesheets/ama_layout/layout_components/cart.scss +98 -43
- data/app/assets/stylesheets/ama_layout/layout_components/comparison-radios.scss +113 -0
- data/app/assets/stylesheets/ama_layout/layout_components/content-toggle.scss +15 -0
- data/app/assets/stylesheets/ama_layout/layout_components/error-page.scss +3 -3
- data/app/assets/stylesheets/ama_layout/layout_components/footer.scss +65 -0
- data/app/assets/stylesheets/ama_layout/layout_components/forms.scss +141 -43
- data/app/assets/stylesheets/ama_layout/layout_components/graph.scss +8 -7
- data/app/assets/stylesheets/ama_layout/layout_components/index.scss +13 -1
- data/app/assets/stylesheets/ama_layout/layout_components/link-list.scss +53 -0
- data/app/assets/stylesheets/ama_layout/layout_components/links.scss +8 -0
- data/app/assets/stylesheets/ama_layout/layout_components/notification.scss +27 -1
- data/app/assets/stylesheets/ama_layout/layout_components/progress-bar.scss +137 -0
- data/app/assets/stylesheets/ama_layout/layout_components/reveal-modal.scss +15 -0
- data/app/assets/stylesheets/ama_layout/layout_components/sections.scss +202 -0
- data/app/assets/stylesheets/ama_layout/layout_components/sidebar.scss +45 -119
- data/app/assets/stylesheets/ama_layout/layout_components/siteheader.scss +70 -73
- data/app/assets/stylesheets/ama_layout/layout_components/tab-accordions.scss +1 -19
- data/app/assets/stylesheets/ama_layout/layout_components/tables.scss +96 -0
- data/app/assets/stylesheets/ama_layout/media_queries/mobile-and-tablet.scss +2 -2
- data/app/assets/stylesheets/ama_layout/media_queries/mobile.scss +2 -49
- data/app/assets/stylesheets/ama_layout/media_queries/tablet.scss +2 -10
- data/app/helpers/ama_layout_breadcrumb_helper.rb +5 -0
- data/app/views/ama_layout/_alert.html.erb +4 -2
- data/app/views/ama_layout/_breadcrumbs.html.erb +3 -0
- data/app/views/ama_layout/_footer.html.erb +68 -1
- data/app/views/ama_layout/_main_nav_item.html.erb +2 -3
- data/app/views/ama_layout/_notice.html.erb +2 -2
- data/app/views/ama_layout/_sidebar.html.erb +6 -9
- data/app/views/ama_layout/_siteheader.html.erb +40 -28
- data/app/views/ama_layout/_sub_nav.html.erb +1 -1
- data/app/views/ama_layout/_sub_nav_item.html.erb +2 -2
- data/app/views/ama_layout/_top_nav.html.erb +4 -4
- data/lib/ama_layout.rb +2 -0
- data/lib/ama_layout/breadcrumb_builder.rb +23 -0
- data/lib/ama_layout/decorators/navigation_decorator.rb +10 -2
- data/lib/ama_layout/decorators/navigation_item_decorator.rb +8 -2
- data/lib/ama_layout/moneris/textbox.txt +11 -15
- data/lib/ama_layout/navigation.rb +7 -2
- data/lib/ama_layout/navigation.yml +8 -13
- data/lib/ama_layout/version.rb +1 -1
- data/spec/ama_layout/breadcrumb_builder_spec.rb +32 -0
- data/spec/ama_layout/decorators/moneris_decorator_spec.rb +11 -15
- data/spec/ama_layout/decorators/navigation_decorator_spec.rb +37 -0
- data/spec/ama_layout/decorators/navigation_item_decorator_spec.rb +18 -3
- data/spec/ama_layout/navigation_spec.rb +19 -88
- data/spec/helpers/ama_layout_breadcrumb_helper_spec.rb +9 -0
- data/styles.scss +0 -0
- metadata +46 -16
- data/app/assets/javascripts/ama_layout/desktop/drop_down.coffee +0 -46
- data/app/assets/javascripts/ama_layout/desktop/foundation-namespace.coffee +0 -2
- data/app/assets/javascripts/ama_layout/desktop/header_menu.coffee +0 -7
- data/app/assets/javascripts/ama_layout/desktop/ready.coffee +0 -3
- data/app/assets/javascripts/ama_layout/desktop/sidebar.coffee +0 -4
- data/app/assets/javascripts/ama_layout/desktop/sticky-footer.coffee +0 -33
- data/app/assets/javascripts/ama_layout/desktop/toggle_menu.coffee +0 -8
- data/app/assets/stylesheets/ama_layout/layout_components/show-hide-content-box.scss +0 -11
- data/app/assets/stylesheets/ama_layout/old-ie.scss +0 -74
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons.js +0 -84
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@media print{
|
|
2
|
+
.side-nav,
|
|
3
|
+
.page-footer,
|
|
4
|
+
.top-bar-right,
|
|
5
|
+
.breadcrumbs,
|
|
6
|
+
.table__header--grey-bg{
|
|
7
|
+
display: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.main-container{
|
|
11
|
+
float: left !important;
|
|
12
|
+
width: 100%;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// overrides equalizer, which causes weirdness with print
|
|
16
|
+
.large-8.columns.table__bg-spacing{
|
|
17
|
+
height: auto !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.header{
|
|
21
|
+
position: relative;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -4,10 +4,11 @@ $white: #ffffff;
|
|
|
4
4
|
$green: #3fae60;
|
|
5
5
|
$brand-green: #78be20; //Rewards Green
|
|
6
6
|
$brand-blue-insurance:#00a3e0;
|
|
7
|
-
$
|
|
7
|
+
$orange: #e7992b;
|
|
8
8
|
// Blue tones - ordered from lightest to darkest
|
|
9
9
|
$sky: #e2f4fc;
|
|
10
10
|
$ocean: #8cceec;
|
|
11
|
+
$cerulean: #2577be;
|
|
11
12
|
$brand-blue-light: #00539b;
|
|
12
13
|
$brand-blue-dark: #00205b;
|
|
13
14
|
// Grey tones - ordered from lightest to darkest
|
|
@@ -24,11 +25,26 @@ $primary-color: $brand-blue-dark;
|
|
|
24
25
|
$secondary-color: $brand-blue-light;
|
|
25
26
|
// Fonts
|
|
26
27
|
$font-family-sans-serif: "Open Sans", Helvetica, Arial, sans-serif;
|
|
28
|
+
$font-family-headings: "Open Sans Semi-Bold", Helvetica, Arial, sans-serif;
|
|
27
29
|
$base-font-size: 1rem;
|
|
28
30
|
// Spacing
|
|
29
|
-
$base-margin:
|
|
30
|
-
$base-padding:
|
|
31
|
+
$base-margin: 1rem;
|
|
32
|
+
$base-padding: 1rem;
|
|
33
|
+
|
|
31
34
|
// Borders
|
|
32
|
-
$base-border:
|
|
35
|
+
$base-border: 2px solid $stone;
|
|
33
36
|
//Radius
|
|
34
37
|
$base-radius: 3px;
|
|
38
|
+
//Top-Bar
|
|
39
|
+
$top-bar-height: 53px;
|
|
40
|
+
|
|
41
|
+
%clearfix {
|
|
42
|
+
*zoom: 1;
|
|
43
|
+
&:before, &:after {
|
|
44
|
+
content: " ";
|
|
45
|
+
display: table;
|
|
46
|
+
}
|
|
47
|
+
&:after {
|
|
48
|
+
clear: both;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.accordion-title{
|
|
2
|
-
|
|
2
|
+
@extend .heading;
|
|
3
3
|
text-decoration: none;
|
|
4
4
|
|
|
5
5
|
&:hover,
|
|
@@ -18,16 +18,6 @@
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.asset-link{
|
|
22
|
-
h3,
|
|
23
|
-
h5{
|
|
24
|
-
color: $white;
|
|
25
|
-
font-size: $base-font-size*1.4;
|
|
26
|
-
line-height: 21px;
|
|
27
|
-
float: left;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
21
|
.accordion.secondary{
|
|
32
22
|
background: none;
|
|
33
23
|
|
|
@@ -36,12 +26,12 @@
|
|
|
36
26
|
}
|
|
37
27
|
|
|
38
28
|
.accordion-content a{
|
|
39
|
-
font-size: $base-font-size
|
|
29
|
+
font-size: $base-font-size;
|
|
40
30
|
}
|
|
41
31
|
|
|
42
32
|
.accordion-title{
|
|
43
33
|
background: $white;
|
|
44
|
-
color: $
|
|
34
|
+
color: $slate;
|
|
45
35
|
|
|
46
36
|
&:hover{
|
|
47
37
|
background: $stone;
|
|
@@ -51,6 +41,34 @@
|
|
|
51
41
|
.top-level,
|
|
52
42
|
.top-level:hover{
|
|
53
43
|
background: darken($stone, 5%);
|
|
54
|
-
color: $
|
|
44
|
+
color: $slate;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.accordion{
|
|
49
|
+
&__header{
|
|
50
|
+
background: $brand-blue-light;
|
|
51
|
+
overflow: auto;
|
|
52
|
+
display: block;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__heading{
|
|
56
|
+
@extend .heading;
|
|
57
|
+
@include small-10;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&__toggle{
|
|
61
|
+
@include small-2;
|
|
62
|
+
text-align: right;
|
|
63
|
+
color: $white;
|
|
64
|
+
padding-top: $base-padding*1.25;
|
|
55
65
|
}
|
|
56
66
|
}
|
|
67
|
+
|
|
68
|
+
// Foundation sets a border-radius by default,
|
|
69
|
+
// and there doesn't seem to be an override in the settings file
|
|
70
|
+
.accordion-item:first-child > :first-child,
|
|
71
|
+
.accordion-item:first-child > :last-child,
|
|
72
|
+
:last-child:not(.is-active) > .accordion-title{
|
|
73
|
+
border-radius: 0;
|
|
74
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.banner{
|
|
2
|
+
position: relative; /* This is needed for the positioning of the close icon on the blue banners*/
|
|
3
|
+
|
|
4
|
+
&--blue{
|
|
5
|
+
background: $brand-blue-insurance;
|
|
6
|
+
padding: $base-padding;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&--red{
|
|
10
|
+
background: $brand-red;
|
|
11
|
+
padding: $base-padding;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__text{
|
|
15
|
+
text-align: center;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
/*New Grid Block code for blue boxes*/
|
|
2
|
+
.icon-box{
|
|
3
|
+
width: 100px;
|
|
4
|
+
height: 80px;
|
|
5
|
+
margin: $base-margin auto 0 auto;
|
|
6
|
+
background-repeat: no-repeat;
|
|
7
|
+
background-position: center center;
|
|
8
|
+
width: auto;
|
|
9
|
+
text-align: center;
|
|
10
|
+
color: $white;
|
|
11
|
+
font-size: $base-font-size*5;
|
|
12
|
+
line-height: $base-font-size*5;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.box-title{
|
|
16
|
+
text-align: center;
|
|
17
|
+
color: $white;
|
|
18
|
+
width: 90%;
|
|
19
|
+
margin: $base-margin/2 auto 0 auto;
|
|
20
|
+
}
|
|
2
21
|
|
|
3
22
|
.cta-btm-row{
|
|
4
23
|
margin-top: 0.9375rem*2;
|
|
@@ -25,6 +44,57 @@
|
|
|
25
44
|
}
|
|
26
45
|
}
|
|
27
46
|
|
|
47
|
+
.outer-quicklink-box:first-child:nth-last-child(2),
|
|
48
|
+
.outer-quicklink-box:first-child:nth-last-child(2) ~ div,
|
|
49
|
+
.outer-quicklink-box:first-child:nth-last-child(2) ~ li{
|
|
50
|
+
width: 49.2%;
|
|
51
|
+
margin-top: 1.5%;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.outer-quicklink-box:first-child:nth-last-child(3),
|
|
55
|
+
.outer-quicklink-box:first-child:nth-last-child(3) ~ div,
|
|
56
|
+
.outer-quicklink-box:first-child:nth-last-child(3) ~ li{
|
|
57
|
+
width: 23.5%;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.outer-quicklink-box:first-child:nth-last-child(4),
|
|
61
|
+
.outer-quicklink-box:first-child:nth-last-child(4) ~ div,
|
|
62
|
+
.outer-quicklink-box:first-child:nth-last-child(4) ~ li{
|
|
63
|
+
width: 24.2%;
|
|
64
|
+
margin-right: 0.8%;
|
|
65
|
+
margin-top: 0.8%;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.quicklink-single-box{
|
|
69
|
+
margin-left: 0;
|
|
70
|
+
margin-top: $base-margin;
|
|
71
|
+
|
|
72
|
+
.outer-quicklink-box > a{
|
|
73
|
+
font-size: $base-font-size;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/*New Grid Block code for blue boxes*/
|
|
78
|
+
.cta-margin{
|
|
79
|
+
margin: 0 $base-margin/2;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
ul{
|
|
83
|
+
li{
|
|
84
|
+
.cta-box{
|
|
85
|
+
padding: 20px;
|
|
86
|
+
|
|
87
|
+
&.light-blue-bg:hover{
|
|
88
|
+
background: lighten($brand-blue-light, 3%);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&.rewards-green-bg:hover{
|
|
92
|
+
background: lighten($brand-green, 3%);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
28
98
|
.cta-title{
|
|
29
99
|
text-align: center;
|
|
30
100
|
color: $white;
|
|
@@ -34,7 +104,7 @@
|
|
|
34
104
|
|
|
35
105
|
.icon-container{
|
|
36
106
|
height: 80px;
|
|
37
|
-
margin: $base-margin
|
|
107
|
+
margin: $base-margin auto 0 auto;
|
|
38
108
|
background-repeat: no-repeat;
|
|
39
109
|
background-position: center center;
|
|
40
110
|
width: auto;
|
|
@@ -42,10 +112,17 @@
|
|
|
42
112
|
color: $white;
|
|
43
113
|
font-size: $base-font-size*4.5;
|
|
44
114
|
line-height: $base-font-size*4.5;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.cta-title{
|
|
118
|
+
text-align: center;
|
|
119
|
+
color: $white;
|
|
120
|
+
width: 90%;
|
|
121
|
+
margin: $base-margin/2 auto 0 auto;
|
|
45
122
|
|
|
46
123
|
@include breakpoint(small down){
|
|
47
|
-
height:
|
|
48
|
-
font-size: $base-font-size
|
|
49
|
-
line-height: $base-font-size
|
|
124
|
+
height: 1.5em;
|
|
125
|
+
font-size: $base-font-size;
|
|
126
|
+
line-height: $base-font-size;
|
|
50
127
|
}
|
|
51
128
|
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/* button-group is a foundation element, so to avoid style conflicts ours are called button-groupings */
|
|
2
|
+
.button-grouping{
|
|
3
|
+
@include grid-row;
|
|
4
|
+
@include clearfix;
|
|
5
|
+
|
|
6
|
+
&--nested{
|
|
7
|
+
@include grid-row-nest;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&__container{
|
|
11
|
+
&--full{
|
|
12
|
+
@include large-12;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&--half{
|
|
16
|
+
// use with half-small to also have half width buttons on small screens
|
|
17
|
+
@include large-6;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&--quarter{
|
|
21
|
+
@include large-3;
|
|
22
|
+
@include small-12;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&--third{
|
|
26
|
+
@include large-4;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&--half-small{
|
|
30
|
+
@include breakpoint(medium down){
|
|
31
|
+
@include small-6;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__button{
|
|
37
|
+
@extend .button;
|
|
38
|
+
min-height: 170px;
|
|
39
|
+
position: relative;
|
|
40
|
+
width: 100%;
|
|
41
|
+
padding: 2.5em 1.75em;
|
|
42
|
+
|
|
43
|
+
&--green{
|
|
44
|
+
@extend .button-grouping__button;
|
|
45
|
+
background-color: $brand-green;
|
|
46
|
+
|
|
47
|
+
&:hover{
|
|
48
|
+
background: lighten($brand-green, 10%);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&--red{
|
|
53
|
+
@extend .button-grouping__button;
|
|
54
|
+
background-color: $brand-red;
|
|
55
|
+
|
|
56
|
+
&:hover{
|
|
57
|
+
background: lighten($brand-red, 10%);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&__content{
|
|
63
|
+
@include absolute-center;
|
|
64
|
+
-webkit-transform: translateX(-50%) translateY(-50%);
|
|
65
|
+
width: 90%;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&__icon{
|
|
69
|
+
font-size: 5rem;
|
|
70
|
+
padding-bottom: $base-padding;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&__bg-icon{
|
|
74
|
+
height: 80px;
|
|
75
|
+
background-repeat: no-repeat;
|
|
76
|
+
background-position: center center;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&__text{
|
|
80
|
+
line-height: 1rem;
|
|
81
|
+
display: block;
|
|
82
|
+
|
|
83
|
+
&--large{
|
|
84
|
+
display: block;
|
|
85
|
+
font-size: 2.5rem;
|
|
86
|
+
font-weight: bold;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&--underline{
|
|
90
|
+
display: block;
|
|
91
|
+
text-decoration: underline;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Non Font Awesome/Symbolicon Icons */
|
|
97
|
+
#card-icon{
|
|
98
|
+
background-image: asset-url("card-icon.png");
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
#coverage-icon{
|
|
102
|
+
background-image: asset-url("coverage-icon.png");
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
#family-icon{
|
|
106
|
+
background-image: asset-url("family-icon.png");
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
#laptop-icon{
|
|
110
|
+
background-image: asset-url("laptop-icon.png");
|
|
111
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
button.disabled,
|
|
2
|
+
button[disabled],
|
|
3
|
+
.button.disabled,
|
|
4
|
+
.button[disabled]{
|
|
5
|
+
background-color: lighten($secondary-color, 10%);
|
|
6
|
+
border-color: none;
|
|
7
|
+
|
|
8
|
+
&:hover,
|
|
9
|
+
&:active,
|
|
10
|
+
&:focus{
|
|
11
|
+
background-color: lighten($secondary-color, 10%);
|
|
12
|
+
border-color: none;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
.callout-box{
|
|
2
|
+
@include callout($ash);
|
|
3
|
+
|
|
4
|
+
&__close-btn{
|
|
5
|
+
float: right;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&--green{
|
|
9
|
+
@include callout($brand-green);
|
|
10
|
+
margin-bottom: $base-margin;
|
|
11
|
+
color: $white;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&--red{
|
|
15
|
+
@include callout($brand-red);
|
|
16
|
+
margin-bottom: $base-margin;
|
|
17
|
+
color: $white;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&--ins-blue{
|
|
21
|
+
@include callout($brand-blue-insurance);
|
|
22
|
+
margin-bottom: $base-margin;
|
|
23
|
+
color: $white;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__sub-head{
|
|
27
|
+
color: $white;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__image-container{
|
|
31
|
+
@include large-2;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__image{
|
|
35
|
+
display: block;
|
|
36
|
+
margin-left: auto;
|
|
37
|
+
margin-right: auto;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__content{
|
|
41
|
+
@include large-10;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&__link{
|
|
45
|
+
color: inherit;
|
|
46
|
+
text-decoration: underline;
|
|
47
|
+
|
|
48
|
+
&:hover{
|
|
49
|
+
color: $ash;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&__heading{
|
|
54
|
+
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.promo-block{
|
|
59
|
+
@include callout($ash);
|
|
60
|
+
@include show-for(medium);
|
|
61
|
+
position: relative;
|
|
62
|
+
overflow: auto;
|
|
63
|
+
|
|
64
|
+
&__divider{
|
|
65
|
+
@include show-for(large);
|
|
66
|
+
position: absolute;
|
|
67
|
+
color: $smoke;
|
|
68
|
+
font-size: 1.75rem;
|
|
69
|
+
top: 30%;
|
|
70
|
+
|
|
71
|
+
&--left{
|
|
72
|
+
@extend .promo-block__divider;
|
|
73
|
+
left: 33%;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&--right{
|
|
77
|
+
@extend .promo-block__divider;
|
|
78
|
+
right: 33%;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&__item{
|
|
83
|
+
@include medium-4;
|
|
84
|
+
text-align: center;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&__icon-container{
|
|
88
|
+
width: 110px;
|
|
89
|
+
height: 110px;
|
|
90
|
+
margin: $base-margin*2 auto $base-margin*2 auto;
|
|
91
|
+
background: $smoke;
|
|
92
|
+
|
|
93
|
+
&--round{
|
|
94
|
+
@extend .promo-block__icon-container;
|
|
95
|
+
border-radius: 100%;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&__icon{
|
|
100
|
+
color: $white;
|
|
101
|
+
font-size: 3.5rem;
|
|
102
|
+
text-align: center;
|
|
103
|
+
width: 100%;
|
|
104
|
+
margin-top: 28px;
|
|
105
|
+
}
|
|
106
|
+
}
|