ama_layout 4.10.1 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -11
- data/ama_layout.gemspec +0 -2
- data/lib/ama_layout.rb +0 -2
- data/lib/ama_layout/version.rb +1 -1
- metadata +2 -109
- data/app/assets/images/alberta-blur.jpg +0 -0
- data/app/assets/images/ama-logo-blue.svg +0 -44
- data/app/assets/images/ama-logo-small.svg +0 -44
- data/app/assets/images/ama-logo.png +0 -0
- data/app/assets/images/cc-type-mc.png +0 -0
- data/app/assets/images/cc-type-visa.png +0 -0
- data/app/assets/images/footer-racetrack-big.png +0 -0
- data/app/assets/stylesheets/ama_layout/_settings.scss +0 -566
- data/app/assets/stylesheets/ama_layout/application.scss +0 -9
- data/app/assets/stylesheets/ama_layout/foundation_and_overrides.scss +0 -28
- data/app/assets/stylesheets/ama_layout/foundation_and_overrides_battery.scss +0 -7
- data/app/assets/stylesheets/ama_layout/layout/base-styles.scss +0 -2
- data/app/assets/stylesheets/ama_layout/layout/helper-classes.scss +0 -442
- data/app/assets/stylesheets/ama_layout/layout/index.scss +0 -5
- data/app/assets/stylesheets/ama_layout/layout/mixins-grid.scss +0 -847
- data/app/assets/stylesheets/ama_layout/layout/print.scss +0 -23
- data/app/assets/stylesheets/ama_layout/layout/variables.scss +0 -57
- data/app/assets/stylesheets/ama_layout/layout_components/accordions.scss +0 -186
- data/app/assets/stylesheets/ama_layout/layout_components/banners.scss +0 -85
- data/app/assets/stylesheets/ama_layout/layout_components/breadcrumbs.scss +0 -10
- data/app/assets/stylesheets/ama_layout/layout_components/buttons/button-grouping.scss +0 -116
- data/app/assets/stylesheets/ama_layout/layout_components/buttons/button-toggle.scss +0 -39
- data/app/assets/stylesheets/ama_layout/layout_components/buttons/buttons.scss +0 -105
- data/app/assets/stylesheets/ama_layout/layout_components/buttons/index.scss +0 -3
- data/app/assets/stylesheets/ama_layout/layout_components/call-to-action.scss +0 -22
- data/app/assets/stylesheets/ama_layout/layout_components/callouts/callback-callout.scss +0 -33
- data/app/assets/stylesheets/ama_layout/layout_components/callouts/callouts.scss +0 -58
- data/app/assets/stylesheets/ama_layout/layout_components/callouts/index.scss +0 -4
- data/app/assets/stylesheets/ama_layout/layout_components/callouts/price-callout.scss +0 -31
- data/app/assets/stylesheets/ama_layout/layout_components/callouts/quote-callout.scss +0 -6
- data/app/assets/stylesheets/ama_layout/layout_components/cart.scss +0 -149
- data/app/assets/stylesheets/ama_layout/layout_components/colour-coordinated-list.scss +0 -25
- data/app/assets/stylesheets/ama_layout/layout_components/comparison-radios.scss +0 -327
- data/app/assets/stylesheets/ama_layout/layout_components/content-toggle.scss +0 -25
- data/app/assets/stylesheets/ama_layout/layout_components/error-page.scss +0 -25
- data/app/assets/stylesheets/ama_layout/layout_components/features.scss +0 -104
- data/app/assets/stylesheets/ama_layout/layout_components/footer.scss +0 -72
- data/app/assets/stylesheets/ama_layout/layout_components/forms.scss +0 -505
- data/app/assets/stylesheets/ama_layout/layout_components/graph.scss +0 -95
- data/app/assets/stylesheets/ama_layout/layout_components/hero.scss +0 -41
- data/app/assets/stylesheets/ama_layout/layout_components/icon-group.scss +0 -16
- data/app/assets/stylesheets/ama_layout/layout_components/index.scss +0 -35
- data/app/assets/stylesheets/ama_layout/layout_components/legends/index.scss +0 -2
- data/app/assets/stylesheets/ama_layout/layout_components/legends/legend-map.scss +0 -48
- data/app/assets/stylesheets/ama_layout/layout_components/legends/legends.scss +0 -77
- data/app/assets/stylesheets/ama_layout/layout_components/link-list.scss +0 -62
- data/app/assets/stylesheets/ama_layout/layout_components/links.scss +0 -13
- data/app/assets/stylesheets/ama_layout/layout_components/maps.scss +0 -21
- data/app/assets/stylesheets/ama_layout/layout_components/member-card.scss +0 -62
- data/app/assets/stylesheets/ama_layout/layout_components/notification.scss +0 -108
- data/app/assets/stylesheets/ama_layout/layout_components/option-toggle.scss +0 -52
- data/app/assets/stylesheets/ama_layout/layout_components/pagination.scss +0 -39
- data/app/assets/stylesheets/ama_layout/layout_components/progress-bar.scss +0 -292
- data/app/assets/stylesheets/ama_layout/layout_components/promo-block.scss +0 -87
- data/app/assets/stylesheets/ama_layout/layout_components/receipt-summary.scss +0 -25
- data/app/assets/stylesheets/ama_layout/layout_components/responsive-table.scss +0 -205
- data/app/assets/stylesheets/ama_layout/layout_components/reveal-modal.scss +0 -48
- data/app/assets/stylesheets/ama_layout/layout_components/sections.scss +0 -257
- data/app/assets/stylesheets/ama_layout/layout_components/side_nav.scss +0 -87
- data/app/assets/stylesheets/ama_layout/layout_components/siteheader.scss +0 -157
- data/app/assets/stylesheets/ama_layout/layout_components/tables.scss +0 -112
- data/app/assets/stylesheets/ama_layout/media_queries/desktop.scss +0 -5
- data/app/assets/stylesheets/ama_layout/media_queries/index.scss +0 -4
- data/app/assets/stylesheets/ama_layout/media_queries/mobile-and-tablet.scss +0 -16
- data/app/assets/stylesheets/ama_layout/media_queries/mobile.scss +0 -34
- data/app/assets/stylesheets/ama_layout/media_queries/tablet.scss +0 -9
- data/app/assets/stylesheets/ama_layout/webfonts/ama-icon-font.scss +0 -90
- data/app/assets/stylesheets/ama_layout/webfonts/fonts/Wisdom-Script.woff +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/fonts/ama-icon-font.eot +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/fonts/ama-icon-font.svg +0 -25
- data/app/assets/stylesheets/ama_layout/webfonts/fonts/ama-icon-font.ttf +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/fonts/ama-icon-font.woff +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/index.scss +0 -3
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.eot +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.scss +0 -50
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.svg +0 -982
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.ttf +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.woff +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/wisdom-font.scss +0 -11
@@ -1,39 +0,0 @@
|
|
1
|
-
.button-toggle{
|
2
|
-
width: 100%;
|
3
|
-
margin: 0 auto;
|
4
|
-
display: block;
|
5
|
-
|
6
|
-
&--absolute{
|
7
|
-
@extend .button-toggle;
|
8
|
-
position: absolute;
|
9
|
-
top: 15px;
|
10
|
-
width: 95%;
|
11
|
-
left: 2.5%;
|
12
|
-
}
|
13
|
-
|
14
|
-
&__option{
|
15
|
-
width: 50%;
|
16
|
-
border: 2px solid $cerulean;
|
17
|
-
float: left;
|
18
|
-
background: $white;
|
19
|
-
color: $slate;
|
20
|
-
padding: $base-padding*0.45;
|
21
|
-
text-align: center;
|
22
|
-
|
23
|
-
&--right{
|
24
|
-
@extend .button-toggle__option;
|
25
|
-
border-radius: 0 5px 5px 0;
|
26
|
-
margin-left: -1px;
|
27
|
-
}
|
28
|
-
|
29
|
-
&--left{
|
30
|
-
@extend .button-toggle__option;
|
31
|
-
border-radius: 5px 0 0 5px;
|
32
|
-
}
|
33
|
-
|
34
|
-
&.visible{
|
35
|
-
background: $cerulean;
|
36
|
-
color: $white;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}
|
@@ -1,105 +0,0 @@
|
|
1
|
-
.button{
|
2
|
-
text-decoration: none;
|
3
|
-
|
4
|
-
&:hover,
|
5
|
-
&:active,
|
6
|
-
&:focus{
|
7
|
-
background: lighten($button-background, 10%);
|
8
|
-
}
|
9
|
-
|
10
|
-
&--green{
|
11
|
-
@extend .button;
|
12
|
-
$button-background: $brand-green;
|
13
|
-
background: $button-background;
|
14
|
-
float: right;
|
15
|
-
|
16
|
-
&:hover,
|
17
|
-
&:active,
|
18
|
-
&:focus{
|
19
|
-
background: lighten($button-background, 10%);
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
&--dark-blue{
|
24
|
-
@extend .button;
|
25
|
-
$button-background: $brand-blue-dark;
|
26
|
-
background: $button-background;
|
27
|
-
|
28
|
-
&:hover,
|
29
|
-
&:active,
|
30
|
-
&:focus{
|
31
|
-
background: lighten($button-background, 10%);
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
&--de-emphasized{
|
36
|
-
@extend .button;
|
37
|
-
$button-background: $slate;
|
38
|
-
background: $button-background;
|
39
|
-
|
40
|
-
&:hover,
|
41
|
-
&:active,
|
42
|
-
&:focus{
|
43
|
-
background: lighten($button-background, 10%);
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
&--left{
|
48
|
-
@extend .button;
|
49
|
-
float: left;
|
50
|
-
}
|
51
|
-
|
52
|
-
&--right{
|
53
|
-
@extend .button;
|
54
|
-
float: right;
|
55
|
-
}
|
56
|
-
|
57
|
-
&--center{
|
58
|
-
@extend .button;
|
59
|
-
float: none;
|
60
|
-
}
|
61
|
-
|
62
|
-
&--expand{
|
63
|
-
@extend .button;
|
64
|
-
@extend .expanded;
|
65
|
-
}
|
66
|
-
|
67
|
-
&--expand-medium-down{
|
68
|
-
@extend .button;
|
69
|
-
|
70
|
-
@include breakpoint(medium down){
|
71
|
-
display: block;
|
72
|
-
margin: 0 auto;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
|
76
|
-
&--expand-small-down{
|
77
|
-
@extend .button;
|
78
|
-
|
79
|
-
@include breakpoint(small down){
|
80
|
-
display: block;
|
81
|
-
margin: 0 auto;
|
82
|
-
width: 100%;
|
83
|
-
}
|
84
|
-
}
|
85
|
-
|
86
|
-
&--small{
|
87
|
-
@extend .button;
|
88
|
-
@extend .small;
|
89
|
-
}
|
90
|
-
}
|
91
|
-
|
92
|
-
button.disabled,
|
93
|
-
button[disabled],
|
94
|
-
.button.disabled,
|
95
|
-
.button[disabled]{
|
96
|
-
background-color: lighten($secondary-color, 10%);
|
97
|
-
border-color: none;
|
98
|
-
|
99
|
-
&:hover,
|
100
|
-
&:active,
|
101
|
-
&:focus{
|
102
|
-
background-color: lighten($secondary-color, 10%);
|
103
|
-
border-color: none;
|
104
|
-
}
|
105
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
.call-to-action{
|
2
|
-
|
3
|
-
&__container{
|
4
|
-
@include grid-row;
|
5
|
-
@include clearfix;
|
6
|
-
}
|
7
|
-
|
8
|
-
&__image-container{
|
9
|
-
@include large-1;
|
10
|
-
@include small-3;
|
11
|
-
}
|
12
|
-
|
13
|
-
&__image{
|
14
|
-
display: block;
|
15
|
-
margin: 0 auto;
|
16
|
-
}
|
17
|
-
|
18
|
-
&__content-container{
|
19
|
-
@include large-3;
|
20
|
-
@include small-9;
|
21
|
-
}
|
22
|
-
}
|
@@ -1,33 +0,0 @@
|
|
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
|
-
}
|
@@ -1,58 +0,0 @@
|
|
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
|
-
&__container{
|
27
|
-
@include grid-row;
|
28
|
-
@include clearfix;
|
29
|
-
}
|
30
|
-
|
31
|
-
&__sub-head{
|
32
|
-
color: $white;
|
33
|
-
}
|
34
|
-
|
35
|
-
&__image-container{
|
36
|
-
@include large-1;
|
37
|
-
@include small-12;
|
38
|
-
}
|
39
|
-
|
40
|
-
&__image{
|
41
|
-
display: block;
|
42
|
-
margin: 0 auto;
|
43
|
-
}
|
44
|
-
|
45
|
-
&__content-container{
|
46
|
-
@include large-11;
|
47
|
-
@include small-12;
|
48
|
-
}
|
49
|
-
|
50
|
-
&__link{
|
51
|
-
color: inherit;
|
52
|
-
text-decoration: underline;
|
53
|
-
|
54
|
-
&:hover{
|
55
|
-
color: $ash;
|
56
|
-
}
|
57
|
-
}
|
58
|
-
}
|
@@ -1,31 +0,0 @@
|
|
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
|
-
}
|
@@ -1,149 +0,0 @@
|
|
1
|
-
/*Cart*/
|
2
|
-
.summary-cart{
|
3
|
-
list-style-type: none;
|
4
|
-
margin-bottom: 0;
|
5
|
-
position: relative;
|
6
|
-
z-index: 1; //prevent cart from going underneath footer on short screens
|
7
|
-
|
8
|
-
@include breakpoint(medium down){
|
9
|
-
width: 100%;
|
10
|
-
position: fixed;
|
11
|
-
bottom: 0;
|
12
|
-
left: 0;
|
13
|
-
}
|
14
|
-
|
15
|
-
::-webkit-scrollbar{
|
16
|
-
-webkit-appearance: none;
|
17
|
-
width: 7px;
|
18
|
-
}
|
19
|
-
|
20
|
-
::-webkit-scrollbar-thumb{
|
21
|
-
border-radius: 4px;
|
22
|
-
background-color: rgba(0, 0, 0, .5);
|
23
|
-
-webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
|
24
|
-
}
|
25
|
-
|
26
|
-
&__container{
|
27
|
-
@extend .float-right; //needed to override the default column behavior (left aligned)
|
28
|
-
@include medium-4;
|
29
|
-
}
|
30
|
-
|
31
|
-
&__title{
|
32
|
-
float: left;
|
33
|
-
color: $white;
|
34
|
-
}
|
35
|
-
|
36
|
-
&__accordion-toggle-icon{
|
37
|
-
@include hide-for(large);
|
38
|
-
@extend .fa;
|
39
|
-
@extend .fa-arrows-v;
|
40
|
-
width: 16px;
|
41
|
-
height: 16px;
|
42
|
-
float: right;
|
43
|
-
color: $white;
|
44
|
-
margin-top: $base-margin*0.6;
|
45
|
-
}
|
46
|
-
|
47
|
-
&__item-count{
|
48
|
-
@include hide-for(large);
|
49
|
-
float: right;
|
50
|
-
width: 30px;
|
51
|
-
height: 30px;
|
52
|
-
border-radius: 60px;
|
53
|
-
text-align: center;
|
54
|
-
line-height: 30px;
|
55
|
-
color: $white;
|
56
|
-
font-weight: bold;
|
57
|
-
margin-right: $base-margin;
|
58
|
-
background: lighten($brand-green, 5%);
|
59
|
-
}
|
60
|
-
|
61
|
-
&__content{
|
62
|
-
background: $white;
|
63
|
-
padding: $base-padding;
|
64
|
-
@include clearfix;
|
65
|
-
}
|
66
|
-
|
67
|
-
&__list{
|
68
|
-
margin-left: 0;
|
69
|
-
overflow-y: scroll;
|
70
|
-
max-height: auto;
|
71
|
-
list-style: none;
|
72
|
-
margin: 0;
|
73
|
-
list-style-type: none;
|
74
|
-
overflow-y: scroll;
|
75
|
-
|
76
|
-
@include breakpoint(small){
|
77
|
-
max-height: 150px;
|
78
|
-
}
|
79
|
-
|
80
|
-
@include breakpoint(large){
|
81
|
-
max-height: 320px;
|
82
|
-
}
|
83
|
-
}
|
84
|
-
|
85
|
-
&__list-item{
|
86
|
-
padding: $base-padding;
|
87
|
-
|
88
|
-
&:not(:nth-child(1)){
|
89
|
-
border-top: 1px solid $smoke;
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
|
-
&__submit{
|
94
|
-
list-style-type: none;
|
95
|
-
margin-left: 0;
|
96
|
-
}
|
97
|
-
|
98
|
-
&__remove{
|
99
|
-
float: right;
|
100
|
-
|
101
|
-
.fa-times-circle-o{
|
102
|
-
font-size: $base-font-size*2;
|
103
|
-
}
|
104
|
-
}
|
105
|
-
|
106
|
-
&__remove-link{
|
107
|
-
color: $slate;
|
108
|
-
text-decoration: none;
|
109
|
-
|
110
|
-
&:hover,
|
111
|
-
&:focus{
|
112
|
-
color: $charcoal;
|
113
|
-
}
|
114
|
-
}
|
115
|
-
|
116
|
-
.summary-flash-notice{
|
117
|
-
color: $white;
|
118
|
-
background: $brand-blue-insurance;
|
119
|
-
|
120
|
-
p,
|
121
|
-
a,
|
122
|
-
a:hover,
|
123
|
-
a:focus{
|
124
|
-
color: $white;
|
125
|
-
}
|
126
|
-
|
127
|
-
&:not(:nth-child(1)){
|
128
|
-
border-top: none;
|
129
|
-
}
|
130
|
-
}
|
131
|
-
}
|
132
|
-
|
133
|
-
.delete-icon{ //same one used in the cart and on info charts it lives outside of cart so it can be used other places
|
134
|
-
float: right;
|
135
|
-
|
136
|
-
.fa-times-circle-o{
|
137
|
-
font-size: $base-font-size*2;
|
138
|
-
}
|
139
|
-
|
140
|
-
a{
|
141
|
-
color: $slate;
|
142
|
-
text-decoration: none;
|
143
|
-
|
144
|
-
&:hover,
|
145
|
-
&:focus{
|
146
|
-
color: $charcoal;
|
147
|
-
}
|
148
|
-
}
|
149
|
-
}
|