1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | $prototype-transformation-breakpoints: $global-prototype-breakpoints !default;
|
12 |
|
13 |
|
14 |
|
15 | $prototype-text-transformation: (
|
16 | lowercase,
|
17 | uppercase,
|
18 | capitalize
|
19 | ) !default;
|
20 |
|
21 |
|
22 |
|
23 | @mixin text-transform($transformation) {
|
24 | text-transform: $transformation !important;
|
25 | }
|
26 |
|
27 | @mixin foundation-prototype-text-transformation {
|
28 | @each $transformation in $prototype-text-transformation {
|
29 | .text-#{$transformation} {
|
30 | @include text-transform($transformation);
|
31 | }
|
32 | }
|
33 |
|
34 | @if ($prototype-transformation-breakpoints) {
|
35 |
|
36 | @each $size in $breakpoint-classes {
|
37 | @include breakpoint($size) {
|
38 | @each $transformation in $prototype-text-transformation {
|
39 | @if $size != $-zf-zero-breakpoint {
|
40 | .#{$size}-text-#{$transformation} {
|
41 | @include text-transform($transformation);
|
42 | }
|
43 | }
|
44 | }
|
45 | }
|
46 | }
|
47 | }
|
48 | }
|