oulu 0.12.36 → 0.12.37

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: 417afcdc21a2560080209d2c2791543972cb7cfc
4
- data.tar.gz: eeaabf30c7744c23c512034bb9e00d4e651f9281
3
+ metadata.gz: c338ef265eeca4f2ce89ae6dbbb7b0f434a8489e
4
+ data.tar.gz: ab0a15785ca813f60d49ae28135eb05355629b09
5
5
  SHA512:
6
- metadata.gz: 9717b8eb4e745e2d52869cc409862768b9898e08957b18aa3a2b468a6c7f67f8f5725b1e57b72c770e978b9b12d9fd117272c1f9e0b8ba11815ae3a680591149
7
- data.tar.gz: fcca8d5dd69ecaca7e163dc266917d06c19edc17a0f7122fa686e850e3aca7bfd13cc0661e976f52f6d11f9d98982d55ab4d554205c6f5e13c3f06c6c21e0b12
6
+ metadata.gz: 9adacadbc123b1823a5f4be4bd6202a9cc9863a2af6f46d670a0dcb67f968d90012822268d16b2616bd60da519561fbbdbc04e3f62184943f4c83fb9f6c02975
7
+ data.tar.gz: 84fdc22acfce9d6ea26464d94a7d6dc93d12d3e83a1ba2cdeedd39b93add0633c1f5a83b6b166d33fae2a76f2c74df3974d1299489bfcc6026165a91c243a28f
@@ -40,10 +40,11 @@
40
40
  border-width: $border-width
41
41
  @else
42
42
  $border-width: 0
43
- height: $button-height
43
+ height: auto
44
+ min-height: $button-height
44
45
  $vertical-padding: ($button-height - $font-size - ($border-width * 2)) / 2
45
46
  +padding(vertical, $vertical-padding)
46
- +text-block($font-size 1)
47
+ +text-block($font-size 1.45)
47
48
  @if $border-radius
48
49
  border-radius: $border-radius
49
50
  @if $font-size > .6875rem and 1rem > $font-size
@@ -56,9 +57,6 @@
56
57
  margin-right: $font-size/4
57
58
  @else
58
59
  margin-right: $font-size/3
59
- &.is-multi-lines
60
- height: auto
61
- line-height: 1.45
62
60
  &.has-right-icon
63
61
  i,
64
62
  .is-button-icon
@@ -90,6 +88,7 @@
90
88
  +size($icon-width $button-height)
91
89
  &.is-select
92
90
  padding: 0
91
+ height: auto
93
92
  $icon-width: $font-size * 2.7
94
93
  $icon-size: $font-size * 1.3
95
94
  position: relative
@@ -97,11 +96,12 @@
97
96
  &:after
98
97
  +fa("\f0d7")
99
98
  +position(absolute, right 0, top 0 bottom 0, 0)
100
- +text-block($icon-size ($button-height), center)
99
+ +text-block($icon-size ($button-height + ($border-width * 2)), center)
101
100
  +size($icon-width null)
102
101
  select
103
- padding: 0 (($font-size * 1.4) + $icon-width) 0 ($font-size * 1.4)
104
102
  font-size: inherit
103
+ height: $button-height
104
+ +padding(horizontal, (($font-size * 1.4) ($font-size * 1.4) + $icon-width))
105
105
  +padding(vertical, $vertical-padding)
106
106
  +position(relative, 1)
107
107
  &.is-radio,
@@ -21,13 +21,13 @@
21
21
  &[type="button"],
22
22
  &[type="reset"],
23
23
  &[type="submit"]
24
- display: block
24
+ display: flex
25
25
  select
26
26
  display: block
27
27
  width: 100%
28
28
  &.is-radio,
29
29
  &.is-checkbox
30
- display: block
30
+ display: flex
31
31
  input
32
32
  opacity: 0
33
33
  +position(absolute)
@@ -70,7 +70,7 @@ button[class*="is-button"]
70
70
  .is-button-group
71
71
  font-size: 0
72
72
  >li
73
- display: inline-block
73
+ display: inline-flex
74
74
  letter-spacing: normal
75
75
  font-size: 0
76
76
  @for $i from 1 through 12
@@ -37,7 +37,7 @@
37
37
  text-indent: $space-width
38
38
 
39
39
  =ellipsis($max-width: 100%)
40
- display: inline-block
40
+ display: inline-flex
41
41
  max-width: $max-width
42
42
  overflow: hidden
43
43
  text-overflow: ellipsis
data/bower.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oulu",
3
- "version": "0.12.36",
3
+ "version": "0.12.37",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
data/lib/oulu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Oulu
2
- VERSION = "0.12.36"
2
+ VERSION = "0.12.37"
3
3
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oulu",
3
- "version": "0.12.36",
3
+ "version": "0.12.37",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
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.36
4
+ version: 0.12.37
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 00:00:00.000000000 Z
11
+ date: 2017-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor