GIPainter-grid 0.2.5 → 0.2.6
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/_column.scss +13 -19
- data/assets/stylesheets/Mixins/_grid.scss +1 -1
- data/lib/GIPainter-grid/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b832f395cf360e0612ec0d177db1b2006a4be027
|
4
|
+
data.tar.gz: e30db02d783e340b221164526b80d0448ba8ad9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5b67f6398e2dd4a736d5e89a2a24d2991edb736298fd424c6a4229f8ad70460ea6e8c155f9fb01f73849e9ff68d792c25262b0cb8644d432237c499f662792f
|
7
|
+
data.tar.gz: 1c9b516df4b4b6fcdfdb3ad3aa1f93e19b1af12a7da2d1c927e7e6f9950edf1b2547ee3f7bac4a8e7f75725401ded34f22db60aa8b36a8acd4c56428702b6398
|
@@ -5,14 +5,11 @@
|
|
5
5
|
*display: inline;
|
6
6
|
*zoom: 1;
|
7
7
|
margin: 0;
|
8
|
-
padding-left: $grid-padding;
|
9
|
-
padding-right: $grid-padding;
|
10
8
|
width: 100%;
|
11
9
|
vertical-align: top;
|
12
10
|
letter-spacing: normal;
|
13
11
|
word-spacing: normal;
|
14
12
|
text-rendering: auto;
|
15
|
-
@include box-sizing(border-box);
|
16
13
|
@include flexboxgrid-sass-col-common;
|
17
14
|
|
18
15
|
&--reverse {
|
@@ -90,21 +87,18 @@
|
|
90
87
|
|
91
88
|
@each $name, $value in $default_breakpoint {
|
92
89
|
@include mquery($value) {
|
93
|
-
.o-column
|
90
|
+
.o-column-#{"" + $name} {
|
94
91
|
position: relative;
|
95
92
|
display: -moz-inline-block;
|
96
93
|
display: inline-block;
|
97
94
|
*display: inline;
|
98
95
|
*zoom: 1;
|
99
96
|
margin: 0;
|
100
|
-
padding-left: $grid-padding;
|
101
|
-
padding-right: $grid-padding;
|
102
97
|
width: 100%;
|
103
98
|
vertical-align: top;
|
104
99
|
letter-spacing: normal;
|
105
100
|
word-spacing: normal;
|
106
101
|
text-rendering: auto;
|
107
|
-
@include box-sizing(border-box);
|
108
102
|
@include flexboxgrid-sass-col-common;
|
109
103
|
|
110
104
|
&-size-auto {
|
@@ -114,7 +108,7 @@
|
|
114
108
|
@for $i from 1 through $max-grid-columns {
|
115
109
|
@for $j from 1 through $max-grid-columns {
|
116
110
|
@if $i <= $j {
|
117
|
-
|
111
|
+
&--size-#{$i}of#{$j} {
|
118
112
|
@include flex-basis(grid-size($i, $j));
|
119
113
|
max-width: grid-size($i, $j);
|
120
114
|
}
|
@@ -125,53 +119,53 @@
|
|
125
119
|
@for $i from 1 through $max-grid-columns {
|
126
120
|
@for $j from 1 through $max-grid-columns {
|
127
121
|
@if $i < $j {
|
128
|
-
|
122
|
+
&--offset-#{$i}of#{$j} {
|
129
123
|
margin-left: grid-size($i, $j);
|
130
124
|
}
|
131
125
|
}
|
132
126
|
}
|
133
127
|
}
|
134
128
|
|
135
|
-
|
129
|
+
&--start {
|
136
130
|
@include justify-content(flex-start);
|
137
131
|
text-align: start;
|
138
132
|
}
|
139
133
|
|
140
|
-
|
134
|
+
&--center {
|
141
135
|
@include justify-content(center);
|
142
136
|
text-align: center;
|
143
137
|
}
|
144
138
|
|
145
|
-
|
139
|
+
&--end {
|
146
140
|
@include justify-content(flex-end);
|
147
141
|
text-align: end;
|
148
142
|
}
|
149
143
|
|
150
|
-
|
144
|
+
&--around {
|
151
145
|
@include justify-content(space-around);
|
152
146
|
}
|
153
147
|
|
154
|
-
|
148
|
+
&--between {
|
155
149
|
@include justify-content(space-between);
|
156
150
|
}
|
157
151
|
|
158
|
-
|
152
|
+
&--top {
|
159
153
|
@include align-items(flex-start);
|
160
154
|
}
|
161
155
|
|
162
|
-
|
156
|
+
&--middle {
|
163
157
|
@include align-items(center);
|
164
158
|
}
|
165
159
|
|
166
|
-
|
160
|
+
&--bottom {
|
167
161
|
@include align-items(flex-end);
|
168
162
|
}
|
169
163
|
|
170
|
-
|
164
|
+
&--first {
|
171
165
|
order: -1;
|
172
166
|
}
|
173
167
|
|
174
|
-
|
168
|
+
&--last {
|
175
169
|
order: 1;
|
176
170
|
}
|
177
171
|
}
|