GIPainter-grid 0.2.4 → 0.2.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 44a415c96df35e23129b1e16d16c87c13766968f
4
- data.tar.gz: 446ef8d2973cc1205c9555f7ba98ea4dba339ce1
3
+ metadata.gz: 29f29a61eff94cc7dd8a501f85dd1f4a292ae304
4
+ data.tar.gz: 86ab6b8b4b49ab6137db059e9b6e32685724c80b
5
5
  SHA512:
6
- metadata.gz: ac0bf2be7f614995dd8747dbe071b1815a0f25efd11f8b4d1aea07fa8409ebfc9bb1c02c1131dfcd171d64983a01e2f2419162a89eb7ddf04e63e502e6adce37
7
- data.tar.gz: cc9324abbc33eff6a960233588e006159f24f552f9ce94fb1457f811a1d54483846da6c73ac6aa3c615614971ada05898e4ddf0847c90ba4b92bd50f53ca69ef
6
+ metadata.gz: b01513469bacee848cf4bb4718eb56434ccfbd15cacaf48cead5a4aa0cfb774ae8e983dd3fdf4036edec633e9676d7c7dba06103cee284fa5fab18eea8613b03
7
+ data.tar.gz: 9786e8ba27b187739f502adb04d6f1f81b25c9011819dec89527d0c5ae3b166661aafb91c81b64a4ddec0bc9f6a8dcfaed424eb0c6b4b6b94e720ed15916624e
@@ -0,0 +1,31 @@
1
+ .m-grid {
2
+ clear: both;
3
+ display: block;
4
+ letter-spacing: -0.31em;
5
+ *letter-spacing: normal;
6
+ *word-spacing: -0.43em;
7
+ text-rendering: optimizespeed;
8
+
9
+ .m-grid {
10
+ margin-left: -$grid-padding;
11
+ margin-right: -$grid-padding;
12
+ }
13
+
14
+ > .m-grid {
15
+ margin-left: 0;
16
+ margin-right: 0;
17
+ }
18
+
19
+ &__wrapper {
20
+ *zoom: 1;
21
+ &:before,
22
+ &:after {
23
+ content: " ";
24
+ display: table;
25
+ line-height: 0;
26
+ }
27
+ &:after {
28
+ clear: both;
29
+ }
30
+ }
31
+ }
@@ -25,17 +25,21 @@
25
25
 
26
26
  @for $i from 1 through $max-grid-columns {
27
27
  @for $j from 1 through $max-grid-columns {
28
- &--size-#{$i}of#{$j} {
29
- @include flex-basis(grid-size($i, $j));
30
- max-width: grid-size($i, $j);
28
+ @if $i <= $j {
29
+ &--size-#{$i}of#{$j} {
30
+ @include flex-basis(grid-size($i, $j));
31
+ max-width: grid-size($i, $j);
32
+ }
31
33
  }
32
34
  }
33
35
  }
34
36
 
35
37
  @for $i from 1 through $max-grid-columns {
36
38
  @for $j from 1 through $max-grid-columns {
37
- &--offset-#{$i}of#{$j} {
38
- margin-left: grid-size($i, $j);
39
+ @if $i < $j {
40
+ &--offset-#{$i}of#{$j} {
41
+ margin-left: grid-size($i, $j);
42
+ }
39
43
  }
40
44
  }
41
45
  }
@@ -109,17 +113,21 @@
109
113
 
110
114
  @for $i from 1 through $max-grid-columns {
111
115
  @for $j from 1 through $max-grid-columns {
112
- &-size-#{$i}of#{$j} {
113
- @include flex-basis(grid-size($i, $j));
114
- max-width: grid-size($i, $j);
116
+ @if $i <= $j {
117
+ &-size-#{$i}of#{$j} {
118
+ @include flex-basis(grid-size($i, $j));
119
+ max-width: grid-size($i, $j);
120
+ }
115
121
  }
116
122
  }
117
123
  }
118
124
 
119
125
  @for $i from 1 through $max-grid-columns {
120
126
  @for $j from 1 through $max-grid-columns {
121
- &-offset-#{$i}of#{$j} {
122
- margin-left: grid-size($i, $j);
127
+ @if $i < $j {
128
+ &-offset-#{$i}of#{$j} {
129
+ margin-left: grid-size($i, $j);
130
+ }
123
131
  }
124
132
  }
125
133
  }
@@ -1,32 +1,3 @@
1
- .m-grid {
2
- clear: both;
3
- display: block;
4
- letter-spacing: -0.31em;
5
- *letter-spacing: normal;
6
- *word-spacing: -0.43em;
7
- text-rendering: optimizespeed;
8
-
9
- .m-grid {
10
- margin-left: -$grid-padding;
11
- margin-right: -$grid-padding;
12
- }
13
-
14
- > .m-grid {
15
- margin-left: 0;
16
- margin-right: 0;
17
- }
18
-
19
- &__wrapper {
20
- *zoom: 1;
21
- &:before,
22
- &:after {
23
- content: " ";
24
- display: table;
25
- line-height: 0;
26
- }
27
- &:after {
28
- clear: both;
29
- }
30
- }
31
- }
32
-
1
+ @import "base";
2
+ @import "row";
3
+ @import "column";
@@ -1,8 +1,7 @@
1
1
  .o-row {
2
2
  display: block;
3
3
  @include flexbox((display: flex, flex-direction: row));
4
- @include flex(0, 1, auto);
5
- @include flex-direction(row);
4
+ @include flex(0 1 auto);
6
5
  @include flex-wrap(wrap);
7
6
  margin: 0 auto;
8
7
  padding: 0 $outer-margin;
@@ -12,4 +12,4 @@
12
12
  @import "Variables/**/*";
13
13
  @import "Mixins/**/*";
14
14
  @import "Functions/**/*";
15
- @import "Base/**/*";
15
+ @import "Base/core";
@@ -1,3 +1,3 @@
1
1
  module GIPainter_grid
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: GIPainter-grid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genious Interactive
@@ -144,6 +144,7 @@ extensions: []
144
144
  extra_rdoc_files: []
145
145
  files:
146
146
  - README.md
147
+ - assets/stylesheets/Base/_base.scss
147
148
  - assets/stylesheets/Base/_column.scss
148
149
  - assets/stylesheets/Base/_core.scss
149
150
  - assets/stylesheets/Base/_row.scss