oulu-rails 0.6.0 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d64a5e5ca1eb103619588c2eb357884e4c59a2e5
4
- data.tar.gz: 61165851b55de5dc902b8be8c4c074d6db0962e4
3
+ metadata.gz: bfdabb156c846196677a211e87939d284c1920f5
4
+ data.tar.gz: 8f3ff1fd9f8198d1acbc81883577f66961243c51
5
5
  SHA512:
6
- metadata.gz: 71bf70181f5b26cde4ac1c2e11d938d9e81330848c2140b651843ce4f85942ec4c06ea340c8769fea4534e9aeaa1b9e9bc45c52a603b96da8bf86be6968b9b6e
7
- data.tar.gz: ecaf368b3a411b71edae2eb9cc957454d26f554b6d704d8b931a888a056d1457812f609f4d6aca39e1ceb34f3cbd77e21f103089453a7f92d98c7bade378edf3
6
+ metadata.gz: f97524bab8a8f6234ab97969f1ea3d20c34a0101c1aa2f7255a022a190f74a32cca43111470b32e5f901eaca5c6c52b5c9bb3302585bde7cd3f4918bcb4ce297
7
+ data.tar.gz: 1203d0b3ba5f4f3619ac695bd41561b30a44224412a1d4b794ba9f400e24560376f71abcf188fd0723eb389b210a874f2f41f329d2f92b6dc563bc9a25ca94ce
@@ -1,3 +1,3 @@
1
1
  module OuluRails
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.2"
3
3
  end
@@ -6,7 +6,7 @@
6
6
  @import oulu-base
7
7
 
8
8
  // helper-classes
9
- @import helper/base-helper
10
- @import helper/margin-padding
11
- @import helper/typoglaphy
12
- @import helper/no-gutter-grids
9
+ @import helpers/margin-padding
10
+ @import helpers/typoglaphy
11
+ @import helpers/block
12
+ @import helpers/font-awsome
@@ -0,0 +1,84 @@
1
+ body
2
+ // layout
3
+ .has-no-gutter-grids
4
+ +grid-columns(0)
5
+ .is-horizontal-center-block
6
+ display: block
7
+ +margin(horizontal, auto)
8
+
9
+ // clearfix
10
+ .is-clear
11
+ clear: both
12
+ .is-clearfix
13
+ +clearfix
14
+
15
+ // width
16
+ .is-max-width-100
17
+ width: 100%
18
+ display: block
19
+ .is-half
20
+ width: 50%
21
+
22
+ // float
23
+ .is-left
24
+ float: left
25
+ .is-right
26
+ float: right
27
+
28
+ // block link
29
+ .is-block-link
30
+ display: block
31
+ text-decoration: none
32
+ .is-inline-block-link
33
+ display: inline-block
34
+ text-decoration: none
35
+ .is-clickable
36
+ cursor: pointer
37
+
38
+ // overflow
39
+ .is-scroll-x-wrapper
40
+ overflow-x: auto
41
+ overflow-y: hidden
42
+ -webkit-overflow-scrolling: touch
43
+ width: 100%
44
+ position: relative
45
+ .is-overflow-visible
46
+ overflow: visible !important
47
+ .is-overflow-hidden
48
+ overflow: hidden
49
+
50
+ // position
51
+ .is-relative
52
+ position: relative
53
+ .is-fixed-default
54
+ +fixed(left 0, top 0)
55
+ width: 100%
56
+ .is-z-index-100
57
+ +relative(100)
58
+
59
+ // vertical-align
60
+ .is-vertical-middle
61
+ vertical-align: middle !important
62
+ .is-vertical-top
63
+ vertical-align: top !important
64
+ .is-vertical-bottom
65
+ vertical-align: bottom !important
66
+
67
+ // display
68
+ .is-block
69
+ display: block
70
+ .is-display-none
71
+ display: none
72
+ .is-display-none-important
73
+ display: none !important
74
+ .is-inline-block
75
+ display: inline-block
76
+ .is-inline
77
+ display: inline
78
+ .is-table-row
79
+ display: table-row !important
80
+ .is-table-cell
81
+ display: table-cell !important
82
+ .is-inline-blocks
83
+ >*
84
+ display: inline-block
@@ -0,0 +1,16 @@
1
+ body
2
+ // border
3
+ .is-border-none
4
+ border: none
5
+ .is-horizontal-border-none
6
+ +border(horizontal, none)
7
+ .is-vertical-border-none
8
+ +border(vertical, none)
9
+ .is-border-left
10
+ border-left: none
11
+ .is-border-right
12
+ border-right: none
13
+ .is-border-top
14
+ border-top: none
15
+ .is-border-bottom
16
+ border-bottom: none
@@ -0,0 +1,11 @@
1
+ .fa-hatena
2
+ &:before
3
+ content: "B!"
4
+ font-family: Verdana
5
+ font-weight: bold
6
+ .fa-triangle-o:before
7
+ content: "\0025b3"
8
+ +sans-serif
9
+ .fa-triangle:before
10
+ content: "\0025b2"
11
+ +sans-serif
@@ -0,0 +1,60 @@
1
+ body
2
+ @for $i from 0 through 20
3
+ .is-margin-bottom-#{$i*4}
4
+ +rem('margin-bottom', #{$i*4}px)
5
+ .is-margin-top-#{$i*4}
6
+ +rem('margin-top', #{$i*4}px)
7
+ .is-margin-left-#{$i*4}
8
+ +rem('margin-left', #{$i*4}px)
9
+ .is-margin-right-#{$i*4}
10
+ +rem('margin-right', #{$i*4}px)
11
+ .is-margin-horizontal-#{$i*4}
12
+ +margin(horizontal, #{$i*4}px)
13
+ .is-padding-bottom-#{$i*4}
14
+ +rem('padding-bottom', #{$i*4}px)
15
+ .is-padding-top-#{$i*4}
16
+ +rem('padding-top', #{$i*4}px)
17
+ .is-padding-left-#{$i*4}
18
+ +rem('padding-left', #{$i*4}px)
19
+ .is-padding-right-#{$i*4}
20
+ +rem('padding-right', #{$i*4}px)
21
+ .is-padding-horizontal-#{$i*4}
22
+ +padding(horizontal, #{$i*4}px)
23
+
24
+ // horizontal-margin-0
25
+ .is-horizontal-margin-0
26
+ +margin(horizontal, 0)
27
+ .is-xs-horizontal-margin-0
28
+ +screen-xs
29
+ +margin(horizontal, 0)
30
+ .is-sm-horizontal-margin-0
31
+ +screen-sm
32
+ +margin(horizontal, 0)
33
+ .is-md-horizontal-margin-0
34
+ +screen-md
35
+ +margin(horizontal, 0)
36
+ .is-lg-horizontal-margin-0
37
+ +screen-lg
38
+ +margin(horizontal, 0)
39
+ .is-xl-horizontal-margin-0
40
+ +screen-xl
41
+ +padding(horizontal, 0)
42
+
43
+ // horizontal-padding-0
44
+ .is-horizontal-padding-0
45
+ +padding(horizontal, 0)
46
+ .is-xs-horizontal-padding-0
47
+ +screen-xs
48
+ +padding(horizontal, 0)
49
+ .is-sm-horizontal-padding-0
50
+ +screen-sm
51
+ +padding(horizontal, 0)
52
+ .is-md-horizontal-padding-0
53
+ +screen-md
54
+ +padding(horizontal, 0)
55
+ .is-lg-horizontal-padding-0
56
+ +screen-lg
57
+ +padding(horizontal, 0)
58
+ .is-xl-horizontal-padding-0
59
+ +screen-xl
60
+ +padding(horizontal, 0)
@@ -0,0 +1,9 @@
1
+ @for $i from -8 through 8
2
+ .is-top-#{$i}
3
+ +top(#{$i}px)
4
+ .is-bottom-#{$i}
5
+ +top(#{$i}px)
6
+ .is-left-#{$i}
7
+ +left(#{$i}px)
8
+ .is-right-#{$i}
9
+ +right(#{$i}px)
@@ -0,0 +1,28 @@
1
+ body
2
+ // typoglaphy
3
+ .is-ja
4
+ +basic-font
5
+ .is-serif
6
+ +serif
7
+ .is-bold-ja
8
+ +bold-ja
9
+ .is-serif
10
+ +serif
11
+
12
+ // letter-specing
13
+ .is-no-letter-specing
14
+ letter-spacing: 0
15
+ .is-no-letter-specing-center
16
+ letter-spacing: 0
17
+ text-indent: 0
18
+
19
+ // text-align
20
+ .is-center-align
21
+ text-align: center
22
+ .is-right-align
23
+ text-align: right
24
+ .is-left-align
25
+ text-align: left
26
+
27
+ .is-nowrap
28
+ white-space: nowrap
@@ -111,3 +111,10 @@ textarea
111
111
  &::-moz-selection
112
112
  background: $input-selection-bg-color
113
113
  color: $input-selection-tx-color
114
+
115
+ .#{$container-class-name}
116
+ +rem('max-width', $container-max-width)
117
+ +box-sizing(border-box)
118
+ +margin(horizontal, auto)
119
+ +padding(horizontal, $container-horizontal-padding)
120
+ clear: both
@@ -7,10 +7,10 @@
7
7
  +rem('height', nth($values, 1))
8
8
 
9
9
  =center-block($values)
10
- $block-height: optional_nth($values, 1)
11
- $block-width: optional_nth($values, 2)
10
+ $block-width: optional_nth($values, 1)
11
+ $block-height: optional_nth($values, 2)
12
12
  $block-z-index: optional_nth($values, 3)
13
- +size($block-height $block-width)
13
+ +block-size($block-width $block-height)
14
14
  +fixed(left 50%, top 50%, $block-z-index)
15
15
  +rem('margin-top', $block-height / 2 * -1)
16
16
  +rem('margin-left', $block-width / 2 * -1)
@@ -1,3 +1,18 @@
1
+ =link-colors($normal, $hover: false, $active: false, $visited: false, $focus: false)
2
+ color: $normal
3
+ @if $visited
4
+ &:visited
5
+ color: $visited
6
+ @if $focus
7
+ &:focus
8
+ color: $focus
9
+ @if $hover
10
+ &:hover
11
+ color: $hover
12
+ @if $active
13
+ &:active
14
+ color: $active
15
+
1
16
  =block-link
2
17
  display: block
3
18
  text-decoration: none
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.6.0
4
+ version: 0.6.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-03-18 00:00:00.000000000 Z
11
+ date: 2015-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass-rails
@@ -168,10 +168,12 @@ files:
168
168
  - vendor/assets/stylesheets/bootcamp/test/utils/_equal.scss
169
169
  - vendor/assets/stylesheets/bootcamp/test/utils/_list-join.scss
170
170
  - vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
171
- - vendor/assets/stylesheets/helper/_base-helper.sass
172
- - vendor/assets/stylesheets/helper/_margin-padding.sass
173
- - vendor/assets/stylesheets/helper/_no-gutter-grids.sass
174
- - vendor/assets/stylesheets/helper/_typoglaphy.sass
171
+ - vendor/assets/stylesheets/helpers/_block.sass
172
+ - vendor/assets/stylesheets/helpers/_border.sass
173
+ - vendor/assets/stylesheets/helpers/_font-awsome.sass
174
+ - vendor/assets/stylesheets/helpers/_margin-padding.sass
175
+ - vendor/assets/stylesheets/helpers/_position.sass
176
+ - vendor/assets/stylesheets/helpers/_typoglaphy.sass
175
177
  - vendor/assets/stylesheets/options/amazlet/_amazlet.sass
176
178
  - vendor/assets/stylesheets/options/glitch/_glitch.sass
177
179
  - vendor/assets/stylesheets/options/oulu-buttons/_button-basic.sass
@@ -1,107 +0,0 @@
1
- .#{$container-class-name}
2
- +rem('max-width', $container-max-width)
3
- +box-sizing(border-box)
4
- +margin(horizontal, auto)
5
- +padding(horizontal, $container-horizontal-padding)
6
- clear: both
7
-
8
- // state
9
- .is-clearfix
10
- *zoom: 1
11
- &:after
12
- content: ''
13
- display: table
14
- clear: both
15
- .is-relative
16
- position: relative
17
- .is-fixed
18
- +fixed(left 0, top 0)
19
- width: 100%
20
- .is-clickable
21
- cursor: pointer
22
- .is-clear
23
- clear: both
24
- .is-gradient
25
- filter: none
26
- .is-visible
27
- overflow: visible !important
28
- .is-inline
29
- display: inline
30
-
31
- .is-block-link
32
- display: block
33
- text-decoration: none
34
- .is-scroll-x-wrapper
35
- overflow-x: auto
36
- overflow-y: hidden
37
- -webkit-overflow-scrolling: touch
38
- width: 100%
39
- position: relative
40
- .is-max-width-100
41
- width: 100%
42
- display: block
43
-
44
- .is-z-index-100
45
- z-index: 100
46
- position: relative
47
-
48
- .is-table-row
49
- display: table-row !important
50
- .is-table-cell
51
- display: table-cell !important
52
-
53
- // layout
54
- .is-center-block
55
- +margin(horizontal, auto)
56
- display: block
57
- .is-center
58
- display: block
59
- +margin(horizontal, auto)
60
- .is-horizontal-center
61
- display: block
62
- +margin(horizontal, auto)
63
-
64
- // vertical
65
- .is-vertical-center
66
- vertical-align: middle !important
67
- .is-vertical-top
68
- vertical-align: top !important
69
- .is-vertical-bottom
70
- vertical-align: bottom !important
71
-
72
- // float
73
- .is-left
74
- float: left
75
- .is-right
76
- float: right
77
-
78
- // text-align
79
- .is-center-wrapper
80
- text-align: center
81
- .is-right-wrapper
82
- text-align: right
83
- .is-left-wrapper
84
- text-align: left
85
-
86
- // list
87
- .is-inline-blocks
88
- >*
89
- display: inline-block
90
-
91
- .is-nowrap
92
- white-space: nowrap
93
-
94
- // Font Awesome
95
-
96
- // http://hayashikejinan.com/webwork/css/913/
97
- .fa-hatena
98
- &:before
99
- content: "B!"
100
- font-family: Verdana
101
- font-weight: bold
102
- .fa-triangle-o:before
103
- content: "\0025b3"
104
- +sans-serif
105
- .fa-triangle:before
106
- content: "\0025b2"
107
- +sans-serif
@@ -1,22 +0,0 @@
1
- body
2
- @for $i from 0 through 20
3
- .is-margin-bottom-#{$i*4}
4
- +rem('margin-bottom', #{$i*4}px)
5
- .is-margin-top-#{$i*4}
6
- +rem('margin-top', #{$i*4}px)
7
- .is-margin-left-#{$i*4}
8
- +rem('margin-left', #{$i*4}px)
9
- .is-margin-right-#{$i*4}
10
- +rem('margin-right', #{$i*4}px)
11
- .is-margin-horizontal-#{$i*4}
12
- +margin(horizontal, #{$i*4}px)
13
- .is-padding-bottom-#{$i*4}
14
- +rem('padding-bottom', #{$i*4}px)
15
- .is-padding-top-#{$i*4}
16
- +rem('padding-top', #{$i*4}px)
17
- .is-padding-left-#{$i*4}
18
- +rem('padding-left', #{$i*4}px)
19
- .is-padding-right-#{$i*4}
20
- +rem('padding-right', #{$i*4}px)
21
- .is-padding-horizontal-#{$i*4}
22
- +padding(horizontal, #{$i*4}px)
@@ -1,2 +0,0 @@
1
- .no-gutter-grids
2
- +grid-columns(0)
@@ -1,9 +0,0 @@
1
- // typoglaphy
2
- .is-ja
3
- +basic-font
4
- .is-serif
5
- +serif
6
- .is-bold-ja
7
- +bold-ja
8
- .is-serif
9
- +serif