tartan-grid 0.0.7 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/_grid.scss +11 -11
- data/lib/tartan/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: 433720a880e297b6b42d0a02758ba39c07b05c61
|
4
|
+
data.tar.gz: 5008c6622233b75a31a455144c0b1f1e032878fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18dd2c7f1e00cd8a3239f4b90a1b778b445b7d3f11b455e8242f279081307b6e3b305fcfc71083e81d62f9ef901edc169b4c23df464d2c88a272388c64cdc1af
|
7
|
+
data.tar.gz: 0c87176de3d960ed748e96497439e9231a56e78c529bc6e8ca3bbf80d1d7e637bd3102fcffbbb66c40856633331170f7ab0e835b4c3dac04c81de7a62d0cab2c
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@import 'mixins';
|
2
2
|
|
3
|
-
@mixin container {
|
3
|
+
@mixin tartan-container {
|
4
4
|
@include box-sizing(border-box);
|
5
5
|
@include clearfix;
|
6
6
|
|
@@ -18,17 +18,17 @@
|
|
18
18
|
}
|
19
19
|
}
|
20
20
|
|
21
|
-
@mixin sub-container {
|
22
|
-
@include container;
|
21
|
+
@mixin tartan-sub-container {
|
22
|
+
@include tartan-container;
|
23
23
|
max-width: 100%;
|
24
24
|
padding: 0;
|
25
25
|
}
|
26
26
|
|
27
|
-
@mixin row {
|
27
|
+
@mixin tartan-row {
|
28
28
|
@include clearfix;
|
29
29
|
}
|
30
30
|
|
31
|
-
@mixin span-columns($columns: $tartan-column-count, $context: $tartan-column-count, $tartan-render-mode: $tartan-render-mode) {
|
31
|
+
@mixin tartan-span-columns($columns: $tartan-column-count, $context: $tartan-column-count, $tartan-render-mode: $tartan-render-mode) {
|
32
32
|
@include box-sizing(border-box);
|
33
33
|
|
34
34
|
@if $tartan-render-mode == inline-block {
|
@@ -44,7 +44,7 @@
|
|
44
44
|
vertical-align: top;
|
45
45
|
|
46
46
|
@if $columns == $context {
|
47
|
-
@include omega;
|
47
|
+
@include tartan-omega;
|
48
48
|
}
|
49
49
|
|
50
50
|
@if $tartan-render-mode == inline-block {
|
@@ -56,7 +56,7 @@
|
|
56
56
|
}
|
57
57
|
}
|
58
58
|
|
59
|
-
@mixin push-columns($columns: 1, $context: $tartan-column-count, $type: margin) {
|
59
|
+
@mixin tartan-push-columns($columns: 1, $context: $tartan-column-count, $type: margin) {
|
60
60
|
#{$type}-left: tartan-columns($columns, $context) + tartan-gutter($context);
|
61
61
|
|
62
62
|
@if $type == padding {
|
@@ -64,7 +64,7 @@
|
|
64
64
|
}
|
65
65
|
}
|
66
66
|
|
67
|
-
@mixin bumper($columns: 1, $context: $tartan-column-count, $type: margin) {
|
67
|
+
@mixin tartan-bumper($columns: 1, $context: $tartan-column-count, $type: margin) {
|
68
68
|
#{$type}-right: tartan-columns($columns, $context) + tartan-gutter($context);
|
69
69
|
|
70
70
|
@if $type == padding {
|
@@ -72,16 +72,16 @@
|
|
72
72
|
}
|
73
73
|
}
|
74
74
|
|
75
|
-
@mixin no-push($type) {
|
75
|
+
@mixin tartan-no-push($type) {
|
76
76
|
#{$type}-left: 0;
|
77
77
|
}
|
78
78
|
|
79
|
-
@mixin omega {
|
79
|
+
@mixin tartan-omega {
|
80
80
|
float: right;
|
81
81
|
margin-right: 0;
|
82
82
|
}
|
83
83
|
|
84
|
-
@mixin no-omega($context: $tartan-column-count) {
|
84
|
+
@mixin tartan-no-omega($context: $tartan-column-count) {
|
85
85
|
float: left;
|
86
86
|
margin-right: tartan-gutter($context);
|
87
87
|
}
|
data/lib/tartan/version.rb
CHANGED