neat 1.9.1 → 2.0.0.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +4 -4
  3. data/.hound.yml +5 -0
  4. data/.npmignore +0 -4
  5. data/.scss-lint.yml +3 -1
  6. data/CHANGELOG.md +45 -23
  7. data/CONTRIBUTING.md +12 -0
  8. data/Gemfile +1 -2
  9. data/Gulpfile.js +5 -6
  10. data/LICENSE.md +1 -1
  11. data/README.md +26 -163
  12. data/RELEASING.md +27 -0
  13. data/Rakefile +3 -13
  14. data/bower.json +8 -9
  15. data/circle.yml +13 -0
  16. data/contrib/base/_grids.scss +4 -0
  17. data/contrib/base/_variables.scss +8 -0
  18. data/contrib/index.html +68 -223
  19. data/contrib/patterns/_box.scss +11 -0
  20. data/contrib/patterns/_global.scss +5 -0
  21. data/contrib/patterns/_grid-media.scss +52 -0
  22. data/contrib/patterns/_grid-nested.scss +7 -0
  23. data/contrib/patterns/_grid-push.scss +7 -0
  24. data/contrib/patterns/_grid-shift.scss +7 -0
  25. data/contrib/patterns/_grid.scss +31 -0
  26. data/contrib/styles.scss +12 -293
  27. data/core/_neat.scss +20 -0
  28. data/core/neat/functions/_neat-column-default.scss +23 -0
  29. data/core/neat/functions/_neat-column-ratio.scss +24 -0
  30. data/core/neat/functions/_neat-column-width.scss +25 -0
  31. data/core/neat/functions/_neat-parse-columns.scss +22 -0
  32. data/core/neat/functions/_neat-parse-media.scss +20 -0
  33. data/core/neat/functions/_retrieve-neat-settings.scss +18 -0
  34. data/core/neat/mixins/_grid-column.scss +29 -0
  35. data/{app/assets/stylesheets/mixins/_clearfix.scss → core/neat/mixins/_grid-container.scss} +5 -5
  36. data/core/neat/mixins/_grid-media.scss +50 -0
  37. data/core/neat/mixins/_grid-push.scss +32 -0
  38. data/core/neat/mixins/_grid-shift.scss +31 -0
  39. data/core/neat/settings/_settings.scss +41 -0
  40. data/index.js +1 -1
  41. data/lib/neat.rb +5 -18
  42. data/lib/neat/generator.rb +1 -1
  43. data/lib/neat/version.rb +1 -1
  44. data/neat.gemspec +27 -33
  45. data/package.json +5 -4
  46. data/spec/.keep +0 -0
  47. data/spec/fixtures/_setup.scss +1 -0
  48. data/spec/fixtures/functions/neat-column-default.scss +22 -0
  49. data/spec/fixtures/functions/neat-column-width.scss +30 -0
  50. data/spec/fixtures/functions/neat-parse-media.scss +9 -0
  51. data/spec/fixtures/functions/retrieve-neat-settings.scss +22 -0
  52. data/spec/fixtures/mixins/grid-column.scss +57 -0
  53. data/spec/fixtures/mixins/grid-container.scss +5 -0
  54. data/spec/fixtures/mixins/grid-push.scss +38 -0
  55. data/spec/fixtures/mixins/grid-shift.scss +38 -0
  56. data/spec/neat/functions/neat_column_default_spec.rb +35 -0
  57. data/spec/neat/functions/neat_column_width_spec.rb +47 -0
  58. data/spec/neat/functions/neat_parse_media_spec.rb +23 -0
  59. data/spec/neat/functions/retrieve_neat_settings_spec.rb +35 -0
  60. data/spec/neat/mixins/grid_column_spec.rb +101 -0
  61. data/spec/neat/mixins/grid_container_spec.rb +17 -0
  62. data/spec/neat/mixins/grid_push_spec.rb +59 -0
  63. data/spec/neat/mixins/grid_shift_spec.rb +59 -0
  64. data/spec/support/matchers/have_ruleset.rb +20 -0
  65. data/spec/support/matchers/have_value.rb +9 -7
  66. data/spec/support/parser_support.rb +8 -1
  67. data/spec/support/sass_support.rb +1 -1
  68. metadata +76 -153
  69. data/.rspec +0 -1
  70. data/.ruby-version +0 -1
  71. data/.travis.yml +0 -10
  72. data/app/assets/stylesheets/_neat-helpers.scss +0 -11
  73. data/app/assets/stylesheets/_neat.scss +0 -24
  74. data/app/assets/stylesheets/functions/_new-breakpoint.scss +0 -49
  75. data/app/assets/stylesheets/functions/_private.scss +0 -154
  76. data/app/assets/stylesheets/grid/_box-sizing.scss +0 -15
  77. data/app/assets/stylesheets/grid/_direction-context.scss +0 -33
  78. data/app/assets/stylesheets/grid/_display-context.scss +0 -28
  79. data/app/assets/stylesheets/grid/_fill-parent.scss +0 -22
  80. data/app/assets/stylesheets/grid/_media.scss +0 -92
  81. data/app/assets/stylesheets/grid/_omega.scss +0 -112
  82. data/app/assets/stylesheets/grid/_outer-container.scss +0 -34
  83. data/app/assets/stylesheets/grid/_pad.scss +0 -25
  84. data/app/assets/stylesheets/grid/_private.scss +0 -35
  85. data/app/assets/stylesheets/grid/_reset-display.scss +0 -14
  86. data/app/assets/stylesheets/grid/_row.scss +0 -45
  87. data/app/assets/stylesheets/grid/_shift.scss +0 -50
  88. data/app/assets/stylesheets/grid/_span-columns.scss +0 -94
  89. data/app/assets/stylesheets/grid/_to-deprecate.scss +0 -81
  90. data/app/assets/stylesheets/grid/_visual-grid.scss +0 -42
  91. data/app/assets/stylesheets/settings/_disable-warnings.scss +0 -13
  92. data/app/assets/stylesheets/settings/_grid.scss +0 -51
  93. data/app/assets/stylesheets/settings/_visual-grid.scss +0 -27
  94. data/lib/neat/engine.rb +0 -5
  95. data/lib/tasks/install.rake +0 -19
  96. data/sache.json +0 -5
  97. data/spec/neat/columns_spec.rb +0 -73
  98. data/spec/neat/container_spec.rb +0 -21
  99. data/spec/neat/default_spec.rb +0 -15
  100. data/spec/neat/direction_spec.rb +0 -19
  101. data/spec/neat/display_spec.rb +0 -19
  102. data/spec/neat/media_spec.rb +0 -55
  103. data/spec/neat/new_breakpoint_spec.rb +0 -17
  104. data/spec/neat/omega_spec.rb +0 -66
  105. data/spec/neat/pad_spec.rb +0 -32
  106. data/spec/neat/row_spec.rb +0 -39
  107. data/spec/neat/shift_spec.rb +0 -41
  108. data/test/_setup.scss +0 -2
  109. data/test/default.scss +0 -1
  110. data/test/direction-context.scss +0 -13
  111. data/test/display-context.scss +0 -15
  112. data/test/media.scss +0 -39
  113. data/test/new-breakpoint.scss +0 -13
  114. data/test/omega.scss +0 -29
  115. data/test/outer-container.scss +0 -11
  116. data/test/pad.scss +0 -17
  117. data/test/row.scss +0 -26
  118. data/test/shift.scss +0 -36
  119. data/test/span-columns.scss +0 -21
@@ -1,112 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- /// Removes the element's gutter margin, regardless of its position in the grid hierarchy or display property. It can target a specific element, or every `nth-child` occurrence. Works only with `block` layouts.
4
- ///
5
- /// @param {List} $query [block]
6
- /// List of arguments. Supported arguments are `nth-child` selectors (targets a specific pseudo element) and `auto` (targets `last-child`).
7
- ///
8
- /// When passed an `nth-child` argument of type `*n` with `block` display, the omega mixin automatically adds a clear to the `*n+1` th element. Note that composite arguments such as `2n+1` do not support this feature.
9
- ///
10
- /// **Deprecation warning**: The omega mixin will no longer take a `$direction` argument. To change the layout direction, use `row($direction)` or set `$default-layout-direction` instead.
11
- ///
12
- /// @example scss - Usage
13
- /// .element {
14
- /// @include omega;
15
- /// }
16
- ///
17
- /// .nth-element {
18
- /// @include omega(4n);
19
- /// }
20
- ///
21
- /// @example css - CSS Output
22
- /// .element {
23
- /// margin-right: 0;
24
- /// }
25
- ///
26
- /// .nth-element:nth-child(4n) {
27
- /// margin-right: 0;
28
- /// }
29
- ///
30
- /// .nth-element:nth-child(4n+1) {
31
- /// clear: left;
32
- /// }
33
-
34
- @mixin omega($query: block, $direction: default) {
35
- $table: belongs-to(table, $query);
36
- $auto: belongs-to(auto, $query);
37
-
38
- @if $direction != default {
39
- @include -neat-warn("The omega mixin will no longer take a $direction argument. To change the layout direction, use the direction(){...} mixin.");
40
- } @else {
41
- $direction: get-direction($layout-direction, $default-layout-direction);
42
- }
43
-
44
- @if $table {
45
- @include -neat-warn("The omega mixin no longer removes padding in table layouts.");
46
- }
47
-
48
- @if length($query) == 1 {
49
- @if $auto {
50
- &:last-child {
51
- margin-#{$direction}: 0;
52
- }
53
- }
54
-
55
- @else if contains-display-value($query) and $table == false {
56
- margin-#{$direction}: 0;
57
- }
58
-
59
- @else {
60
- @include nth-child($query, $direction);
61
- }
62
- } @else if length($query) == 2 {
63
- @if $auto {
64
- &:last-child {
65
- margin-#{$direction}: 0;
66
- }
67
- } @else {
68
- @include nth-child(nth($query, 1), $direction);
69
- }
70
- } @else {
71
- @include -neat-warn("Too many arguments passed to the omega() mixin.");
72
- }
73
- }
74
-
75
- @mixin nth-child($query, $direction) {
76
- $opposite-direction: get-opposite-direction($direction);
77
-
78
- &:nth-child(#{$query}) {
79
- margin-#{$direction}: 0;
80
- }
81
-
82
- @if type-of($query) == string {
83
- $query: str-replace($query, " ", "");
84
- $operator: false;
85
-
86
- @if str_index($query, "+") {
87
- $operator: "+";
88
- } @else if str_index($query, "-") {
89
- $operator: "-";
90
- }
91
-
92
- @if $operator {
93
- $operator-index: str_index($query, $operator);
94
- $first: str-slice($query, 0, ($operator-index - 1));
95
- $last: to-number(str-slice($query, ($operator-index + 1), -1));
96
- @if $operator == "+" {
97
- $last: $last + 1;
98
- } @else if $operator == "-" {
99
- $last: $last - 1;
100
- }
101
- $nth: "#{$first}#{$operator}#{$last}";
102
-
103
- &:nth-child(#{$nth}) {
104
- clear: $opposite-direction;
105
- }
106
- }
107
- } @else if type-of($query) == number and unit($query) == "n" {
108
- &:nth-child(#{$query}+1) {
109
- clear: $opposite-direction;
110
- }
111
- }
112
- }
@@ -1,34 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- /// Makes an element a outer container by centering it in the viewport, clearing its floats, and setting its `max-width`.
4
- /// Although optional, using `outer-container` is recommended. The mixin can be called on more than one element per page, as long as they are not nested.
5
- ///
6
- /// @param {Number [unit]} $local-max-width [$max-width]
7
- /// Max width to be applied to the element. Can be a percentage or a measure.
8
- ///
9
- /// @example scss - Usage
10
- /// .element {
11
- /// @include outer-container(100%);
12
- /// }
13
- ///
14
- /// @example css - CSS Output
15
- /// .element {
16
- /// max-width: 100%;
17
- /// margin-left: auto;
18
- /// margin-right: auto;
19
- /// }
20
- ///
21
- /// .element::after {
22
- /// clear: both;
23
- /// content: "";
24
- /// display: table;
25
- /// }
26
-
27
- @mixin outer-container($local-max-width: $max-width) {
28
- @include clearfix;
29
- max-width: $local-max-width;
30
- margin: {
31
- left: auto;
32
- right: auto;
33
- }
34
- }
@@ -1,25 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- /// Adds padding to the element.
4
- ///
5
- /// @param {List} $padding [flex-gutter()]
6
- /// A list of padding value(s) to use. Passing `default` in the list will result in using the gutter width as a padding value.
7
- ///
8
- /// @example scss - Usage
9
- /// .element {
10
- /// @include pad(30px -20px 10px default);
11
- /// }
12
- ///
13
- /// @example css - CSS Output
14
- /// .element {
15
- /// padding: 30px -20px 10px 2.35765%;
16
- /// }
17
-
18
- @mixin pad($padding: flex-gutter()) {
19
- $padding-list: null;
20
- @each $value in $padding {
21
- $value: if($value == 'default', flex-gutter(), $value);
22
- $padding-list: join($padding-list, $value);
23
- }
24
- padding: $padding-list;
25
- }
@@ -1,35 +0,0 @@
1
- $parent-columns: $grid-columns !default;
2
- $fg-column: $column;
3
- $fg-gutter: $gutter;
4
- $fg-max-columns: $grid-columns;
5
- $container-display-table: false !default;
6
- $layout-direction: LTR !default;
7
-
8
- @function flex-grid($columns, $container-columns: $fg-max-columns) {
9
- $width: flex-width($columns);
10
- $container-width: flex-width($container-columns);
11
- @return percentage($width / $container-width);
12
- }
13
-
14
- @function flex-gutter($container-columns: $fg-max-columns, $gutter: $fg-gutter) {
15
- $container-width: flex-width($container-columns);
16
- @return percentage($gutter / $container-width);
17
- }
18
-
19
- @function flex-width($n, $column-width: $fg-column, $gutter-width: $fg-gutter) {
20
- @return $n * $column-width + ($n - 1) * $gutter-width;
21
- }
22
-
23
- @function get-parent-columns($columns) {
24
- @if $columns != $grid-columns {
25
- $parent-columns: $columns !global;
26
- } @else {
27
- $parent-columns: $grid-columns !global;
28
- }
29
-
30
- @return $parent-columns;
31
- }
32
-
33
- @function is-display-table($container-is-display-table, $display) {
34
- @return $container-is-display-table == true or $display == table;
35
- }
@@ -1,14 +0,0 @@
1
- /// Resets the active display property to `block`. Particularly useful when changing the display property in a single row.
2
- ///
3
- /// @example scss - Usage
4
- /// .element {
5
- /// @include row(table);
6
- /// // Context changed to table display
7
- /// }
8
- ///
9
- /// @include reset-display;
10
- /// // Context is reset to block display
11
-
12
- @mixin reset-display {
13
- $container-display-table: false !global;
14
- }
@@ -1,45 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- /// Designates the element as a row of columns in the grid layout. It clears the floats on the element and sets its display property. Rows can't be nested, but there can be more than one row element—with different display properties—per layout.
4
- ///
5
- /// @param {String} $display [default]
6
- /// Sets the display property of the element and the display context that will be used by its children. Can be `block` or `table`.
7
- ///
8
- /// @param {String} $direction [$default-layout-direction]
9
- /// Sets the layout direction. Can be `LTR` (left-to-right) or `RTL` (right-to-left).
10
- ///
11
- /// @example scss - Usage
12
- /// .element {
13
- /// @include row();
14
- /// }
15
- ///
16
- /// @example css - CSS Output
17
- /// .element {
18
- /// *zoom: 1;
19
- /// display: block;
20
- /// }
21
- ///
22
- /// .element:before, .element:after {
23
- /// content: " ";
24
- /// display: table;
25
- /// }
26
- ///
27
- /// .element:after {
28
- /// clear: both;
29
- /// }
30
-
31
- @mixin row($display: default, $direction: $default-layout-direction) {
32
-
33
- $layout-direction: $direction !global;
34
-
35
- @if $display == table {
36
- display: table;
37
- @include fill-parent;
38
- table-layout: fixed;
39
- $container-display-table: true !global;
40
- } @else {
41
- @include clearfix;
42
- display: block;
43
- $container-display-table: false !global;
44
- }
45
- }
@@ -1,50 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- /// Translates an element horizontally by a number of columns. Positive arguments shift the element to the active layout direction, while negative ones shift it to the opposite direction.
4
- ///
5
- /// @param {Number (unitless)} $n-columns [1]
6
- /// Number of columns by which the element shifts.
7
- ///
8
- /// @example scss - Usage
9
- /// .element {
10
- /// @include shift(-3);
11
- /// }
12
- ///
13
- /// @example css - CSS output
14
- /// .element {
15
- /// margin-left: -25.58941%;
16
- /// }
17
-
18
- @mixin shift($n-columns: 1) {
19
- @include shift-in-context($n-columns);
20
- }
21
-
22
- /// Translates an element horizontally by a number of columns, in a specific nesting context.
23
- ///
24
- /// @param {List} $shift
25
- /// A list containing the number of columns to shift (`$columns`) and the number of columns of the parent element (`$container-columns`).
26
- ///
27
- /// The two values can be separated with any string such as `of`, `/`, etc.
28
- ///
29
- /// @example scss - Usage
30
- /// .element {
31
- /// @include shift(-3 of 6);
32
- /// }
33
- ///
34
- /// @example css - CSS output
35
- /// .element {
36
- /// margin-left: -52.41458%;
37
- /// }
38
-
39
- @mixin shift-in-context($shift: $columns of $container-columns) {
40
- $n-columns: nth($shift, 1);
41
- $parent-columns: container-shift($shift) !global;
42
-
43
- $direction: get-direction($layout-direction, $default-layout-direction);
44
- $opposite-direction: get-opposite-direction($direction);
45
-
46
- margin-#{$opposite-direction}: $n-columns * flex-grid(1, $parent-columns) + $n-columns * flex-gutter($parent-columns);
47
-
48
- // Reset nesting context
49
- $parent-columns: $grid-columns !global;
50
- }
@@ -1,94 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- /// Specifies the number of columns an element should span. If the selector is nested the number of columns of its parent element should be passed as an argument as well.
4
- ///
5
- /// @param {List} $span
6
- /// A list containing `$columns`, the unitless number of columns the element spans (required), and `$container-columns`, the number of columns the parent element spans (optional).
7
- ///
8
- /// If only one value is passed, it is assumed that it's `$columns` and that that `$container-columns` is equal to `$grid-columns`, the total number of columns in the grid.
9
- ///
10
- /// The values can be separated with any string such as `of`, `/`, etc.
11
- ///
12
- /// `$columns` also accepts decimals for when it's necessary to break out of the standard grid. E.g. Passing `2.4` in a standard 12 column grid will divide the row into 5 columns.
13
- ///
14
- /// @param {String} $display [block]
15
- /// Sets the display property of the element. By default it sets the display property of the element to `block`.
16
- ///
17
- /// If passed `block-collapse`, it also removes the margin gutter by adding it to the element width.
18
- ///
19
- /// If passed `table`, it sets the display property to `table-cell` and calculates the width of the element without taking gutters into consideration. The result does not align with the block-based grid.
20
- ///
21
- /// @example scss - Usage
22
- /// .element {
23
- /// @include span-columns(6);
24
- ///
25
- /// .nested-element {
26
- /// @include span-columns(2 of 6);
27
- /// }
28
- /// }
29
- ///
30
- /// @example css - CSS Output
31
- /// .element {
32
- /// display: block;
33
- /// float: left;
34
- /// margin-right: 2.35765%;
35
- /// width: 48.82117%;
36
- /// }
37
- ///
38
- /// .element:last-child {
39
- /// margin-right: 0;
40
- /// }
41
- ///
42
- /// .element .nested-element {
43
- /// display: block;
44
- /// float: left;
45
- /// margin-right: 4.82916%;
46
- /// width: 30.11389%;
47
- /// }
48
- ///
49
- /// .element .nested-element:last-child {
50
- /// margin-right: 0;
51
- /// }
52
-
53
- @mixin span-columns($span: $columns of $container-columns, $display: block) {
54
- $columns: nth($span, 1);
55
- $container-columns: container-span($span);
56
-
57
- $parent-columns: get-parent-columns($container-columns) !global;
58
-
59
- $direction: get-direction($layout-direction, $default-layout-direction);
60
- $opposite-direction: get-opposite-direction($direction);
61
-
62
- $display-table: is-display-table($container-display-table, $display);
63
-
64
- @if $display-table {
65
- display: table-cell;
66
- width: percentage($columns / $container-columns);
67
- } @else {
68
- float: #{$opposite-direction};
69
-
70
- @if $display != no-display {
71
- display: block;
72
- }
73
-
74
- @if $display == collapse {
75
- @include -neat-warn("The 'collapse' argument will be deprecated. Use 'block-collapse' instead.");
76
- }
77
-
78
- @if $display == collapse or $display == block-collapse {
79
- width: flex-grid($columns, $container-columns) + flex-gutter($container-columns);
80
-
81
- &:last-child {
82
- width: flex-grid($columns, $container-columns);
83
- }
84
-
85
- } @else {
86
- margin-#{$direction}: flex-gutter($container-columns);
87
- width: flex-grid($columns, $container-columns);
88
-
89
- &:last-child {
90
- margin-#{$direction}: 0;
91
- }
92
- }
93
- }
94
- }
@@ -1,81 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- @mixin breakpoint($query:$feature $value $columns, $total-columns: $grid-columns) {
4
- @include -neat-warn("The breakpoint() mixin was renamed to media() in Neat 1.0. Please update your project with the new syntax before the next version bump.");
5
-
6
- @if length($query) == 1 {
7
- @media screen and ($default-feature: nth($query, 1)) {
8
- $default-grid-columns: $grid-columns;
9
- $grid-columns: $total-columns;
10
- @content;
11
- $grid-columns: $default-grid-columns;
12
- }
13
- } @else if length($query) == 2 {
14
- @media screen and (nth($query, 1): nth($query, 2)) {
15
- $default-grid-columns: $grid-columns;
16
- $grid-columns: $total-columns;
17
- @content;
18
- $grid-columns: $default-grid-columns;
19
- }
20
- } @else if length($query) == 3 {
21
- @media screen and (nth($query, 1): nth($query, 2)) {
22
- $default-grid-columns: $grid-columns;
23
- $grid-columns: nth($query, 3);
24
- @content;
25
- $grid-columns: $default-grid-columns;
26
- }
27
- } @else if length($query) == 4 {
28
- @media screen and (nth($query, 1): nth($query, 2)) and (nth($query, 3): nth($query, 4)) {
29
- $default-grid-columns: $grid-columns;
30
- $grid-columns: $total-columns;
31
- @content;
32
- $grid-columns: $default-grid-columns;
33
- }
34
- } @else if length($query) == 5 {
35
- @media screen and (nth($query, 1): nth($query, 2)) and (nth($query, 3): nth($query, 4)) {
36
- $default-grid-columns: $grid-columns;
37
- $grid-columns: nth($query, 5);
38
- @content;
39
- $grid-columns: $default-grid-columns;
40
- }
41
- } @else {
42
- @include -neat-warn("Wrong number of arguments for breakpoint(). Read the documentation for more details.");
43
- }
44
- }
45
-
46
- @mixin nth-omega($nth, $display: block, $direction: default) {
47
- @include -neat-warn("The nth-omega() mixin is deprecated. Please use omega() instead.");
48
- @include omega($nth $display, $direction);
49
- }
50
-
51
- /// Resets the active layout direction to the default value set in `$default-layout-direction`. Particularly useful when changing the layout direction in a single row.
52
- ///
53
- /// @example scss - Usage
54
- /// .element {
55
- /// @include row($direction: RTL);
56
- /// // Context changed to right-to-left
57
- /// }
58
- ///
59
- /// @include reset-layout-direction;
60
- /// // Context is reset to left-to-right
61
-
62
- @mixin reset-layout-direction {
63
- $layout-direction: $default-layout-direction !global;
64
- @include -neat-warn("Resetting $direction will be deprecated in future versions in favor of the direction(){...} mixin.");
65
- }
66
-
67
- /// Resets both the active layout direction and the active display property.
68
- ///
69
- /// @example scss - Usage
70
- /// .element {
71
- /// @include row(table, RTL);
72
- /// // Context changed to table table and right-to-left
73
- /// }
74
- ///
75
- /// @include reset-all;
76
- /// // Context is reset to block display and left-to-right
77
-
78
- @mixin reset-all {
79
- @include reset-display;
80
- @include reset-layout-direction;
81
- }