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 +4 -4
- data/assets/stylesheets/_oulu.sass +4 -4
- data/assets/stylesheets/helpers/_block.sass +84 -0
- data/assets/stylesheets/helpers/_border.sass +16 -0
- data/assets/stylesheets/helpers/_font-awsome.sass +11 -0
- data/assets/stylesheets/helpers/_margin-padding.sass +60 -0
- data/assets/stylesheets/helpers/_position.sass +9 -0
- data/assets/stylesheets/helpers/_typoglaphy.sass +28 -0
- data/assets/stylesheets/settings/initializers/_reset.sass +7 -0
- data/lib/middleman-oulu/version.rb +1 -1
- metadata +8 -6
- data/assets/stylesheets/helper/_base-helper.sass +0 -107
- data/assets/stylesheets/helper/_margin-padding.sass +0 -22
- data/assets/stylesheets/helper/_no-gutter-grids.sass +0 -2
- data/assets/stylesheets/helper/_typoglaphy.sass +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e59a60739a3391e7760ed8031d1793b9730cb2cf
|
4
|
+
data.tar.gz: 7bb018dc3438523719a347a52e015977cbfa78d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
10
|
-
@import
|
11
|
-
@import
|
12
|
-
@import
|
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,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,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
|
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.
|
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-
|
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/
|
123
|
-
- assets/stylesheets/
|
124
|
-
- assets/stylesheets/
|
125
|
-
- assets/stylesheets/
|
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)
|