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,87 +0,0 @@
1
- .side-nav{
2
- background: $white;
3
- @include grid-column(2,0);
4
-
5
- @include breakpoint(medium down){
6
- display: none;
7
- }
8
-
9
- &__spacer{
10
- @include large-2;
11
- height: 100%;
12
- position: absolute;
13
- z-index: -1; //to prevent overlap with notifications
14
-
15
- &--white{
16
- @extend .side-nav__spacer;
17
- background-color: $white;
18
- }
19
-
20
- &--show-for-medium{
21
- @extend .side-nav__spacer;
22
- @include breakpoint(medium down){
23
- display: block;
24
- }
25
- }
26
- }
27
-
28
- &__header{
29
- @extend .heading;
30
- background: $cerulean;
31
- }
32
-
33
- &__content{
34
- padding: $base-padding;
35
- }
36
-
37
- &__list{
38
- list-style-type: none;
39
- }
40
-
41
- &__item{
42
- margin-bottom: $base-margin;
43
- }
44
-
45
- &__link{
46
- display: block;
47
- font-weight: 600;
48
- color: $jet;
49
- margin-bottom: $base-margin/2;
50
- }
51
-
52
- &__child-list{
53
- list-style-type: none;
54
- }
55
-
56
- &__child-item{
57
- margin-bottom: $base-margin/2;
58
- }
59
-
60
- &__child-link{
61
- color: $stormcloud;
62
- font-size: rem-calc(12);
63
-
64
- &:active,
65
- &:hover,
66
- &:focus{
67
- $anchor-color: $cerulean;
68
- color: $anchor-color-hover;
69
- }
70
-
71
- &--active-page{
72
- font-weight: bold;
73
- color: $cerulean;
74
- }
75
- }
76
-
77
- &--overlay{
78
- @extend .side-nav;
79
- z-index: 1000;
80
- position: absolute;
81
- min-width: 300px;
82
-
83
- @include breakpoint(medium down){
84
- position: relative;
85
- }
86
- }
87
- }
@@ -1,157 +0,0 @@
1
- /* Styles for Top Bar, Title Bar */
2
- .logo{
3
- width: 131px;
4
- padding: $base-padding*.75 0;
5
-
6
- @include breakpoint(large){
7
- padding: $base-padding*.75 0 $base-padding*.75 $base-padding;
8
- }
9
- }
10
-
11
- .header{
12
- position: fixed;
13
- top: 0;
14
- width: 100%;
15
- z-index: 9999;
16
-
17
- &--absolute-mobile{
18
- @include breakpoint(medium down){
19
- position: absolute;
20
- }
21
- }
22
- }
23
-
24
- .top-bar{
25
- @extend .show-for-large;
26
- height: $top-bar-height;
27
- background: $white;
28
-
29
- &__logo{
30
- @extend .logo;
31
-
32
- &--roadreports{
33
- @extend .logo;
34
- width: 260px;
35
- }
36
- }
37
-
38
- &__item{
39
- @include breakpoint(large){
40
- height: $top-bar-height;
41
-
42
- &--highlighted{
43
- @extend .top-bar__item;
44
- background: $brand-blue-light;
45
- }
46
- }
47
- }
48
-
49
- &__link--highlighted{
50
- @include breakpoint(large){
51
- color: $white;
52
- }
53
- }
54
-
55
- .submenu{
56
- border: none;
57
-
58
- li{
59
- background: $cerulean;
60
-
61
- &:nth-child(1){
62
- margin-top: -$base-margin/2;
63
- }
64
-
65
- &:hover{
66
- background: lighten($cerulean, 5%);
67
- }
68
- }
69
-
70
- a{
71
- color: $white;
72
- }
73
- }
74
- }
75
- .off-canvas-wrapper{
76
- /* for some reason foundation sets this to hidden for off-canvas by default,
77
- which causes issues with the cart's window.scrollTop in webkit
78
- So if something blows up with off-canvas, start by deleting this. */
79
- backface-visibility: visible;
80
- }
81
-
82
- .top-nav-offset{
83
- margin-top: $top-bar-height;
84
- }
85
-
86
- .title-bar{
87
- height: $top-bar-height;
88
-
89
- @include breakpoint (medium down){
90
- padding: 0 $base-padding;
91
- }
92
-
93
- &__logo{
94
- @extend .logo;
95
- @include horizontal-center;
96
-
97
- &--roadreports{
98
- @extend .logo;
99
- @include horizontal-center;
100
- width: 260px;
101
- }
102
- }
103
- }
104
-
105
- .menu-icon{
106
- @include vertical-center;
107
- cursor: pointer;
108
- width: 20px;
109
- height: 16px;
110
-
111
- &::after{
112
- position: absolute;
113
- display: block;
114
- width: 100%;
115
- height: 3px;
116
- background: $cerulean;
117
- box-shadow: 0 7px 0 $cerulean, 0 14px 0 $cerulean; //This creates the menu icon
118
- content: '';
119
- top: 0;
120
- left: 0;
121
- }
122
-
123
- &--pin{
124
- color: $cerulean;
125
- font-size: $base-font-size*2;
126
- padding-top: $base-padding*0.7;
127
- top: 0;
128
- right: 0;
129
- @extend .fa;
130
- @extend .fa-map-marker;
131
- }
132
- }
133
-
134
- .page-header{
135
- margin-bottom: $base-margin;
136
- overflow: auto;
137
- background: $brand-blue-light;
138
-
139
- &__heading{
140
- @extend .heading;
141
- background: $brand-blue-light;
142
-
143
- &--split{
144
- @extend .page-header__heading;
145
- @include small-6;
146
- }
147
- }
148
-
149
- &__sub-text{
150
- @extend .heading;
151
- @include small-6;
152
- background: $brand-blue-light;
153
- font-style: italic;
154
- font-size: 1.25rem;
155
- text-align: right;
156
- }
157
- }
@@ -1,112 +0,0 @@
1
- .table{
2
- margin-bottom: $base-margin;
3
-
4
- &--ash-bg{
5
- background: $ash;
6
- }
7
-
8
- &__row{
9
- @include grid-row;
10
- overflow: auto;
11
- padding: $base-padding/2 0;
12
-
13
- &--striped{
14
- @extend .table__row;
15
- border-bottom: 2px solid $stone;
16
-
17
- &:first-of-type{
18
- border-top: 2px solid $stone;
19
- }
20
- }
21
-
22
- &--grey-bg{
23
- @extend .table__row;
24
- background: $stone;
25
- padding: 0;
26
- margin-top: 3px;
27
- }
28
- }
29
-
30
- &__bg-spacing{
31
- padding-top: $base-padding/2;
32
- padding-bottom: $base-padding/2;
33
- }
34
-
35
- &__row-nested{
36
- @include grid-row-nest;
37
- @include clearfix;
38
- }
39
-
40
- &__data{
41
- display: block;
42
-
43
- &--left{
44
- float: left;
45
- }
46
-
47
- &--right{
48
- float: right;
49
- }
50
-
51
- &--center{
52
- @extend .table__data;
53
- text-align: center;
54
- clear: both;
55
- }
56
-
57
- &--hide-large{
58
- @include hide-for(large);
59
- }
60
- }
61
-
62
- &__header{
63
- @include show-for(medium);
64
-
65
- &--grey-bg{
66
- @extend .table__header;
67
- background: $stone;
68
- }
69
- }
70
-
71
- &__col-title{
72
- font-weight: 600;
73
- font-size: rem-calc(16);
74
- color: $slate;
75
-
76
- &--medium{
77
- font-weight: 600;
78
- font-size: $base-font-size;
79
- color: $slate;
80
- }
81
-
82
- &--small{
83
- font-weight: 600;
84
- font-size: $base-font-size*0.875;
85
- }
86
- }
87
-
88
- &__col-title-link{
89
- padding-left: $base-padding;
90
- }
91
-
92
- &__col-color{
93
- &--green{
94
- background: $brand-green;
95
- }
96
- }
97
-
98
- &__icon-checkmark{
99
- @extend .fa;
100
- @extend .fa-check-circle;
101
- @extend .green-text;
102
- }
103
- }
104
-
105
- .table-with-bg{
106
- margin-bottom: $base-margin;
107
-
108
- &__row{
109
- @include grid-row;
110
- overflow: auto;
111
- }
112
- }
@@ -1,5 +0,0 @@
1
- @media screen and #{breakpoint(large)}{
2
- *:focus{ //yes, all the elements
3
- outline: none;
4
- }
5
- }
@@ -1,4 +0,0 @@
1
- @import "desktop";
2
- @import "mobile-and-tablet";
3
- @import "tablet";
4
- @import "mobile";
@@ -1,16 +0,0 @@
1
- @media screen and #{breakpoint(medium down)}{
2
- .skip{
3
- margin-top: $base-margin;
4
- }
5
-
6
- .join-radio{
7
- input[type="radio"] + label{
8
- width: 100%;
9
- }
10
- }
11
-
12
- .error-pg-num-border{
13
- border-left: 0;
14
- margin-top: $base-margin;
15
- }
16
- }
@@ -1,34 +0,0 @@
1
- @media screen and #{breakpoint(small only)}{
2
- .cart-totals{
3
- text-align: left;
4
- }
5
-
6
- %white-trans{
7
- background-color: rgba(255,255,255,0.8);
8
- }
9
-
10
- %inputs-thirds{
11
- max-width: 100%;
12
- float: none;
13
- margin: $base-margin/2 0;
14
- }
15
-
16
- .credit-card-year{
17
- margin-left: 0;
18
- }
19
-
20
- .outer-quicklink-box:first-child:nth-last-child(4),
21
- .outer-quicklink-box:first-child:nth-last-child(4) ~ div,
22
- .outer-quicklink-box:first-child:nth-last-child(3),
23
- .outer-quicklink-box:first-child:nth-last-child(3) ~ div,
24
- .outer-quicklink-box:first-child:nth-last-child(3) ~ li,
25
- .outer-quicklink-box:first-child:nth-last-child(1){
26
- width: 48.5%;
27
- margin-top: 1.5%;
28
- }
29
-
30
- .hour,
31
- .minute{
32
- margin: $base-margin/2 0;
33
- }
34
- }
@@ -1,9 +0,0 @@
1
- @media screen and #{breakpoint(medium only)}{
2
- .main-content-container{
3
- padding: $base-padding 0 0;
4
- }
5
-
6
- .site-header img{
7
- padding-left: $base-padding;
8
- }
9
- }
@@ -1,90 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- @font-face {
4
- font-family: "ama-icon-font";
5
- src:asset-url("ama_layout/webfonts/fonts/ama-icon-font.eot");
6
- src:asset-url("ama_layout/webfonts/fonts/ama-icon-font.eot?#iefix") format("embedded-opentype"),
7
- asset-url("ama_layout/webfonts/fonts/ama-icon-font.woff") format("woff"),
8
- asset-url("ama_layout/webfonts/fonts/ama-icon-font.ttf") format("truetype"),
9
- asset-url("ama_layout/webfonts/fonts/ama-icon-font.svg#ama-icon-font") format("svg");
10
- font-style: normal;
11
- }
12
-
13
- [class^="ama-icon-"]:before,
14
- [class*="ama-icon-"]:before {
15
- font-family: "ama-icon-font" !important;
16
- font-style: normal !important;
17
- font-weight: normal !important;
18
- font-variant: normal !important;
19
- text-transform: none !important;
20
- speak: none;
21
- line-height: 1;
22
- -webkit-font-smoothing: antialiased;
23
- -moz-osx-font-smoothing: grayscale;
24
- }
25
-
26
-
27
- .ama-icon-motorcycle:before{
28
- content: "\61";
29
- }
30
-
31
- .ama-icon-map-pin:before{
32
- content: "\62";
33
- }
34
-
35
- .ama-icon-home:before{
36
- content: "\63";
37
- }
38
-
39
- .ama-icon-hospital:before{
40
- content: "\64";
41
- }
42
-
43
- .ama-icon-battery-power:before{
44
- content: "\65";
45
- }
46
-
47
- .ama-icon-settings:before{
48
- content: "\66";
49
- }
50
-
51
- .ama-icon-bicycle:before{
52
- content: "\67";
53
- }
54
-
55
- .ama-icon-scooter:before{
56
- content: "\68";
57
- }
58
-
59
- .ama-icon-rv:before{
60
- content: "\69";
61
- }
62
-
63
- .ama-icon-ama-card:before{
64
- content: "\6a";
65
- }
66
- .ama-icon-traffic-cone:before{
67
- content: "\6b";
68
- }
69
-
70
- .ama-icon-stoplight:before{
71
- content: "\6c";
72
- }
73
-
74
- .ama-icon-restroom:before{
75
- content: "\6d";
76
- }
77
-
78
- .ama-icon-caa:before{
79
- content: "\6f";
80
- }
81
-
82
- .ama-icon-towtruck:before{
83
- content: "\6e";
84
- }
85
-
86
- .ama-icon{
87
- &__medium{
88
- font-size: 2.45rem;
89
- }
90
- }