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.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/ama_layout.gemspec +2 -1
  3. data/app/assets/images/ama-logo-blue.svg +44 -0
  4. data/app/assets/images/ama-logo.png +0 -0
  5. data/app/assets/javascripts/ama_layout/desktop/foundation-custom.js +21 -0
  6. data/app/assets/javascripts/ama_layout/desktop/foundation-equalizer-reflow.coffee +5 -0
  7. data/app/assets/javascripts/ama_layout/desktop/foundation-ready.coffee +2 -0
  8. data/app/assets/javascripts/ama_layout/desktop/index.js +2 -8
  9. data/app/assets/stylesheets/ama_layout/_settings.scss +66 -66
  10. data/app/assets/stylesheets/ama_layout/application.scss +0 -1
  11. data/app/assets/stylesheets/ama_layout/foundation_and_overrides.scss +1 -24
  12. data/app/assets/stylesheets/ama_layout/layout/base-styles.scss +2 -72
  13. data/app/assets/stylesheets/ama_layout/layout/helper-classes.scss +98 -43
  14. data/app/assets/stylesheets/ama_layout/layout/index.scss +2 -0
  15. data/app/assets/stylesheets/ama_layout/layout/mixins-grid.scss +847 -0
  16. data/app/assets/stylesheets/ama_layout/layout/print.scss +23 -0
  17. data/app/assets/stylesheets/ama_layout/layout/variables.scss +20 -4
  18. data/app/assets/stylesheets/ama_layout/layout_components/accordions.scss +32 -14
  19. data/app/assets/stylesheets/ama_layout/layout_components/banner.scss +17 -0
  20. data/app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss +81 -4
  21. data/app/assets/stylesheets/ama_layout/layout_components/breadcrumbs.scss +10 -0
  22. data/app/assets/stylesheets/ama_layout/layout_components/button-grouping.scss +111 -0
  23. data/app/assets/stylesheets/ama_layout/layout_components/buttons.scss +14 -0
  24. data/app/assets/stylesheets/ama_layout/layout_components/callouts.scss +106 -0
  25. data/app/assets/stylesheets/ama_layout/layout_components/cart.scss +98 -43
  26. data/app/assets/stylesheets/ama_layout/layout_components/comparison-radios.scss +113 -0
  27. data/app/assets/stylesheets/ama_layout/layout_components/content-toggle.scss +15 -0
  28. data/app/assets/stylesheets/ama_layout/layout_components/error-page.scss +3 -3
  29. data/app/assets/stylesheets/ama_layout/layout_components/footer.scss +65 -0
  30. data/app/assets/stylesheets/ama_layout/layout_components/forms.scss +141 -43
  31. data/app/assets/stylesheets/ama_layout/layout_components/graph.scss +8 -7
  32. data/app/assets/stylesheets/ama_layout/layout_components/index.scss +13 -1
  33. data/app/assets/stylesheets/ama_layout/layout_components/link-list.scss +53 -0
  34. data/app/assets/stylesheets/ama_layout/layout_components/links.scss +8 -0
  35. data/app/assets/stylesheets/ama_layout/layout_components/notification.scss +27 -1
  36. data/app/assets/stylesheets/ama_layout/layout_components/progress-bar.scss +137 -0
  37. data/app/assets/stylesheets/ama_layout/layout_components/reveal-modal.scss +15 -0
  38. data/app/assets/stylesheets/ama_layout/layout_components/sections.scss +202 -0
  39. data/app/assets/stylesheets/ama_layout/layout_components/sidebar.scss +45 -119
  40. data/app/assets/stylesheets/ama_layout/layout_components/siteheader.scss +70 -73
  41. data/app/assets/stylesheets/ama_layout/layout_components/tab-accordions.scss +1 -19
  42. data/app/assets/stylesheets/ama_layout/layout_components/tables.scss +96 -0
  43. data/app/assets/stylesheets/ama_layout/media_queries/mobile-and-tablet.scss +2 -2
  44. data/app/assets/stylesheets/ama_layout/media_queries/mobile.scss +2 -49
  45. data/app/assets/stylesheets/ama_layout/media_queries/tablet.scss +2 -10
  46. data/app/helpers/ama_layout_breadcrumb_helper.rb +5 -0
  47. data/app/views/ama_layout/_alert.html.erb +4 -2
  48. data/app/views/ama_layout/_breadcrumbs.html.erb +3 -0
  49. data/app/views/ama_layout/_footer.html.erb +68 -1
  50. data/app/views/ama_layout/_main_nav_item.html.erb +2 -3
  51. data/app/views/ama_layout/_notice.html.erb +2 -2
  52. data/app/views/ama_layout/_sidebar.html.erb +6 -9
  53. data/app/views/ama_layout/_siteheader.html.erb +40 -28
  54. data/app/views/ama_layout/_sub_nav.html.erb +1 -1
  55. data/app/views/ama_layout/_sub_nav_item.html.erb +2 -2
  56. data/app/views/ama_layout/_top_nav.html.erb +4 -4
  57. data/lib/ama_layout.rb +2 -0
  58. data/lib/ama_layout/breadcrumb_builder.rb +23 -0
  59. data/lib/ama_layout/decorators/navigation_decorator.rb +10 -2
  60. data/lib/ama_layout/decorators/navigation_item_decorator.rb +8 -2
  61. data/lib/ama_layout/moneris/textbox.txt +11 -15
  62. data/lib/ama_layout/navigation.rb +7 -2
  63. data/lib/ama_layout/navigation.yml +8 -13
  64. data/lib/ama_layout/version.rb +1 -1
  65. data/spec/ama_layout/breadcrumb_builder_spec.rb +32 -0
  66. data/spec/ama_layout/decorators/moneris_decorator_spec.rb +11 -15
  67. data/spec/ama_layout/decorators/navigation_decorator_spec.rb +37 -0
  68. data/spec/ama_layout/decorators/navigation_item_decorator_spec.rb +18 -3
  69. data/spec/ama_layout/navigation_spec.rb +19 -88
  70. data/spec/helpers/ama_layout_breadcrumb_helper_spec.rb +9 -0
  71. data/styles.scss +0 -0
  72. metadata +46 -16
  73. data/app/assets/javascripts/ama_layout/desktop/drop_down.coffee +0 -46
  74. data/app/assets/javascripts/ama_layout/desktop/foundation-namespace.coffee +0 -2
  75. data/app/assets/javascripts/ama_layout/desktop/header_menu.coffee +0 -7
  76. data/app/assets/javascripts/ama_layout/desktop/ready.coffee +0 -3
  77. data/app/assets/javascripts/ama_layout/desktop/sidebar.coffee +0 -4
  78. data/app/assets/javascripts/ama_layout/desktop/sticky-footer.coffee +0 -33
  79. data/app/assets/javascripts/ama_layout/desktop/toggle_menu.coffee +0 -8
  80. data/app/assets/stylesheets/ama_layout/layout_components/show-hide-content-box.scss +0 -11
  81. data/app/assets/stylesheets/ama_layout/old-ie.scss +0 -74
  82. data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons.js +0 -84
@@ -1,72 +1,2 @@
1
- /* ============== Base Page Layout Styles ================ */
2
- html, body{
3
- height: auto !important;
4
- }
5
-
6
- html{
7
- background: image-url('alberta-blur.jpg') no-repeat center center fixed;
8
- -webkit-background-size: cover;
9
- -moz-background-size: cover;
10
- -o-background-size: cover;
11
- background-size: cover;
12
- }
13
-
14
- body{
15
- background: none;
16
- }
17
-
18
- footer{
19
- background: image-url('footer-racetrack-big.png') no-repeat center 0;
20
- height: 200px;
21
- margin-top: $base-margin*12;
22
- }
23
-
24
- /* ============== Base Typography Styles ================ */
25
- h1,
26
- h2,
27
- h3,
28
- h4,
29
- h5,
30
- h6,
31
- p{
32
- font-family: $font-family-sans-serif;
33
- margin-bottom: 0.2em;
34
- margin-bottom: 0.2rem; //this is so headers have equal padding on bottom and top
35
- }
36
-
37
- h4{
38
- margin-top: $base-margin*4;
39
- margin-bottom: $base-margin*2;
40
- }
41
-
42
- label{
43
- font-family: $font-family-sans-serif;
44
- color: $charcoal;
45
- }
46
-
47
- p,
48
- li,
49
- select,
50
- label{
51
- font-size: $base-font-size*0.875;
52
- color: $charcoal;
53
- font-family: $font-family-sans-serif;
54
- }
55
-
56
- a{
57
- text-decoration: underline;
58
- color: $secondary-color;
59
- font-size: $base-font-size*0.875;
60
- }
61
-
62
- hr{
63
- margin: $base-margin 0;
64
- }
65
-
66
- small{
67
- font-size: 80%;
68
- }
69
-
70
- dl dd{
71
- margin-bottom: $base-margin*4;
72
- }
1
+ /* Most base styles are defined in the settings.scss file as Foundation's defaults,
2
+ but if you need to style something that's not defined there, add it here. */
@@ -15,7 +15,7 @@
15
15
 
16
16
  /* ==================== 1. Main Layout Elements ==================== */
17
17
  .main-wrapper{
18
- margin: $base-margin*4 auto;
18
+ margin: $base-margin auto;
19
19
  }
20
20
 
21
21
  .page-wrapper{
@@ -32,7 +32,7 @@
32
32
  .section-title{
33
33
  @extend .page-title;
34
34
  border: 0;
35
- padding: $base-padding*2;
35
+ padding: $base-padding/2;
36
36
  background-color: $stone;
37
37
 
38
38
  h5{
@@ -40,14 +40,8 @@
40
40
  }
41
41
  }
42
42
 
43
- .page-steps{
44
- text-align: right;
45
- }
46
-
47
43
  .content-block{
48
- margin-bottom: $base-margin*4;
49
- background: $white;
50
- border: $base-border;
44
+ margin-bottom: $base-margin;
51
45
  }
52
46
 
53
47
  .content-block-bottom{
@@ -56,6 +50,7 @@
56
50
 
57
51
  .image-callout{
58
52
  border: $base-border;
53
+ margin-bottom: $base-margin;
59
54
  }
60
55
 
61
56
  .fullwidth{
@@ -64,7 +59,7 @@
64
59
 
65
60
  /* ==================== 2. Panels ==================== */
66
61
  .panel-box{
67
- padding: $base-padding*4;
62
+ padding: $base-padding;
68
63
 
69
64
  h4, p{
70
65
  color: $white;
@@ -83,11 +78,11 @@
83
78
  .panel-title{
84
79
  @extend .page-title;
85
80
  border: 0px;
86
- padding: $base-padding*2;
81
+ padding: $base-padding/2;
87
82
 
88
83
  h5{
89
84
  color: $jet;
90
- padding-left: $base-padding*2;
85
+ padding-left: $base-padding/2;
91
86
  }
92
87
  }
93
88
 
@@ -135,23 +130,23 @@
135
130
 
136
131
  /* ==================== 4. Margins ==================== */
137
132
  .m1{
138
- margin: $base-margin*4 !important;
133
+ margin: $base-margin !important;
139
134
  }
140
135
 
141
136
  .mt1{
142
- margin-top: $base-margin*4 !important;
137
+ margin-top: $base-margin !important;
143
138
  }
144
139
 
145
140
  .mr1{
146
- margin-right: $base-margin*4 !important;
141
+ margin-right: $base-margin !important;
147
142
  }
148
143
 
149
144
  .mb1{
150
- margin-bottom: $base-margin*4 !important;
145
+ margin-bottom: $base-margin !important;
151
146
  }
152
147
 
153
148
  .ml1{
154
- margin-left: $base-margin*4 !important;
149
+ margin-left: $base-margin !important;
155
150
  }
156
151
 
157
152
  .m0{
@@ -163,7 +158,7 @@
163
158
  }
164
159
 
165
160
  .mr0{
166
- margin-right: 0px !important;
161
+ margin-right: 0 !important;
167
162
  }
168
163
 
169
164
  .mb0{
@@ -171,40 +166,28 @@
171
166
  }
172
167
 
173
168
  .ml0{
174
- margin-left: 0px !important;
175
- }
176
-
177
- .mt25{
178
- margin-top: 25px;
179
- }
180
-
181
- .bmt{
182
- margin-top: $base-margin;
183
- }
184
-
185
- .bmb{
186
- margin-bottom: $base-margin;
169
+ margin-left: 0 !important;
187
170
  }
188
171
 
189
172
  /* ==================== 5. Padding ==================== */
190
173
  .p1{
191
- padding: $base-padding*4 !important;
174
+ padding: $base-padding !important;
192
175
  }
193
176
 
194
177
  .pt1 {
195
- padding-top: $base-margin*4 !important;
178
+ padding-top: $base-margin !important;
196
179
  }
197
180
 
198
181
  .pr1 {
199
- padding-right: $base-margin*4 !important;
182
+ padding-right: $base-margin !important;
200
183
  }
201
184
 
202
185
  .pb1 {
203
- padding-bottom: $base-margin*4 !important;
186
+ padding-bottom: $base-margin !important;
204
187
  }
205
188
 
206
189
  .pl1 {
207
- padding-left: $base-margin*4 !important;
190
+ padding-left: $base-margin !important;
208
191
  }
209
192
 
210
193
  .p0{
@@ -228,7 +211,7 @@
228
211
  }
229
212
 
230
213
  .bb0{
231
- border-bottom: 0px !important;
214
+ border-bottom: 0 !important;
232
215
  }
233
216
 
234
217
  .b0{
@@ -264,8 +247,8 @@
264
247
  background-color: $brand-green;
265
248
  }
266
249
 
267
- .notice-orange-bg{
268
- background-color: $notice-orange;
250
+ .orange-bg{
251
+ background-color: $orange;
269
252
  }
270
253
 
271
254
  .red-bg{
@@ -292,7 +275,7 @@
292
275
  margin: 0;
293
276
 
294
277
  li{
295
- padding: $base-padding*3 $base-padding*2 $base-padding*2 $base-padding*2;
278
+ padding: $base-padding $base-padding/2 $base-padding/2 $base-padding/2;
296
279
  border-bottom: $base-border;
297
280
 
298
281
  .table-value{
@@ -313,6 +296,60 @@
313
296
  /* ==================== 9. Buttons ==================== */
314
297
  .button{
315
298
  text-decoration: none;
299
+
300
+ &:hover,
301
+ &:active,
302
+ &:focus{
303
+ background: lighten($button-background, 10%);
304
+ }
305
+
306
+ &--green{
307
+ @extend .button;
308
+ $button-background: $brand-green;
309
+ background: $button-background;
310
+ float: right;
311
+ }
312
+
313
+ &--dark-blue{
314
+ @extend .button;
315
+ $button-background: $brand-blue-dark;
316
+ background: $button-background;
317
+ float: right;
318
+ }
319
+
320
+ &--left{
321
+ @extend .button;
322
+ float: left;
323
+ }
324
+
325
+ &--right{
326
+ @extend .button;
327
+ float: right;
328
+ }
329
+
330
+ &--de-emphasized{
331
+ @extend .button;
332
+ float: left;
333
+ $button-background: $slate;
334
+ background: $button-background;
335
+
336
+ &:hover,
337
+ &:active,
338
+ &:focus{
339
+ background: lighten($button-background, 10%);
340
+ }
341
+ }
342
+
343
+ &--expand{
344
+ @extend .button;
345
+ @extend .expanded;
346
+ }
347
+
348
+ &--xlarge{
349
+ @extend .button;
350
+ width: 100%;
351
+ min-height: 161px;
352
+ }
316
353
  }
317
354
 
318
355
  .base-button{
@@ -394,6 +431,12 @@ button[disabled],
394
431
  .white-text{
395
432
  color: $white;
396
433
 
434
+ &--lrg{
435
+ display: block;
436
+ font-size: 2rem;
437
+ font-weight: bold;
438
+ }
439
+
397
440
  >a{
398
441
  color: $white;
399
442
  }
@@ -419,7 +462,7 @@ button[disabled],
419
462
  font-weight: normal;
420
463
  color: $slate;
421
464
  text-transform: uppercase;
422
- padding: $base-padding*2 $base-padding*0 $base-padding*2 $base-padding*2;
465
+ padding: $base-padding/2 $base-padding*0 $base-padding/2 $base-padding/2;
423
466
  }
424
467
 
425
468
  .uppercase{
@@ -430,6 +473,7 @@ button[disabled],
430
473
  font-weight: bold;
431
474
  font-size: $base-font-size*0.875;
432
475
  color: $charcoal;
476
+ padding-bottom: $base-padding;
433
477
  }
434
478
 
435
479
  .brand-blue-dark-text{
@@ -444,15 +488,26 @@ button[disabled],
444
488
  font-size: 80%;
445
489
  }
446
490
 
491
+ .micetype--italic{
492
+ @extend .micetype;
493
+ font-style: italic;
494
+ }
495
+
447
496
  .italic{
448
497
  font-style: italic;
449
498
  }
450
499
 
451
500
  .hint{
452
- font-size: $base-font-size*0.75;
501
+ font-size: $base-font-size*0.85;
453
502
  line-height: $base-font-size;
454
503
  color: darken($smoke, 15%);
455
504
  font-style: italic;
505
+ display: block;
506
+
507
+ &--white{
508
+ @extend .hint;
509
+ color: $white;
510
+ }
456
511
  }
457
512
 
458
513
  .green-text{
@@ -460,7 +515,7 @@ button[disabled],
460
515
  }
461
516
 
462
517
  .orange-text{
463
- color: $notice-orange;
518
+ color: $orange;
464
519
  }
465
520
 
466
521
  .red-text{
@@ -1,3 +1,5 @@
1
+ @import "mixins-grid";
1
2
  @import "variables";
2
3
  @import "base-styles";
3
4
  @import "helper-classes";
5
+ @import "print";
@@ -0,0 +1,847 @@
1
+ @mixin row($width: $global-width){
2
+ //for rows with a fixed max-width
3
+ //to use this: @include row($global-width)
4
+ //for a normal fluid row just use @include grid-row
5
+ @include grid-row;
6
+ width: $width;
7
+ }
8
+
9
+ @mixin nested-row{
10
+ @include grid-row-nest(null);
11
+ }
12
+
13
+ @mixin small-12{
14
+ @include grid-column(12);
15
+ }
16
+
17
+ @mixin small-11{
18
+ @include grid-column(11);
19
+ }
20
+
21
+ @mixin small-10{
22
+ @include grid-column(10);
23
+ }
24
+
25
+ @mixin small-9{
26
+ @include grid-column(9);
27
+ }
28
+
29
+ @mixin small-8{
30
+ @include grid-column(8);
31
+ }
32
+
33
+ @mixin small-7{
34
+ @include grid-column(7);
35
+ }
36
+
37
+ @mixin small-6{
38
+ @include grid-column(6);
39
+ }
40
+
41
+ @mixin small-5{
42
+ @include grid-column(5);
43
+ }
44
+
45
+ @mixin small-4{
46
+ @include grid-column(4);
47
+ }
48
+
49
+ @mixin small-3{
50
+ @include grid-column(3);
51
+ }
52
+
53
+ @mixin small-2{
54
+ @include grid-column(2);
55
+ }
56
+
57
+ @mixin small-1{
58
+ @include grid-column(1);
59
+ }
60
+
61
+ @mixin medium-12{
62
+ @media #{$medium-up}{
63
+ @include grid-column(12);
64
+ }
65
+ }
66
+
67
+ @mixin medium-11{
68
+ @media #{$medium-up}{
69
+ @include grid-column(11);
70
+ }
71
+ }
72
+
73
+ @mixin medium-10{
74
+ @media #{$medium-up}{
75
+ @include grid-column(10);
76
+ }
77
+ }
78
+
79
+ @mixin medium-9{
80
+ @media #{$medium-up}{
81
+ @include grid-column(9);
82
+ }
83
+ }
84
+
85
+ @mixin medium-8{
86
+ @media #{$medium-up}{
87
+ @include grid-column(8);
88
+ }
89
+ }
90
+
91
+ @mixin medium-7{
92
+ @media #{$medium-up}{
93
+ @include grid-column(7);
94
+ }
95
+ }
96
+
97
+ @mixin medium-6{
98
+ @media #{$medium-up}{
99
+ @include grid-column(6);
100
+ }
101
+ }
102
+
103
+ @mixin medium-5{
104
+ @media #{$medium-up}{
105
+ @include grid-column(5);
106
+ }
107
+ }
108
+
109
+ @mixin medium-4{
110
+ @media #{$medium-up}{
111
+ @include grid-column(4);
112
+ }
113
+ }
114
+
115
+ @mixin medium-3{
116
+ @media #{$medium-up}{
117
+ @include grid-column(3);
118
+ }
119
+ }
120
+
121
+ @mixin medium-2{
122
+ @media #{$medium-up}{
123
+ @include grid-column(2);
124
+ }
125
+ }
126
+
127
+ @mixin medium-1{
128
+ @media #{$medium-up}{
129
+ @include grid-column(1);
130
+ }
131
+ }
132
+
133
+ @mixin large-12{
134
+ @include small-12;
135
+ @media #{$large-up}{
136
+ @include grid-column(12);
137
+ }
138
+ }
139
+
140
+ @mixin large-11{
141
+ @include small-12;
142
+ @media #{$large-up}{
143
+ @include grid-column(11);
144
+ }
145
+ }
146
+
147
+ @mixin large-10{
148
+ @include small-12;
149
+ @media #{$large-up}{
150
+ @include grid-column(10);
151
+ }
152
+ }
153
+
154
+ @mixin large-9{
155
+ @include small-12;
156
+ @media #{$large-up}{
157
+ @include grid-column(9);
158
+ }
159
+ }
160
+
161
+ @mixin large-8{
162
+ @include small-12;
163
+ @media #{$large-up}{
164
+ @include grid-column(8);
165
+ }
166
+ }
167
+
168
+ @mixin large-7{
169
+ @include small-12;
170
+ @media #{$large-up}{
171
+ @include grid-column(7);
172
+ }
173
+ }
174
+
175
+ @mixin large-6{
176
+ @include small-12;
177
+ @media #{$large-up}{
178
+ @include grid-column(6);
179
+ }
180
+ }
181
+
182
+ @mixin large-5{
183
+ @include small-12;
184
+ @media #{$large-up}{
185
+ @include grid-column(5);
186
+ }
187
+ }
188
+
189
+ @mixin large-4{
190
+ @include small-12;
191
+ @media #{$large-up}{
192
+ @include grid-column(4);
193
+ }
194
+ }
195
+
196
+ @mixin large-3{
197
+ @include small-12;
198
+ @media #{$large-up}{
199
+ @include grid-column(3);
200
+ }
201
+ }
202
+
203
+ @mixin large-2{
204
+ @include small-12;
205
+ @media #{$large-up}{
206
+ @include grid-column(2);
207
+ }
208
+ }
209
+
210
+ @mixin large-1{
211
+ @include small-12;
212
+ @media #{$large-up}{
213
+ @include grid-column(1);
214
+ }
215
+ }
216
+
217
+ /* Offset */
218
+
219
+ @mixin small-offset-11{
220
+ @media #{$small-up}{
221
+ @include grid-column-offset(11);
222
+ }
223
+ }
224
+
225
+ @mixin small-offset-10{
226
+ @media #{$small-up}{
227
+ @include grid-column-offset(10);
228
+ }
229
+ }
230
+
231
+ @mixin small-offset-9{
232
+ @media #{$small-up}{
233
+ @include grid-column-offset(9);
234
+ }
235
+ }
236
+
237
+ @mixin small-offset-8{
238
+ @media #{$small-up}{
239
+ @include grid-column-offset(8);
240
+ }
241
+ }
242
+
243
+ @mixin small-offset-7{
244
+ @media #{$small-up}{
245
+ @include grid-column-offset(7);
246
+ }
247
+ }
248
+
249
+ @mixin small-offset-6{
250
+ @media #{$small-up}{
251
+ @include grid-column-offset(6);
252
+ }
253
+ }
254
+
255
+ @mixin small-offset-5{
256
+ @media #{$small-up}{
257
+ @include grid-column-offset(5);
258
+ }
259
+ }
260
+
261
+ @mixin small-offset-4{
262
+ @media #{$small-up}{
263
+ @include grid-column-offset(4);
264
+ }
265
+ }
266
+
267
+ @mixin small-offset-3{
268
+ @media #{$small-up}{
269
+ @include grid-column-offset(3);
270
+ }
271
+ }
272
+
273
+ @mixin small-offset-2{
274
+ @media #{$small-up}{
275
+ @include grid-column-offset(2);
276
+ }
277
+ }
278
+
279
+ @mixin small-offset-1{
280
+ @media #{$small-up}{
281
+ @include grid-column-offset(1);
282
+ }
283
+ }
284
+
285
+ @mixin medium-offset-11{
286
+ @media #{$medium-up}{
287
+ @include grid-column-offset(11);
288
+ }
289
+ }
290
+
291
+ @mixin medium-offset-10{
292
+ @media #{$medium-up}{
293
+ @include grid-column-offset(10);
294
+ }
295
+ }
296
+
297
+ @mixin medium-offset-9{
298
+ @media #{$medium-up}{
299
+ @include grid-column-offset(9);
300
+ }
301
+ }
302
+
303
+ @mixin medium-offset-8{
304
+ @media #{$medium-up}{
305
+ @include grid-column-offset(8);
306
+ }
307
+ }
308
+
309
+ @mixin medium-offset-7{
310
+ @media #{$medium-up}{
311
+ @include grid-column-offset(7);
312
+ }
313
+ }
314
+
315
+ @mixin medium-offset-6{
316
+ @media #{$medium-up}{
317
+ @include grid-column-offset(6);
318
+ }
319
+ }
320
+
321
+ @mixin medium-offset-5{
322
+ @media #{$medium-up}{
323
+ @include grid-column-offset(5);
324
+ }
325
+ }
326
+
327
+ @mixin medium-offset-4{
328
+ @media #{$medium-up}{
329
+ @include grid-column-offset(4);
330
+ }
331
+ }
332
+
333
+ @mixin medium-offset-3{
334
+ @media #{$medium-up}{
335
+ @include grid-column-offset(3);
336
+ }
337
+ }
338
+
339
+ @mixin medium-offset-2{
340
+ @media #{$medium-up}{
341
+ @include grid-column-offset(2);
342
+ }
343
+ }
344
+
345
+ @mixin medium-offset-1{
346
+ @media #{$medium-up}{
347
+ @include grid-column-offset(1);
348
+ }
349
+ }
350
+
351
+ @mixin large-offset-11{
352
+ @media #{$large-up}{
353
+ @include grid-column-offset(11);
354
+ }
355
+ }
356
+
357
+ @mixin large-offset-10{
358
+ @media #{$large-up}{
359
+ @include grid-column-offset(10);
360
+ }
361
+ }
362
+
363
+ @mixin large-offset-9{
364
+ @media #{$large-up}{
365
+ @include grid-column-offset(9);
366
+ }
367
+ }
368
+
369
+ @mixin large-offset-8{
370
+ @media #{$large-up}{
371
+ @include grid-column-offset(8);
372
+ }
373
+ }
374
+
375
+ @mixin large-offset-7{
376
+ @media #{$large-up}{
377
+ @include grid-column-offset(7);
378
+ }
379
+ }
380
+
381
+ @mixin large-offset-6{
382
+ @media #{$large-up}{
383
+ @include grid-column-offset(6);
384
+ }
385
+ }
386
+
387
+ @mixin large-offset-5{
388
+ @media #{$large-up}{
389
+ @include grid-column-offset(5);
390
+ }
391
+ }
392
+
393
+ @mixin large-offset-4{
394
+ @media #{$large-up}{
395
+ @include grid-column-offset(4);
396
+ }
397
+ }
398
+
399
+ @mixin large-offset-3{
400
+ @media #{$large-up}{
401
+ @include grid-column-offset(3);
402
+ }
403
+ }
404
+
405
+ @mixin large-offset-2{
406
+ @media #{$large-up}{
407
+ @include grid-column-offset(2);
408
+ }
409
+ }
410
+
411
+ @mixin large-offset-1{
412
+ @media #{$large-up}{
413
+ @include grid-column-offset(1);
414
+ }
415
+ }
416
+
417
+ /* Push */
418
+
419
+ @mixin small-push-11{
420
+ @media #{$small-up}{
421
+ @include grid-column-position(11);
422
+ }
423
+ }
424
+
425
+ @mixin small-push-10{
426
+ @media #{$small-up}{
427
+ @include grid-column-position(10);
428
+ }
429
+ }
430
+
431
+ @mixin small-push-9{
432
+ @media #{$small-up}{
433
+ @include grid-column-position(9);
434
+ }
435
+ }
436
+
437
+ @mixin small-push-8{
438
+ @media #{$small-up}{
439
+ @include grid-column-position(8);
440
+ }
441
+ }
442
+
443
+ @mixin small-push-7{
444
+ @media #{$small-up}{
445
+ @include grid-column-position(7);
446
+ }
447
+ }
448
+
449
+ @mixin small-push-6{
450
+ @media #{$small-up}{
451
+ @include grid-column-position(6);
452
+ }
453
+ }
454
+
455
+ @mixin small-push-5{
456
+ @media #{$small-up}{
457
+ @include grid-column-position(5);
458
+ }
459
+ }
460
+
461
+ @mixin small-push-4{
462
+ @media #{$small-up}{
463
+ @include grid-column-position(4);
464
+ }
465
+ }
466
+
467
+ @mixin small-push-3{
468
+ @media #{$small-up}{
469
+ @include grid-column-position(3);
470
+ }
471
+ }
472
+
473
+
474
+ @mixin small-push-2{
475
+ @media #{$small-up}{
476
+ @include grid-column-position(2);
477
+ }
478
+ }
479
+
480
+ @mixin small-push-1{
481
+ @media #{$small-up}{
482
+ @include grid-column-position(1);
483
+ }
484
+ }
485
+
486
+ @mixin medium-push-11{
487
+ @media #{$medium-up}{
488
+ @include grid-column-position(11);
489
+ }
490
+ }
491
+
492
+ @mixin medium-push-10{
493
+ @media #{$medium-up}{
494
+ @include grid-column-position(10);
495
+ }
496
+ }
497
+
498
+ @mixin medium-push-9{
499
+ @media #{$medium-up}{
500
+ @include grid-column-position(9);
501
+ }
502
+ }
503
+
504
+ @mixin medium-push-8{
505
+ @media #{$medium-up}{
506
+ @include grid-column-position(8);
507
+ }
508
+ }
509
+
510
+ @mixin medium-push-7{
511
+ @media #{$medium-up}{
512
+ @include grid-column-position(7);
513
+ }
514
+ }
515
+
516
+ @mixin medium-push-6{
517
+ @media #{$medium-up}{
518
+ @include grid-column-position(6);
519
+ }
520
+ }
521
+
522
+ @mixin medium-push-5{
523
+ @media #{$medium-up}{
524
+ @include grid-column-position(5);
525
+ }
526
+ }
527
+
528
+ @mixin medium-push-4{
529
+ @media #{$medium-up}{
530
+ @include grid-column-position(4);
531
+ }
532
+ }
533
+
534
+ @mixin medium-push-3{
535
+ @media #{$medium-up}{
536
+ @include grid-column-position(3);
537
+ }
538
+ }
539
+
540
+
541
+ @mixin medium-push-2{
542
+ @media #{$medium-up}{
543
+ @include grid-column-position(2);
544
+ }
545
+ }
546
+
547
+ @mixin medium-push-1{
548
+ @media #{$medium-up}{
549
+ @include grid-column-position(1);
550
+ }
551
+ }
552
+
553
+ @mixin large-push-11{
554
+ @media #{$large-up}{
555
+ @include grid-column-position(11);
556
+ }
557
+ }
558
+
559
+ @mixin large-push-10{
560
+ @media #{$large-up}{
561
+ @include grid-column-position(10);
562
+ }
563
+ }
564
+
565
+ @mixin large-push-9{
566
+ @media #{$large-up}{
567
+ @include grid-column-position(9);
568
+ }
569
+ }
570
+
571
+ @mixin large-push-8{
572
+ @media #{$large-up}{
573
+ @include grid-column-position(8);
574
+ }
575
+ }
576
+
577
+ @mixin large-push-7{
578
+ @media #{$large-up}{
579
+ @include grid-column-position(7);
580
+ }
581
+ }
582
+
583
+ @mixin large-push-6{
584
+ @media #{$large-up}{
585
+ @include grid-column-position(6);
586
+ }
587
+ }
588
+
589
+ @mixin large-push-5{
590
+ @media #{$large-up}{
591
+ @include grid-column-position(5);
592
+ }
593
+ }
594
+
595
+ @mixin large-push-4{
596
+ @media #{$large-up}{
597
+ @include grid-column-position(4);
598
+ }
599
+ }
600
+
601
+ @mixin large-push-3{
602
+ @media #{$large-up}{
603
+ @include grid-column-position(3);
604
+ }
605
+ }
606
+
607
+
608
+ @mixin large-push-2{
609
+ @media #{$large-up}{
610
+ @include grid-column-position(2);
611
+ }
612
+ }
613
+
614
+ @mixin large-push-1{
615
+ @media #{$large-up}{
616
+ @include grid-column-position(1);
617
+ }
618
+ }
619
+
620
+ /* Pull */
621
+
622
+ @mixin small-pull-11{
623
+ @media #{$small-up}{
624
+ @include grid-column-position(-11);
625
+ }
626
+ }
627
+
628
+ @mixin small-pull-10{
629
+ @media #{$small-up}{
630
+ @include grid-column-position(-10);
631
+ }
632
+ }
633
+
634
+ @mixin small-pull-9{
635
+ @media #{$small-up}{
636
+ @include grid-column-position(-9);
637
+ }
638
+ }
639
+
640
+ @mixin small-pull-8{
641
+ @media #{$small-up}{
642
+ @include grid-column-position(-8);
643
+ }
644
+ }
645
+
646
+ @mixin small-pull-7{
647
+ @media #{$small-up}{
648
+ @include grid-column-position(-7);
649
+ }
650
+ }
651
+
652
+ @mixin small-pull-6{
653
+ @media #{$small-up}{
654
+ @include grid-column-position(-6);
655
+ }
656
+ }
657
+
658
+ @mixin small-pull-5{
659
+ @media #{$small-up}{
660
+ @include grid-column-position(-5);
661
+ }
662
+ }
663
+
664
+ @mixin small-pull-4{
665
+ @media #{$small-up}{
666
+ @include grid-column-position(-4);
667
+ }
668
+ }
669
+
670
+ @mixin small-pull-3{
671
+ @media #{$small-up}{
672
+ @include grid-column-position(-3);
673
+ }
674
+ }
675
+
676
+
677
+ @mixin small-pull-2{
678
+ @media #{$small-up}{
679
+ @include grid-column-position(-2);
680
+ }
681
+ }
682
+
683
+ @mixin small-pull-1{
684
+ @media #{$small-up}{
685
+ @include grid-column-position(-1);
686
+ }
687
+ }
688
+
689
+ @mixin medium-pull-11{
690
+ @media #{$medium-up}{
691
+ @include grid-column-position(-11);
692
+ }
693
+ }
694
+
695
+ @mixin medium-pull-10{
696
+ @media #{$medium-up}{
697
+ @include grid-column-position(-10);
698
+ }
699
+ }
700
+
701
+ @mixin medium-pull-9{
702
+ @media #{$medium-up}{
703
+ @include grid-column-position(-9);
704
+ }
705
+ }
706
+
707
+ @mixin medium-pull-8{
708
+ @media #{$medium-up}{
709
+ @include grid-column-position(-8);
710
+ }
711
+ }
712
+
713
+ @mixin medium-pull-7{
714
+ @media #{$medium-up}{
715
+ @include grid-column-position(-7);
716
+ }
717
+ }
718
+
719
+ @mixin medium-pull-6{
720
+ @media #{$medium-up}{
721
+ @include grid-column-position(-6);
722
+ }
723
+ }
724
+
725
+ @mixin medium-pull-5{
726
+ @media #{$medium-up}{
727
+ @include grid-column-position(-5);
728
+ }
729
+ }
730
+
731
+ @mixin medium-pull-4{
732
+ @media #{$medium-up}{
733
+ @include grid-column-position(-4);
734
+ }
735
+ }
736
+
737
+ @mixin medium-pull-3{
738
+ @media #{$medium-up}{
739
+ @include grid-column-position(-3);
740
+ }
741
+ }
742
+
743
+
744
+ @mixin medium-pull-2{
745
+ @media #{$medium-up}{
746
+ @include grid-column-position(-2);
747
+ }
748
+ }
749
+
750
+ @mixin medium-pull-1{
751
+ @media #{$medium-up}{
752
+ @include grid-column-position(-1);
753
+ }
754
+ }
755
+
756
+ @mixin large-pull-11{
757
+ @media #{$large-up}{
758
+ @include grid-column-position(-11);
759
+ }
760
+ }
761
+
762
+ @mixin large-pull-10{
763
+ @media #{$large-up}{
764
+ @include grid-column-position(-10);
765
+ }
766
+ }
767
+
768
+ @mixin large-pull-9{
769
+ @media #{$large-up}{
770
+ @include grid-column-position(-9);
771
+ }
772
+ }
773
+
774
+ @mixin large-pull-8{
775
+ @media #{$large-up}{
776
+ @include grid-column-position(-8);
777
+ }
778
+ }
779
+
780
+ @mixin large-pull-7{
781
+ @media #{$large-up}{
782
+ @include grid-column-position(-7);
783
+ }
784
+ }
785
+
786
+ @mixin large-pull-6{
787
+ @media #{$large-up}{
788
+ @include grid-column-position(-6);
789
+ }
790
+ }
791
+
792
+ @mixin large-pull-5{
793
+ @media #{$large-up}{
794
+ @include grid-column-position(-5);
795
+ }
796
+ }
797
+
798
+ @mixin large-pull-4{
799
+ @media #{$large-up}{
800
+ @include grid-column-position(-4);
801
+ }
802
+ }
803
+
804
+ @mixin large-pull-3{
805
+ @media #{$large-up}{
806
+ @include grid-column-position(-3);
807
+ }
808
+ }
809
+
810
+
811
+ @mixin large-pull-2{
812
+ @media #{$large-up}{
813
+ @include grid-column-position(-2);
814
+ }
815
+ }
816
+
817
+ @mixin large-pull-1{
818
+ @media #{$large-up}{
819
+ @include grid-column-position(-1);
820
+ }
821
+ }
822
+
823
+ /* Unposition - Resets postion definition - this is one we can
824
+ discuss if we want to make a placeholder for or not because it's not
825
+ necessary but might be nice for semantics*/
826
+
827
+ @mixin unposition{
828
+ @include grid-column-unposition;
829
+ }
830
+
831
+ /* Centre */
832
+
833
+ @mixin small-centered{
834
+ @include grid-column-position(center);
835
+ }
836
+
837
+ @mixin medium-centered{
838
+ @media #{$medium-up}{
839
+ @include grid-column-position(center);
840
+ }
841
+ }
842
+
843
+ @mixin large-centered{
844
+ @media #{$large-up}{
845
+ @include grid-column-position(center);
846
+ }
847
+ }