jacket 1.0.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jacket.rb +1 -1
- data/readme.md +1 -1
- data/stylesheets/_jacket.scss +2 -2
- metadata +9 -9
data/lib/jacket.rb
CHANGED
data/readme.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Jacket
|
2
2
|
|
3
|
-
**Conditional Styles with Sass. Dress
|
3
|
+
**Conditional Styles with Sass. Dress your CSS appropriately.**
|
4
4
|
|
5
5
|
Jacket is a Compass component that prints or hides styles based on context variables you set in your stylesheet. Write and maintain a master stylesheet, then output custom tailored stylesheets for modern and legacy browsers, site and app builds, or any other context you can think of.
|
6
6
|
|
data/stylesheets/_jacket.scss
CHANGED
@@ -31,11 +31,11 @@ $jckt-context: null;
|
|
31
31
|
$selector-string: '';
|
32
32
|
|
33
33
|
// Set the global context variable.
|
34
|
-
$jckt-context: $contexts;
|
34
|
+
$jckt-context: $contexts !global;
|
35
35
|
|
36
36
|
// If jacket is a single context and selector list, encapsulate.
|
37
37
|
@if list-separator($jacket) == 'space' {
|
38
|
-
$jacket: $jacket, null;
|
38
|
+
$jacket: $jacket, null !global;
|
39
39
|
}
|
40
40
|
|
41
41
|
// Test if a jacket context and jacket value match.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jacket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -16,33 +16,33 @@ dependencies:
|
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.3.0.rc.2
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 3.
|
29
|
+
version: 3.3.0.rc.2
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: compass
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
none: false
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 0.
|
37
|
+
version: 1.0.0.alpha.17
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.
|
45
|
+
version: 1.0.0.alpha.17
|
46
46
|
description: Manage multiple css builds from a single stylesheet
|
47
47
|
email:
|
48
48
|
- hello@robwierzbowski.com
|