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.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -11
  3. data/ama_layout.gemspec +0 -2
  4. data/lib/ama_layout.rb +0 -2
  5. data/lib/ama_layout/version.rb +1 -1
  6. metadata +2 -109
  7. data/app/assets/images/alberta-blur.jpg +0 -0
  8. data/app/assets/images/ama-logo-blue.svg +0 -44
  9. data/app/assets/images/ama-logo-small.svg +0 -44
  10. data/app/assets/images/ama-logo.png +0 -0
  11. data/app/assets/images/cc-type-mc.png +0 -0
  12. data/app/assets/images/cc-type-visa.png +0 -0
  13. data/app/assets/images/footer-racetrack-big.png +0 -0
  14. data/app/assets/stylesheets/ama_layout/_settings.scss +0 -566
  15. data/app/assets/stylesheets/ama_layout/application.scss +0 -9
  16. data/app/assets/stylesheets/ama_layout/foundation_and_overrides.scss +0 -28
  17. data/app/assets/stylesheets/ama_layout/foundation_and_overrides_battery.scss +0 -7
  18. data/app/assets/stylesheets/ama_layout/layout/base-styles.scss +0 -2
  19. data/app/assets/stylesheets/ama_layout/layout/helper-classes.scss +0 -442
  20. data/app/assets/stylesheets/ama_layout/layout/index.scss +0 -5
  21. data/app/assets/stylesheets/ama_layout/layout/mixins-grid.scss +0 -847
  22. data/app/assets/stylesheets/ama_layout/layout/print.scss +0 -23
  23. data/app/assets/stylesheets/ama_layout/layout/variables.scss +0 -57
  24. data/app/assets/stylesheets/ama_layout/layout_components/accordions.scss +0 -186
  25. data/app/assets/stylesheets/ama_layout/layout_components/banners.scss +0 -85
  26. data/app/assets/stylesheets/ama_layout/layout_components/breadcrumbs.scss +0 -10
  27. data/app/assets/stylesheets/ama_layout/layout_components/buttons/button-grouping.scss +0 -116
  28. data/app/assets/stylesheets/ama_layout/layout_components/buttons/button-toggle.scss +0 -39
  29. data/app/assets/stylesheets/ama_layout/layout_components/buttons/buttons.scss +0 -105
  30. data/app/assets/stylesheets/ama_layout/layout_components/buttons/index.scss +0 -3
  31. data/app/assets/stylesheets/ama_layout/layout_components/call-to-action.scss +0 -22
  32. data/app/assets/stylesheets/ama_layout/layout_components/callouts/callback-callout.scss +0 -33
  33. data/app/assets/stylesheets/ama_layout/layout_components/callouts/callouts.scss +0 -58
  34. data/app/assets/stylesheets/ama_layout/layout_components/callouts/index.scss +0 -4
  35. data/app/assets/stylesheets/ama_layout/layout_components/callouts/price-callout.scss +0 -31
  36. data/app/assets/stylesheets/ama_layout/layout_components/callouts/quote-callout.scss +0 -6
  37. data/app/assets/stylesheets/ama_layout/layout_components/cart.scss +0 -149
  38. data/app/assets/stylesheets/ama_layout/layout_components/colour-coordinated-list.scss +0 -25
  39. data/app/assets/stylesheets/ama_layout/layout_components/comparison-radios.scss +0 -327
  40. data/app/assets/stylesheets/ama_layout/layout_components/content-toggle.scss +0 -25
  41. data/app/assets/stylesheets/ama_layout/layout_components/error-page.scss +0 -25
  42. data/app/assets/stylesheets/ama_layout/layout_components/features.scss +0 -104
  43. data/app/assets/stylesheets/ama_layout/layout_components/footer.scss +0 -72
  44. data/app/assets/stylesheets/ama_layout/layout_components/forms.scss +0 -505
  45. data/app/assets/stylesheets/ama_layout/layout_components/graph.scss +0 -95
  46. data/app/assets/stylesheets/ama_layout/layout_components/hero.scss +0 -41
  47. data/app/assets/stylesheets/ama_layout/layout_components/icon-group.scss +0 -16
  48. data/app/assets/stylesheets/ama_layout/layout_components/index.scss +0 -35
  49. data/app/assets/stylesheets/ama_layout/layout_components/legends/index.scss +0 -2
  50. data/app/assets/stylesheets/ama_layout/layout_components/legends/legend-map.scss +0 -48
  51. data/app/assets/stylesheets/ama_layout/layout_components/legends/legends.scss +0 -77
  52. data/app/assets/stylesheets/ama_layout/layout_components/link-list.scss +0 -62
  53. data/app/assets/stylesheets/ama_layout/layout_components/links.scss +0 -13
  54. data/app/assets/stylesheets/ama_layout/layout_components/maps.scss +0 -21
  55. data/app/assets/stylesheets/ama_layout/layout_components/member-card.scss +0 -62
  56. data/app/assets/stylesheets/ama_layout/layout_components/notification.scss +0 -108
  57. data/app/assets/stylesheets/ama_layout/layout_components/option-toggle.scss +0 -52
  58. data/app/assets/stylesheets/ama_layout/layout_components/pagination.scss +0 -39
  59. data/app/assets/stylesheets/ama_layout/layout_components/progress-bar.scss +0 -292
  60. data/app/assets/stylesheets/ama_layout/layout_components/promo-block.scss +0 -87
  61. data/app/assets/stylesheets/ama_layout/layout_components/receipt-summary.scss +0 -25
  62. data/app/assets/stylesheets/ama_layout/layout_components/responsive-table.scss +0 -205
  63. data/app/assets/stylesheets/ama_layout/layout_components/reveal-modal.scss +0 -48
  64. data/app/assets/stylesheets/ama_layout/layout_components/sections.scss +0 -257
  65. data/app/assets/stylesheets/ama_layout/layout_components/side_nav.scss +0 -87
  66. data/app/assets/stylesheets/ama_layout/layout_components/siteheader.scss +0 -157
  67. data/app/assets/stylesheets/ama_layout/layout_components/tables.scss +0 -112
  68. data/app/assets/stylesheets/ama_layout/media_queries/desktop.scss +0 -5
  69. data/app/assets/stylesheets/ama_layout/media_queries/index.scss +0 -4
  70. data/app/assets/stylesheets/ama_layout/media_queries/mobile-and-tablet.scss +0 -16
  71. data/app/assets/stylesheets/ama_layout/media_queries/mobile.scss +0 -34
  72. data/app/assets/stylesheets/ama_layout/media_queries/tablet.scss +0 -9
  73. data/app/assets/stylesheets/ama_layout/webfonts/ama-icon-font.scss +0 -90
  74. data/app/assets/stylesheets/ama_layout/webfonts/fonts/Wisdom-Script.woff +0 -0
  75. data/app/assets/stylesheets/ama_layout/webfonts/fonts/ama-icon-font.eot +0 -0
  76. data/app/assets/stylesheets/ama_layout/webfonts/fonts/ama-icon-font.svg +0 -25
  77. data/app/assets/stylesheets/ama_layout/webfonts/fonts/ama-icon-font.ttf +0 -0
  78. data/app/assets/stylesheets/ama_layout/webfonts/fonts/ama-icon-font.woff +0 -0
  79. data/app/assets/stylesheets/ama_layout/webfonts/index.scss +0 -3
  80. data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.eot +0 -0
  81. data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.scss +0 -50
  82. data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.svg +0 -982
  83. data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.ttf +0 -0
  84. data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.woff +0 -0
  85. data/app/assets/stylesheets/ama_layout/webfonts/wisdom-font.scss +0 -11
@@ -1,108 +0,0 @@
1
- .notice--flash{
2
- padding: $base-padding/2 $base-padding;
3
- background-color: $brand-blue-insurance;
4
- color: $white;
5
- -webkit-animation: noticeFade 8s;
6
- -moz-animation: noticeFade 8s;
7
- -o-animation: noticeFade 8s;
8
- animation: noticeFade 8s;
9
- opacity: 0;
10
- }
11
-
12
- @keyframes noticeFade{
13
- 0% { opacity:0; }
14
- 10% { opacity:1; }
15
- 90% { opacity:1; }
16
- 100% { opacity:0; }
17
- }
18
- @-o-keyframes noticeFade{
19
- 0% { opacity:0; }
20
- 10% { opacity:1; }
21
- 90% { opacity:1; }
22
- 100% { opacity:0; }
23
- }
24
- @-moz-keyframes noticeFade{
25
- 0% { opacity:0; }
26
- 10% { opacity:1; }
27
- 90% { opacity:1; }
28
- 100% { opacity:0; }
29
- }
30
- @-webkit-keyframes noticeFade{
31
- 0% { opacity:0; }
32
- 10% { opacity:1; }
33
- 90% { opacity:1; }
34
- 100% { opacity:0; }
35
- }
36
-
37
- .notice_notification{
38
- padding: $base-padding/2 $base-padding;
39
- background-color: $brand-blue-insurance;
40
- color: $white;
41
- }
42
-
43
- .error_notification{
44
- @extend .notice_notification;
45
- background-color: $brand-red;
46
- }
47
-
48
- //Status error classes
49
- .orange-warning-icon{
50
- @extend .fa;
51
- @extend .fa-exclamation-circle;
52
- @extend .orange-text;
53
- }
54
-
55
- .white-warning-icon{
56
- @extend .fa;
57
- @extend .fa-exclamation-circle;
58
- @extend .white-text;
59
- }
60
-
61
- .green-active-icon{
62
- @extend .fa;
63
- @extend .fa-check-circle;
64
- @extend .green-text;
65
- }
66
-
67
- .white-active-icon{
68
- @extend .fa;
69
- @extend .fa-check-circle;
70
- @extend .white-text;
71
- }
72
-
73
- .status-icon{
74
- font-size: 2rem !important; //needs important to overwrite the .fa font size
75
- text-align: center;
76
- margin: 0 auto;
77
- display: block;
78
- }
79
-
80
- .notice{
81
- color: $white;
82
- padding: $base-padding;
83
- margin-bottom: $base-margin;
84
- overflow: auto;
85
-
86
- &--warning{
87
- @extend .notice;
88
- background: $orange;
89
- }
90
-
91
- &__icon-wrapper{
92
- @include small-2;
93
- }
94
-
95
- &__icon{
96
- font-size: 2em;
97
- width: 100%;
98
- text-align: center;
99
- }
100
-
101
- &__text-wrapper{
102
- @include small-10;
103
-
104
- &>:last-child{
105
- margin-bottom: 0;
106
- }
107
- }
108
- }
@@ -1,52 +0,0 @@
1
- .option-toggle{
2
- &__list{
3
- list-style: none;
4
- margin-bottom: 0;
5
- }
6
-
7
- &__item{
8
- @include clearfix;
9
- margin: 1px 0;
10
- background-color: $white;
11
- color: $cerulean;
12
- position: relative;
13
-
14
- &:nth-child(even){
15
- background-color: $ash;
16
- }
17
-
18
- &.visible{ //this class isn't BEM because of the old JS in RR - KR
19
- background-color: $brand-blue-light;
20
- color: $white;
21
-
22
- .option-toggle__icon{
23
- background-color: $brand-blue-light;
24
- color: $white;
25
- }
26
- }
27
- }
28
-
29
- &__label{
30
- margin: 0 0 0 $base-margin;
31
- line-height: 24px;
32
- @include vertical-center;
33
- }
34
-
35
- &__icon-container{
36
- background-color: transparent;
37
- width: 60px;
38
- height: 50px;
39
- float: left;
40
- padding: $base-padding*1.5;
41
- position: relative;
42
- }
43
-
44
- &__icon{
45
- color: $cerulean;
46
- width: 100%;
47
- font-size: $base-font-size*1.75;
48
- left: 0;
49
- text-align: center;
50
- @include vertical-center;
51
- }
52
- }
@@ -1,39 +0,0 @@
1
- .pagination{
2
- margin-bottom : $base-margin;
3
-
4
- &__page{
5
- font-weight: bold;
6
- font-size: $base-font-size*1.0625;
7
- }
8
-
9
- &__current-page{
10
- background-color: $cerulean;
11
- color: $white;
12
- margin: 0 3px;
13
- padding: 0 3px;
14
- border-radius: 3px;
15
- }
16
-
17
- &__link{
18
- color: $slate;
19
- margin: auto 3px;
20
- padding: 0 3px;
21
- border-radius: 3px;
22
-
23
- &:hover{
24
- background-color: $cerulean;
25
- color: $white;
26
- padding: 0 3px;
27
- text-decoration: none;
28
- }
29
- }
30
-
31
- &__page-gap{
32
- font-weight: bold;
33
- }
34
-
35
- &--centered{
36
- @extend .pagination;
37
- text-align: center;
38
- }
39
- }
@@ -1,292 +0,0 @@
1
- .progress-bar{
2
- @include hide-for(small only);
3
- overflow: auto;
4
-
5
- &__section{
6
- &--active{
7
- background: $cerulean;
8
- }
9
-
10
- &--inactive{
11
- background: $brand-blue-light;
12
- }
13
-
14
- &--completed{
15
- background: $brand-blue-dark;
16
- }
17
- }
18
-
19
- &--selected{
20
- background: $cerulean;
21
- color: $white;
22
- }
23
-
24
- &--completed{
25
- color: $white;
26
- background: $brand-blue-dark;
27
- }
28
-
29
- &__section-quarter{
30
- @include medium-3;
31
- position: relative;
32
- color: $white;
33
- overflow: hidden;
34
- padding: 6px 0;
35
-
36
- &:last-child:not(:first-child){
37
- float: none;
38
- }
39
- }
40
- &__section-title{
41
-
42
- }
43
-
44
- &__section-info{
45
- display: block;
46
- }
47
-
48
- &__arrow{
49
- width: 32px;
50
- height: 32px;
51
- position: absolute;
52
- right: -20px;
53
- top: -4px;
54
-
55
- @include breakpoint(medium down){
56
- display: none;
57
- }
58
-
59
- &::after{
60
- content: '';
61
- position: absolute;
62
- right: 0;
63
- border-color: transparent transparent transparent $brand-blue-light;
64
- border-style: solid;
65
- border-width: 35px;
66
- }
67
-
68
- &::before{
69
- content: '';
70
- position: absolute;
71
- right: -4px; //this controls the thickness of the arrow
72
- border-color: transparent transparent transparent $white;
73
- background: $brand-blue-light;
74
- border-style: solid;
75
- border-width: 35px;
76
- }
77
-
78
- &--selected::after{
79
- content: '';
80
- color: $white;
81
- position: absolute;
82
- right: 0;
83
- border-color: transparent transparent transparent $cerulean;
84
- border-style: solid;
85
- border-width: 35px;
86
- }
87
-
88
- &--selected:before{
89
- content: '';
90
- color: $white;
91
- position: absolute;
92
- right: -4px; //this controls the thickness of the arrow
93
- border-color: transparent transparent transparent $white;
94
- background: $brand-blue-light;
95
- border-style: solid;
96
- border-width: 35px;
97
- }
98
-
99
- &--completed::after{
100
- content: '';
101
- color: $white;
102
- position: absolute;
103
- right: 0;
104
- border-color: transparent transparent transparent $brand-blue-dark;
105
- border-style: solid;
106
- border-width: 35px;
107
- }
108
-
109
- &--completed:before{
110
- content: '';
111
- color: $white;
112
- position: absolute;
113
- right: -4px; //this controls the thickness of the arrow
114
- border-color: transparent transparent transparent $white;
115
- background: $cerulean;
116
- border-style: solid;
117
- border-width: 35px;
118
- }
119
-
120
- &--very-completed::after{
121
- content: '';
122
- color: $white;
123
- position: absolute;
124
- right: 0;
125
- border-color: transparent transparent transparent $brand-blue-dark;
126
- border-style: solid;
127
- border-width: 35px;
128
- }
129
-
130
- &--very-completed::before{
131
- content: '';
132
- color: $white;
133
- position: absolute;
134
- right: -4px; //this controls the thickness of the arrow
135
- border-color: transparent transparent transparent $white;
136
- background: $brand-blue-dark;
137
- border-style: solid;
138
- border-width: 35px;
139
- }
140
- }
141
- }
142
-
143
- .progress-bar-vertical{
144
- list-style: none;
145
- position: relative;
146
-
147
- &__guide{
148
- height: 100%;
149
- position: absolute;
150
- width: 2px;
151
- background-color: $stone;
152
- left: 17px;
153
- }
154
-
155
- &__step{
156
- @extend .clearfix;
157
- position: relative;
158
- margin-bottom: $base-margin*1.4;
159
- }
160
-
161
- &__icon{
162
- width: 37px;
163
- height: 37px;
164
- border-radius: 100%;
165
- display: inline-block;
166
- font-weight: 700;
167
- font-size: 23px;
168
- text-align: center;
169
- background-color: $stone;
170
- position: relative;
171
- float: left;
172
-
173
- &--active{
174
- @extend .progress-bar-vertical__icon;
175
- background-color: $brand-blue-light;
176
- color: $white;
177
- }
178
-
179
- &--complete{
180
- @extend .fa;
181
- @extend .fa-check;
182
- @extend .progress-bar-vertical__icon;
183
- background-color: $cerulean;
184
- color: $white;
185
- font-weight: normal;
186
-
187
- &::before{
188
- @include vertical-center;
189
- left: 0;
190
- width: 100%;
191
- }
192
- }
193
- }
194
-
195
- &__content{
196
- position: relative;
197
- float: left;
198
- margin-left: $base-margin*1.5;
199
- line-height: 16px;
200
- max-width: 74%;
201
- }
202
-
203
- &__content-remove{
204
- line-height: 23px;
205
- margin-left: $base-margin*0.35;
206
- }
207
- }
208
-
209
- .progress-bar-horizontal{
210
- list-style: none;
211
- position: relative;
212
- margin: 0 auto;
213
- display: table;
214
- width: 100%;
215
- @include clearfix;
216
-
217
- @include breakpoint(medium only){
218
- max-width: 546px;
219
- }
220
-
221
- &__guide{
222
- width: 80%;
223
- left: 10%;
224
- position: absolute;
225
- height: 2px;
226
- background-color: $stone;
227
- top: 70%;
228
- }
229
-
230
- &__step{
231
- position: relative;
232
- display: table-cell;
233
-
234
- @include breakpoint(medium only){
235
- margin-right: 9%;
236
- }
237
- }
238
-
239
- &__icon{
240
- width: 37px;
241
- height: 37px;
242
- border-radius: 100%;
243
- display: block;
244
- margin: 0 auto;
245
- font-weight: 700;
246
- font-size: 21px;
247
- text-align: center;
248
- background-color: $stone;
249
- position: relative;
250
- line-height: 37px;
251
-
252
- @include breakpoint(medium only){
253
- width: 50px;
254
- height: 50px;
255
- font-size: 26px;
256
- line-height: 50px;
257
- }
258
-
259
- &--active{
260
- @extend .progress-bar-horizontal__icon;
261
- background-color: $brand-blue-light;
262
- color: $white;
263
- }
264
-
265
- &--complete{
266
- @extend .fa;
267
- @extend .fa-check;
268
- @extend .progress-bar-horizontal__icon;
269
- background-color: $cerulean;
270
- color: $white;
271
- font-weight: normal;
272
-
273
- &::before{
274
- @include vertical-center;
275
- left: 0;
276
- width: 100%;
277
- }
278
- }
279
- }
280
-
281
- &__content{
282
- line-height: $base-font-size*1.5;
283
- text-align: center;
284
- margin-bottom: $base-margin*0.65;
285
- display: block;
286
- font-size: $base-font-size*0.85;
287
-
288
- @include breakpoint(medium only){
289
- font-size: $base-font-size;
290
- }
291
- }
292
- }