oulu-rails 0.6.16 → 0.6.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/oulu-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/settings/functions/_number.sass +8 -0
- data/vendor/assets/stylesheets/settings/mixins/_balloon-tail.sass +5 -11
- data/vendor/assets/stylesheets/settings/mixins/_block.sass +6 -6
- data/vendor/assets/stylesheets/settings/mixins/_link.sass +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: 8f07c0aa8b00d484ff2e0f3589548d8e1242c0b8
|
4
|
+
data.tar.gz: e0f3de811b6b89f46b4c374b560abdbad34c69df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18be6ec144e4909cd4bf4ec10c0d14bedec0c98bfae818da0791e13e4f1ab6fbf1ce50fd06c9b700536e0a84daaed9bcaa13400c594dd5123ca19471fc963d2e
|
7
|
+
data.tar.gz: ee08101ae51b9a3f88b6f190416acfca29602a2f76742505d1e4aaefdba5666913f705b58fa7d28398c8c00531fe6457dd59ab4dc32cf35db44143f4fd6c0307
|
data/lib/oulu-rails/version.rb
CHANGED
@@ -85,3 +85,11 @@
|
|
85
85
|
@return (strip_unit($em) * strip_unit($base-px)) * 1px
|
86
86
|
@else if px($em)
|
87
87
|
@return $em
|
88
|
+
|
89
|
+
@function multiple($number, $multiple_number)
|
90
|
+
// $multiple_number で割り切れる $number に近い数を出す
|
91
|
+
$remainder: $number % $multiple_number
|
92
|
+
@if $remainder == 0
|
93
|
+
@return "#{$number - $remainder}"
|
94
|
+
@else
|
95
|
+
@return "#{$number - $remainder} and #{$number + $remainder}"
|
@@ -18,9 +18,6 @@
|
|
18
18
|
@else if position_horizontal($tail-direction) and position_vertical($key)
|
19
19
|
// 矢印の向きが左右で manual が top or bottom の場合
|
20
20
|
+rem($key, $value + if($tail-border-color, $parent-boder-width, 0))
|
21
|
-
@else if $tail-direction == $key
|
22
|
-
// 矢印の向きと manual で指定する方向が同じ場合
|
23
|
-
+rem($key, $value - $tail-height*2 - if($tail-border-color, 0, $parent-boder-width))
|
24
21
|
@else if reverse($tail-direction) == $key
|
25
22
|
// 上向き矢印 で manual が bottom の場合 or 下向き矢印 で manual が top の場合
|
26
23
|
+rem($key, $value - if($tail-border-color, 0, $parent-boder-width))
|
@@ -33,9 +30,6 @@
|
|
33
30
|
@else if position_horizontal($tail-direction) and position_vertical($key)
|
34
31
|
// 矢印の向きが左右で manual が top or bottom の場合
|
35
32
|
+rem($key, $value)
|
36
|
-
@else if $tail-direction == $key
|
37
|
-
// 矢印の向きと manual で指定する方向が同じ場合
|
38
|
-
+rem($key, $value - $tail-height*2)
|
39
33
|
@else if reverse($tail-direction) == $key
|
40
34
|
// 上向き矢印 で manual が bottom の場合 or 下向き矢印 で manual が top の場合
|
41
35
|
+rem($key, $value)
|
@@ -62,9 +56,9 @@
|
|
62
56
|
+border(horizontal, $tail-width/2)
|
63
57
|
+rem($tail-direction, $tail-height*2*-1 - if($tail-border-color, 0, $parent-boder-width))
|
64
58
|
@if not $tail-position-manual or (length($tail-position-manual) == 2 and position_vertical($tail-position-manual-direction1))
|
65
|
-
// manual
|
59
|
+
// manual なし、または 一つだけ指定 上下方向 の場合
|
66
60
|
left: 50%
|
67
|
-
+rem('margin-left', $tail-width*-1)
|
61
|
+
+rem('margin-left', $tail-width/2*-1)
|
68
62
|
@if $tail-position-manual
|
69
63
|
+tail-position-manual($tail-direction, $tail-border-color, $parent-boder-width, $tail-position-manuals)
|
70
64
|
@if position_horizontal($tail-direction)
|
@@ -73,7 +67,7 @@
|
|
73
67
|
+border(vertical, $tail-width/2)
|
74
68
|
+rem($tail-direction, $tail-height*2*-1 - if($tail-border-color, 0, $parent-boder-width))
|
75
69
|
@if not $tail-position-manual or (length($tail-position-manual) == 2 and position_horizontal($tail-position-manual-direction1))
|
76
|
-
// manual
|
70
|
+
// manual なし、または 一つだけ指定 上下方向 の場合
|
77
71
|
top: 50%
|
78
72
|
+rem('margin-top', ($tail-width/2)*-1)
|
79
73
|
@if $tail-position-manual
|
@@ -83,7 +77,7 @@
|
|
83
77
|
// tail border があるとき - 以下 tail-border の設定
|
84
78
|
&:before
|
85
79
|
$tail-width: round($tail-width + $parent-boder-width*2)/2
|
86
|
-
$tail-height: round($tail-height + $parent-boder-width*
|
80
|
+
$tail-height: round($tail-height + $parent-boder-width*2)
|
87
81
|
$tail-color: $tail-border-color
|
88
82
|
+balloon-tail-setting($tail-direction, $tail-color)
|
89
83
|
@if position_vertical($tail-direction)
|
@@ -92,7 +86,7 @@
|
|
92
86
|
@if not $tail-position-manual or (length($tail-position-manual) == 2 and position_vertical($tail-position-manual-direction1))
|
93
87
|
// manual なし もしくは 一つだけ指定 上下方向 の場合
|
94
88
|
left: 50%
|
95
|
-
+rem('margin-left', round($tail-width*-1
|
89
|
+
+rem('margin-left', round($tail-width*-1))
|
96
90
|
@if $tail-position-manual
|
97
91
|
+tail-border-position-manual($tail-direction, $tail-position-manuals)
|
98
92
|
@if position_horizontal($tail-direction)
|
@@ -37,14 +37,14 @@
|
|
37
37
|
@else
|
38
38
|
+rem('line-height', $square-block-size)
|
39
39
|
|
40
|
-
=
|
41
|
-
$
|
42
|
-
$
|
40
|
+
=overflow($values)
|
41
|
+
$overflow-x: optional_nth($values, 1)
|
42
|
+
$overflow-y: optional_nth($values, 2)
|
43
43
|
@if equal_nth($values, 2)
|
44
|
-
|
45
|
-
|
44
|
+
overflow-x: $overflow-x
|
45
|
+
overflow-y: $overflow-y
|
46
46
|
@else
|
47
|
-
|
47
|
+
overflow: $overflow-x
|
48
48
|
|
49
49
|
=inline-block($value: null)
|
50
50
|
display: inline-block
|
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.6.
|
4
|
+
version: 0.6.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- machida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass-rails
|