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,95 +0,0 @@
1
- .graph{
2
- width: 100%;
3
- height: 50px;
4
- position: relative;
5
-
6
- &__cap{
7
- border-radius: 100%;
8
- height: 100%;
9
- width: 50px;
10
- display: block;
11
- float: left;
12
- position: absolute;
13
- background-color: $stone;
14
-
15
- &--right{
16
- @extend .graph__cap;
17
- right: 0;
18
- }
19
-
20
- &--filled{
21
- background-color: $brand-blue-light;
22
- }
23
- }
24
-
25
- &__middle{
26
- height: 100%;
27
- width: calc(100% - 50px);
28
- background-color: $stone;
29
- display: block;
30
- float: left;
31
- margin-left: 27px;
32
- position: relative;
33
-
34
- &--filled{
35
- background-color: $brand-blue-light;
36
- min-width: 20%;
37
- height: 100%;
38
- position: absolute;
39
- left: 0;
40
- top: 0;
41
- z-index: 3;
42
- display: table;
43
- }
44
-
45
- &--filled-fourth{
46
- @extend .graph__middle--filled;
47
- width: 20%
48
- }
49
-
50
- &--filled-half{
51
- @extend .graph__middle--filled;
52
- width: 50%
53
- }
54
-
55
- &--filled-full{
56
- @extend .graph__middle--filled;
57
- width: 100%
58
- }
59
- }
60
-
61
- &__middle-text{
62
- color: $slate;
63
- position: absolute;
64
- left: 20%;
65
- width: 80%;
66
- text-align: center;
67
- z-index: 5;
68
- @include vertical-center;
69
-
70
- &--half{
71
- @extend .graph__middle-text;
72
- width: 47%;
73
- left: 53%;
74
- }
75
-
76
- &--full{
77
- @extend .graph__middle-text;
78
- color: $white;
79
- width: 100%;
80
- text-align: center;
81
- left: 0;
82
- }
83
- }
84
-
85
- &-label{
86
- text-align: center;
87
- color: $slate;
88
- margin-top: $base-margin;
89
-
90
- p{
91
- @extend .small-text;
92
- line-height: 0.8rem;
93
- }
94
- }
95
- }
@@ -1,41 +0,0 @@
1
- .hero{
2
- &--grey{
3
- margin: 100px auto;
4
-
5
- @include breakpoint(medium down){
6
- margin-top: $base-margin;
7
- }
8
- }
9
-
10
- &--cerulean{
11
- background: $cerulean;
12
- width: 100%;
13
- }
14
-
15
- &__heading{
16
- color: $white;
17
- }
18
-
19
- &__image{
20
- margin: $base-margin*2 0;
21
- width: 540px;
22
- height: 193px;
23
- background-repeat: no-repeat;
24
- background-size: contain;
25
- max-width: 100%;
26
- background-position: center;
27
- }
28
- }
29
-
30
- .row-fluid{
31
- @include grid-row;
32
- width: 80%;
33
- margin: 0 auto;
34
- padding: 100px 0;
35
-
36
- @include breakpoint(medium down){
37
- width: 100%;
38
- margin: 0;
39
- padding: $base-padding 0;
40
- }
41
- }
@@ -1,16 +0,0 @@
1
- .icon-group{
2
- font-size: 1.75rem;
3
- line-height: 3rem;
4
- display: block;
5
- text-align: center;
6
-
7
- &__blue-icon{
8
- color: $brand-blue-light;
9
- font-size: 1.75rem;
10
- }
11
-
12
- &__grey-icon{
13
- color: $smoke;
14
- font-size: 1.75rem;
15
- }
16
- }
@@ -1,35 +0,0 @@
1
- //Keep this alphabetized
2
- @import "accordions";
3
- @import "siteheader";
4
- @import "banners";
5
- @import "breadcrumbs";
6
- @import "callouts/index";
7
- @import "buttons/index";
8
- @import "cart";
9
- @import "comparison-radios";
10
- @import "content-toggle";
11
- @import "error-page";
12
- @import "features";
13
- @import "footer";
14
- @import "forms";
15
- @import "graph";
16
- @import "hero";
17
- @import "icon-group";
18
- @import "link-list";
19
- @import "links";
20
- @import "member-card";
21
- @import "notification";
22
- @import "pagination";
23
- @import "progress-bar";
24
- @import "promo-block";
25
- @import "responsive-table";
26
- @import "reveal-modal";
27
- @import "sections";
28
- @import "side_nav";
29
- @import "tables";
30
- @import "maps";
31
- @import "legends/index";
32
- @import "option-toggle";
33
- @import "colour-coordinated-list";
34
- @import "call-to-action";
35
- @import "receipt-summary";
@@ -1,2 +0,0 @@
1
- @import "legends";
2
- @import "legend-map";
@@ -1,48 +0,0 @@
1
- .legend-map{
2
- display: none;
3
- width: 160px;
4
- background-color: $white;
5
- color: $slate;
6
- position: absolute;
7
- top: 145px;
8
- right: 0;
9
- z-index: 5;
10
-
11
- @include breakpoint(small down){
12
- bottom: 30px;
13
- top: auto;
14
- width: 100%;
15
- position: fixed;
16
-
17
- .legend__icon{
18
- float: none;
19
- margin: 0 auto 6px auto;
20
- display: block;
21
-
22
- &--rect{
23
- height: 3.5px;
24
- width: 27px;
25
- }
26
- }
27
-
28
- .legend__text{
29
- float: none;
30
- }
31
-
32
- .legend__key-identifier{
33
- float: left;
34
- margin-right: $base-margin*0.45;
35
- text-align: center;
36
- }
37
-
38
- .legend__keys{
39
- @include clearfix;
40
- width: auto;
41
- margin: 0 auto;
42
- }
43
- }
44
-
45
- &.visible{
46
- display: block;
47
- }
48
- }
@@ -1,77 +0,0 @@
1
- .legend{
2
- &__header{
3
- background-color: $cerulean;
4
- color: $white;
5
- padding: $base-padding*0.6;
6
- }
7
-
8
- &__content-container{
9
- background-color: $white;
10
- padding: $base-padding*0.6;
11
- }
12
-
13
- &__keys{
14
- list-style: none;
15
- margin-bottom: 0;
16
- }
17
-
18
- &__key-identifier{
19
- @include clearfix;
20
- margin-top: $base-margin*0.4;
21
- }
22
-
23
- &__icon{
24
- height: 12px;
25
- width: 12px;
26
- float: left;
27
- margin-right: $base-margin*0.45;
28
- margin-top: $base-margin*0.2;
29
- border-radius: 100%;
30
- -webkit-border-radius: 100%;
31
-
32
- &--grey{
33
- @extend .legend__icon;
34
- background-color: $smoke;
35
- }
36
-
37
- &--green{
38
- @extend .legend__icon;
39
- background-color: $brand-green;
40
- }
41
-
42
- &--darkred{
43
- @extend .legend__icon;
44
- background-color: $sangria;
45
- }
46
-
47
- &--yellow{
48
- @extend .legend__icon;
49
- background-color: $canary;
50
- }
51
-
52
- &--red{
53
- @extend .legend__icon;
54
- background-color: $brand-red;
55
- }
56
-
57
- &--black{
58
- @extend .legend__icon;
59
- background-color: $black;
60
- }
61
- }
62
-
63
- &__icon--rect{
64
- height: 25px;
65
- width: 3.5px;
66
- float: left;
67
- border-radius: 0;
68
- margin-right: $base-margin*0.45;
69
- margin-top: 0;
70
- }
71
-
72
- &__text{
73
- float: left;
74
- font-size: $base-font-size*0.8;
75
- line-height: 1.3rem;
76
- }
77
- }
@@ -1,62 +0,0 @@
1
- .link-list{
2
- list-style-type: none;
3
-
4
- &__item{
5
- &--bordered{
6
- border-bottom: 2px solid $sky;
7
- padding-bottom: $base-padding/2;
8
-
9
- &:not(:first-child){
10
- padding-top: $base-padding/2;
11
- }
12
- }
13
-
14
- &--grey-bordered{
15
- border-bottom: 2px solid $stone;
16
- padding-bottom: $base-padding/2;
17
-
18
- &:not(:first-child){
19
- padding-top: $base-padding/2;
20
- }
21
- }
22
- }
23
-
24
- &__link{
25
- &--white{
26
- color: $white;
27
- }
28
- }
29
- }
30
-
31
- .link-list-horizontal{
32
- list-style-type: none;
33
-
34
- &__item{
35
- display: inline;
36
- }
37
- }
38
-
39
- .icon-link-list{
40
- list-style-type: none;
41
-
42
- &__item{
43
- border-bottom: 1px solid $smoke;
44
- margin-top: 7.5px;
45
- }
46
-
47
- &__icon{
48
- padding: 8.5px 13px;
49
- color: $white;
50
- font-size: 1.2rem;
51
- text-align: center;
52
- vertical-align: middle;
53
- margin-right: 1.875rem;
54
- width: 57px;
55
- display: inline-block;
56
- background: $brand-blue-light;
57
- }
58
-
59
- &__link{
60
- display: inline;
61
- }
62
- }
@@ -1,13 +0,0 @@
1
- .link--white{
2
- color: $white;
3
- text-decoration: underline;
4
-
5
- &:hover{
6
- color: $white;
7
- }
8
- }
9
-
10
- .link--no-underline,
11
- .link--no-underline:hover{
12
- text-decoration: none;
13
- }
@@ -1,21 +0,0 @@
1
- .map-full-page{
2
- position: relative;
3
- top: 0;
4
- bottom: 0;
5
- left: 0;
6
- right: 0;
7
- height: calc(100vh - 53px);
8
-
9
- &__location-icon{
10
- position: fixed;
11
- left: 10px;
12
- bottom: 30px;
13
- z-index: 5;
14
- cursor: pointer;
15
- display: none;
16
-
17
- @include breakpoint(small down){
18
- bottom: 155px;
19
- }
20
- }
21
- }
@@ -1,62 +0,0 @@
1
- .member-card{
2
- width: 308px;
3
- height: 216px;
4
- position: relative;
5
- margin: 0 auto;
6
-
7
- &__card-front{
8
- background: url(image-path("membership-cards/temporary/front.png")) no-repeat;
9
- }
10
-
11
- &__card-back{
12
- background: url(image-path("membership-cards/temporary/back.png")) no-repeat;
13
- }
14
-
15
- &__label{
16
- position: absolute;
17
- font-size: $base-font-size*0.6;
18
- color: $charcoal;
19
- text-transform: uppercase;
20
- }
21
-
22
- &__data{
23
- position: absolute;
24
- color: $charcoal;
25
- font-weight: bold;
26
- }
27
-
28
- &__clubcode{
29
- left: 15px;
30
- top: 70px;
31
- }
32
-
33
- &__membership-number-label{
34
- left: 102px;
35
- top: 70px;
36
- }
37
-
38
- &__membership-number{
39
- font-size: $base-font-size*1.6;
40
- left: 15px;
41
- top: 75px;
42
- }
43
-
44
- &__expiry-label{
45
- left: 15px;
46
- top: 108px;
47
- }
48
-
49
- &__expiry{
50
- left: 15px;
51
- top: 117px;
52
- }
53
-
54
- &__name{
55
- font-size: $base-font-size*1.2;
56
- left: 15px;
57
- top: 150px;
58
- text-transform: uppercase;
59
- text-align: left;
60
- line-height: 1;
61
- }
62
- }