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,72 +0,0 @@
1
- // Sticky footer setup
2
- $footer-push-small: 594px;
3
- $footer-push-medium: 419px;
4
- $footer-push-large: 321px;
5
-
6
- .off-canvas-wrapper{
7
- min-height: 100%;
8
-
9
- @include breakpoint(small only){
10
- margin-bottom: -$footer-push-small;
11
- }
12
-
13
- @include breakpoint(medium only){
14
- margin-bottom: -$footer-push-medium;
15
- }
16
-
17
- @include breakpoint(large up){
18
- margin-bottom: -$footer-push-large;
19
- }
20
-
21
- &:after{
22
- content: "";
23
- display: block;
24
-
25
- @include breakpoint(small only){
26
- height: $footer-push-small;
27
- }
28
-
29
- @include breakpoint(medium only){
30
- height: $footer-push-medium;
31
- }
32
-
33
- @include breakpoint(large up){
34
- height: $footer-push-large;
35
- }
36
- }
37
- }
38
-
39
- // Footer styles
40
- .page-footer{
41
- background: $brand-blue-light;
42
- position: relative;
43
-
44
- &__container{
45
- @include grid-row;
46
- max-width: 1180px;
47
- padding-top: $base-padding*3;
48
- }
49
-
50
- &__col{
51
- @include medium-6;
52
- @include large-3;
53
- }
54
-
55
- &__col-header{
56
- color: $white;
57
- font-weight: 700;
58
- }
59
-
60
- &__list{
61
- list-style-type: none;
62
- }
63
-
64
- &__link{
65
- color: $white;
66
- }
67
- }
68
-
69
- .racetrack{
70
- background: $brand-blue-light image-url('footer-racetrack-big.png') no-repeat center $base-padding*3;
71
- height: 160px;
72
- }
@@ -1,505 +0,0 @@
1
- /* ------------- Input Styles ------------- */
2
- %inputs-thirds{
3
- max-width: 30%;
4
- float: left;
5
- }
6
-
7
- %inputs-halves{
8
- max-width: 47.5%;
9
- float: left;
10
- }
11
-
12
- /* ------------- BEM Checkboxes ------------- */
13
- .checkbox{
14
-
15
- &--third{
16
- @include large-4;
17
- }
18
-
19
- &--half{
20
- @include large-6;
21
- }
22
-
23
- &--full{
24
- @include large-12;
25
- }
26
-
27
- &__content{
28
- display: inline-block;
29
- width: 85%;
30
- margin-left: 40px;
31
- margin: 0;
32
- width: 100%;
33
- position: relative;
34
- padding: 0.5em 0.5em 0.5em 3em;
35
-
36
- &--label{
37
- font-size: 1em;
38
- font-weight: 700;
39
- }
40
- }
41
- }
42
-
43
- /* ------------- Custom Radio Button + Checkbox Styles ------------- */
44
- input[type="radio"],
45
- input[type="checkbox"]:not(.default){
46
- position: absolute;
47
- left: -9999px;
48
- }
49
-
50
- input[type="radio"] + label,
51
- input[type="checkbox"] + label,
52
- .form__label--unselected{
53
- background: $ash;
54
- border: $base-border;
55
- margin: 0;
56
- width: 100%;
57
- position: relative;
58
- cursor: pointer;
59
- padding: 0 $base-padding/2 0 $base-padding/2;
60
-
61
- &:before{
62
- content: ' ';
63
- display: block;
64
- position: absolute;
65
- left: 10px;
66
- top: 8px;
67
- width: 24px;
68
- min-width: 24px;
69
- height: 24px;
70
- background-color: $white;
71
- border: $base-border;
72
- }
73
-
74
- .membership-card-header{
75
- border-bottom: $base-border;
76
- background: darken($ash, 4%);
77
- }
78
- }
79
-
80
- .form__label-bg{
81
- background: $ash;
82
- border: $base-border;
83
- margin: 0;
84
- width: 100%;
85
- position: relative;
86
- cursor: pointer;
87
- padding: 0 $base-padding/2 0 $base-padding/2;
88
- }
89
-
90
- .form__label-addon{
91
- @extend .form__label-bg;
92
- border-top: 0;
93
- }
94
-
95
- .checkbox-label{
96
- display: inline-block;
97
- width: 85%;
98
- margin-top: 9px;
99
- margin-bottom: 9px;
100
- margin-left: 32px;
101
- }
102
-
103
- input[type="radio"] + label{
104
- &:before{
105
- border-radius: 100%;
106
- }
107
-
108
- &:after{
109
- content: ' ';
110
- transition: all .5s ease-in-out;
111
- }
112
- }
113
-
114
- input[type="radio"]:checked + label{
115
- color: $stormcloud;
116
- background-color: $sky;
117
- border: 2px solid darken($sky, 10%);
118
-
119
- &:before{
120
- content: '';
121
- background-color: $white;
122
- border: 2px solid $secondary-color;
123
- }
124
-
125
- &:after{
126
- content: '';
127
- position: absolute;
128
- display: block;
129
- top: 16px;
130
- left: 18px;
131
- background-color: $brand-blue-light;
132
- width: 8px;
133
- height: 8px;
134
- -moz-transform: scale(2, 2);
135
- -webkit-transform: scale(2, 2);
136
- transform: scale(2, 2);
137
- border-radius: 100%;
138
- }
139
-
140
- &>hr{
141
- border: solid darken($sky, 10%);
142
- border-width: 2px 0 0;
143
- height: 0;
144
- }
145
-
146
- .membership-card-header{
147
- border-bottom: 2px solid darken($sky, 10%);
148
- background: darken($sky, 4%);
149
- }
150
- }
151
-
152
- input[type="checkbox"]:checked + label{
153
-
154
- &:after{
155
- content: '';
156
- display: block;
157
- position: absolute;
158
- z-index: 200;
159
- left: 14px;
160
- top: 21px;
161
- width: 8px;
162
- height: 16px;
163
- border-right: 3px solid $white;
164
- border-top: 3px solid $white;
165
- transform:(scaleX(-1) rotate(180deg + -45deg));
166
- transform-origin:left top;
167
- -webkit-transform:(scaleX(-1) rotate(180deg + -45deg));
168
- -webkit-transform-origin:left top;
169
- -moz-transform:(scaleX(-1) rotate(180deg + -45deg));
170
- -moz-transform-origin:left top;
171
- animation:checkbox 0.8s;
172
- }
173
-
174
- &:before{
175
- background: $brand-blue-light;
176
- }
177
- }
178
-
179
- input[type="checkbox"]{
180
- visibility: hidden;
181
- }
182
-
183
- @keyframes checkbox{
184
- 0%{
185
- height: 0;
186
- width: 0;
187
- }
188
-
189
- 25%{
190
- height: 0;
191
- width: 8px;
192
- }
193
-
194
- 50%{
195
- height: 17px;
196
- width: 8px;
197
- }
198
- }
199
-
200
- // Scoped to avoid collisions with foundations datepicker
201
- .date{
202
- .month,
203
- .year {
204
- @extend %inputs-thirds;
205
- }
206
-
207
- .day {
208
- @extend %inputs-thirds;
209
- margin: 0 5%;
210
- }
211
-
212
- .hour,
213
- .minute {
214
- @extend %inputs-halves;
215
- }
216
- }
217
-
218
- .minute{
219
- float: right;
220
- }
221
-
222
- .datetime{
223
- &.month, &.day, &.year{
224
- margin-bottom: $base-margin;
225
- }
226
- }
227
-
228
- /*-------------- Credit Card images ---------- */
229
- .cc-type{
230
- width: 38px;
231
- height: 19px;
232
- display: inline-block;
233
- }
234
-
235
- .type-visa{
236
- background: url(image-path("cc-type-visa.png")) no-repeat;
237
- background-size: contain;
238
- background-position: center center;
239
- }
240
-
241
- .type-mc,
242
- .type-mastercard{
243
- background: url(image-path("cc-type-mc.png")) no-repeat;
244
- background-size: contain;
245
- background-position: center center;
246
- }
247
-
248
- /* The vendor prefixed placeholders have to be declared as separate selectors.
249
- When a browser doesn't understand a selector it invalidates the entire line */
250
- input::-webkit-input-placeholder{
251
- color: darken($smoke, 5%);
252
- }
253
-
254
- input:-moz-placeholder{
255
- color: darken($smoke, 5%);
256
- }
257
-
258
- input::-moz-placeholder{
259
- color: darken($smoke, 5%);
260
- }
261
-
262
- input[type='text'],
263
- [type='password'],
264
- [type='date'],
265
- [type='datetime'],
266
- [type='datetime-local'],
267
- [type='month'],
268
- [type='week'],
269
- [type='email'],
270
- [type='number'],
271
- [type='search'],
272
- [type='tel'],
273
- [type='time'],
274
- [type='url'],
275
- [type='color'],
276
- textarea,
277
- select{
278
- margin-bottom: 0;
279
- }
280
-
281
- select.has-placeholder:nth-child(1){
282
- color: darken($smoke, 5%);
283
- }
284
-
285
- select:focus{
286
- border: 2px solid $ocean;
287
- background-color: $white;
288
- outline: none;
289
- box-shadow: 0;
290
- transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
291
- }
292
-
293
-
294
- /* ------------- Error Messaging ------------- */
295
- small.error{
296
- display: block;
297
- clear: both;
298
- padding: 0.375rem 0.5625rem 0.5625rem;
299
- font-size: $base-font-size;
300
- background: $brand-red;
301
- color: $white;
302
- }
303
-
304
- .error__page-error{
305
- @extend small.error;
306
- margin-bottom: $base-margin;
307
- }
308
-
309
- .error__input-error{
310
- @extend .error;
311
- }
312
-
313
- .error small.error,
314
- small.error{
315
- background: $brand-red;
316
- }
317
-
318
- .error label,
319
- .error label.error{
320
- color: $brand-red;
321
- }
322
-
323
- .error-message{
324
- background: $brand-red;
325
- }
326
-
327
- .email_hint{
328
- color: $brand-red;
329
- display: none;
330
- font-size: 0.875em;
331
- margin: 0 0 $base-padding/2;
332
- }
333
-
334
- .email_domain{
335
- color: $brand-blue-insurance;
336
- font-weight: bold;
337
- text-decoration: underline;
338
- }
339
-
340
- /* ------------- Moneris ------------- */
341
- #monerisFrameSurround iframe,
342
- #monerisFrameSurround object,
343
- #monerisFrameSurround embed{
344
- width: 100%;
345
- }
346
-
347
- .iframe-error{
348
- margin-top: -6px !important;
349
- }
350
-
351
- form.moneris{
352
- display: none;
353
- }
354
-
355
- /* ------------- For All IE ------------- */
356
- input[type="text"]:-ms-input-placeholder,
357
- input[type="password"]:-ms-input-placeholder,
358
- input[type="date"]:-ms-input-placeholder,
359
- input[type="datetime"]:-ms-input-placeholder,
360
- input[type="datetime-local"]:-ms-input-placeholder,
361
- input[type="month"]:-ms-input-placeholder,
362
- input[type="week"]:-ms-input-placeholder,
363
- input[type="email"]:-ms-input-placeholder,
364
- input[type="number"]:-ms-input-placeholder,
365
- input[type="search"]:-ms-input-placeholder,
366
- input[type="tel"]:-ms-input-placeholder,
367
- input[type="time"]:-ms-input-placeholder,
368
- input[type="url"]:-ms-input-placeholder{
369
- color: darken($stone, 10%);
370
- }
371
-
372
- .form-container{
373
- @include grid-row-nest;
374
- @include large-9;
375
- @include grid-column-end;
376
- overflow: auto;
377
- max-width: 1080px;
378
- display: block;
379
- }
380
-
381
- .button__row{
382
- @include grid-row;
383
- @include clearfix;
384
- clear: both;
385
-
386
- &--nested{
387
- @include grid-row-nest;
388
- overflow: auto;
389
- clear: both;
390
- }
391
- }
392
-
393
- .form-horizontal{
394
- &__row{
395
- @include grid-row-nest;
396
- @include clearfix;
397
- margin-bottom: $base-margin;
398
- }
399
-
400
- &__conditional-row{
401
- @extend .form-horizontal__row;
402
- display: block;
403
-
404
- &--hidden{
405
- display: none;
406
- }
407
- }
408
-
409
- &__label-wrapper{
410
- @include large-4;
411
-
412
- &--disabled{
413
- label{
414
- @extend .form-horizontal__label-wrapper;
415
- color: lighten($slate, 30%);
416
- }
417
- }
418
- }
419
-
420
- &__input-wrapper{
421
- @include large-8;
422
-
423
- &--offset{
424
- @extend .form-horizontal__input-wrapper;
425
- @include large-offset-4;
426
- }
427
-
428
- &--small{
429
- @include large-2;
430
- }
431
-
432
- &--half-width{
433
- @include large-4;
434
- @include breakpoint(medium down){
435
- margin-bottom: $base-margin;
436
- }
437
- }
438
- }
439
-
440
- &__error-wrapper{
441
- @include large-8;
442
- @extend .error;
443
- }
444
-
445
- &__input-hint{
446
- @include large-6;
447
- @extend .hint;
448
-
449
- &--white{
450
- @extend .form-horizontal__input-hint;
451
- color: $white;
452
- }
453
- }
454
-
455
- &__radio-wrapper{
456
- @include large-8;
457
- margin-bottom: $base-margin;
458
-
459
- &--full{
460
- margin-bottom: $base-margin;
461
- }
462
- }
463
-
464
- &__radio-label{
465
- display: inline-block;
466
- width: 85%;
467
- margin-top: 9px;
468
- margin-left: 32px;
469
- padding-bottom: 10px;
470
- }
471
-
472
- &__select{
473
- @include large-8;
474
- }
475
-
476
- &__toggle{
477
- @include large-12;
478
- }
479
-
480
- &__notification{
481
- @include large-8;
482
- }
483
-
484
- &__input{
485
- &--inline{
486
- @include small-8;
487
- }
488
- }
489
-
490
- &__label{
491
- &--white{
492
- color: $white;
493
- }
494
- }
495
-
496
- &__submit{
497
- &--right{
498
- @include large-4;
499
- }
500
-
501
- &--inline{
502
- @include small-4;
503
- }
504
- }
505
- }