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,23 +0,0 @@
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
- }
@@ -1,57 +0,0 @@
1
- /* Colours */
2
- $brand-red: #da291c;
3
- $sangria: #780000;
4
- $white: #ffffff;
5
- $green: #3fae60;
6
- $brand-green: #78be20; //Rewards Green
7
- $brand-blue-insurance:#00a3e0;
8
- $orange: #e7992b;
9
- $canary: #FFC345;
10
- // Blue tones - ordered from lightest to darkest
11
- $sky: #e2f4fc;
12
- $dark-sky: #b4e2f7;
13
- $ocean: #8cceec;
14
- $cerulean: #2577be;
15
- $brand-blue-light: #00539b;
16
- $brand-blue-dark: #00205b;
17
- // Grey tones - ordered from lightest to darkest
18
- $ash: #f7f7f7;
19
- $stone: #eeeeee;
20
- $smoke: #cccccc;
21
- $stormcloud: #959595;
22
- $slate: #838383;
23
- $charcoal: #656565;
24
- $jet: #323232;
25
- $black: #000000;
26
- // For foundation
27
- $primary-color: $brand-blue-dark;
28
- $secondary-color: $brand-blue-light;
29
- // Fonts
30
- $font-family-sans-serif: "Open Sans", Helvetica, Arial, sans-serif;
31
- $font-family-headings: "Open Sans Semi-Bold", Helvetica, Arial, sans-serif;
32
- $base-font-size: 1rem;
33
- $small-font-size: $base-font-size*0.75;
34
- $medium-font-size: $base-font-size*1.3;
35
- $large-font-size: $base-font-size*1.85;
36
- $x-large-font-size: $base-font-size*3;
37
- // Spacing
38
- $base-margin: 1rem;
39
- $base-padding: 1rem;
40
-
41
- // Borders
42
- $base-border: 2px solid $stone;
43
- //Radius
44
- $base-radius: 3px;
45
- //Top-Bar
46
- $top-bar-height: 53px;
47
-
48
- %clearfix {
49
- *zoom: 1;
50
- &:before, &:after {
51
- content: " ";
52
- display: table;
53
- }
54
- &:after {
55
- clear: both;
56
- }
57
- }
@@ -1,186 +0,0 @@
1
- .accordion-title{
2
- @extend .heading;
3
- text-decoration: none;
4
-
5
- &:hover,
6
- &:active,
7
- &:visited,
8
- &:focus{
9
- color: $white;
10
- }
11
-
12
- .accordion-icon{
13
- width: 16px;
14
- height: 16px;
15
- display: block;
16
- float: right;
17
- color: $white;
18
- }
19
- }
20
-
21
- .accordion-secondary{
22
- &--header{
23
- font-size: $base-font-size;
24
- }
25
-
26
- &--heading{
27
-
28
- }
29
- }
30
- .accordion.secondary{
31
- background: none;
32
-
33
- a{
34
- font-size: $global-font-size;
35
- }
36
-
37
- .accordion-content a{
38
- font-size: $global-font-size;
39
- }
40
-
41
- .accordion-title{
42
- background: $white;
43
- color: $slate;
44
-
45
- &:hover{
46
- background: $stone;
47
- }
48
- }
49
-
50
- .top-level,
51
- .top-level:hover{
52
- background: darken($stone, 5%);
53
- color: $slate;
54
- }
55
- }
56
-
57
- .accordion{
58
- &__header{
59
- background: $brand-blue-light;
60
- overflow: auto;
61
- display: block;
62
- }
63
-
64
- &__heading{
65
- @extend .heading;
66
- @include small-10;
67
- }
68
-
69
- &__toggle{
70
- @include small-2;
71
- @extend .fa;
72
- @extend .fa-arrows-v;
73
- text-align: right;
74
- color: $white;
75
- padding-top: $base-padding*1.25;
76
- }
77
- }
78
-
79
- .accordion-multi-state{
80
- @extend .accordion;
81
- margin-bottom: $base-margin;
82
- background: transparent;
83
- -ms-overflow-style: none;
84
-
85
- .accordion-item{ //this is a foundation class needed for accordions to work. We only want to modify the margin for multi-state which is why it is nested.
86
- margin-bottom: $base-margin;
87
- }
88
-
89
- &__header{
90
- @extend .accordion__header;
91
- background: transparent;
92
- position: relative;
93
- }
94
-
95
- &__heading-bg{
96
- @include small-10;
97
- color: $white;
98
- padding: 0.63rem $base-padding;
99
- width: calc(100% - 20px);
100
-
101
- &--active{
102
- @extend .accordion-multi-state__heading-bg;
103
- background: $brand-blue-light;
104
- }
105
-
106
- &--inactive{
107
- @extend .accordion-multi-state__heading-bg;
108
- background: $stone;
109
-
110
- .accordion-multi-state__heading{
111
- color: $slate;
112
- }
113
- }
114
-
115
- &--complete{
116
- @extend .accordion-multi-state__heading-bg;
117
- background: $brand-green;
118
- }
119
-
120
- &--error{
121
- @extend .accordion-multi-state__heading-bg;
122
- background: $brand-red;
123
- }
124
- }
125
-
126
- &__heading{
127
- color: $white;
128
- margin-left: $base-margin*0.75;
129
- font-size: $base-font-size;
130
- padding: 0;
131
- }
132
-
133
- &__icon{
134
- @extend .fa;
135
- width: 39px;
136
- height: 39px;
137
- border: 2px solid $brand-blue-light;
138
- display: inline-block;
139
- border-radius: 100%;
140
- position: absolute;
141
- background: white;
142
- @include vertical-center;
143
-
144
- &::before{
145
- @include vertical-center;
146
- width: 100%;
147
- text-align: center;
148
- font-size: 22px;
149
- }
150
-
151
- &--active{
152
- @extend .accordion-multi-state__icon;
153
- @extend .fa-check;
154
- color: $stone;
155
- }
156
-
157
- &--inactive{
158
- @extend .accordion-multi-state__icon;
159
- border: 2px solid $stone;
160
- }
161
-
162
- &--complete{
163
- @extend .accordion-multi-state__icon;
164
- @extend .fa-check;
165
- border: 2px solid $brand-green;
166
- background: $white;
167
- color: $brand-green;
168
- }
169
-
170
- &--error{
171
- @extend .accordion-multi-state__icon;
172
- @extend .fa-close;
173
- border: 2px solid $brand-red;
174
- background: $white;
175
- color: $brand-red;
176
- }
177
- }
178
- }
179
-
180
- // Foundation sets a border-radius by default,
181
- // and there doesn't seem to be an override in the settings file
182
- .accordion-item:first-child > :first-child,
183
- .accordion-item:first-child > :last-child,
184
- :last-child:not(.is-active) > .accordion-title{
185
- border-radius: 0;
186
- }
@@ -1,85 +0,0 @@
1
- .banner{
2
- position: relative; /* This is needed for the positioning of the close icon on the blue banners*/
3
- margin-bottom: $base-margin;
4
-
5
- &>:last-child{
6
- margin-bottom: 0;
7
- }
8
-
9
- &--blue{
10
- @extend .banner;
11
- background: $brand-blue-insurance;
12
- padding: $base-padding;
13
- }
14
-
15
- &--red{
16
- @extend .banner;
17
- background: $brand-red;
18
- padding: $base-padding;
19
- }
20
-
21
- &--brand-blue-light{
22
- @extend .banner;
23
- background: $brand-blue-light;
24
- padding: $base-padding;
25
- }
26
-
27
- &__title,
28
- &__text{
29
- color: $white;
30
- }
31
-
32
- &__container{
33
- @include grid-row;
34
- @include clearfix;
35
- }
36
-
37
- &__image-container{
38
- @include large-2;
39
- @include small-12;
40
- }
41
-
42
- &__image{
43
- display: block;
44
- margin: 0 auto;
45
- }
46
-
47
- &__content-container{
48
- @include large-10;
49
- @include small-12;
50
- }
51
-
52
- &__content{
53
- position: relative;
54
-
55
- &--vertical-center{
56
- @include breakpoint(large){
57
- @include vertical-center;
58
- }
59
- }
60
- }
61
-
62
- &__link{
63
- @extend .link--white;
64
- }
65
-
66
- &__close{
67
- @extend .fa;
68
- @extend .fa-times-circle;
69
- position: absolute;
70
- top: 15px;
71
- right: 15px;
72
-
73
- &--white{
74
- @extend .banner__close;
75
- color: $white;
76
- }
77
- }
78
-
79
- &--pushed-fixed{
80
- left: 300px;
81
- width: calc(100% - 300px);
82
- position: fixed;
83
- z-index: 1;
84
- }
85
- }
@@ -1,10 +0,0 @@
1
- .breadcrumbs{
2
- @include large-12;
3
-
4
- &__link{
5
- &--disabled{
6
- @extend .disabled;
7
- pointer-events: none;
8
- }
9
- }
10
- }
@@ -1,116 +0,0 @@
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
- &__title{
80
- font-weight: bold;
81
- margin-bottom: $base-margin;
82
- }
83
-
84
- &__text{
85
- line-height: 1rem;
86
- display: block;
87
-
88
- &--large{
89
- display: block;
90
- font-size: 2.5rem;
91
- font-weight: bold;
92
- }
93
-
94
- &--underline{
95
- display: block;
96
- text-decoration: underline;
97
- }
98
- }
99
- }
100
-
101
- /* Non Font Awesome/Symbolicon Icons */
102
- #card-icon{
103
- background-image: asset-url("card-icon.png");
104
- }
105
-
106
- #coverage-icon{
107
- background-image: asset-url("coverage-icon.png");
108
- }
109
-
110
- #family-icon{
111
- background-image: asset-url("family-icon.png");
112
- }
113
-
114
- #laptop-icon{
115
- background-image: asset-url("laptop-icon.png");
116
- }