GIPainter-grid 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/stylesheets/Base/_base.scss +31 -0
- data/assets/stylesheets/Base/_column.scss +18 -10
- data/assets/stylesheets/Base/_core.scss +3 -32
- data/assets/stylesheets/Base/_row.scss +1 -2
- data/assets/stylesheets/_GIPainter-grid.scss +1 -1
- data/lib/GIPainter-grid/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29f29a61eff94cc7dd8a501f85dd1f4a292ae304
|
4
|
+
data.tar.gz: 86ab6b8b4b49ab6137db059e9b6e32685724c80b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
29
|
-
|
30
|
-
|
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
|
-
|
38
|
-
|
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
|
-
|
113
|
-
|
114
|
-
|
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
|
-
|
122
|
-
|
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
|
-
|
2
|
-
|
3
|
-
|
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";
|
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
|
+
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
|