oulu 0.12.2 → 0.12.3
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eee1b0784f86c82ec69467bab7169a71cab30e4f
|
|
4
|
+
data.tar.gz: 8cfb2238d0d88e8433dd106cfe5ea4d8c0db1ee9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 89bd4febe99cf0c9e9125c3611ff83275dbeba6b1fe4f67df0bbf43fc5b2703614e8338c999f7cdbede484dc8f51acdee59669572da70ceadf981d54489f11c8
|
|
7
|
+
data.tar.gz: 173a6812baec6ea87b69f10ffb8f4ad8f7ed66a15d55e32559a60ea73764acc1baeea6fadb63da58b518d827d5e095eb1c61938fb97e479480fec26b312281ca
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
@if list($value)
|
|
9
9
|
@if string(nth($value, 1)) and not str-index(nth($value, 1), '/')
|
|
10
10
|
@return true
|
|
11
|
+
@else if string(nth($value, 1)) and not str-index(nth($value, 1), '\/')
|
|
12
|
+
@return true
|
|
11
13
|
@else if number(nth($value, 1))
|
|
12
14
|
@return true
|
|
13
15
|
@else
|
|
@@ -16,27 +18,38 @@
|
|
|
16
18
|
@return null
|
|
17
19
|
|
|
18
20
|
@function background_size($value)
|
|
19
|
-
@if
|
|
20
|
-
@
|
|
21
|
-
@return unquote('/') $value
|
|
22
|
-
@else
|
|
23
|
-
@return null
|
|
21
|
+
@if $value == auto or $value == contain or $value == cover
|
|
22
|
+
@return true
|
|
24
23
|
@else if list($value)
|
|
25
|
-
@if string(nth($value, 1)) and str-index(nth($value, 1), '
|
|
26
|
-
@return
|
|
24
|
+
@if string(nth($value, 1)) and str-index(nth($value, 1), '\/')
|
|
25
|
+
@return ture
|
|
26
|
+
@else if string(nth($value, 1)) and str-index(nth($value, 1), '/')
|
|
27
|
+
@return ture
|
|
27
28
|
@else
|
|
28
29
|
@return null
|
|
29
30
|
@else
|
|
30
31
|
@return null
|
|
31
32
|
|
|
33
|
+
@function background_size_value($value)
|
|
34
|
+
@if background_size($value)
|
|
35
|
+
@if list($value)
|
|
36
|
+
@if string(nth($value, 1)) and str-index(nth($value, 1), '\/')
|
|
37
|
+
@return unquote(str-replace(nth($value, 1), '\\/', '/') + ' ' + nth($value, 2))
|
|
38
|
+
@else
|
|
39
|
+
@return unquote('/' + $value)
|
|
40
|
+
@else
|
|
41
|
+
@return unquote('/' + $value)
|
|
42
|
+
@else
|
|
43
|
+
@return null
|
|
44
|
+
|
|
32
45
|
@function background_repeat($value)
|
|
33
|
-
@if $value ==
|
|
46
|
+
@if $value == no-repeat or $value == repeat or $value == repeat-x or $value == repeat-y
|
|
34
47
|
@return true
|
|
35
48
|
@else
|
|
36
49
|
@return null
|
|
37
50
|
|
|
38
51
|
@function background_attachment($value)
|
|
39
|
-
@if $value ==
|
|
52
|
+
@if $value == fixed or $value == scroll
|
|
40
53
|
@return true
|
|
41
54
|
@else
|
|
42
55
|
@return null
|
|
@@ -57,10 +70,7 @@
|
|
|
57
70
|
@return null
|
|
58
71
|
|
|
59
72
|
@function background_clip($value)
|
|
60
|
-
@if
|
|
61
|
-
@
|
|
62
|
-
@return true
|
|
63
|
-
@else
|
|
64
|
-
@return null
|
|
73
|
+
@if $value == \"border" or $value == \"padding" or $value == \"content" or $value == \"text"
|
|
74
|
+
@return true
|
|
65
75
|
@else
|
|
66
76
|
@return null
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
@else if background_attachment($property)
|
|
25
25
|
$background-attachment: $property
|
|
26
26
|
@else if background_size($property)
|
|
27
|
-
$background-size:
|
|
27
|
+
$background-size: background_size_value($property)
|
|
28
28
|
@else if background_clip($property)
|
|
29
29
|
$background-clip: $property
|
|
30
30
|
@if background-size != () and $background-position == ()
|
data/bower.json
CHANGED
data/lib/oulu/version.rb
CHANGED
data/package.json
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oulu
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.12.
|
|
4
|
+
version: 0.12.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- machida
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-06-
|
|
11
|
+
date: 2016-06-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|