ama_layout 1.1.13 → 1.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/ama_layout/foundation_and_overrides.scss +4 -4
- data/app/assets/stylesheets/ama_layout/layout/base-styles.scss +9 -2
- data/app/assets/stylesheets/ama_layout/layout/helper-classes.scss +49 -8
- data/app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss +70 -20
- data/app/assets/stylesheets/ama_layout/layout_components/error-messages.scss +3 -2
- data/app/assets/stylesheets/ama_layout/layout_components/error-page.scss +8 -8
- data/app/assets/stylesheets/ama_layout/layout_components/forms.scss +40 -14
- data/app/assets/stylesheets/ama_layout/layout_components/index.scss +1 -0
- data/app/assets/stylesheets/ama_layout/layout_components/sidebar.scss +7 -1
- data/app/assets/stylesheets/ama_layout/layout_components/siteheader.scss +4 -2
- data/app/assets/stylesheets/ama_layout/layout_components/tab-accordions.scss +49 -0
- data/app/assets/stylesheets/ama_layout/media_queries/desktop.scss +5 -0
- data/app/assets/stylesheets/ama_layout/media_queries/index.scss +1 -0
- data/app/assets/stylesheets/ama_layout/media_queries/mobile-and-tablet.scss +5 -3
- data/app/assets/stylesheets/ama_layout/media_queries/mobile.scss +31 -6
- data/app/assets/stylesheets/ama_layout/media_queries/tablet.scss +6 -2
- data/app/helpers/ama_layout_path_helper.rb +1 -1
- data/lib/ama_layout/navigation.yml +20 -5
- data/lib/ama_layout/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2925b42ca00e33b2d1dd57fa5f43e893ed3e454a
|
4
|
+
data.tar.gz: 5250d8d141e3d48cced22c62f5e8a9564ecf236f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b1219dada1e042fb7e218d2f760cb3d281064d12d75d9e44bb2d366775395341838911e29379b4d1b4a87948865b103b6e9f049b93fc0c6056b6988b2217735
|
7
|
+
data.tar.gz: 24b06ab80daaefc84bbb41b3a4f625d0765427aa2e6572ce642c82ed87eb8e77962a98195bf8d4c8c8869fa265331be234101203b5fe99967e6b2c21cf11c58d
|
@@ -151,10 +151,10 @@ $row-width: rem-calc(1184);
|
|
151
151
|
// d. Media Query Ranges
|
152
152
|
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
153
153
|
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
154
|
+
$small-breakpoint: em-calc(640);
|
155
|
+
$medium-breakpoint: em-calc(1024);
|
156
|
+
$large-breakpoint: em-calc(1440);
|
157
|
+
$xlarge-breakpoint: em-calc(1920);
|
158
158
|
|
159
159
|
// $small-range: (0, $small-breakpoint);
|
160
160
|
// $medium-range: ($small-breakpoint + em-calc(1), $medium-breakpoint);
|
@@ -22,7 +22,13 @@ footer{
|
|
22
22
|
}
|
23
23
|
|
24
24
|
/* ============== Base Typography Styles ================ */
|
25
|
-
h1,
|
25
|
+
h1,
|
26
|
+
h2,
|
27
|
+
h3,
|
28
|
+
h4,
|
29
|
+
h5,
|
30
|
+
h6,
|
31
|
+
p{
|
26
32
|
font-family: $font-family-sans-serif;
|
27
33
|
margin-bottom: 0.2em;
|
28
34
|
margin-bottom: 0.2rem; //this is so headers have equal padding on bottom and top
|
@@ -38,7 +44,8 @@ label{
|
|
38
44
|
color: $charcoal;
|
39
45
|
}
|
40
46
|
|
41
|
-
p,
|
47
|
+
p,
|
48
|
+
li{
|
42
49
|
font-size: $base-font-size*0.875;
|
43
50
|
color: $charcoal;
|
44
51
|
font-weight: 200;
|
@@ -29,6 +29,17 @@
|
|
29
29
|
padding: $base-padding 0;
|
30
30
|
}
|
31
31
|
|
32
|
+
.section-title{
|
33
|
+
@extend .page-title;
|
34
|
+
border: 0;
|
35
|
+
padding: $base-padding*2;
|
36
|
+
background-color: $stone;
|
37
|
+
|
38
|
+
h5{
|
39
|
+
color: $slate;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
32
43
|
.page-steps{
|
33
44
|
text-align: right;
|
34
45
|
}
|
@@ -273,38 +284,64 @@
|
|
273
284
|
@extend .small;
|
274
285
|
color: $white;
|
275
286
|
}
|
276
|
-
|
287
|
+
|
288
|
+
.emphasized,
|
289
|
+
.emphasized:visited{
|
277
290
|
@extend .base-button;
|
278
291
|
background: $secondary-color;
|
279
|
-
|
292
|
+
|
293
|
+
&:hover,
|
294
|
+
&:active,
|
295
|
+
&:focus{
|
280
296
|
background-color: lighten($secondary-color, 10%);
|
281
297
|
}
|
282
298
|
}
|
283
|
-
|
299
|
+
|
300
|
+
button.disabled,
|
301
|
+
button[disabled],
|
302
|
+
.button.disabled,
|
303
|
+
.button[disabled]{
|
284
304
|
background-color: lighten($secondary-color, 10%);
|
285
305
|
border-color: none;
|
286
|
-
|
306
|
+
|
307
|
+
&:hover,
|
308
|
+
&:active,
|
309
|
+
&:focus{
|
287
310
|
background-color: lighten($secondary-color, 10%);
|
288
311
|
border-color: none;
|
289
312
|
}
|
290
313
|
}
|
314
|
+
|
291
315
|
.de-emphasized, .de-emphasized:visited{
|
292
316
|
@extend .base-button;
|
293
317
|
background: $slate;
|
294
|
-
|
318
|
+
|
319
|
+
&:hover,
|
320
|
+
&:active,
|
321
|
+
&:focus{
|
295
322
|
background-color: lighten($slate, 10%);
|
296
323
|
}
|
297
324
|
}
|
325
|
+
|
298
326
|
.red-btn{
|
327
|
+
@extend .base-button;
|
299
328
|
background: $brand-red;
|
300
|
-
|
329
|
+
|
330
|
+
&:hover,
|
331
|
+
&:active,
|
332
|
+
&:focus{
|
301
333
|
background-color: lighten($brand-red, 10%);
|
302
334
|
}
|
303
335
|
}
|
304
|
-
|
336
|
+
|
337
|
+
.green-btn,
|
338
|
+
.green-btn:visited{
|
305
339
|
@extend .base-button;
|
306
340
|
background: $brand-green;
|
307
|
-
|
341
|
+
|
342
|
+
&:hover,
|
343
|
+
&:active,
|
344
|
+
&:focus{
|
308
345
|
background-color: lighten($brand-green, 10%);
|
309
346
|
}
|
310
347
|
}
|
@@ -312,6 +349,10 @@ button.disabled, button[disabled], .button.disabled, .button[disabled]{
|
|
312
349
|
/* ==================== 10. Typography ==================== */
|
313
350
|
.white-text{
|
314
351
|
color: $white;
|
352
|
+
|
353
|
+
>a{
|
354
|
+
color: $white;
|
355
|
+
}
|
315
356
|
}
|
316
357
|
|
317
358
|
.white-micetype{
|
@@ -1,32 +1,82 @@
|
|
1
1
|
//blue boxes
|
2
|
-
|
3
|
-
.outer-quicklink-box {
|
4
|
-
width: 49.2%;
|
2
|
+
.outer-quicklink-box{
|
5
3
|
margin-right: 1.5%;
|
6
|
-
float:left;
|
4
|
+
float: left;
|
5
|
+
|
7
6
|
a{
|
8
|
-
text-decoration:none;
|
7
|
+
text-decoration: none;
|
9
8
|
}
|
10
|
-
}
|
11
9
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
margin-top:$base-margin;
|
16
|
-
padding-top: 1px;
|
10
|
+
&:nth-last-child(1){
|
11
|
+
margin-right: 0;
|
12
|
+
}
|
17
13
|
}
|
18
14
|
|
19
15
|
.icon-box{
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
16
|
+
margin: $base-margin*4 auto 0 auto;
|
17
|
+
background-repeat: no-repeat;
|
18
|
+
background-position: center center;
|
19
|
+
width: auto;
|
20
|
+
text-align: center;
|
21
|
+
color: $white;
|
22
|
+
font-size: $base-font-size*5;
|
23
|
+
line-height: $base-font-size*5;
|
25
24
|
}
|
26
25
|
|
27
|
-
.box-title
|
26
|
+
.box-title{
|
28
27
|
text-align: center;
|
29
|
-
color: white;
|
28
|
+
color: $white;
|
30
29
|
width: 90%;
|
31
|
-
margin
|
32
|
-
}
|
30
|
+
margin: $base-margin*2 auto $base-margin*0 auto;
|
31
|
+
}
|
32
|
+
|
33
|
+
.quicklink-box{
|
34
|
+
background: $brand-blue-light;
|
35
|
+
margin-top: 0;
|
36
|
+
padding-top: 1px;
|
37
|
+
min-height: 161px;
|
38
|
+
|
39
|
+
&:hover{
|
40
|
+
background: lighten($brand-blue-light, 3%);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.tab-title.active > a{
|
45
|
+
outline: none;
|
46
|
+
}
|
47
|
+
|
48
|
+
// For the quicklink boxes, get a count of how many boxes there are.
|
49
|
+
// For example: for 2 boxes, check if the first box (first-child) is both the first and second-last(nth-last-child(2)).
|
50
|
+
.outer-quicklink-box:first-child:nth-last-child(1){
|
51
|
+
width: 23.5%;
|
52
|
+
margin-left: 0;
|
53
|
+
margin-right: 1.5%;
|
54
|
+
}
|
55
|
+
|
56
|
+
.outer-quicklink-box:first-child:nth-last-child(2),
|
57
|
+
.outer-quicklink-box:first-child:nth-last-child(2) ~ div,
|
58
|
+
.outer-quicklink-box:first-child:nth-last-child(2) ~ li{
|
59
|
+
width: 49.2%;
|
60
|
+
margin-top: 1.5%;
|
61
|
+
}
|
62
|
+
|
63
|
+
.outer-quicklink-box:first-child:nth-last-child(3),
|
64
|
+
.outer-quicklink-box:first-child:nth-last-child(3) ~ div,
|
65
|
+
.outer-quicklink-box:first-child:nth-last-child(3) ~ li{
|
66
|
+
width: 23.5%;
|
67
|
+
}
|
68
|
+
|
69
|
+
.outer-quicklink-box:first-child:nth-last-child(4),
|
70
|
+
.outer-quicklink-box:first-child:nth-last-child(4) ~ div,
|
71
|
+
.outer-quicklink-box:first-child:nth-last-child(4) ~ li{
|
72
|
+
width: 23.8%;
|
73
|
+
}
|
74
|
+
|
75
|
+
.quicklink-single-box{
|
76
|
+
margin-left: 0;
|
77
|
+
margin-top: $base-margin*4;
|
78
|
+
|
79
|
+
.outer-quicklink-box > a{
|
80
|
+
font-size: $base-font-size;
|
81
|
+
}
|
82
|
+
}
|
@@ -1,8 +1,9 @@
|
|
1
|
-
.notice_notification
|
2
|
-
padding:
|
1
|
+
.notice_notification{
|
2
|
+
padding: $base-padding*2 $base-padding*3 $base-padding*2 $base-padding*3;
|
3
3
|
background-color: $brand-blue-insurance;
|
4
4
|
color: $white;
|
5
5
|
}
|
6
|
+
|
6
7
|
.error_notification{
|
7
8
|
@extend .notice_notification;
|
8
9
|
background-color: $brand-red;
|
@@ -2,24 +2,24 @@
|
|
2
2
|
color: $secondary-color;
|
3
3
|
}
|
4
4
|
|
5
|
-
.error-pg-width
|
5
|
+
.error-pg-width{
|
6
6
|
max-width: 650px !important;
|
7
|
-
margin:0 auto !important;
|
8
|
-
padding-left:
|
9
|
-
padding-right:
|
7
|
+
margin: 0 auto !important;
|
8
|
+
padding-left: $base-padding*2;
|
9
|
+
padding-right: $base-padding*2;
|
10
10
|
}
|
11
11
|
|
12
12
|
.error-pg-mb{
|
13
|
-
margin: 0 auto
|
13
|
+
margin: 0 auto $base-margin*8 auto !important;
|
14
14
|
}
|
15
15
|
|
16
16
|
.error-pg-num{
|
17
17
|
min-width: 50%;
|
18
18
|
min-height: 80px;
|
19
|
-
padding-top:
|
19
|
+
padding-top: $base-padding*2;
|
20
20
|
}
|
21
21
|
|
22
22
|
.error-pg-num-border{
|
23
|
-
border-left:1px solid $slate;
|
24
|
-
margin-top:
|
23
|
+
border-left: 1px solid $slate;
|
24
|
+
margin-top: 0;
|
25
25
|
}
|
@@ -2,29 +2,33 @@
|
|
2
2
|
text-align:center;
|
3
3
|
padding: 0;
|
4
4
|
width: 32%;
|
5
|
+
|
5
6
|
&.columns{
|
6
|
-
padding-left:0;
|
7
|
-
padding-right:0;
|
7
|
+
padding-left: 0;
|
8
|
+
padding-right: 0;
|
8
9
|
}
|
9
10
|
}
|
11
|
+
|
10
12
|
.membership-card-radio-plus-primary{
|
11
|
-
text-align:center;
|
13
|
+
text-align: center;
|
12
14
|
padding: 0;
|
13
15
|
width: 49%;
|
16
|
+
|
14
17
|
&.columns{
|
15
|
-
padding-left:0;
|
16
|
-
padding-right:0;
|
18
|
+
padding-left: 0;
|
19
|
+
padding-right: 0;
|
17
20
|
}
|
18
21
|
}
|
19
22
|
|
20
23
|
/* ------------- Input Styles ------------- */
|
21
24
|
%inputs-thirds{
|
22
25
|
max-width: 30%;
|
23
|
-
float:left;
|
26
|
+
float: left;
|
24
27
|
}
|
28
|
+
|
25
29
|
%inputs-halves{
|
26
30
|
max-width: 47.5%;
|
27
|
-
float:left;
|
31
|
+
float: left;
|
28
32
|
}
|
29
33
|
|
30
34
|
/* ------------- Custom Radio Button + Checkbox Styles ------------- */
|
@@ -33,41 +37,52 @@
|
|
33
37
|
padding: $base-padding*2;
|
34
38
|
width: 100%;
|
35
39
|
}
|
40
|
+
|
36
41
|
.box2{
|
37
42
|
margin-top: $base-margin*2;
|
38
43
|
}
|
39
44
|
}
|
45
|
+
|
40
46
|
.checkbox-content{
|
41
|
-
display:inline;
|
47
|
+
display: inline;
|
42
48
|
padding-left: $base-padding*8;
|
43
49
|
}
|
50
|
+
|
44
51
|
.radio-label{
|
45
52
|
padding: $base-padding*2;
|
46
53
|
width: 100%;
|
47
54
|
}
|
55
|
+
|
48
56
|
.radio-options{
|
49
57
|
padding: 0;
|
50
58
|
width: 100%;
|
51
59
|
}
|
52
|
-
|
60
|
+
|
61
|
+
input[type="radio"],
|
62
|
+
input[type="checkbox"]:not(.default){
|
53
63
|
position: absolute;
|
54
64
|
left: -9999px;
|
55
65
|
margin: 0;
|
56
66
|
}
|
57
|
-
|
67
|
+
|
68
|
+
input[type="radio"] + label,
|
69
|
+
input[type="checkbox"] + label{
|
58
70
|
background: $ash;
|
59
71
|
border: $base-border;
|
60
72
|
margin: 0;
|
73
|
+
|
61
74
|
&:nth-child(2){
|
62
75
|
margin-top: -1px;
|
63
76
|
}
|
77
|
+
|
64
78
|
.membership-card-header{
|
65
79
|
border-bottom: $base-border;
|
66
80
|
background: darken($ash, 4%);
|
67
81
|
}
|
68
82
|
}
|
83
|
+
|
69
84
|
input[type="radio"] + label > span,
|
70
|
-
input[type="checkbox"] + label > span:first-of-type,
|
85
|
+
input[type="checkbox"] + label > span:first-of-type,
|
71
86
|
input[type="radio"] + label span{
|
72
87
|
display: inline-block;
|
73
88
|
width: 30px;
|
@@ -101,11 +116,13 @@ input[type="radio"]:checked + label{
|
|
101
116
|
background-color: $sky;
|
102
117
|
border: 1px solid $ocean;
|
103
118
|
position: relative;
|
119
|
+
|
104
120
|
&>hr{
|
105
121
|
border: solid $ocean;
|
106
122
|
border-width: 1px 0 0;
|
107
123
|
height: 0;
|
108
124
|
}
|
125
|
+
|
109
126
|
.membership-card-header{
|
110
127
|
border-bottom: 1px solid $ocean;
|
111
128
|
background: darken($sky, 4%);
|
@@ -135,33 +152,42 @@ input[type="checkbox"]:checked + label{
|
|
135
152
|
[type="checkbox"]:checked + label:after{
|
136
153
|
margin-left: $base-margin*6;
|
137
154
|
}
|
155
|
+
|
138
156
|
.month, .year{
|
139
157
|
@extend %inputs-thirds;
|
140
158
|
}
|
159
|
+
|
141
160
|
.day{
|
142
161
|
@extend %inputs-thirds;
|
143
162
|
margin: 0 5%;
|
144
163
|
}
|
145
164
|
|
146
165
|
/* ------------- Error Messaging ------------- */
|
147
|
-
.error small.error,
|
166
|
+
.error small.error,
|
167
|
+
small.error{
|
148
168
|
background: $brand-red;
|
149
169
|
}
|
150
|
-
|
170
|
+
|
171
|
+
.error label,
|
172
|
+
.error label.error{
|
151
173
|
color: $brand-red;
|
152
174
|
}
|
153
175
|
|
154
176
|
.error-message{
|
155
177
|
background: $brand-red;
|
156
178
|
}
|
179
|
+
|
157
180
|
.join-birthdate small.error{
|
158
181
|
margin-top: $base-margin*8;
|
159
182
|
}
|
160
183
|
|
161
184
|
/* ------------- Moneris ------------- */
|
162
|
-
#monerisFrameSurround iframe,
|
185
|
+
#monerisFrameSurround iframe,
|
186
|
+
#monerisFrameSurround object,
|
187
|
+
#monerisFrameSurround embed {
|
163
188
|
width: 100%;
|
164
189
|
}
|
190
|
+
|
165
191
|
.iframe-error {
|
166
192
|
margin-top: -8px !important;
|
167
193
|
}
|
@@ -6,9 +6,11 @@
|
|
6
6
|
background: $white;
|
7
7
|
padding: $base-padding*3;
|
8
8
|
}
|
9
|
+
|
9
10
|
.dashboard-title:first-child{
|
10
11
|
@extend .mt0;
|
11
12
|
}
|
13
|
+
|
12
14
|
.dashboard-nav{
|
13
15
|
width: 100%;
|
14
16
|
background: $white;
|
@@ -57,6 +59,7 @@
|
|
57
59
|
opacity: 1;
|
58
60
|
margin-top: 0;
|
59
61
|
}
|
62
|
+
|
60
63
|
a.sub-nav.activepage{
|
61
64
|
text-decoration: underline;
|
62
65
|
}
|
@@ -82,6 +85,7 @@
|
|
82
85
|
margin-left: 74px;
|
83
86
|
margin-top: -$base-margin*3;
|
84
87
|
list-style: none;
|
88
|
+
|
85
89
|
li{
|
86
90
|
color: $white;
|
87
91
|
}
|
@@ -91,10 +95,12 @@
|
|
91
95
|
font-size: $base-font-size*0.875;
|
92
96
|
}
|
93
97
|
}
|
98
|
+
|
94
99
|
a.activepage{
|
95
100
|
background: $brand-blue-light;
|
96
101
|
color: $white;
|
97
102
|
}
|
103
|
+
|
98
104
|
.sidebar{
|
99
105
|
@extend .white-trans;
|
100
106
|
padding: $base-padding*4;
|
@@ -111,7 +117,7 @@ span.nav-icon{
|
|
111
117
|
margin: $base-margin*2;
|
112
118
|
margin-top: $base-margin*4;
|
113
119
|
font-size: $base-font-size*1.5;
|
114
|
-
color:
|
120
|
+
color: $smoke;
|
115
121
|
text-align: center;
|
116
122
|
}
|
117
123
|
|
@@ -2,13 +2,15 @@
|
|
2
2
|
width: 100%;
|
3
3
|
height: 50px;
|
4
4
|
background-color: $primary-color;
|
5
|
-
margin-bottom:
|
5
|
+
margin-bottom: $base-margin*6;
|
6
6
|
padding: 0;
|
7
|
+
|
7
8
|
a:hover{
|
8
9
|
color: $sky;
|
9
10
|
cursor: pointer;
|
10
11
|
}
|
12
|
+
|
11
13
|
img {
|
12
|
-
padding-top
|
14
|
+
padding-top:$base-padding*2;
|
13
15
|
}
|
14
16
|
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
//Quicklink Tabs with Nested Accordions
|
2
|
+
.tabs.box-tabs .tab-title > a{
|
3
|
+
background: none;
|
4
|
+
padding: 0;
|
5
|
+
}
|
6
|
+
|
7
|
+
.tab-title.active .quicklink-box{
|
8
|
+
background: $stone;
|
9
|
+
|
10
|
+
.box-title{
|
11
|
+
color: $jet;
|
12
|
+
}
|
13
|
+
|
14
|
+
i{
|
15
|
+
color: $smoke;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
//Accordion styles for FAQ content
|
20
|
+
.faq{
|
21
|
+
.accordion .accordion-navigation > a,
|
22
|
+
.accordion dd > a{
|
23
|
+
text-decoration: none;
|
24
|
+
background: $white;
|
25
|
+
|
26
|
+
&:active,
|
27
|
+
&:hover,
|
28
|
+
&:focus{
|
29
|
+
background: $stone;
|
30
|
+
outline: none;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
.accordion-navigation > a.top-level,
|
35
|
+
dd > a.top-level{
|
36
|
+
background: darken($stone, 5%);
|
37
|
+
border-bottom: 1px solid $stone;
|
38
|
+
|
39
|
+
&:hover{
|
40
|
+
background: lighten($smoke, 4%);
|
41
|
+
}
|
42
|
+
|
43
|
+
&:active,
|
44
|
+
&:focus,
|
45
|
+
&:visited{
|
46
|
+
background: darken($stone, 5%);
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
@@ -1,14 +1,16 @@
|
|
1
|
-
@media screen and (max-width:
|
1
|
+
@media screen and (max-width: $large-breakpoint){
|
2
2
|
.skip{
|
3
3
|
margin-top: $base-margin*4;
|
4
4
|
}
|
5
|
+
|
5
6
|
.join-radio{
|
6
7
|
input[type="radio"] + label{
|
7
8
|
width: 100%;
|
8
9
|
}
|
9
10
|
}
|
11
|
+
|
10
12
|
.error-pg-num-border{
|
11
|
-
border-left:0;
|
12
|
-
margin-top:
|
13
|
+
border-left: 0;
|
14
|
+
margin-top: $base-margin*4;
|
13
15
|
}
|
14
16
|
}
|
@@ -1,15 +1,18 @@
|
|
1
1
|
@media screen and (max-width:640px){
|
2
2
|
.dashboard-nav{
|
3
|
-
margin-top:0;
|
3
|
+
margin-top: 0;
|
4
4
|
}
|
5
5
|
}
|
6
|
-
|
6
|
+
|
7
|
+
@media screen and (max-width: $medium-breakpoint){
|
7
8
|
.site-header{
|
8
9
|
margin-bottom: $base-margin*4;
|
10
|
+
|
9
11
|
img{
|
10
12
|
padding-left: $base-padding*4;
|
11
13
|
}
|
12
14
|
}
|
15
|
+
|
13
16
|
.page-steps h3{
|
14
17
|
color: $slate;
|
15
18
|
font-style: italic;
|
@@ -17,6 +20,7 @@
|
|
17
20
|
margin: $base-margin*2 0 0;
|
18
21
|
text-align: right;
|
19
22
|
}
|
23
|
+
|
20
24
|
input[type="text"],
|
21
25
|
input[type="password"],
|
22
26
|
input[type="date"],
|
@@ -35,35 +39,56 @@
|
|
35
39
|
margin: 0 0 0.5em 0;
|
36
40
|
margin: 0 0 0.5rem 0;
|
37
41
|
}
|
42
|
+
|
38
43
|
label.inline{
|
39
|
-
margin:0;
|
44
|
+
margin: 0;
|
40
45
|
}
|
46
|
+
|
41
47
|
.checkbox-label{
|
42
48
|
width: 84%;
|
43
49
|
}
|
50
|
+
|
44
51
|
h4{
|
45
52
|
margin-top: $base-margin*6;
|
46
53
|
}
|
47
|
-
|
54
|
+
|
55
|
+
.membership-card-radio,
|
56
|
+
.membership-card-radio-plus-primary,
|
57
|
+
.membership-card-label{
|
48
58
|
width: 100%;
|
49
59
|
margin-left: 0;
|
50
60
|
margin-right: 0;
|
51
61
|
}
|
62
|
+
|
52
63
|
.cart-totals{
|
53
|
-
text-align:left;
|
64
|
+
text-align: left;
|
54
65
|
}
|
66
|
+
|
55
67
|
footer{
|
56
68
|
margin-top: $base-margin*4;
|
57
69
|
}
|
70
|
+
|
58
71
|
%white-trans{
|
59
72
|
background-color: rgba(255,255,255,0.8);
|
60
73
|
}
|
74
|
+
|
61
75
|
%inputs-thirds{
|
62
76
|
max-width: 100%;
|
63
77
|
float: none;
|
64
78
|
margin: $base-margin*2 0;
|
65
79
|
}
|
66
|
-
|
80
|
+
|
81
|
+
.credit-card-year{
|
67
82
|
margin-left: 0;
|
68
83
|
}
|
84
|
+
|
85
|
+
.outer-quicklink-box:first-child:nth-last-child(4),
|
86
|
+
.outer-quicklink-box:first-child:nth-last-child(4) ~ div,
|
87
|
+
.outer-quicklink-box:first-child:nth-last-child(3),
|
88
|
+
.outer-quicklink-box:first-child:nth-last-child(3) ~ div,
|
89
|
+
.outer-quicklink-box:first-child:nth-last-child(3) ~ li,
|
90
|
+
.outer-quicklink-box:first-child:nth-last-child(1){
|
91
|
+
width: 48.5%;
|
92
|
+
margin-top: 1.5%;
|
93
|
+
}
|
69
94
|
}
|
@@ -1,11 +1,15 @@
|
|
1
|
-
@media screen and (min-width:
|
1
|
+
@media screen and (min-width: $medium-breakpoint) and (max-width: $large-breakpoint){
|
2
2
|
.main-content-container{
|
3
3
|
padding: $base-padding*4 0 0;
|
4
4
|
}
|
5
|
+
|
5
6
|
.site-header img{
|
6
7
|
padding-left: $base-padding*4;
|
7
8
|
}
|
8
|
-
|
9
|
+
|
10
|
+
.membership-card-radio,
|
11
|
+
.membership-card-radio-plus-primary,
|
12
|
+
.membership-card-label{
|
9
13
|
width: 100%;
|
10
14
|
margin-left: 0;
|
11
15
|
margin-right: 0;
|
@@ -16,8 +16,11 @@ member:
|
|
16
16
|
- text: "Print/Request New Card"
|
17
17
|
link: "<%= Rails.configuration.youraccount_site %>/membership"
|
18
18
|
- text: "Driver Education"
|
19
|
-
link: "<%= Rails.configuration.driveredonline_site
|
19
|
+
link: "<%= Rails.configuration.driveredonline_site %>"
|
20
20
|
icon: "fa-car"
|
21
|
+
sub_nav:
|
22
|
+
- text: "Online New Driver Program"
|
23
|
+
link: "<%= Rails.configuration.driveredonline_site %>/dashboard"
|
21
24
|
- text: "Reward Dollars"
|
22
25
|
link: "<%= Rails.configuration.youraccount_site %>/reward_dollars"
|
23
26
|
icon: "fa-usd"
|
@@ -43,11 +46,14 @@ non-member:
|
|
43
46
|
icon: "fa-tachometer"
|
44
47
|
- text: "Join AMA"
|
45
48
|
alt: "Join AMA"
|
46
|
-
link: <%= Rails.configuration.membership_site %>
|
49
|
+
link: "<%= Rails.configuration.membership_site %>"
|
47
50
|
icon: "fa-credit-card"
|
48
51
|
- text: "Driver Education"
|
49
|
-
link: "<%= Rails.configuration.driveredonline_site
|
52
|
+
link: "<%= Rails.configuration.driveredonline_site %>"
|
50
53
|
icon: "fa-car"
|
54
|
+
sub_nav:
|
55
|
+
- text: "Online New Driver Program"
|
56
|
+
link: "<%= Rails.configuration.driveredonline_site %>/dashboard"
|
51
57
|
member-in-renewal:
|
52
58
|
- text: "Account Dashboard"
|
53
59
|
alt: "Back to my dashboard"
|
@@ -57,10 +63,19 @@ member-in-renewal:
|
|
57
63
|
link: "<%= Rails.configuration.youraccount_site %>/renew"
|
58
64
|
icon: "fa-credit-card"
|
59
65
|
- text: "Driver Education"
|
60
|
-
link: "<%= Rails.configuration.driveredonline_site
|
66
|
+
link: "<%= Rails.configuration.driveredonline_site %>"
|
61
67
|
icon: "fa-car"
|
68
|
+
sub_nav:
|
69
|
+
- text: "Online New Driver Program"
|
70
|
+
link: "<%= Rails.configuration.driveredonline_site %>/dashboard"
|
62
71
|
member-in-renewal-late:
|
63
72
|
- text: "Account Dashboard"
|
64
73
|
alt: "Back to my dashboard"
|
65
74
|
link: "<%= Rails.configuration.youraccount_site %>/dashboard"
|
66
|
-
icon: "fa-tachometer"
|
75
|
+
icon: "fa-tachometer"
|
76
|
+
- text: "Driver Education"
|
77
|
+
link: "<%= Rails.configuration.driveredonline_site %>"
|
78
|
+
icon: "fa-car"
|
79
|
+
sub_nav:
|
80
|
+
- text: "Online New Driver Program"
|
81
|
+
link: "<%= Rails.configuration.driveredonline_site %>/dashboard"
|
data/lib/ama_layout/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ama_layout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael van den Beuken
|
@@ -17,7 +17,7 @@ authors:
|
|
17
17
|
autorequire:
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
|
-
date: 2015-09-
|
20
|
+
date: 2015-09-24 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: foundation-rails
|
@@ -241,6 +241,8 @@ files:
|
|
241
241
|
- app/assets/stylesheets/ama_layout/layout_components/responsive-table.scss
|
242
242
|
- app/assets/stylesheets/ama_layout/layout_components/sidebar.scss
|
243
243
|
- app/assets/stylesheets/ama_layout/layout_components/siteheader.scss
|
244
|
+
- app/assets/stylesheets/ama_layout/layout_components/tab-accordions.scss
|
245
|
+
- app/assets/stylesheets/ama_layout/media_queries/desktop.scss
|
244
246
|
- app/assets/stylesheets/ama_layout/media_queries/index.scss
|
245
247
|
- app/assets/stylesheets/ama_layout/media_queries/mobile-and-tablet.scss
|
246
248
|
- app/assets/stylesheets/ama_layout/media_queries/mobile.scss
|
@@ -309,7 +311,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
309
311
|
version: '0'
|
310
312
|
requirements: []
|
311
313
|
rubyforge_project:
|
312
|
-
rubygems_version: 2.4.
|
314
|
+
rubygems_version: 2.4.5
|
313
315
|
signing_key:
|
314
316
|
specification_version: 4
|
315
317
|
summary: ".ama.ab.ca site layouts"
|