oulu 0.11.9 → 0.11.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -0
- data/app/assets/stylesheets/_oulu-functions-after-variables.sass +6 -0
- data/app/assets/stylesheets/_oulu-functions-before-variables.sass +19 -0
- data/app/assets/stylesheets/settings/mixins/_grid.sass +5 -5
- data/app/assets/stylesheets/settings/variables/_default.sass +8 -2
- data/app/assets/stylesheets/settings/variables/_sanitize.sass +1 -1
- data/bower.json +1 -1
- data/lib/oulu/version.rb +1 -1
- data/package.json +1 -1
- metadata +4 -3
- data/app/assets/stylesheets/settings/functions/_function-config.sass +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0d2fb4192ca32b9501edccd0c271e22065525b5
|
4
|
+
data.tar.gz: 9b64087a78c69b0ba96a8e9397d76d9d0783eaee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64ea0152872398b4d2da7320821d827c4829409b7d7d16e36040534eb461572a0b47f5f4d25e4039ae3be7d59bb04647d815ebcbc8ba4ce07db1ea63c50a8a8c
|
7
|
+
data.tar.gz: bf2d6aae96e701235d848770f78f53f882ab3cb6c47a1f44ef3ad4b99209679908b247c00a8e47a8e3af3ce9055131aedd85a3829b09082128dac6027efac9e4
|
data/README.md
CHANGED
@@ -6,6 +6,36 @@ oulu is a sass mixin libraly.
|
|
6
6
|
|
7
7
|
[docs](http://oulu.github.io/)
|
8
8
|
|
9
|
+
## import
|
10
|
+
|
11
|
+
```
|
12
|
+
// oulu-functions-before-variables
|
13
|
+
@import oulu-functions-before-variables
|
14
|
+
|
15
|
+
// oulu-variables and yours
|
16
|
+
@import oulu-variables
|
17
|
+
@import {your variables}
|
18
|
+
|
19
|
+
// oulu-functions-after-variables (functions need variables)
|
20
|
+
@import oulu-functions-after-variables
|
21
|
+
|
22
|
+
// oulu-mixins
|
23
|
+
@import oulu-mixins
|
24
|
+
|
25
|
+
// oulu-initializers
|
26
|
+
@import oulu-initializers
|
27
|
+
|
28
|
+
// oulu-helpers
|
29
|
+
@import oulu-helpers
|
30
|
+
|
31
|
+
// oulu-modules
|
32
|
+
@import modules/web-fonts/font-awsome
|
33
|
+
@import modules/web-fonts/montserrat
|
34
|
+
@import modules/web-fonts/satisfy
|
35
|
+
@import modules/web-fonts/icomoon
|
36
|
+
|
37
|
+
```
|
38
|
+
|
9
39
|
## Contributing
|
10
40
|
|
11
41
|
1. Fork it
|
@@ -0,0 +1,19 @@
|
|
1
|
+
///////////////////
|
2
|
+
// functions before variables
|
3
|
+
///////////////////
|
4
|
+
|
5
|
+
@import settings/functions/math
|
6
|
+
@import settings/functions/timing
|
7
|
+
@import settings/functions/list
|
8
|
+
@import settings/functions/string
|
9
|
+
@import settings/functions/length
|
10
|
+
@import settings/functions/map
|
11
|
+
@import settings/functions/bool
|
12
|
+
@import settings/functions/position
|
13
|
+
@import settings/functions/text
|
14
|
+
@import settings/functions/reverse
|
15
|
+
@import settings/functions/image
|
16
|
+
@import settings/functions/background
|
17
|
+
@import settings/functions/border
|
18
|
+
@import settings/functions/animation
|
19
|
+
@import settings/functions/display
|
@@ -158,8 +158,8 @@
|
|
158
158
|
// helper
|
159
159
|
.row
|
160
160
|
@for $i from 0 through 16
|
161
|
-
$gutter-size: $i *
|
162
|
-
&.is-gutter-width-#{$gutter-size}
|
163
|
-
+margin(horizontal, $gutter-size
|
164
|
-
|
165
|
-
+padding(horizontal, $gutter-size / 2
|
161
|
+
$gutter-size: $i * 4
|
162
|
+
&.is-gutter-width-#{$gutter-size}
|
163
|
+
+margin(horizontal, px_to_rem($gutter-size * 1px, $base-px) / -2)
|
164
|
+
>[class*=col-]
|
165
|
+
+padding(horizontal, px_to_rem($gutter-size * 1px, $base-px) / 2)
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/////////////////
|
2
|
+
// base-px
|
3
|
+
////////////////
|
4
|
+
|
5
|
+
$base-px: 16px !default
|
6
|
+
|
1
7
|
/////////////////
|
2
8
|
// positions
|
3
9
|
////////////////
|
@@ -30,14 +36,13 @@ $grid-columns: 12 !default
|
|
30
36
|
// カラムとカラムの間のスペース
|
31
37
|
$grid-gutter-width: 2rem !default
|
32
38
|
|
33
|
-
|
34
39
|
/////////////////
|
35
40
|
// font
|
36
41
|
////////////////
|
37
42
|
|
38
43
|
$basic-sans-serif: "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro, "メイリオ", Meiryo, sans-serif !default
|
39
44
|
$basic-bold-sans-serif: "ヒラギノ角ゴ StdN", "Hiragino Kaku Gothic StdN", "メイリオ", Meiryo, Roboto, "Droid Sans", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "MS Pゴシック", Helvetica, Arial, Verdana, sans-serif, "MS Pゴシック", Helvetica, Arial, Verdana, sans-serif !default
|
40
|
-
$basic-serif: "
|
45
|
+
$basic-serif: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "HGS明朝E", "游明朝", YuMincho,'MS P明朝','MS PMincho', serif !default
|
41
46
|
$basic-mono: Osaka-mono, "MS Gothic", monospace !default
|
42
47
|
$basic-maru: "Varela Round", "Lucida Grande", "Lucida Sans Unicode", Roboto, "Droid Sans", "HG丸ゴシックM-PRO", "Hiragino Maru Gothic Pro", "游ゴシック", YuGothic, "メイリオ", Meiryo, "MS Pゴシック", Helvetica, Arial, Verdana, sans-serif !default
|
43
48
|
$basic-fonts: $basic-sans-serif !default
|
@@ -55,5 +60,6 @@ $dark-text-color: $default-text !default
|
|
55
60
|
// luma contrast color
|
56
61
|
////////////////
|
57
62
|
|
63
|
+
$luma-threshold: 13 !default
|
58
64
|
$luma-contrast-bright-color: $default-text !default
|
59
65
|
$luma-contrast-dark-color: $reversal-text !default
|
@@ -3,7 +3,7 @@ $root-box-sizing: border-box !default
|
|
3
3
|
$root-color: #000000 !default
|
4
4
|
$root-cursor: default !default
|
5
5
|
$root-font-family: sans-serif !default
|
6
|
-
$root-font-size: 100
|
6
|
+
$root-font-size: if($base-px = 100px, 100%, $base-px) !default
|
7
7
|
$root-line-height: 1.5 !default
|
8
8
|
$root-text-rendering: optimizeLegibility !default
|
9
9
|
|
data/bower.json
CHANGED
data/lib/oulu/version.rb
CHANGED
data/package.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oulu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- machida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -50,6 +50,8 @@ files:
|
|
50
50
|
- README.md
|
51
51
|
- Rakefile
|
52
52
|
- app/assets/stylesheets/_oulu-base.sass
|
53
|
+
- app/assets/stylesheets/_oulu-functions-after-variables.sass
|
54
|
+
- app/assets/stylesheets/_oulu-functions-before-variables.sass
|
53
55
|
- app/assets/stylesheets/_oulu-functions.sass
|
54
56
|
- app/assets/stylesheets/_oulu-helpers.sass
|
55
57
|
- app/assets/stylesheets/_oulu-initializers.sass
|
@@ -111,7 +113,6 @@ files:
|
|
111
113
|
- app/assets/stylesheets/settings/functions/_content.sass
|
112
114
|
- app/assets/stylesheets/settings/functions/_cursor.sass
|
113
115
|
- app/assets/stylesheets/settings/functions/_display.sass
|
114
|
-
- app/assets/stylesheets/settings/functions/_function-config.sass
|
115
116
|
- app/assets/stylesheets/settings/functions/_image.sass
|
116
117
|
- app/assets/stylesheets/settings/functions/_length.sass
|
117
118
|
- app/assets/stylesheets/settings/functions/_list.sass
|