oulu-rails 0.7.1 → 0.7.2
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/helpers/_block.sass +2 -2
- data/vendor/assets/stylesheets/modules/buttons/_button-base.sass +2 -2
- data/vendor/assets/stylesheets/modules/buttons/styles/_material.sass +3 -3
- data/vendor/assets/stylesheets/modules/navs/_tabs-nav.sass +4 -4
- data/vendor/assets/stylesheets/options/glitch/_glitch.sass +3 -3
- data/vendor/assets/stylesheets/options/web-fonts/_font-awsome.sass +4 -4
- data/vendor/assets/stylesheets/settings/initializers/_reset.sass +2 -0
- data/vendor/assets/stylesheets/settings/mixins/_grid.sass +2 -2
- data/vendor/assets/stylesheets/settings/mixins/_list.sass +3 -4
- data/vendor/assets/stylesheets/settings/mixins/_positions.sass +22 -17
- data/vendor/assets/stylesheets/settings/mixins/_rem.sass +1 -1
- data/vendor/assets/stylesheets/settings/variables/_default.sass +6 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 922e23d43b6228f5a8194de080d3e0185014f7e7
|
4
|
+
data.tar.gz: 81c893903c14c2d1dd8c94f88877d33800d54a8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e394db7a1a4eb8788a694f932b2dc78df62141e1b438cdc9fd8670f88c7807964c66a8c9af37488de60c1f91182058dc2439d45c9c4b44b9dd527ac035bf6ca
|
7
|
+
data.tar.gz: 99a5c97c34348f43e095a8f7fda6ec8e829650eb4a68d76d41070722d318a042dc13aa1f5595e70acaf76f70cf6976bd483c5ad13bef8e04f9f2ef93698cfb7b
|
data/lib/oulu-rails/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
body
|
2
2
|
// layout
|
3
3
|
.has-no-gutter-grids
|
4
|
-
+
|
4
|
+
+grid(0)
|
5
5
|
.is-horizontal-center-block
|
6
6
|
display: block
|
7
7
|
+margin(horizontal, auto)
|
@@ -59,7 +59,7 @@ body
|
|
59
59
|
+fixed(left 0, top 0)
|
60
60
|
width: 100%
|
61
61
|
.is-z-index-100
|
62
|
-
+relative
|
62
|
+
+position(relative, 100)
|
63
63
|
|
64
64
|
// vertical-align
|
65
65
|
.is-vertical-middle
|
@@ -48,10 +48,10 @@
|
|
48
48
|
+rem('margin-left', $font-size/3)
|
49
49
|
&.is-input-container
|
50
50
|
padding: 0
|
51
|
-
|
51
|
+
position: relative
|
52
52
|
i,
|
53
53
|
.is-button-icon
|
54
|
-
+absolute
|
54
|
+
+position(absolute, left $height/2, top 0)
|
55
55
|
+rem('line-height', $height - ($border-width*2))
|
56
56
|
input
|
57
57
|
+padding(horizontal, ($height + if($font-size > 28, $font-size/4, $font-size/3)) $height/2)
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=waves-effect($color: black)
|
2
|
-
+relative
|
2
|
+
+position(relative, 1)
|
3
3
|
overflow: hidden
|
4
4
|
will-change: opacity, transform
|
5
5
|
+transition(all .3s ease-out)
|
6
6
|
.waves-ripple
|
7
|
-
|
7
|
+
position: absolute
|
8
8
|
border-radius: 50%
|
9
9
|
+block-size(20px)
|
10
10
|
+rem('margin-top', -10px)
|
@@ -75,7 +75,7 @@
|
|
75
75
|
border-radius: 0.2em
|
76
76
|
vertical-align: bottom
|
77
77
|
.waves-button-input
|
78
|
-
+relative
|
78
|
+
+position(relative, 1, top 0, left 0)
|
79
79
|
.waves-circle
|
80
80
|
text-align: center
|
81
81
|
+size(2.5em)
|
@@ -8,13 +8,13 @@ $tabs-nav-current-font-color: red !default
|
|
8
8
|
|
9
9
|
.tabs-nav__items
|
10
10
|
font-size: 0
|
11
|
-
|
11
|
+
position: relative
|
12
12
|
&:before
|
13
13
|
content: ""
|
14
14
|
display: block
|
15
15
|
+block-size(100% $tabs-nav-border-width)
|
16
16
|
background-color: $tabs-nav-border-color
|
17
|
-
+absolute
|
17
|
+
+position(absolute, left 0, bottom 0)
|
18
18
|
.tabs-nav__item
|
19
19
|
+inline-block(bottom)
|
20
20
|
+rem('margin-right', 8px)
|
@@ -27,12 +27,12 @@ $tabs-nav-current-font-color: red !default
|
|
27
27
|
+text-block($tabs-nav-font-size round($tabs-nav-font-size*2.6), center $tabs-nav-font-color)
|
28
28
|
+padding(horizontal, $tabs-nav-font-size*1.6)
|
29
29
|
box-sizing: border-box
|
30
|
-
|
30
|
+
position: relative
|
31
31
|
&:before
|
32
32
|
display: block
|
33
33
|
+block-size(100% $tabs-nav-border-width)
|
34
34
|
background-color: $tabs-nav-background-color
|
35
|
-
+absolute
|
35
|
+
+position(absolute, left 0, bottom 0)
|
36
36
|
&.is-current
|
37
37
|
color: $tabs-nav-current-font-color
|
38
38
|
&:before
|
@@ -10,7 +10,7 @@
|
|
10
10
|
clip: rect(random(100) + px, 9999px, random(100) + px, 0)
|
11
11
|
|
12
12
|
=glitch($cl: white, $bg-col: black)
|
13
|
-
|
13
|
+
position: relative
|
14
14
|
overflow: hidden
|
15
15
|
display: inline-block
|
16
16
|
color: $cl
|
@@ -22,10 +22,10 @@
|
|
22
22
|
overflow: hidden
|
23
23
|
clip: rect(0, 900px, 0, 0)
|
24
24
|
&:after
|
25
|
-
+absolute
|
25
|
+
+position(absolute, left 1px, top 0)
|
26
26
|
+rem('text-shadow', -1px 0 0 rgba(red, 0.4))
|
27
27
|
+animation(noise-anim 2s infinite linear alternate-reverse)
|
28
28
|
&:before
|
29
|
-
+absolute
|
29
|
+
+position(absolute, left -1px, top 0)
|
30
30
|
+rem('text-shadow', 1px 0 0 rgba(blue, 0.4))
|
31
31
|
+animation(noise-anim-2 3s infinite linear alternate-reverse)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
=fa
|
1
|
+
=fa($icon: null)
|
2
2
|
display: inline-block
|
3
3
|
font-family: FontAwesome
|
4
4
|
font-style: normal
|
@@ -6,12 +6,12 @@
|
|
6
6
|
line-height: 1
|
7
7
|
-webkit-font-smoothing: antialiased
|
8
8
|
-moz-osx-font-smoothing: grayscale
|
9
|
+
content: "#{$icon}"
|
9
10
|
|
10
11
|
=fa-icon($icon: '\f105', $size: 16px 12px, $options: null, $position1:null, $position2: null)
|
11
12
|
&:before
|
12
|
-
+fa
|
13
|
-
content: "#{$icon}"
|
13
|
+
+fa($icon)
|
14
14
|
@if $position1
|
15
|
-
+absolute
|
15
|
+
+position(absolute, if($position1, $position1, null), if($position2, $position2, null))
|
16
16
|
@if $size
|
17
17
|
+text-block($size, $options)
|
@@ -7,14 +7,13 @@
|
|
7
7
|
@if nth($list-style, $i) == "fa"
|
8
8
|
list-style-type: none
|
9
9
|
>li
|
10
|
-
|
10
|
+
position: relative
|
11
11
|
display: block
|
12
12
|
+rem('padding-left', optional_nth($icon-position, 1) + optional_nth($icon-position, 3))
|
13
13
|
&:before
|
14
|
-
+fa
|
14
|
+
+fa(optional_nth($list-style, $i + 1))
|
15
15
|
+text-block(optional_nth($icon-position, 1) optional_nth($icon-position, 1))
|
16
|
-
|
17
|
-
+absolute(left 0, top optional_nth($icon-position, 2))
|
16
|
+
+position(absolute, left 0, top optional_nth($icon-position, 2))
|
18
17
|
@else if list_style_type(nth($list-style, $i))
|
19
18
|
list-style-type: nth($list-style, $i)
|
20
19
|
@else if list_style_position(nth($list-style, $i))
|
@@ -1,28 +1,33 @@
|
|
1
|
-
=position-list($value1, $value2, $value3, $value4, $value5)
|
2
|
-
$values: $value1 $value2 $value3 $value4 $value5
|
1
|
+
=position-list($value1, $value2, $value3, $value4, $value5, $value6)
|
2
|
+
$values: $value1 $value2 $value3 $value4 $value5 $value6
|
3
3
|
@each $value in $values
|
4
4
|
@if optional_nth($value, 2)
|
5
5
|
+rem(nth($value, 1), nth($value, 2))
|
6
|
-
@else
|
6
|
+
@else if unitless_number($value)
|
7
7
|
z-index: nth($value, 1)
|
8
|
+
@else
|
9
|
+
position: $value
|
8
10
|
|
9
|
-
=absolute($value1: null, $value2: null, $value3: null, $value4: null, $value5: null)
|
11
|
+
=absolute($value1: null, $value2: null, $value3: null, $value4: null, $value5: null, $value6: null)
|
10
12
|
position: absolute
|
11
|
-
+position-list($value1, $value2, $value3, $value4, $value5)
|
13
|
+
+position-list($value1, $value2, $value3, $value4, $value5, $value6)
|
12
14
|
|
13
|
-
=fixed($value1: null, $value2: null, $value3: null, $value4: null, $value5: null)
|
15
|
+
=fixed($value1: null, $value2: null, $value3: null, $value4: null, $value5: null, $value6: null)
|
14
16
|
position: fixed
|
15
|
-
+position-list($value1, $value2, $value3, $value4, $value5)
|
17
|
+
+position-list($value1, $value2, $value3, $value4, $value5, $value6)
|
16
18
|
|
17
|
-
=relative($value1: null, $value2: null, $value3: null, $value4: null, $value5: null)
|
19
|
+
=relative($value1: null, $value2: null, $value3: null, $value4: null, $value5: null, $value6: null)
|
18
20
|
position: relative
|
19
|
-
+position-list($value1, $value2, $value3, $value4, $value5)
|
21
|
+
+position-list($value1, $value2, $value3, $value4, $value5, $value6)
|
22
|
+
|
23
|
+
=position($value1: null, $value2: null, $value3: null, $value4: null, $value5: null, $value6: null)
|
24
|
+
+position-list($value1, $value2, $value3, $value4, $value5, $value6)
|
20
25
|
|
21
|
-
=top($position
|
22
|
-
+relative(top $position
|
23
|
-
=bottom($position
|
24
|
-
+relative(bottom $position
|
25
|
-
=left($position
|
26
|
-
+relative(left $position
|
27
|
-
=right($position
|
28
|
-
+relative(right $position
|
26
|
+
=top($position, $z-index: null)
|
27
|
+
+relative(top $position, $z-index)
|
28
|
+
=bottom($position, $z-index: null)
|
29
|
+
+relative(bottom $position, $z-index)
|
30
|
+
=left($position, $z-index: null)
|
31
|
+
+relative(left $position, $z-index)
|
32
|
+
=right($position, $z-index: null)
|
33
|
+
+relative(right $position, $z-index)
|
@@ -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 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
|
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.2
|
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-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass-rails
|
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
192
|
version: '0'
|
193
193
|
requirements: []
|
194
194
|
rubyforge_project:
|
195
|
-
rubygems_version: 2.4.
|
195
|
+
rubygems_version: 2.4.8
|
196
196
|
signing_key:
|
197
197
|
specification_version: 4
|
198
198
|
summary: A mixin library for Sass.
|