oulu 0.11.10 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/assets/stylesheets/_oulu-functions-after-variables.sass +1 -0
- data/app/assets/stylesheets/_oulu-functions.sass +0 -1
- data/app/assets/stylesheets/settings/functions/_assign-inputs.sass +37 -0
- data/app/assets/stylesheets/settings/initializers/_reboot.sass +3 -0
- data/app/assets/stylesheets/settings/mixins/_form.sass +0 -3
- data/app/assets/stylesheets/settings/variables/_default.sass +2 -1
- 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 +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90eb882e9263adcab4a33ddef0a5b02d165fbbd7
|
4
|
+
data.tar.gz: f0bdd4ee2838c3351baf3451c403a0b52a5dc8e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4df6a80bb99e91246bff963bba47e2b20e2cbea770cbe71f66b39f61e0565f9b6949a51596b67be468197f13459fd22f7a18cd62224e0c42a1cb42fcebe1cb2a
|
7
|
+
data.tar.gz: f752bf6b7d55dd1c893a057bec3ec2040dc0e8917570b10265a4a4ef0dba2584ad0f07a8b4aea6f52b0125ac544009bb06f56f9d6a596ac8e54828fc3ce73d3c
|
data/README.md
CHANGED
@@ -13,8 +13,8 @@ oulu is a sass mixin libraly.
|
|
13
13
|
@import oulu-functions-before-variables
|
14
14
|
|
15
15
|
// oulu-variables and yours
|
16
|
-
@import oulu-variables
|
17
16
|
@import {your variables}
|
17
|
+
@import oulu-variables
|
18
18
|
|
19
19
|
// oulu-functions-after-variables (functions need variables)
|
20
20
|
@import oulu-functions-after-variables
|
@@ -0,0 +1,37 @@
|
|
1
|
+
@charset "UTF-8"
|
2
|
+
|
3
|
+
// https://github.com/thoughtbot/bourbon/blob/master/core/bourbon/utilities/_assign-inputs.scss
|
4
|
+
|
5
|
+
/// Append pseudo-classes to a selector(s).
|
6
|
+
///
|
7
|
+
/// @argument {list | string} $inputs
|
8
|
+
/// A selector, or list of selectors, to apply the pseudo-class to.
|
9
|
+
///
|
10
|
+
/// @argument {pseudo-class} $pseudo [null]
|
11
|
+
/// The pseudo-class to be appended.
|
12
|
+
///
|
13
|
+
/// @return {list}
|
14
|
+
///
|
15
|
+
/// @access private
|
16
|
+
|
17
|
+
@function _assign-inputs($inputs, $pseudo: null)
|
18
|
+
$list: ()
|
19
|
+
@each $input in $inputs
|
20
|
+
$input: unquote($input)
|
21
|
+
$input: if($pseudo, $input + ":" + $pseudo, $input)
|
22
|
+
$list: append($list, $input, comma)
|
23
|
+
@return $list
|
24
|
+
|
25
|
+
/////////////////
|
26
|
+
// text-inputs
|
27
|
+
////////////////
|
28
|
+
|
29
|
+
$text-inputs-list: 'input[type="color"]','input[type="date"]','input[type="datetime"]','input[type="datetime-local"]','input[type="email"]','input[type="month"]','input[type="number"]','input[type="password"]','input[type="search"]','input[type="tel"]','input[type="text"]','input[type="time"]','input[type="url"]','input[type="week"]','input:not([type])','textarea' !default
|
30
|
+
|
31
|
+
$all-text-inputs: assign-inputs($text-inputs-list)
|
32
|
+
$all-text-inputs-active: assign-inputs($text-inputs-list, active)
|
33
|
+
$all-text-inputs-focus: assign-inputs($text-inputs-list, focus)
|
34
|
+
$all-text-inputs-hover: assign-inputs($text-inputs-list, hover)
|
35
|
+
|
36
|
+
$inputs-en-list: 'input[type="email"]', 'input[type="number"]', 'input[type="search"]', 'input[type="tel"]', 'input[type="url"]', 'input[type="color"]', 'input[type="date"]', 'input[type="datetime"]', 'input[type="datetime-local"]', 'input[type="time"]'
|
37
|
+
$all-en-text-inputs: assign-inputs($inputs-en-list)
|
@@ -13,6 +13,3 @@
|
|
13
13
|
@content
|
14
14
|
&.placeholder
|
15
15
|
@content
|
16
|
-
|
17
|
-
$inputs-en-list: 'input[type="email"]', 'input[type="number"]', 'input[type="search"]', 'input[type="tel"]', 'input[type="url"]', 'input[type="color"]', 'input[type="date"]', 'input[type="datetime"]', 'input[type="datetime-local"]', 'input[type="time"]'
|
18
|
-
$all-en-text-inputs: assign-inputs($inputs-en-list)
|
@@ -51,10 +51,11 @@ $basic-fonts: $basic-sans-serif !default
|
|
51
51
|
// text colors
|
52
52
|
////////////////
|
53
53
|
|
54
|
-
$default-text: #
|
54
|
+
$default-text: #444444 !default
|
55
55
|
$reversal-text: white !default
|
56
56
|
$bright-text-color: $reversal-text !default
|
57
57
|
$dark-text-color: $default-text !default
|
58
|
+
$text-input-color: $default-text !default
|
58
59
|
|
59
60
|
/////////////////
|
60
61
|
// luma contrast color
|
@@ -1,6 +1,6 @@
|
|
1
1
|
$root-background-color: #FFFFFF !default
|
2
2
|
$root-box-sizing: border-box !default
|
3
|
-
$root-color:
|
3
|
+
$root-color: $default-text !default
|
4
4
|
$root-cursor: default !default
|
5
5
|
$root-font-family: sans-serif !default
|
6
6
|
$root-font-size: if($base-px = 100px, 100%, $base-px) !default
|
data/bower.json
CHANGED
data/lib/oulu/version.rb
CHANGED
data/package.json
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oulu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- machida
|
@@ -106,6 +106,7 @@ files:
|
|
106
106
|
- app/assets/stylesheets/modules/web-fonts/_varela-round.sass
|
107
107
|
- app/assets/stylesheets/modules/web-fonts/_vt323.sass
|
108
108
|
- app/assets/stylesheets/settings/functions/_animation.sass
|
109
|
+
- app/assets/stylesheets/settings/functions/_assign-inputs.sass
|
109
110
|
- app/assets/stylesheets/settings/functions/_background.sass
|
110
111
|
- app/assets/stylesheets/settings/functions/_bool.sass
|
111
112
|
- app/assets/stylesheets/settings/functions/_border.sass
|