oulu 0.12.35 → 0.12.36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/settings/mixins/_block.sass +28 -0
- data/bower.json +1 -1
- data/lib/oulu/version.rb +1 -1
- data/package.json +1 -1
- 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: 417afcdc21a2560080209d2c2791543972cb7cfc
|
4
|
+
data.tar.gz: eeaabf30c7744c23c512034bb9e00d4e651f9281
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9717b8eb4e745e2d52869cc409862768b9898e08957b18aa3a2b468a6c7f67f8f5725b1e57b72c770e978b9b12d9fd117272c1f9e0b8ba11815ae3a680591149
|
7
|
+
data.tar.gz: fcca8d5dd69ecaca7e163dc266917d06c19edc17a0f7122fa686e850e3aca7bfd13cc0661e976f52f6d11f9d98982d55ab4d554205c6f5e13c3f06c6c21e0b12
|
@@ -28,6 +28,34 @@
|
|
28
28
|
@else
|
29
29
|
@warn "`#{$width}` is not a valid length for the `$width` parameter in the `size` mixin."
|
30
30
|
|
31
|
+
=max-size($value)
|
32
|
+
$width: nth($value, 1)
|
33
|
+
$height: $width
|
34
|
+
@if length($value) > 1
|
35
|
+
$height: nth($value, 2)
|
36
|
+
@if is-size($height)
|
37
|
+
max-height: $height
|
38
|
+
@else
|
39
|
+
@warn "`#{$height}` is not a valid length for the `$height` parameter in the `size` mixin."
|
40
|
+
@if is-size($width)
|
41
|
+
max-width: $width
|
42
|
+
@else
|
43
|
+
@warn "`#{$width}` is not a valid length for the `$width` parameter in the `size` mixin."
|
44
|
+
|
45
|
+
=min-size($value)
|
46
|
+
$width: nth($value, 1)
|
47
|
+
$height: $width
|
48
|
+
@if length($value) > 1
|
49
|
+
$height: nth($value, 2)
|
50
|
+
@if is-size($height)
|
51
|
+
min-height: $height
|
52
|
+
@else
|
53
|
+
@warn "`#{$height}` is not a valid length for the `$height` parameter in the `size` mixin."
|
54
|
+
@if is-size($width)
|
55
|
+
min-width: $width
|
56
|
+
@else
|
57
|
+
@warn "`#{$width}` is not a valid length for the `$width` parameter in the `size` mixin."
|
58
|
+
|
31
59
|
=overflow($values)
|
32
60
|
$overflow-x: optional_nth($values, 1)
|
33
61
|
$overflow-y: optional_nth($values, 2)
|
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.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- machida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|