ama_layout 4.10.1 → 5.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.
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,25 +0,0 @@
1
- .colour-coordinated-list{
2
- margin: $base-margin $base-margin*0.5;
3
- padding: $base-padding*0.5 $base-padding;
4
- list-style-type: none;
5
-
6
- &.good{ //I will be making a bug for the devs to change the way the JS uses these classes so we can rename to something a bit better -KR
7
- border-left: 9px solid $brand-green;
8
- }
9
-
10
- &.fair{
11
- border-left: 9px solid $orange;
12
- }
13
-
14
- &.poor{
15
- border-left: 9px solid $brand-red;
16
- }
17
-
18
- &.unreported{
19
- border-left: 9px solid $smoke;
20
- }
21
-
22
- &.closed{
23
- border-left: 9px solid $black;
24
- }
25
- }
@@ -1,327 +0,0 @@
1
- .comparison-radios{
2
- &__wrapper{
3
- @include grid-row-nest;
4
- @include clearfix;
5
- margin-bottom: $base-margin;
6
- }
7
-
8
- &__radio-full{
9
- @include medium-12;
10
- }
11
-
12
- &__radio-half{
13
- @include medium-6;
14
-
15
- &:nth-of-type(2){
16
- .comparison-radios__ribbon{ //only display the ribbon for the first radio
17
- display: none;
18
- }
19
- }
20
- }
21
-
22
- &__radio-third{
23
- @include medium-4;
24
-
25
- &:nth-of-type(1),
26
- &:nth-of-type(3){
27
- .comparison-radios__ribbon{ //only display the ribbon for the middle radio
28
- display: none;
29
- }
30
- }
31
- }
32
-
33
- &--vertical{
34
- text-align: center;
35
- }
36
-
37
- &__radio-btn--centered{
38
- .comparison-radios__input + label{
39
- @include breakpoint(small only){
40
- overflow: hidden;
41
- padding: 0;
42
- }
43
-
44
- @include breakpoint(medium){
45
- padding: 0 0 46px 0;
46
- }
47
-
48
- &::before{
49
- @include breakpoint(medium){
50
- top: 100%;
51
- margin-top: -35px;
52
- left: 50%;
53
- margin-left: -12px;
54
- }
55
-
56
- @include breakpoint(small only){
57
- top: 50%;
58
- left: 91%;
59
- margin-top: -12px;
60
- margin-left: -2px;
61
- }
62
- }
63
-
64
- &::after{
65
- @include breakpoint(medium){
66
- top: 100%;
67
- margin-top: -27px;
68
- left: 50%;
69
- margin-left: -4px;
70
- display: none;
71
- }
72
-
73
- @include breakpoint(small only){
74
- top: 50%;
75
- left: 91%;
76
- margin-top: -4px;
77
- margin-left: 6px;
78
- }
79
- }
80
- }
81
-
82
- input[type="radio"]:checked + label{
83
- @include breakpoint(medium){
84
- padding: 0 0 46px 0;
85
- }
86
-
87
- &::after{
88
- @include breakpoint(medium){
89
- top: 100%;
90
- margin-top: -27px;
91
- left: 50%;
92
- margin-left: -4px;
93
- }
94
-
95
- @include breakpoint(small only){
96
- top: 50%;
97
- left: 91%;
98
- margin-top: -4px;
99
- margin-left: 6px;
100
- }
101
- }
102
- }
103
- }
104
-
105
- &__title{
106
- font-size: $base-font-size*1.45;
107
- padding: 7px;
108
- font-weight: 700;
109
-
110
- @include breakpoint(small only){
111
- font-size: $base-font-size*1.25;
112
- }
113
-
114
- &--blue-bg{
115
- @extend .comparison-radios__title;
116
- background: $brand-blue-light;
117
- color: $white;
118
- margin-bottom: $base-margin;
119
- position: relative;
120
- }
121
-
122
- &--mobile-split{
123
- @include breakpoint(small only){
124
- float: left;
125
- width: 25%;
126
- margin-bottom: 0;
127
- }
128
- }
129
- }
130
-
131
- &__title-content{
132
- @include breakpoint(small only){
133
- -webkit-transform: translate(-50%, -50%);
134
- @include absolute-center;
135
- font-size: 4.5vw;
136
- }
137
- }
138
-
139
- &__label{
140
- display: inline-block;
141
- width: 85%;
142
- margin: 9px auto;
143
- }
144
-
145
- &__input:checked{
146
- &~label{
147
- .comparison-radios__panel{
148
- border-bottom: 2px solid darken($sky, 10%);
149
- background: darken($sky, 3%);
150
-
151
- @include breakpoint(medium){
152
- border-top: 2px solid darken($sky, 10%);
153
- }
154
- }
155
-
156
- .comparison-radios__content{
157
- @include breakpoint(small only){
158
- border-left: 2px solid darken($sky, 10%);
159
- border-right: 2px solid darken($sky, 10%);
160
- }
161
- }
162
-
163
- .comparison-radios__divider{
164
- border: solid darken($sky, 10%);
165
- border-width: 2px 0 0;
166
- height: 0;
167
- }
168
- }
169
- }
170
-
171
- &__panel{
172
- background-color: $ash;
173
- border-bottom: 2px solid $stone;
174
- padding: $base-padding;
175
- margin-bottom: $base-margin;
176
-
177
- @include breakpoint(medium){
178
- border-top: 2px solid $stone;
179
- }
180
- }
181
-
182
- &__content{
183
- @include breakpoint(small only){
184
- width: 63%;
185
- float: left;
186
- border-right: 2px solid $stone;
187
- border-left: 2px solid $stone;
188
- }
189
- }
190
-
191
- &__highlight{
192
- font-weight: 700;
193
- line-height: 1.5rem;
194
-
195
- &--large{
196
- @extend .comparison-radios__highlight;
197
- font-size: 2rem;
198
- }
199
-
200
- &--medium{
201
- @extend .comparison-radios__highlight;
202
- font-size: 1.25rem;
203
- }
204
-
205
- &--blue{
206
- @extend .comparison-radios__highlight;
207
- color: $brand-blue-light;
208
- }
209
- }
210
-
211
- &__image{
212
- height: 125px;
213
- margin-bottom: $base-margin;
214
-
215
- @include breakpoint(small only){
216
- display: none;
217
- }
218
- }
219
-
220
- &__list{
221
- list-style-type: none;
222
- padding: 0 $base-padding;
223
-
224
- @include breakpoint(small only){
225
- padding: 0 $base-padding/3;
226
- font-size: $base-font-size*0.875;
227
- }
228
- }
229
-
230
- &__list-item{
231
- padding-bottom: $base-padding;
232
-
233
- &::before{
234
- font-family: 'FontAwesome';
235
- content: "\f00c";
236
- color: $brand-blue-light;
237
- margin-right: 5px;
238
- margin-left: -17px;
239
- }
240
-
241
- @include breakpoint(small only){
242
- text-align: left;
243
- margin-left: $base-margin*1.5;
244
- }
245
- }
246
-
247
- &__ribbon{
248
- position: absolute;
249
- top: 0;
250
- right: -18px;
251
-
252
- @include breakpoint(medium down){
253
- right: -14px;
254
- width: 100px;
255
- }
256
-
257
- @include breakpoint(small only){
258
- top: -5px;
259
- right: -13px;
260
- }
261
- }
262
-
263
- &__icon{
264
- display: block;
265
-
266
- @include breakpoint(small only){
267
- -webkit-transform: translate(-50%, -50%);
268
- @include absolute-center;
269
- font-size: 10vw;
270
- }
271
-
272
- &::before{
273
- @include breakpoint(medium){
274
- font-size: $base-font-size*3;
275
- }
276
- }
277
-
278
- &.ama-icon-rv::before{ //make the custom icon play nice with the FA icons
279
- position: relative;
280
-
281
- @include breakpoint(medium){
282
- font-size: $base-font-size*4;
283
- top: 20px;
284
- line-height: 9px;
285
- }
286
-
287
- @include breakpoint(small only){
288
- font-size: 13vw;
289
- top: 5px;
290
- }
291
- }
292
- }
293
-
294
- &__divider{
295
- margin-bottom: 0;
296
-
297
- @include breakpoint(small only){
298
- display: none;
299
- }
300
- }
301
-
302
- &--disabled{
303
- input[type="radio"]:checked + label{
304
- background-color: lighten($sky, 4%);
305
- border: 2px solid lighten($dark-sky, 12%);
306
- color: lighten($stormcloud, 30%);
307
-
308
- &:before{
309
- border: 2px solid lighten($brand-blue-light, 55%);
310
- }
311
-
312
- &:after{
313
- background-color: lighten($brand-blue-light, 55%);
314
- }
315
- }
316
-
317
- input [type="radio"] + label{
318
- border: 2px solid lighten($dark-sky, 6%);
319
- }
320
-
321
-
322
- [type='radio'] + label[for]{
323
- cursor: not-allowed;
324
- color: lighten($stormcloud, 30%);
325
- }
326
- }
327
- }
@@ -1,25 +0,0 @@
1
- .content-toggle{
2
- &__bg{
3
- background-color: $stone;
4
- padding: $base-padding;
5
- margin-bottom: $base-margin;
6
- }
7
-
8
- &__close{
9
- @extend .fa;
10
- @extend .fa-close;
11
- color: $charcoal;
12
- cursor: pointer;
13
- float: right;
14
- }
15
-
16
- //We have to create our own classes for this because Foundation's default show/hide classes
17
- //have importants on them which messes with the specificity
18
- &--hidden{
19
- display: none;
20
- }
21
-
22
- &--visible{
23
- display: block;
24
- }
25
- }
@@ -1,25 +0,0 @@
1
- .error-page-emph{
2
- color: $secondary-color;
3
- }
4
-
5
- .error-pg-width{
6
- max-width: 650px !important;
7
- margin: 0 auto !important;
8
- padding-left: $base-padding/2;
9
- padding-right: $base-padding/2;
10
- }
11
-
12
- .error-pg-mb{
13
- margin: 0 auto $base-margin*8 auto !important;
14
- }
15
-
16
- .error-pg-num{
17
- min-width: 50%;
18
- min-height: 80px;
19
- padding-top: $base-padding/2;
20
- }
21
-
22
- .error-pg-num-border{
23
- border-left: 1px solid $slate;
24
- margin-top: 0;
25
- }
@@ -1,104 +0,0 @@
1
- .feature{
2
- &__container{
3
- background: $white;
4
- }
5
-
6
- &__section-title{
7
- @extend .wisdom-script;
8
- text-align: center;
9
- font-size: $base-font-size*2.857;
10
-
11
- @include breakpoint(medium down){
12
- margin-top: $base-margin*2;
13
- }
14
- }
15
-
16
- &__item{
17
- padding: $base-padding*2 0;
18
- text-align: center;
19
- }
20
-
21
- &__image{
22
- margin: 0 auto $base-margin auto;
23
- width: 415px;
24
- height: 219px;
25
- background-repeat: no-repeat;
26
- background-size: contain;
27
- max-width: 100%;
28
- background-position: center;
29
-
30
- @include breakpoint(small only){
31
- max-width: 90%;
32
- }
33
- }
34
-
35
- &__content{
36
- @include breakpoint(large){
37
- width: 80%;
38
- margin: 0 auto;
39
- }
40
- }
41
- }
42
-
43
- #feature__image{
44
- &--devices{
45
- background-image: asset-url(devices);
46
- }
47
-
48
- &--membership{
49
- background-image: asset-url(membership);
50
- }
51
-
52
- &--vrar{
53
- background-image: asset-url(vrar);
54
- }
55
-
56
- &--automotive{
57
- background-image: asset-url(automotive);
58
- }
59
-
60
- &--rewards{
61
- background-image: asset-url(rewards);
62
- }
63
-
64
- &--subscriptions{
65
- background-image: asset-url(subscriptions);
66
- }
67
-
68
- &--gift-cards{
69
- background-image: asset-url(gift-card);
70
- }
71
- }
72
-
73
- @media (-webkit-min-device-pixel-ratio: 2),
74
- (min-resolution: 192dpi){
75
- #feature__image{
76
- &--devices{
77
- background-image: asset-url(devices2x);
78
- }
79
-
80
- &--feature--membership{
81
- background-image: asset-url(membership2x);
82
- }
83
-
84
- &--vrar{
85
- background-image: asset-url(vrar2x);
86
- }
87
-
88
- &--automotive{
89
- background-image: asset-url(automotive2x);
90
- }
91
-
92
- &--rewards{
93
- background-image: asset-url(rewards2x);
94
- }
95
-
96
- &--subscriptions{
97
- background-image: asset-url(subscriptions2x);
98
- }
99
-
100
- &--gift-cards{
101
- background-image: asset-url(gift-card2x);
102
- }
103
- }
104
- }