unboxed-less 1.2.12 → 1.2.19
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/Rakefile +9 -18
- data/VERSION +1 -1
- data/bin/lessc +17 -7
- data/lib/less.rb +7 -6
- data/lib/less/command.rb +7 -2
- data/lib/less/engine.rb +8 -10
- data/lib/less/engine/grammar/entity.tt +16 -2
- data/lib/less/engine/grammar/less.tt +36 -27
- data/lib/less/engine/nodes/element.rb +24 -21
- data/lib/less/engine/nodes/function.rb +11 -2
- data/lib/less/engine/nodes/property.rb +41 -38
- data/lib/{ext.rb → less/ext.rb} +2 -2
- data/spec/css/css-3.css +3 -0
- data/spec/css/dash-prefix.css +12 -0
- data/spec/css/variables.css +1 -0
- data/spec/engine_spec.rb +4 -0
- data/spec/less/big.less +1261 -4807
- data/spec/less/css-3.less +6 -0
- data/spec/less/dash-prefix.less +21 -0
- data/spec/less/variables.less +5 -0
- data/unboxed-less.gemspec +5 -3
- metadata +5 -3
data/spec/less/css-3.less
CHANGED
@@ -0,0 +1,21 @@
|
|
1
|
+
@global_color: #010101;
|
2
|
+
@red_color: red;
|
3
|
+
@green_color: green;
|
4
|
+
|
5
|
+
.gradient (@local_color: #030303) {
|
6
|
+
background-image: -moz-linear-gradient(top, bottom, from(@local_color), to(@global_color));
|
7
|
+
background-image: -webkit-gradient(linear, left top, left bottom, from(@local_color), to(@global_color));
|
8
|
+
}
|
9
|
+
|
10
|
+
.test1 {
|
11
|
+
.gradient;
|
12
|
+
}
|
13
|
+
|
14
|
+
.test2 {
|
15
|
+
.gradient(#020202);
|
16
|
+
}
|
17
|
+
|
18
|
+
.test3 {
|
19
|
+
background-image: -moz-linear-gradient(top, bottom, from(@red_color), to(@green_color));
|
20
|
+
background-image: -webkit-gradient(linear, left top, left bottom, from(@red_color), to(@green_color));
|
21
|
+
}
|
data/spec/less/variables.less
CHANGED
data/unboxed-less.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{unboxed-less}
|
8
|
-
s.version = "1.2.
|
8
|
+
s.version = "1.2.19"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["cloudhead"]
|
12
|
-
s.date = %q{2009-
|
12
|
+
s.date = %q{2009-12-09}
|
13
13
|
s.default_executable = %q{lessc}
|
14
14
|
s.description = %q{LESS is leaner CSS}
|
15
15
|
s.email = %q{self@cloudhead.net}
|
@@ -26,7 +26,6 @@ Gem::Specification.new do |s|
|
|
26
26
|
"Rakefile",
|
27
27
|
"VERSION",
|
28
28
|
"bin/lessc",
|
29
|
-
"lib/ext.rb",
|
30
29
|
"lib/less.rb",
|
31
30
|
"lib/less/command.rb",
|
32
31
|
"lib/less/engine.rb",
|
@@ -41,6 +40,7 @@ Gem::Specification.new do |s|
|
|
41
40
|
"lib/less/engine/nodes/property.rb",
|
42
41
|
"lib/less/engine/nodes/ruleset.rb",
|
43
42
|
"lib/less/engine/nodes/selector.rb",
|
43
|
+
"lib/less/ext.rb",
|
44
44
|
"spec/command_spec.rb",
|
45
45
|
"spec/css/accessors.css",
|
46
46
|
"spec/css/big.css",
|
@@ -48,6 +48,7 @@ Gem::Specification.new do |s|
|
|
48
48
|
"spec/css/comments.css",
|
49
49
|
"spec/css/css-3.css",
|
50
50
|
"spec/css/css.css",
|
51
|
+
"spec/css/dash-prefix.css",
|
51
52
|
"spec/css/functions.css",
|
52
53
|
"spec/css/import.css",
|
53
54
|
"spec/css/lazy-eval.css",
|
@@ -68,6 +69,7 @@ Gem::Specification.new do |s|
|
|
68
69
|
"spec/less/comments.less",
|
69
70
|
"spec/less/css-3.less",
|
70
71
|
"spec/less/css.less",
|
72
|
+
"spec/less/dash-prefix.less",
|
71
73
|
"spec/less/exceptions/mixed-units-error.less",
|
72
74
|
"spec/less/exceptions/name-error-1.0.less",
|
73
75
|
"spec/less/exceptions/syntax-error-1.0.less",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unboxed-less
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cloudhead
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-12-09 00:00:00 +00:00
|
13
13
|
default_executable: lessc
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -39,7 +39,6 @@ files:
|
|
39
39
|
- Rakefile
|
40
40
|
- VERSION
|
41
41
|
- bin/lessc
|
42
|
-
- lib/ext.rb
|
43
42
|
- lib/less.rb
|
44
43
|
- lib/less/command.rb
|
45
44
|
- lib/less/engine.rb
|
@@ -54,6 +53,7 @@ files:
|
|
54
53
|
- lib/less/engine/nodes/property.rb
|
55
54
|
- lib/less/engine/nodes/ruleset.rb
|
56
55
|
- lib/less/engine/nodes/selector.rb
|
56
|
+
- lib/less/ext.rb
|
57
57
|
- spec/command_spec.rb
|
58
58
|
- spec/css/accessors.css
|
59
59
|
- spec/css/big.css
|
@@ -61,6 +61,7 @@ files:
|
|
61
61
|
- spec/css/comments.css
|
62
62
|
- spec/css/css-3.css
|
63
63
|
- spec/css/css.css
|
64
|
+
- spec/css/dash-prefix.css
|
64
65
|
- spec/css/functions.css
|
65
66
|
- spec/css/import.css
|
66
67
|
- spec/css/lazy-eval.css
|
@@ -81,6 +82,7 @@ files:
|
|
81
82
|
- spec/less/comments.less
|
82
83
|
- spec/less/css-3.less
|
83
84
|
- spec/less/css.less
|
85
|
+
- spec/less/dash-prefix.less
|
84
86
|
- spec/less/exceptions/mixed-units-error.less
|
85
87
|
- spec/less/exceptions/name-error-1.0.less
|
86
88
|
- spec/less/exceptions/syntax-error-1.0.less
|