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 +4 -4
- data/lib/oulu-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/settings/functions/_display.sass +5 -0
- data/vendor/assets/stylesheets/settings/initializers/_reset.sass +3 -0
- data/vendor/assets/stylesheets/settings/mixins/_rem.sass +1 -1
- data/vendor/assets/stylesheets/settings/mixins/_text.sass +2 -1
- data/vendor/assets/stylesheets/settings/variables/_default.sass +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9d6129c23e834bc2c1a6ae517b2e0052d994fd3
|
4
|
+
data.tar.gz: 342d5c139e0b61b7bbbb60e9f7fadaa52a77f4b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f689eb09188b967d2c7d7e8fb21cb3cc74f343844915511c95ce25c5385a1c31b64997a07387bd4971a66a233563cffcb2eafe6030f0243221602c96624379c
|
7
|
+
data.tar.gz: 0ef77a4c54ff0e0399f138aa8f92199ea1fadbf583c087c122a1de58cb6b19c33c20f3c2e874232888c6a4d05acefaebc02466118b527b213c67281e81437ba2
|
data/lib/oulu-rails/version.rb
CHANGED
@@ -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
|
@@ -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
|
-
|
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)
|
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.
|
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-
|
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.
|
196
|
+
rubygems_version: 2.4.5.1
|
196
197
|
signing_key:
|
197
198
|
specification_version: 4
|
198
199
|
summary: A mixin library for Sass.
|