middleman-oulu 0.6.18 → 0.6.20
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: ed25ae0f0335fde240087144de641734df71e0ac
|
4
|
+
data.tar.gz: aac1ab5b1bd25432c32b5031b90b221f6c486cf4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b44c4fa9d0129d97b1455eb751f6ce324b5d660a18a6cc4af7b26f832d74242d99f04ee6d2e76a6606be90a40fbbf28b1518b439a8b6c4f924fe7ae7aa53116
|
7
|
+
data.tar.gz: a001113d36987d3015c19255da106108c0f2601b72912f9094f4686eb8ac213f4e89b10b480148658e7c1ff076d8fe5fa0443432c6269e11a1b6ef5466dea669
|
@@ -1,6 +1,6 @@
|
|
1
|
-
$button-sizes: xs, sm, md, lg, xl
|
2
|
-
$button-color-names: default, primary, success, warning, danger
|
3
|
-
$button-styles: normal, border, flat-emboss, material
|
1
|
+
$button-sizes: xs, sm, md, lg, xl !default
|
2
|
+
$button-color-names: default, primary, success, warning, danger !default
|
3
|
+
$button-styles: normal, border, flat-emboss, material !default
|
4
4
|
|
5
5
|
@import button-base
|
6
6
|
|
@@ -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)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-oulu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.20
|
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-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|