oulu-rails 0.7.2 → 0.7.3

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: 922e23d43b6228f5a8194de080d3e0185014f7e7
4
- data.tar.gz: 81c893903c14c2d1dd8c94f88877d33800d54a8a
3
+ metadata.gz: e9d6129c23e834bc2c1a6ae517b2e0052d994fd3
4
+ data.tar.gz: 342d5c139e0b61b7bbbb60e9f7fadaa52a77f4b6
5
5
  SHA512:
6
- metadata.gz: 0e394db7a1a4eb8788a694f932b2dc78df62141e1b438cdc9fd8670f88c7807964c66a8c9af37488de60c1f91182058dc2439d45c9c4b44b9dd527ac035bf6ca
7
- data.tar.gz: 99a5c97c34348f43e095a8f7fda6ec8e829650eb4a68d76d41070722d318a042dc13aa1f5595e70acaf76f70cf6976bd483c5ad13bef8e04f9f2ef93698cfb7b
6
+ metadata.gz: 0f689eb09188b967d2c7d7e8fb21cb3cc74f343844915511c95ce25c5385a1c31b64997a07387bd4971a66a233563cffcb2eafe6030f0243221602c96624379c
7
+ data.tar.gz: 0ef77a4c54ff0e0399f138aa8f92199ea1fadbf583c087c122a1de58cb6b19c33c20f3c2e874232888c6a4d05acefaebc02466118b527b213c67281e81437ba2
@@ -1,3 +1,3 @@
1
1
  module OuluRails
2
- VERSION = "0.7.2"
2
+ VERSION = "0.7.3"
3
3
  end
@@ -0,0 +1,5 @@
1
+ @function display($value)
2
+ @if $value == "inline" or $value == "block" or $value == "list-item" or $value == "run-in" or $value == "inline-block" or $value == "table" or $value == "inline-table" or $value == "table-row-group" or $value == "table-header-group" or $value == "table-footer-group" or $value == "table-row" or $value == "table-column-group" or $value == "table-column" or $value == "table-cell" or $value == "table-caption" or $value == "none"
3
+ @return true
4
+ @else
5
+ @return null
@@ -105,6 +105,9 @@ input[type="file"]::-webkit-file-upload-button
105
105
  background: $selection-bg-color
106
106
  color: $selection-tx-color
107
107
 
108
+ *
109
+ box-sizing: border-box
110
+
108
111
  #{$all-text-inputs},
109
112
  textarea
110
113
  &::selection
@@ -12,7 +12,7 @@ $baseline-px: 10px !default
12
12
  font-size: strip_unit($baseline-px / 10) * 1rem
13
13
 
14
14
  =rem($property, $px-values, $important: null)
15
- @if $rem == true and px($px-values) or list($px-values)
15
+ @if $rem == true and (px($px-values) or list($px-values))
16
16
  @if $property == "font-size" and $px-values < 10px
17
17
  // 9px以下のfont-sizeを使う設定(IE8不可)
18
18
  +base-font-size
@@ -4,7 +4,8 @@
4
4
  text-align: if(text_align($value), $value, null)
5
5
  color: if(color($value), $value, null)
6
6
  white-space: if(white_space($value), $value, null)
7
- @if px($value)
7
+ display: if(display($value), $value, null)
8
+ @if number($value)
8
9
  +top($value, null)
9
10
 
10
11
  // +text-block($font-size $line-height $margin-bottom, $font-weight $text-align $color $top)
@@ -2,7 +2,7 @@
2
2
  // rem
3
3
  ////////////////
4
4
 
5
- $rem: false
5
+ $rem: false !default
6
6
 
7
7
  /////////////////
8
8
  // positions
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.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - machida
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-07 00:00:00.000000000 Z
11
+ date: 2015-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass-rails
@@ -135,6 +135,7 @@ files:
135
135
  - vendor/assets/stylesheets/settings/functions/_color.sass
136
136
  - vendor/assets/stylesheets/settings/functions/_content.sass
137
137
  - vendor/assets/stylesheets/settings/functions/_cursor.sass
138
+ - vendor/assets/stylesheets/settings/functions/_display.sass
138
139
  - vendor/assets/stylesheets/settings/functions/_grid.sass
139
140
  - vendor/assets/stylesheets/settings/functions/_image.sass
140
141
  - vendor/assets/stylesheets/settings/functions/_length.sass
@@ -192,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
193
  version: '0'
193
194
  requirements: []
194
195
  rubyforge_project:
195
- rubygems_version: 2.4.8
196
+ rubygems_version: 2.4.5.1
196
197
  signing_key:
197
198
  specification_version: 4
198
199
  summary: A mixin library for Sass.