oulu-rails 0.5.7 → 0.5.8
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: 72b2b6d73e0b993646a3339c1a62a25ecd7f3319
|
4
|
+
data.tar.gz: a9e457da1913f9dbd3e7bd9ddcaa73413cb0f30a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ef10eccbde6368a667f5395141cf3516504c928243be07c7fe1177f2894bdda12a93ebb5a1bc70f6b627578ce9ac9cf8cf458bc38d85897044cb4fb5fb8ef2b
|
7
|
+
data.tar.gz: 033407c0aee65550a8cce1aad9759b8e948eac69031cc1c07ff8c1cf988965b420c69d99494fcff34fbef684d1a7df21d85d7786c3a75e8376df0b1086e4dc1d
|
data/lib/oulu-rails/version.rb
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
@if string($value)
|
23
23
|
@if $value == 'auto' or $value == 'contain' or $value == 'cover'
|
24
24
|
@return true
|
25
|
-
@else if str-slice($value, 2)== 'auto' or $value == 'contain' or $value == 'cover'
|
25
|
+
@else if str-slice($value, 2) == 'auto' or $value == 'contain' or $value == 'cover'
|
26
26
|
@return true
|
27
27
|
@else
|
28
28
|
@return null
|
@@ -36,11 +36,8 @@
|
|
36
36
|
@return null
|
37
37
|
|
38
38
|
@function background_repeat($value)
|
39
|
-
@if
|
40
|
-
@
|
41
|
-
@return true
|
42
|
-
@else
|
43
|
-
@return null
|
39
|
+
@if $value == 'no-repeat' or $value == 'repeat' or $value == 'repeat-x' or $value == 'repeat-y'
|
40
|
+
@return true
|
44
41
|
@else
|
45
42
|
@return null
|
46
43
|
|
@@ -51,10 +48,7 @@
|
|
51
48
|
@return null
|
52
49
|
|
53
50
|
@function background-image($value)
|
54
|
-
@if
|
55
|
-
@
|
56
|
-
@return true
|
57
|
-
@else
|
58
|
-
@return null
|
51
|
+
@if image($value)
|
52
|
+
@return true
|
59
53
|
@else
|
60
54
|
@return null
|
@@ -48,12 +48,12 @@ $ruma-threshold: 100 / pi() !default
|
|
48
48
|
@return null
|
49
49
|
|
50
50
|
@function luma_contrast_color($color)
|
51
|
-
$bright-color: #
|
52
|
-
$dark-color: #
|
53
|
-
@if
|
54
|
-
@return $bright-color
|
51
|
+
$luma-contrast-bright-color: #000000 !default
|
52
|
+
$luma-contrast-dark-color: #ffffff !default
|
53
|
+
@if luma_which($color) == bright
|
54
|
+
@return $luma-contrast-bright-color
|
55
55
|
@else
|
56
|
-
@return $dark-color
|
56
|
+
@return $luma-contrast-dark-color
|
57
57
|
|
58
58
|
@function luma_add_contrast($background-color, $candidate-color)
|
59
59
|
@if luma_contrast($background-color, $candidate-color)
|
@@ -1,8 +1,10 @@
|
|
1
1
|
@function image($value)
|
2
2
|
@if string($value)
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
$image-extensions: '.jpg' '.jpeg' '.gif' '.png' '.tiff' '.tif'
|
4
|
+
@each $image-extension in $image-extensions
|
5
|
+
@if number(str-index(to-lower-case($value), if'.jpg')) or number(str-index(to-lower-case($value), '.jpeg')) or number(str-index(to-lower-case($value), '.gif')) or number(str-index(to-lower-case($value), '.png')) or number(str-index(to-lower-case($value), '.tiff')) or number(str-index(to-lower-case($value), '.tif')) or number(str-index(to-lower-case($value), '.bmp')) or number(str-index(to-lower-case($value), '.pct')) or number(str-index(to-lower-case($value), '.jpe')) or number(str-index(to-lower-case($value), '.jfif')) or number(str-index(to-lower-case($value), '.dib'))
|
6
|
+
@return true
|
7
|
+
@else
|
8
|
+
@return null
|
7
9
|
@else
|
8
10
|
@return null
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oulu-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- machida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass-rails
|
@@ -136,7 +136,7 @@ dependencies:
|
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
|
-
description:
|
139
|
+
description: A mixin library for Sass.
|
140
140
|
email:
|
141
141
|
- machida@fjord.jp
|
142
142
|
executables: []
|
@@ -335,7 +335,7 @@ files:
|
|
335
335
|
- vendor/assets/stylesheets/settings/mixins/_tables.css.sass
|
336
336
|
- vendor/assets/stylesheets/settings/mixins/_text.css.sass
|
337
337
|
- vendor/assets/stylesheets/settings/variables/_default.css.sass
|
338
|
-
homepage: http://
|
338
|
+
homepage: http://oulu.github.io/
|
339
339
|
licenses: []
|
340
340
|
metadata: {}
|
341
341
|
post_install_message:
|
@@ -357,6 +357,6 @@ rubyforge_project:
|
|
357
357
|
rubygems_version: 2.4.3
|
358
358
|
signing_key:
|
359
359
|
specification_version: 4
|
360
|
-
summary:
|
360
|
+
summary: A mixin library for Sass.
|
361
361
|
test_files: []
|
362
362
|
has_rdoc:
|