compass_radix 3.0.8 → 3.0.9
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 +4 -4
- data/stylesheets/compass_radix/_mixin.scss +23 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba878ed07095efc50aa518c2b8ed71f3e5cd286b
|
4
|
+
data.tar.gz: f80c51362704fd6257f899aeb682a3bb1e998b37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f847dadf1cf5e1d32f5716434d273bfd0a11ee77e3b197fd114b97b5e98a68214b4549079bfe53c7668509c349a181bac9c8596acfe0b508092b1b3fa7453e67
|
7
|
+
data.tar.gz: 725389f6ef5a962d2767a0d46b3afe006aa1e87ed13423e3a4854cacc3b8e6925ebe3c8276b28de8928953bd9ddb80b89fabd0f954959fe4dc0d5b97fe9ee7dd
|
@@ -27,6 +27,29 @@
|
|
27
27
|
display: inline-block;
|
28
28
|
}
|
29
29
|
|
30
|
+
// Breakpoint mixin.
|
31
|
+
@mixin breakpoint($class) {
|
32
|
+
@if $class == xs {
|
33
|
+
@media (max-width: $screen-xs-max) { @content; }
|
34
|
+
}
|
35
|
+
|
36
|
+
@else if $class == sm {
|
37
|
+
@media (min-width: $screen-sm) { @content; }
|
38
|
+
}
|
39
|
+
|
40
|
+
@else if $class == md {
|
41
|
+
@media (min-width: $screen-md) { @content; }
|
42
|
+
}
|
43
|
+
|
44
|
+
@else if $class == lg {
|
45
|
+
@media (min-width: $screen-lg) { @content; }
|
46
|
+
}
|
47
|
+
|
48
|
+
@else {
|
49
|
+
@warn "Breakpoint mixin supports: xs, sm, md, lg";
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
30
53
|
/**
|
31
54
|
* Responsive mixin.
|
32
55
|
*
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass_radix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arshad Chummun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: compass
|