foundation-rails 5.2.1.0 → 5.2.2.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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/bower.json +2 -2
  3. data/lib/foundation/rails/version.rb +1 -1
  4. data/test/dummy/Gemfile +1 -1
  5. data/vendor/assets/javascripts/foundation.js +2 -1
  6. data/vendor/assets/javascripts/foundation/foundation.abide.js +60 -19
  7. data/vendor/assets/javascripts/foundation/foundation.accordion.js +9 -5
  8. data/vendor/assets/javascripts/foundation/foundation.alert.js +13 -7
  9. data/vendor/assets/javascripts/foundation/foundation.clearing.js +19 -9
  10. data/vendor/assets/javascripts/foundation/foundation.dropdown.js +8 -3
  11. data/vendor/assets/javascripts/foundation/foundation.equalizer.js +7 -3
  12. data/vendor/assets/javascripts/foundation/foundation.interchange.js +5 -9
  13. data/vendor/assets/javascripts/foundation/foundation.joyride.js +10 -5
  14. data/vendor/assets/javascripts/foundation/foundation.js +29 -23
  15. data/vendor/assets/javascripts/foundation/foundation.magellan.js +15 -12
  16. data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +20 -27
  17. data/vendor/assets/javascripts/foundation/foundation.orbit.js +129 -41
  18. data/vendor/assets/javascripts/foundation/foundation.reveal.js +1 -1
  19. data/vendor/assets/javascripts/foundation/foundation.slider.js +27 -14
  20. data/vendor/assets/javascripts/foundation/foundation.tab.js +19 -8
  21. data/vendor/assets/javascripts/foundation/foundation.tooltip.js +9 -4
  22. data/vendor/assets/javascripts/foundation/foundation.topbar.js +5 -3
  23. data/vendor/assets/stylesheets/foundation/_settings.scss +69 -30
  24. data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +6 -1
  25. data/vendor/assets/stylesheets/foundation/components/_block-grid.scss +19 -8
  26. data/vendor/assets/stylesheets/foundation/components/_breadcrumbs.scss +3 -3
  27. data/vendor/assets/stylesheets/foundation/components/_buttons.scss +4 -5
  28. data/vendor/assets/stylesheets/foundation/components/_clearing.scss +2 -4
  29. data/vendor/assets/stylesheets/foundation/components/_forms.scss +30 -29
  30. data/vendor/assets/stylesheets/foundation/components/_global.scss +37 -76
  31. data/vendor/assets/stylesheets/foundation/components/_grid.scss +25 -26
  32. data/vendor/assets/stylesheets/foundation/components/_joyride.scss +0 -4
  33. data/vendor/assets/stylesheets/foundation/components/_magellan.scss +2 -2
  34. data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +19 -36
  35. data/vendor/assets/stylesheets/foundation/components/_orbit.scss +126 -152
  36. data/vendor/assets/stylesheets/foundation/components/_range-slider.scss +1 -1
  37. data/vendor/assets/stylesheets/foundation/components/_reveal.scss +31 -14
  38. data/vendor/assets/stylesheets/foundation/components/_switch.scss +4 -30
  39. data/vendor/assets/stylesheets/foundation/components/_thumbs.scss +0 -6
  40. data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +39 -45
  41. data/vendor/assets/stylesheets/foundation/components/_type.scss +37 -125
  42. data/vendor/assets/stylesheets/foundation/components/_visibility.scss +15 -6
  43. metadata +2 -2
@@ -55,8 +55,8 @@ $range-slider-handle-cursor: pointer !default;
55
55
  height: $range-slider-bar-height;
56
56
  border: $range-slider-bar-border-width $range-slider-bar-border-style $range-slider-bar-border-color;
57
57
  margin: rem-calc(20 0);
58
- touch-action: none;
59
58
  -ms-touch-action: none;
59
+ touch-action: none;
60
60
  @if $vertical == true {
61
61
  display: inline-block;
62
62
  width: $range-slider-vertical-bar-width;
@@ -29,6 +29,10 @@ $reveal-close-side: rem-calc(11) !default;
29
29
  $reveal-close-color: #aaa !default;
30
30
  $reveal-close-weight: bold !default;
31
31
 
32
+ // We use this to set the default radius used throughout the core.
33
+ $reveal-radius: $global-radius !default;
34
+ $reveal-round: $global-rounded !default;
35
+
32
36
  // We use these to control the modal border
33
37
  $reveal-border-style: solid !default;
34
38
  $reveal-border-width: 1px !default;
@@ -71,7 +75,6 @@ $close-reveal-modal-class: "close-reveal-modal" !default;
71
75
  top:0;
72
76
  #{$default-float}: 0;
73
77
  @media #{$small-only} {
74
- height: 100vh;
75
78
  min-height:100vh;
76
79
  }
77
80
  @media #{$medium-up} {
@@ -104,30 +107,33 @@ $close-reveal-modal-class: "close-reveal-modal" !default;
104
107
  // $border-width - Width of border (i.e. 1px). Default: $reveal-border-width.
105
108
  // $border-color - Color of border. Default: $reveal-border-color.
106
109
  // $box-shadow - Choose whether or not to include the default box-shadow. Default: true, Options: false
110
+ // $radius - If true, set to modal radius which is $global-radius || explicitly set radius amount in px (ex. $radius:10px). Default: false
107
111
  // $top-offset - Default: $reveal-position-top || 50px
108
112
  @mixin reveal-modal-style(
109
- $bg:$reveal-modal-bg,
110
- $padding:$reveal-modal-padding,
111
- $border:true,
113
+ $bg:false,
114
+ $padding:false,
115
+ $border:false,
112
116
  $border-style:$reveal-border-style,
113
117
  $border-width:$reveal-border-width,
114
118
  $border-color:$reveal-border-color,
115
- $box-shadow:true,
116
- $top-offset:$reveal-position-top) {
119
+ $box-shadow:false,
120
+ $radius:false,
121
+ $top-offset:false) {
117
122
 
118
123
  @if $bg { background-color: $bg; }
119
- @if $padding { padding: $padding; }
124
+ @if $padding != false { padding: $padding; }
120
125
 
121
126
  @if $border { border: $border-style $border-width $border-color; }
122
127
 
123
128
  // We can choose whether or not to include the default box-shadow.
124
129
  @if $box-shadow {
125
- @if $experimental {
126
- -webkit-box-shadow: $reveal-box-shadow;
127
- }
128
130
  box-shadow: $reveal-box-shadow;
129
131
  }
130
132
 
133
+ // We can control how much radius is used on the modal
134
+ @if $radius == true { @include radius($reveal-radius); }
135
+ @else if $radius { @include radius($radius); }
136
+
131
137
  @if $top-offset {
132
138
  @media #{$medium-up} {
133
139
  top: $top-offset;
@@ -157,20 +163,31 @@ $close-reveal-modal-class: "close-reveal-modal" !default;
157
163
 
158
164
  dialog, .#{$reveal-modal-class} {
159
165
  @include reveal-modal-base;
160
- @include reveal-modal-style;
166
+ @include reveal-modal-style(
167
+ $bg:$reveal-modal-bg,
168
+ $padding:$reveal-modal-padding,
169
+ $border:true,
170
+ $box-shadow:true,
171
+ $radius:false,
172
+ $top-offset:$reveal-position-top);
161
173
 
162
174
  .#{$close-reveal-modal-class} { @include reveal-close; }
163
175
  }
164
176
 
165
177
  dialog[open] {
166
- display:block;
167
- visibility: visible;
178
+ display:block;
179
+ visibility: visible;
168
180
  }
169
181
 
170
182
  @media #{$medium-up} {
171
183
 
172
184
  dialog, .#{$reveal-modal-class} {
173
- @include reveal-modal-style(false, $reveal-modal-padding * 1.5, false, $box-shadow: false, $top-offset: $reveal-position-top);
185
+ @include reveal-modal-style($padding:$reveal-modal-padding * 1.5);
186
+
187
+ &.radius { @include reveal-modal-style($radius:true); }
188
+ &.round { @include reveal-modal-style($radius:$reveal-round); }
189
+
190
+ &.collapse { @include reveal-modal-style($padding:0); }
174
191
 
175
192
  &.tiny { @include reveal-modal-base(false, 30%); }
176
193
  &.small { @include reveal-modal-base(false, 40%); }
@@ -143,16 +143,6 @@ $switch-label-outline: 1px dotted #888 !default;
143
143
  // Hiding custom form spans since we auto-create them
144
144
  span.custom { display: none !important; }
145
145
 
146
- // FIXME We should be able to remove this going forward.
147
- // Bugfix for older Webkit, including mobile Webkit. Adapted from:
148
- // http://css-tricks.com/webkit-sibling-bug/
149
- // @media only screen and (-webkit-min-device-pixel-ratio:0) and (max-device-width:480px) {
150
- // @if $experimental { -webkit-animation: webkitSiblingBugfix infinite 1s; }
151
- // }
152
- // @media only screen and (-webkit-min-device-pixel-ratio:1.5) {
153
- // @if $experimental { -webkit-animation: none 0; }
154
- // }
155
-
156
146
  form.custom & .hidden-field {
157
147
  margin-left: auto;
158
148
  position: absolute;
@@ -214,33 +204,19 @@ $switch-label-outline: 1px dotted #888 !default;
214
204
  span:last-child {
215
205
  border-color: scale-color($paddle-bg, $lightness: -30%);
216
206
  background: $paddle-bg;
217
- @if $experimental {
218
- background: -moz-linear-gradient(top, $paddle-bg 0%, scale-color($paddle-bg, $lightness: -5%) 100%);
219
- background: -webkit-linear-gradient(top, $paddle-bg 0%, scale-color($paddle-bg, $lightness: -5%) 100%);
220
- }
221
207
  background: linear-gradient(to bottom, $paddle-bg 0%, scale-color($paddle-bg, $lightness: -5%) 100%);
222
208
 
223
209
  // Building the alternating colored sides of the switch
224
- @if $experimental {
225
- -webkit-box-shadow: 2px 0 10px 0 rgba(0,0,0,0.07),
226
- 1000px 0 0 1000px $positive-color,
227
- -2px 0 10px 0 rgba(0,0,0,0.07),
228
- -1000px 0 0 1000px $negative-color;
229
- }
230
- box-shadow: 2px 0 10px 0 rgba(0,0,0,0.07),
231
- 1000px 0 0 980px $positive-color,
232
- -2px 0 10px 0 rgba(0,0,0,0.07),
233
- -1000px 0 0 1000px $negative-color;
210
+ box-shadow: 2px 0 10px 0 rgba(0,0,0,0.07),
211
+ 1000px 0 0 980px $positive-color,
212
+ -2px 0 10px 0 rgba(0,0,0,0.07),
213
+ -1000px 0 0 1000px $negative-color;
234
214
  }
235
215
 
236
216
  &:hover,
237
217
  &:focus {
238
218
  span:last-child {
239
219
  background: $paddle-bg;
240
- @if $experimental {
241
- background: -moz-linear-gradient(top, $paddle-bg 0%, scale-color($paddle-bg, $lightness: -10%) 100%);
242
- background: -webkit-linear-gradient(top, $paddle-bg 0%, scale-color($paddle-bg, $lightness: -10%) 100%);
243
- }
244
220
  background: linear-gradient(to bottom, $paddle-bg 0%, scale-color($paddle-bg, $lightness: -10%) 100%);
245
221
  }
246
222
  }
@@ -314,7 +290,5 @@ $switch-label-outline: 1px dotted #888 !default;
314
290
  }
315
291
 
316
292
  }
317
-
318
- @if $experimental { @-webkit-keyframes webkitSiblingBugfix { from { position: relative; } to { position: relative; } } }
319
293
  }
320
294
  }
@@ -45,16 +45,10 @@ $thumb-transition-speed: 200ms !default;
45
45
  display: inline-block;
46
46
  border: $thumb-border-style $border-width $thumb-border-color;
47
47
  max-width: 100%;
48
- @if $experimental {
49
- -webkit-box-shadow: $box-shadow;
50
- }
51
48
  box-shadow: $box-shadow;
52
49
 
53
50
  &:hover,
54
51
  &:focus {
55
- @if $experimental {
56
- -webkit-box-shadow: $box-shadow-hover;
57
- }
58
52
  box-shadow: $box-shadow-hover;
59
53
  }
60
54
  }
@@ -4,6 +4,7 @@
4
4
 
5
5
  @import "global";
6
6
  @import "grid";
7
+ @import "buttons";
7
8
 
8
9
  //
9
10
  // Top Bar Variables
@@ -47,7 +48,7 @@ $topbar-link-font-family: $body-font-family !default;
47
48
  $topbar-link-text-transform: none !default;
48
49
  $topbar-link-padding: $topbar-height / 3 !default;
49
50
 
50
- $topbar-button-font-size: 0.75rem;
51
+ $topbar-button-font-size: 0.75rem !default;
51
52
  $topbar-button-top: 7px !default;
52
53
 
53
54
  $topbar-dropdown-label-color: #777 !default;
@@ -160,7 +161,7 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
160
161
 
161
162
  input { height: auto; padding-top: .35rem; padding-bottom: .35rem; font-size: $topbar-button-font-size; }
162
163
 
163
- .button {
164
+ .button, button {
164
165
  padding-top: .45rem;
165
166
  padding-bottom: .35rem;
166
167
  margin-bottom: 0;
@@ -188,7 +189,7 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
188
189
  a {
189
190
  font-weight: $topbar-title-weight;
190
191
  color: $topbar-link-color;
191
- width: 50%;
192
+ width: 75%;
192
193
  display: block;
193
194
  padding: 0 $topbar-link-padding;
194
195
  }
@@ -240,14 +241,9 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
240
241
  top:0;
241
242
  height: 0;
242
243
  // Shh, don't tell, but box-shadows create the menu icon :)
243
- @if $experimental {
244
- -webkit-box-shadow: 1px 10px 1px 1px $topbar-menu-icon-color,
245
- 1px 16px 1px 1px $topbar-menu-icon-color,
246
- 1px 22px 1px 1px $topbar-menu-icon-color;
247
- }
248
- box-shadow: 0 10px 0 1px $topbar-menu-icon-color,
249
- 0 16px 0 1px $topbar-menu-icon-color,
250
- 0 22px 0 1px $topbar-menu-icon-color;
244
+ box-shadow: 0 10px 0 1px $topbar-menu-icon-color,
245
+ 0 16px 0 1px $topbar-menu-icon-color,
246
+ 0 22px 0 1px $topbar-menu-icon-color;
251
247
  }
252
248
  }
253
249
  }
@@ -264,14 +260,9 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
264
260
  a { color: $topbar-menu-link-color-toggled;
265
261
  &::after {
266
262
  // Shh, don't tell, but box-shadows create the menu icon :)
267
- @if $experimental {
268
- -webkit-box-shadow: 1px 10px 1px 1px $topbar-menu-icon-color-toggled,
269
- 1px 16px 1px 1px $topbar-menu-icon-color-toggled,
270
- 1px 22px 1px 1px $topbar-menu-icon-color-toggled;
271
- }
272
- box-shadow: 0 10px 0 1px $topbar-menu-icon-color-toggled,
273
- 0 16px 0 1px $topbar-menu-icon-color-toggled,
274
- 0 22px 0 1px $topbar-menu-icon-color-toggled;
263
+ box-shadow: 0 10px 0 1px $topbar-menu-icon-color-toggled,
264
+ 0 16px 0 1px $topbar-menu-icon-color-toggled,
265
+ 0 22px 0 1px $topbar-menu-icon-color-toggled;
275
266
  }
276
267
  }
277
268
  }
@@ -318,34 +309,27 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
318
309
  text-transform: $topbar-link-text-transform;
319
310
  background: $topbar-dropdown-bg;
320
311
 
312
+
321
313
  &.button {
322
- background: $primary-color;
323
314
  font-size: $topbar-link-font-size;
324
- padding-#{$opposite-direction}: $topbar-link-padding;
325
- padding-#{$default-float}: $topbar-link-padding;
326
- &:hover {
327
- background: scale-color($primary-color, $lightness: -27%);
328
- }
329
- }
330
- &.button.secondary {
331
- background: $secondary-color;
332
- &:hover {
333
- background: scale-color($secondary-color, $lightness: -11%);
334
- }
335
- }
336
- &.button.success {
337
- background: $success-color;
338
- &:hover {
339
- background: scale-color($success-color, $lightness: -21%);
340
- }
341
- }
342
- &.button.alert {
343
- background: $alert-color;
344
- &:hover {
345
- background: scale-color($alert-color, $lightness: -18%);
346
- }
315
+ padding-#{$opposite-direction}: $topbar-link-padding;
316
+ padding-#{$default-float}: $topbar-link-padding;
317
+ @include button-style($bg:$primary-color);
347
318
  }
319
+ &.button.secondary { @include button-style($bg:$secondary-color); }
320
+ &.button.success { @include button-style($bg:$success-color); }
321
+ &.button.alert { @include button-style($bg:$alert-color); }
322
+ }
348
323
 
324
+ > button {
325
+ font-size: $topbar-link-font-size;
326
+ padding-#{$opposite-direction}: $topbar-link-padding;
327
+ padding-#{$default-float}: $topbar-link-padding;
328
+ @include button-style($bg:$primary-color);
329
+
330
+ &.secondary { @include button-style($bg:$secondary-color); }
331
+ &.success { @include button-style($bg:$success-color); }
332
+ &.alert { @include button-style($bg:$alert-color); }
349
333
  }
350
334
 
351
335
  // Apply the hover link color when it has that class
@@ -425,7 +409,7 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
425
409
  }
426
410
  }
427
411
  &.has-form { padding: 8px $topbar-link-padding; }
428
- .button { top: auto; }
412
+ .button, button { top: auto; }
429
413
  }
430
414
 
431
415
  label {
@@ -455,7 +439,8 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
455
439
  .name h1 a { width: auto; }
456
440
 
457
441
  input,
458
- .button {
442
+ .button,
443
+ button {
459
444
  font-size: rem-calc(14);
460
445
  position: relative;
461
446
  top: $topbar-button-top;
@@ -568,6 +553,15 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
568
553
  background: $topbar-dropdown-link-bg;
569
554
  }
570
555
 
556
+ &:not(.has-form) a:not(.button) {
557
+ color: $topbar-dropdown-link-color;
558
+ background: $topbar-dropdown-link-bg;
559
+ }
560
+ &:not(.has-form):hover > a:not(.button) {
561
+ color: $topbar-link-color-hover;
562
+ background: $topbar-link-bg-hover;
563
+ }
564
+
571
565
  label {
572
566
  white-space: nowrap;
573
567
  background: $topbar-dropdown-label-bg;
@@ -106,63 +106,49 @@ $microformat-abbr-padding: rem-calc(0 1) !default;
106
106
  $microformat-abbr-font-weight: bold !default;
107
107
  $microformat-abbr-font-decoration: none !default;
108
108
 
109
- //
110
- // Responsive Text alignment
111
- //
112
-
113
- // Text Breakpoints
114
- $text-breakpoint-sizes:
109
+ // Text alignment class names
110
+ $align-class-names:
111
+ small-only,
115
112
  small,
113
+ medium-only,
116
114
  medium,
115
+ large-only,
117
116
  large,
117
+ xlarge-only,
118
118
  xlarge,
119
- xxlarge
120
- ;
121
- $text-breakpoint-only-queries:
122
- unquote($small-only),
123
- unquote($medium-only),
124
- unquote($large-only),
125
- unquote($xlarge-only),
126
- unquote($xxlarge-only)
127
- ;
128
- $text-breakpoint-up-queries:
129
- unquote($small-up),
130
- unquote($medium-up),
131
- unquote($large-up),
132
- unquote($xlarge-up),
133
- unquote($xxlarge-up)
134
- ;
135
-
136
- @mixin text-alignment-loop {
137
- $text-alignments: left, right, center, justify;
138
-
139
- // Global Text Styles
140
- @each $alignment in $text-alignments {
141
- .text-#{$alignment} {
142
- text-align: #{$alignment} !important;
143
- }
144
- }
145
-
146
- @each $current-text-breakpoint in $text-breakpoint-sizes {
147
- @media #{nth($text-breakpoint-only-queries, index($text-breakpoint-sizes, $current-text-breakpoint))} {
148
- @each $alignment in $text-alignments {
149
- .#{$current-text-breakpoint}-only-text-#{$alignment} {
150
- text-align: #{$alignment} !important;
151
- }
152
- }
153
- }
154
- @media #{nth($text-breakpoint-up-queries, index($text-breakpoint-sizes, $current-text-breakpoint))} {
155
- @each $alignment in $text-alignments {
156
- .#{$current-text-breakpoint}-text-#{$alignment} {
157
- text-align: #{$alignment} !important;
158
- }
159
- }
119
+ xxlarge-only,
120
+ xxlarge;
121
+
122
+ // Text alignment breakpoints
123
+ $align-class-breakpoints:
124
+ $small-only,
125
+ $small-up,
126
+ $medium-only,
127
+ $medium-up,
128
+ $large-only,
129
+ $large-up,
130
+ $xlarge-only,
131
+ $xlarge-up,
132
+ $xxlarge-only,
133
+ $xxlarge-up;
134
+
135
+ // Generates text align and justify classes
136
+ @mixin align-classes{
137
+ .text-left { text-align: left !important; }
138
+ .text-right { text-align: right !important; }
139
+ .text-center { text-align: center !important; }
140
+ .text-justify { text-align: justify !important; }
141
+
142
+ @for $i from 1 through length($align-class-names) {
143
+ @media #{(nth($align-class-breakpoints, $i))} {
144
+ .#{(nth($align-class-names, $i))}-text-left { text-align: left !important; }
145
+ .#{(nth($align-class-names, $i))}-text-right { text-align: right !important; }
146
+ .#{(nth($align-class-names, $i))}-text-center { text-align: center !important; }
147
+ .#{(nth($align-class-names, $i))}-text-justify { text-align: justify !important; }
160
148
  }
161
149
  }
162
150
  }
163
151
 
164
- @include text-alignment-loop;
165
-
166
152
  //
167
153
  // Typography Placeholders
168
154
  //
@@ -182,82 +168,8 @@ $text-breakpoint-up-queries:
182
168
  }
183
169
  @include exports("type") {
184
170
  @if $include-html-type-classes {
185
-
186
- // Global Text Styles
187
- .text-left { text-align: left !important; }
188
- .text-right { text-align: right !important; }
189
- .text-center { text-align: center !important; }
190
- .text-justify { text-align: justify !important; }
191
-
192
- @media #{$small-only} {
193
- .small-only-text-left { text-align: left !important; }
194
- .small-only-text-right { text-align: right !important; }
195
- .small-only-text-center { text-align: center !important; }
196
- .small-only-text-justify { text-align: justify !important; }
197
- }
198
-
199
- @media #{$small-up} {
200
- .small-text-left { text-align: left !important; }
201
- .small-text-right { text-align: right !important; }
202
- .small-text-center { text-align: center !important; }
203
- .small-text-justify { text-align: justify !important; }
204
- }
205
-
206
- @media #{$medium-only} {
207
- .medium-only-text-left { text-align: left !important; }
208
- .medium-only-text-right { text-align: right !important; }
209
- .medium-only-text-center { text-align: center !important; }
210
- .medium-only-text-justify { text-align: justify !important; }
211
- }
212
-
213
- @media #{$medium-up} {
214
- .medium-text-left { text-align: left !important; }
215
- .medium-text-right { text-align: right !important; }
216
- .medium-text-center { text-align: center !important; }
217
- .medium-text-justify { text-align: justify !important; }
218
- }
219
-
220
- @media #{$large-only} {
221
- .large-only-text-left { text-align: left !important; }
222
- .large-only-text-right { text-align: right !important; }
223
- .large-only-text-center { text-align: center !important; }
224
- .large-only-text-justify { text-align: justify !important; }
225
- }
226
-
227
- @media #{$large-up} {
228
- .large-text-left { text-align: left !important; }
229
- .large-text-right { text-align: right !important; }
230
- .large-text-center { text-align: center !important; }
231
- .large-text-justify { text-align: justify !important; }
232
- }
233
-
234
- @media #{$xlarge-only} {
235
- .xlarge-only-text-left { text-align: left !important; }
236
- .xlarge-only-text-right { text-align: right !important; }
237
- .xlarge-only-text-center { text-align: center !important; }
238
- .xlarge-only-text-justify { text-align: justify !important; }
239
- }
240
-
241
- @media #{$xlarge-up} {
242
- .xlarge-text-left { text-align: left !important; }
243
- .xlarge-text-right { text-align: right !important; }
244
- .xlarge-text-center { text-align: center !important; }
245
- .xlarge-text-justify { text-align: justify !important; }
246
- }
247
-
248
- @media #{$xxlarge-only} {
249
- .xxlarge-only-text-left { text-align: left !important; }
250
- .xxlarge-only-text-right { text-align: right !important; }
251
- .xxlarge-only-text-center { text-align: center !important; }
252
- .xxlarge-only-text-justify { text-align: justify !important; }
253
- }
254
-
255
- @media #{$xxlarge-up} {
256
- .xxlarge-text-left { text-align: left !important; }
257
- .xxlarge-text-right { text-align: right !important; }
258
- .xxlarge-text-center { text-align: center !important; }
259
- .xxlarge-text-justify { text-align: justify !important; }
260
- }
171
+ // Responsive Text alignment
172
+ @include align-classes;
261
173
 
262
174
  /* Typography resets */
263
175
  div,