ama_layout 3.2.2 → 4.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.
- checksums.yaml +4 -4
- data/ama_layout.gemspec +2 -1
- data/app/assets/images/ama-logo-blue.svg +44 -0
- data/app/assets/images/ama-logo.png +0 -0
- data/app/assets/javascripts/ama_layout/desktop/foundation-custom.js +21 -0
- data/app/assets/javascripts/ama_layout/desktop/foundation-equalizer-reflow.coffee +5 -0
- data/app/assets/javascripts/ama_layout/desktop/foundation-ready.coffee +2 -0
- data/app/assets/javascripts/ama_layout/desktop/index.js +2 -8
- data/app/assets/stylesheets/ama_layout/_settings.scss +66 -66
- data/app/assets/stylesheets/ama_layout/application.scss +0 -1
- data/app/assets/stylesheets/ama_layout/foundation_and_overrides.scss +1 -24
- data/app/assets/stylesheets/ama_layout/layout/base-styles.scss +2 -72
- data/app/assets/stylesheets/ama_layout/layout/helper-classes.scss +98 -43
- data/app/assets/stylesheets/ama_layout/layout/index.scss +2 -0
- data/app/assets/stylesheets/ama_layout/layout/mixins-grid.scss +847 -0
- data/app/assets/stylesheets/ama_layout/layout/print.scss +23 -0
- data/app/assets/stylesheets/ama_layout/layout/variables.scss +20 -4
- data/app/assets/stylesheets/ama_layout/layout_components/accordions.scss +32 -14
- data/app/assets/stylesheets/ama_layout/layout_components/banner.scss +17 -0
- data/app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss +81 -4
- data/app/assets/stylesheets/ama_layout/layout_components/breadcrumbs.scss +10 -0
- data/app/assets/stylesheets/ama_layout/layout_components/button-grouping.scss +111 -0
- data/app/assets/stylesheets/ama_layout/layout_components/buttons.scss +14 -0
- data/app/assets/stylesheets/ama_layout/layout_components/callouts.scss +106 -0
- data/app/assets/stylesheets/ama_layout/layout_components/cart.scss +98 -43
- data/app/assets/stylesheets/ama_layout/layout_components/comparison-radios.scss +113 -0
- data/app/assets/stylesheets/ama_layout/layout_components/content-toggle.scss +15 -0
- data/app/assets/stylesheets/ama_layout/layout_components/error-page.scss +3 -3
- data/app/assets/stylesheets/ama_layout/layout_components/footer.scss +65 -0
- data/app/assets/stylesheets/ama_layout/layout_components/forms.scss +141 -43
- data/app/assets/stylesheets/ama_layout/layout_components/graph.scss +8 -7
- data/app/assets/stylesheets/ama_layout/layout_components/index.scss +13 -1
- data/app/assets/stylesheets/ama_layout/layout_components/link-list.scss +53 -0
- data/app/assets/stylesheets/ama_layout/layout_components/links.scss +8 -0
- data/app/assets/stylesheets/ama_layout/layout_components/notification.scss +27 -1
- data/app/assets/stylesheets/ama_layout/layout_components/progress-bar.scss +137 -0
- data/app/assets/stylesheets/ama_layout/layout_components/reveal-modal.scss +15 -0
- data/app/assets/stylesheets/ama_layout/layout_components/sections.scss +202 -0
- data/app/assets/stylesheets/ama_layout/layout_components/sidebar.scss +45 -119
- data/app/assets/stylesheets/ama_layout/layout_components/siteheader.scss +70 -73
- data/app/assets/stylesheets/ama_layout/layout_components/tab-accordions.scss +1 -19
- data/app/assets/stylesheets/ama_layout/layout_components/tables.scss +96 -0
- data/app/assets/stylesheets/ama_layout/media_queries/mobile-and-tablet.scss +2 -2
- data/app/assets/stylesheets/ama_layout/media_queries/mobile.scss +2 -49
- data/app/assets/stylesheets/ama_layout/media_queries/tablet.scss +2 -10
- data/app/helpers/ama_layout_breadcrumb_helper.rb +5 -0
- data/app/views/ama_layout/_alert.html.erb +4 -2
- data/app/views/ama_layout/_breadcrumbs.html.erb +3 -0
- data/app/views/ama_layout/_footer.html.erb +68 -1
- data/app/views/ama_layout/_main_nav_item.html.erb +2 -3
- data/app/views/ama_layout/_notice.html.erb +2 -2
- data/app/views/ama_layout/_sidebar.html.erb +6 -9
- data/app/views/ama_layout/_siteheader.html.erb +40 -28
- data/app/views/ama_layout/_sub_nav.html.erb +1 -1
- data/app/views/ama_layout/_sub_nav_item.html.erb +2 -2
- data/app/views/ama_layout/_top_nav.html.erb +4 -4
- data/lib/ama_layout.rb +2 -0
- data/lib/ama_layout/breadcrumb_builder.rb +23 -0
- data/lib/ama_layout/decorators/navigation_decorator.rb +10 -2
- data/lib/ama_layout/decorators/navigation_item_decorator.rb +8 -2
- data/lib/ama_layout/moneris/textbox.txt +11 -15
- data/lib/ama_layout/navigation.rb +7 -2
- data/lib/ama_layout/navigation.yml +8 -13
- data/lib/ama_layout/version.rb +1 -1
- data/spec/ama_layout/breadcrumb_builder_spec.rb +32 -0
- data/spec/ama_layout/decorators/moneris_decorator_spec.rb +11 -15
- data/spec/ama_layout/decorators/navigation_decorator_spec.rb +37 -0
- data/spec/ama_layout/decorators/navigation_item_decorator_spec.rb +18 -3
- data/spec/ama_layout/navigation_spec.rb +19 -88
- data/spec/helpers/ama_layout_breadcrumb_helper_spec.rb +9 -0
- data/styles.scss +0 -0
- metadata +46 -16
- data/app/assets/javascripts/ama_layout/desktop/drop_down.coffee +0 -46
- data/app/assets/javascripts/ama_layout/desktop/foundation-namespace.coffee +0 -2
- data/app/assets/javascripts/ama_layout/desktop/header_menu.coffee +0 -7
- data/app/assets/javascripts/ama_layout/desktop/ready.coffee +0 -3
- data/app/assets/javascripts/ama_layout/desktop/sidebar.coffee +0 -4
- data/app/assets/javascripts/ama_layout/desktop/sticky-footer.coffee +0 -33
- data/app/assets/javascripts/ama_layout/desktop/toggle_menu.coffee +0 -8
- data/app/assets/stylesheets/ama_layout/layout_components/show-hide-content-box.scss +0 -11
- data/app/assets/stylesheets/ama_layout/old-ie.scss +0 -74
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons.js +0 -84
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.summary-cart{
|
|
7
|
+
list-style-type: none;
|
|
8
|
+
margin-bottom: 0;
|
|
9
|
+
position: relative;
|
|
10
|
+
|
|
7
11
|
::-webkit-scrollbar{
|
|
8
12
|
-webkit-appearance: none;
|
|
9
13
|
width: 7px;
|
|
@@ -15,65 +19,115 @@
|
|
|
15
19
|
-webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
|
|
16
20
|
}
|
|
17
21
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
&__container{
|
|
23
|
+
float: right;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__title{
|
|
27
|
+
float: left;
|
|
28
|
+
color: $white;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&__accordion-toggle-icon{
|
|
32
|
+
@include hide-for(large);
|
|
33
|
+
width: 16px;
|
|
34
|
+
height: 16px;
|
|
35
|
+
float: right;
|
|
36
|
+
color: $white;
|
|
37
|
+
margin-top: $base-margin*0.6;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__item-count{
|
|
41
|
+
@include hide-for(large);
|
|
42
|
+
float: right;
|
|
43
|
+
width: 30px;
|
|
44
|
+
height: 30px;
|
|
45
|
+
border-radius: 60px;
|
|
46
|
+
text-align: center;
|
|
47
|
+
line-height: 30px;
|
|
48
|
+
color: $white;
|
|
49
|
+
font-weight: bold;
|
|
50
|
+
margin-right: $base-margin;
|
|
51
|
+
background: lighten($brand-green, 5%);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&__content{
|
|
55
|
+
background: $white;
|
|
56
|
+
padding: $base-padding;
|
|
57
|
+
@include clearfix;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&__list{
|
|
61
|
+
margin-left: 0;
|
|
62
|
+
overflow-y: scroll;
|
|
63
|
+
max-height: auto;
|
|
64
|
+
list-style: none;
|
|
65
|
+
margin: 0;
|
|
66
|
+
list-style-type: none;
|
|
67
|
+
overflow-y: scroll;
|
|
68
|
+
|
|
69
|
+
@include breakpoint(small){
|
|
70
|
+
max-height: 150px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@include breakpoint(large){
|
|
74
|
+
max-height: 320px;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&__list-item{
|
|
79
|
+
padding: $base-padding;
|
|
80
|
+
|
|
81
|
+
&:not(:nth-child(1)){
|
|
82
|
+
border-top: 1px solid $smoke;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&__submit{
|
|
87
|
+
list-style-type: none;
|
|
88
|
+
margin-left: 0;
|
|
89
|
+
}
|
|
23
90
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
margin: 0;
|
|
91
|
+
&__remove{
|
|
92
|
+
float: right;
|
|
27
93
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
94
|
+
.fa-times-circle-o{
|
|
95
|
+
font-size: $base-font-size*2;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
31
98
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
99
|
+
&__remove-link{
|
|
100
|
+
color: $slate;
|
|
101
|
+
text-decoration: none;
|
|
35
102
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
103
|
+
&:hover,
|
|
104
|
+
&:focus{
|
|
105
|
+
color: $charcoal;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
39
108
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
a:focus{
|
|
44
|
-
color: $white;
|
|
45
|
-
}
|
|
109
|
+
.summary-flash-notice{
|
|
110
|
+
color: $white;
|
|
111
|
+
background: $brand-blue-insurance;
|
|
46
112
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
113
|
+
p,
|
|
114
|
+
a,
|
|
115
|
+
a:hover,
|
|
116
|
+
a:focus{
|
|
117
|
+
color: $white;
|
|
51
118
|
}
|
|
52
119
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
max-height: auto;
|
|
120
|
+
&:not(:nth-child(1)){
|
|
121
|
+
border-top: none;
|
|
56
122
|
}
|
|
57
123
|
}
|
|
58
124
|
}
|
|
59
125
|
|
|
60
126
|
.summary-title{
|
|
61
127
|
background: $brand-green !important;
|
|
62
|
-
min-height: 62px;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.accordion-icon{
|
|
66
|
-
width: 16px;
|
|
67
|
-
height: 16px;
|
|
68
|
-
display: block;
|
|
69
|
-
float: right;
|
|
70
|
-
color: $white;
|
|
71
|
-
margin-top: $base-margin;
|
|
72
128
|
}
|
|
73
129
|
|
|
74
|
-
|
|
75
130
|
.delete-icon{ //same one used in the cart and on info charts it lives outside of cart so it can be used other places
|
|
76
|
-
margin-top: $base-margin;
|
|
77
131
|
float: right;
|
|
78
132
|
|
|
79
133
|
.fa-times-circle-o{
|
|
@@ -92,7 +146,7 @@
|
|
|
92
146
|
}
|
|
93
147
|
|
|
94
148
|
@media screen and #{breakpoint(medium down)}{
|
|
95
|
-
|
|
149
|
+
.item-num{
|
|
96
150
|
display: inline-block;
|
|
97
151
|
float: right;
|
|
98
152
|
width: 30px;
|
|
@@ -111,5 +165,6 @@
|
|
|
111
165
|
position: fixed;
|
|
112
166
|
bottom: 0;
|
|
113
167
|
left: 0;
|
|
168
|
+
z-index: 1;
|
|
114
169
|
}
|
|
115
170
|
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
.comparison-radios{
|
|
2
|
+
&__wrapper{
|
|
3
|
+
@include grid-row-nest;
|
|
4
|
+
@include clearfix;
|
|
5
|
+
margin-bottom: $base-margin;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&__radio-half{
|
|
9
|
+
@include medium-6;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&__radio-third{
|
|
13
|
+
@include medium-4;
|
|
14
|
+
|
|
15
|
+
&:nth-of-type(1),
|
|
16
|
+
&:nth-of-type(3){
|
|
17
|
+
.comparison-radios__ribbon{ //only display the ribbon for the middle radio
|
|
18
|
+
display: none;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&--vertical{
|
|
24
|
+
text-align: center;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__radio-btn--centered{
|
|
28
|
+
padding: 0 0 21px 0;
|
|
29
|
+
|
|
30
|
+
&:before{
|
|
31
|
+
top: 100%;
|
|
32
|
+
margin-top: -35px;
|
|
33
|
+
left: 50%;
|
|
34
|
+
margin-left: -12px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&:after{
|
|
38
|
+
top: 100%;
|
|
39
|
+
margin-top: -27px;
|
|
40
|
+
left: 50%;
|
|
41
|
+
margin-left: -4px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&__title{
|
|
46
|
+
font-size: $base-font-size*1.45;
|
|
47
|
+
padding: 7px;
|
|
48
|
+
font-weight: 700;
|
|
49
|
+
|
|
50
|
+
&--blue-bg{
|
|
51
|
+
@extend .comparison-radios__title;
|
|
52
|
+
background: $brand-blue-light;
|
|
53
|
+
color: $white;
|
|
54
|
+
margin-bottom: $base-margin;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&__panel{
|
|
59
|
+
background-color: $ash;
|
|
60
|
+
border-top: 2px solid $stone;
|
|
61
|
+
border-bottom: 2px solid $stone;
|
|
62
|
+
padding: $base-padding;
|
|
63
|
+
margin-bottom: $base-margin;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&__highlight{
|
|
67
|
+
font-weight: 700;
|
|
68
|
+
line-height: 1.5rem;
|
|
69
|
+
|
|
70
|
+
&--large{
|
|
71
|
+
@extend .comparison-radios__highlight;
|
|
72
|
+
font-size: 2rem;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&--medium{
|
|
76
|
+
@extend .comparison-radios__highlight;
|
|
77
|
+
font-size: 1.25rem;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&--blue{
|
|
81
|
+
@extend .comparison-radios__highlight;
|
|
82
|
+
color: $brand-blue-light;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&__image{
|
|
87
|
+
height: 125px;
|
|
88
|
+
margin-bottom: $base-margin;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&__list{
|
|
92
|
+
list-style-type: none;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&__list-item{
|
|
96
|
+
padding-bottom: $base-padding;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&__ribbon{
|
|
100
|
+
position: absolute;
|
|
101
|
+
top: 0;
|
|
102
|
+
right: 0;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
input[type="radio"]:checked{
|
|
107
|
+
&~label{
|
|
108
|
+
.comparison-radios__panel{
|
|
109
|
+
border-top: 2px solid darken($sky, 10%);
|
|
110
|
+
border-bottom: 2px solid darken($sky, 10%);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
.error-pg-width{
|
|
6
6
|
max-width: 650px !important;
|
|
7
7
|
margin: 0 auto !important;
|
|
8
|
-
padding-left: $base-padding
|
|
9
|
-
padding-right: $base-padding
|
|
8
|
+
padding-left: $base-padding/2;
|
|
9
|
+
padding-right: $base-padding/2;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.error-pg-mb{
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
.error-pg-num{
|
|
17
17
|
min-width: 50%;
|
|
18
18
|
min-height: 80px;
|
|
19
|
-
padding-top: $base-padding
|
|
19
|
+
padding-top: $base-padding/2;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.error-pg-num-border{
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
@include breakpoint(small only){
|
|
9
|
+
margin-bottom: -$footer-push-small;
|
|
10
|
+
}
|
|
11
|
+
@include breakpoint(medium only){
|
|
12
|
+
margin-bottom: -$footer-push-medium;
|
|
13
|
+
}
|
|
14
|
+
@include breakpoint(large up){
|
|
15
|
+
margin-bottom: -$footer-push-large;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:after{
|
|
19
|
+
content: "";
|
|
20
|
+
display: block;
|
|
21
|
+
@include breakpoint(small only){
|
|
22
|
+
height: $footer-push-small;
|
|
23
|
+
}
|
|
24
|
+
@include breakpoint(medium only){
|
|
25
|
+
height: $footer-push-medium;
|
|
26
|
+
}
|
|
27
|
+
@include breakpoint(large up){
|
|
28
|
+
height: $footer-push-large;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Footer styles
|
|
34
|
+
.page-footer{
|
|
35
|
+
background: $brand-blue-light;
|
|
36
|
+
|
|
37
|
+
&__container{
|
|
38
|
+
@include grid-row;
|
|
39
|
+
max-width: 1180px;
|
|
40
|
+
padding-top: $base-padding*3;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__col{
|
|
44
|
+
@include medium-6;
|
|
45
|
+
@include large-3;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__col-header{
|
|
49
|
+
color: $white;
|
|
50
|
+
font-weight: 700;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&__list{
|
|
54
|
+
list-style-type: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&__link{
|
|
58
|
+
color: $white;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.racetrack{
|
|
63
|
+
background: $brand-blue-light image-url('footer-racetrack-big.png') no-repeat center $base-padding*3;
|
|
64
|
+
height: 160px;
|
|
65
|
+
}
|
|
@@ -33,12 +33,9 @@
|
|
|
33
33
|
|
|
34
34
|
/* ------------- Custom Radio Button + Checkbox Styles ------------- */
|
|
35
35
|
.checkboxes{
|
|
36
|
-
label{
|
|
37
|
-
width: 100%;
|
|
38
|
-
}
|
|
39
36
|
|
|
40
37
|
.box2{
|
|
41
|
-
margin-top: $base-margin
|
|
38
|
+
margin-top: $base-margin/2;
|
|
42
39
|
}
|
|
43
40
|
}
|
|
44
41
|
|
|
@@ -48,7 +45,7 @@
|
|
|
48
45
|
}
|
|
49
46
|
|
|
50
47
|
.radio-label{
|
|
51
|
-
padding: $base-padding
|
|
48
|
+
padding: $base-padding/2;
|
|
52
49
|
width: 100%;
|
|
53
50
|
}
|
|
54
51
|
|
|
@@ -57,11 +54,16 @@
|
|
|
57
54
|
width: 100%;
|
|
58
55
|
}
|
|
59
56
|
|
|
57
|
+
input[type="radio"] + label{
|
|
58
|
+
hr{
|
|
59
|
+
margin: 0;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
60
63
|
input[type="radio"],
|
|
61
64
|
input[type="checkbox"]:not(.default){
|
|
62
65
|
position: absolute;
|
|
63
66
|
left: -9999px;
|
|
64
|
-
margin: 0;
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
input[type="radio"] + label,
|
|
@@ -72,7 +74,7 @@ input[type="checkbox"] + label{
|
|
|
72
74
|
width: 100%;
|
|
73
75
|
position: relative;
|
|
74
76
|
cursor: pointer;
|
|
75
|
-
padding: 0 $base-padding
|
|
77
|
+
padding: 0 $base-padding/2 0 $base-padding/2;
|
|
76
78
|
|
|
77
79
|
&:before{
|
|
78
80
|
content: ' ';
|
|
@@ -87,10 +89,6 @@ input[type="checkbox"] + label{
|
|
|
87
89
|
border: $base-border;
|
|
88
90
|
}
|
|
89
91
|
|
|
90
|
-
&:nth-child(2){
|
|
91
|
-
margin-top: -1px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
92
|
.membership-card-header{
|
|
95
93
|
border-bottom: $base-border;
|
|
96
94
|
background: darken($ash, 4%);
|
|
@@ -106,8 +104,6 @@ input[type="checkbox"] + label{
|
|
|
106
104
|
}
|
|
107
105
|
|
|
108
106
|
input[type="radio"] + label{
|
|
109
|
-
margin-top: -1px;
|
|
110
|
-
|
|
111
107
|
&:before{
|
|
112
108
|
border-radius: 100%;
|
|
113
109
|
}
|
|
@@ -119,8 +115,9 @@ input[type="radio"] + label{
|
|
|
119
115
|
}
|
|
120
116
|
|
|
121
117
|
input[type="radio"]:checked + label{
|
|
118
|
+
color: $stormcloud;
|
|
122
119
|
background-color: $sky;
|
|
123
|
-
border:
|
|
120
|
+
border: 2px solid darken($sky, 10%);
|
|
124
121
|
|
|
125
122
|
&:before{
|
|
126
123
|
content: '';
|
|
@@ -144,13 +141,13 @@ input[type="radio"]:checked + label{
|
|
|
144
141
|
}
|
|
145
142
|
|
|
146
143
|
&>hr{
|
|
147
|
-
border: solid $
|
|
148
|
-
border-width:
|
|
144
|
+
border: solid darken($sky, 10%);
|
|
145
|
+
border-width: 2px 0 0;
|
|
149
146
|
height: 0;
|
|
150
147
|
}
|
|
151
148
|
|
|
152
149
|
.membership-card-header{
|
|
153
|
-
border-bottom:
|
|
150
|
+
border-bottom: 2px solid darken($sky, 10%);
|
|
154
151
|
background: darken($sky, 4%);
|
|
155
152
|
}
|
|
156
153
|
}
|
|
@@ -182,6 +179,10 @@ input[type="checkbox"]:checked + label{
|
|
|
182
179
|
}
|
|
183
180
|
}
|
|
184
181
|
|
|
182
|
+
input[type="checkbox"]{
|
|
183
|
+
visibility: hidden;
|
|
184
|
+
}
|
|
185
|
+
|
|
185
186
|
@keyframes checkbox{
|
|
186
187
|
0%{
|
|
187
188
|
height: 0;
|
|
@@ -218,6 +219,12 @@ input[type="checkbox"]:checked + label{
|
|
|
218
219
|
float: right;
|
|
219
220
|
}
|
|
220
221
|
|
|
222
|
+
.datetime{
|
|
223
|
+
&.month, &.day, &.year{
|
|
224
|
+
margin-bottom: $base-margin;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
221
228
|
/*-------------- Credit Card images ---------- */
|
|
222
229
|
.cc-type{
|
|
223
230
|
width: 38px;
|
|
@@ -266,9 +273,9 @@ input[type='text'],
|
|
|
266
273
|
[type='time'],
|
|
267
274
|
[type='url'],
|
|
268
275
|
[type='color'],
|
|
269
|
-
textarea
|
|
270
|
-
|
|
271
|
-
|
|
276
|
+
textarea,
|
|
277
|
+
select{
|
|
278
|
+
margin-bottom: 0;
|
|
272
279
|
}
|
|
273
280
|
|
|
274
281
|
select.has-placeholder:nth-child(1){
|
|
@@ -276,30 +283,31 @@ select.has-placeholder:nth-child(1){
|
|
|
276
283
|
}
|
|
277
284
|
|
|
278
285
|
select:focus{
|
|
279
|
-
border:
|
|
286
|
+
border: 2px solid $ocean;
|
|
280
287
|
background-color: $white;
|
|
281
288
|
outline: none;
|
|
282
|
-
box-shadow: 0
|
|
289
|
+
box-shadow: 0;
|
|
283
290
|
transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
|
|
284
291
|
}
|
|
285
292
|
|
|
286
293
|
|
|
287
294
|
/* ------------- Error Messaging ------------- */
|
|
288
|
-
select + .error,
|
|
289
|
-
input + span.error,
|
|
290
|
-
input + small.error{
|
|
291
|
-
margin-top: -1rem;
|
|
292
|
-
margin-bottom: 1rem;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
span.error,
|
|
296
295
|
small.error{
|
|
297
296
|
display: block;
|
|
297
|
+
clear: both;
|
|
298
298
|
padding: 0.375rem 0.5625rem 0.5625rem;
|
|
299
|
-
font-size:
|
|
299
|
+
font-size: $base-font-size;
|
|
300
300
|
background: $brand-red;
|
|
301
301
|
color: $white;
|
|
302
|
-
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.error__page-error{
|
|
305
|
+
@extend small.error;
|
|
306
|
+
margin-bottom: $base-margin;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.error__input-error{
|
|
310
|
+
@extend .error;
|
|
303
311
|
}
|
|
304
312
|
|
|
305
313
|
.error small.error,
|
|
@@ -316,15 +324,11 @@ small.error{
|
|
|
316
324
|
background: $brand-red;
|
|
317
325
|
}
|
|
318
326
|
|
|
319
|
-
.join-birthdate small.error{
|
|
320
|
-
margin-top: $base-margin*8;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
327
|
.email_hint{
|
|
324
328
|
color: $brand-red;
|
|
325
329
|
display: none;
|
|
326
330
|
font-size: 0.875em;
|
|
327
|
-
margin:
|
|
331
|
+
margin: 0 0 $base-padding/2;
|
|
328
332
|
}
|
|
329
333
|
|
|
330
334
|
.email_domain{
|
|
@@ -336,15 +340,15 @@ small.error{
|
|
|
336
340
|
/* ------------- Moneris ------------- */
|
|
337
341
|
#monerisFrameSurround iframe,
|
|
338
342
|
#monerisFrameSurround object,
|
|
339
|
-
#monerisFrameSurround embed
|
|
343
|
+
#monerisFrameSurround embed{
|
|
340
344
|
width: 100%;
|
|
341
345
|
}
|
|
342
346
|
|
|
343
|
-
.iframe-error
|
|
344
|
-
margin-top: -
|
|
347
|
+
.iframe-error{
|
|
348
|
+
margin-top: -6px !important;
|
|
345
349
|
}
|
|
346
350
|
|
|
347
|
-
form.moneris
|
|
351
|
+
form.moneris{
|
|
348
352
|
display: none;
|
|
349
353
|
}
|
|
350
354
|
|
|
@@ -361,7 +365,101 @@ input[type="number"]:-ms-input-placeholder,
|
|
|
361
365
|
input[type="search"]:-ms-input-placeholder,
|
|
362
366
|
input[type="tel"]:-ms-input-placeholder,
|
|
363
367
|
input[type="time"]:-ms-input-placeholder,
|
|
364
|
-
input[type="url"]:-ms-input-placeholder
|
|
365
|
-
textarea{
|
|
368
|
+
input[type="url"]:-ms-input-placeholder{
|
|
366
369
|
color: darken($stone, 10%);
|
|
367
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
|
+
&__label-wrapper{
|
|
401
|
+
@include large-4;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
&__input-wrapper{
|
|
405
|
+
@include large-8;
|
|
406
|
+
|
|
407
|
+
&--offset{
|
|
408
|
+
@extend .form-horizontal__input-wrapper;
|
|
409
|
+
@include large-offset-4;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
&--small{
|
|
413
|
+
@include large-2;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
&--half-width{
|
|
417
|
+
@include large-4;
|
|
418
|
+
@include breakpoint(medium down){
|
|
419
|
+
margin-bottom: $base-margin;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
&__error-wrapper{
|
|
425
|
+
@include large-8;
|
|
426
|
+
@extend .error;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
&__input-hint{
|
|
430
|
+
@include large-6;
|
|
431
|
+
@extend .hint;
|
|
432
|
+
|
|
433
|
+
&--white{
|
|
434
|
+
@extend .form-horizontal__input-hint;
|
|
435
|
+
color: $white;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
&__radio-wrapper{
|
|
440
|
+
@include large-8;
|
|
441
|
+
margin-bottom: $base-margin;
|
|
442
|
+
|
|
443
|
+
&--full{
|
|
444
|
+
margin-bottom: $base-margin;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
&__select{
|
|
449
|
+
@include large-8;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
&__toggle{
|
|
453
|
+
@include large-12;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
&__notification{
|
|
457
|
+
@include large-8;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
&__submit{
|
|
461
|
+
&--right{
|
|
462
|
+
@include large-4;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
}
|