middleman-oulu 0.6.1 → 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: 9a50714fad9bc2c113ce58e5d888c7679df03523
4
- data.tar.gz: 6a11ac337b29d808b4e43dd1be85394bc3740ee3
3
+ metadata.gz: e59a60739a3391e7760ed8031d1793b9730cb2cf
4
+ data.tar.gz: 7bb018dc3438523719a347a52e015977cbfa78d8
5
5
  SHA512:
6
- metadata.gz: c47d85f4ded944ae378f114f664a4c6fd3a8a794ff2ef3b4abeee24f1769a0a3128a6c34de3a3c90927b025a6307b12ae323cee40d940b6e5f0f5cc05ba5d588
7
- data.tar.gz: dc038d938764da4a2f467e92d21ee4dada6c96c0632af1c93c05dcc8b5692b2b9d388a3958470a769fc61a67d9fb29e6a924e345045f36a923e9ff60980e08d3
6
+ metadata.gz: 6f6fe4bd8621996b752a30c96610f97da999487d99238d7d3d2eb18d5eeba2f997736eb874cb6ba5beb2acc46e4ad52ad1c99140db2670226434bcdf5191675b
7
+ data.tar.gz: 50cbc9365ef7a39f5483a8bef9745627ecaf049b1ac2b5f885617eca3dc6f5c8eb7411ba9ce3af393253278079535ac030d9bb31b9cc4efc3dfffa89e3b92122
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Oulu
3
- VERSION = "0.6.1"
3
+ VERSION = "0.6.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-oulu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
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: bundler
@@ -119,10 +119,12 @@ files:
119
119
  - assets/javascripts/oulu/plugins/sns-buttons.js
120
120
  - assets/stylesheets/_oulu-base.sass
121
121
  - assets/stylesheets/_oulu.sass
122
- - assets/stylesheets/helper/_base-helper.sass
123
- - assets/stylesheets/helper/_margin-padding.sass
124
- - assets/stylesheets/helper/_no-gutter-grids.sass
125
- - assets/stylesheets/helper/_typoglaphy.sass
122
+ - assets/stylesheets/helpers/_block.sass
123
+ - assets/stylesheets/helpers/_border.sass
124
+ - assets/stylesheets/helpers/_font-awsome.sass
125
+ - assets/stylesheets/helpers/_margin-padding.sass
126
+ - assets/stylesheets/helpers/_position.sass
127
+ - assets/stylesheets/helpers/_typoglaphy.sass
126
128
  - assets/stylesheets/options/amazlet/_amazlet.sass
127
129
  - assets/stylesheets/options/glitch/_glitch.sass
128
130
  - 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