oulu 0.12.9 → 0.12.10
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/app/assets/stylesheets/modules/buttons/_button-helper.sass +2 -0
- data/app/assets/stylesheets/modules/buttons/_buttons.sass +1 -1
- data/app/assets/stylesheets/modules/buttons/styles/_super-bold-border.sass +16 -24
- data/bower.json +1 -1
- data/lib/oulu/version.rb +1 -1
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8df8eccd6426d6d11b76e9e0c0989e79a213fe22
|
4
|
+
data.tar.gz: 4f99df4b2b9d8abd415b85afe76bda0959b973f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aed8a4f5cd937f518d73614c52753b98a63113d1e4ddc25afb55d707c00ae596c00c8d960cda93d3e7ca23de7bc510159fb88fde154086d3905ee8ec4321cac7
|
7
|
+
data.tar.gz: 02754b53f96218cff3679254a4f92ec0fe0e4aedf70df1ad0eef96075e07a1567e063f1ba391541c23c4e758c2ffa2bf177b5c8097cb6fec73fe6acf232c8c22
|
@@ -31,7 +31,7 @@
|
|
31
31
|
+button-size($size, false, 1000px)
|
32
32
|
+flat-round-button($color)
|
33
33
|
@else if $style == super-bold-border
|
34
|
-
+button-size($size,
|
34
|
+
+button-size($size, 4px, 6px, 3.4)
|
35
35
|
+super-bold-border-button($color, $size)
|
36
36
|
@each $option in $options
|
37
37
|
@if $option == 'left'
|
@@ -1,49 +1,42 @@
|
|
1
1
|
=super-bold-border-button($color, $size)
|
2
|
-
$border-width:
|
3
|
-
|
4
|
-
$border-width: $xs-button-font-size/5
|
5
|
-
@else if $size == 'sm'
|
6
|
-
$border-width: $sm-button-font-size/4.5
|
7
|
-
@else if $size == 'md'
|
8
|
-
$border-width: $md-button-font-size/4
|
9
|
-
@else if $size == 'lg'
|
10
|
-
$border-width: $lg-button-font-size/3.5
|
11
|
-
@else if $size == 'xl'
|
12
|
-
$border-width: $xl-button-font-size/3
|
2
|
+
$border-width: 4px !default
|
3
|
+
$text-color: luma_contrast_color($color)
|
13
4
|
background-color: $color
|
14
|
-
color:
|
15
|
-
|
5
|
+
color: $text-color
|
6
|
+
border: solid $border-width $default-text
|
7
|
+
box-shadow: rgba(black, .4) 0 1px 0 0
|
8
|
+
transition: background-color .3s ease-in, box-shadow .3s ease-in
|
16
9
|
&:link,
|
17
10
|
&:visited
|
18
|
-
color:
|
11
|
+
color: $text-color
|
19
12
|
&:hover,
|
20
13
|
&.hover,
|
21
14
|
&.is-hover
|
22
|
-
$color: if(luma_bright($color), shade($color,
|
23
|
-
color:
|
15
|
+
$color: if(luma_bright($color), shade($color, 15%), tint($color, 15%))
|
16
|
+
color: $text-color
|
24
17
|
background-color: $color
|
25
18
|
&:active,
|
26
19
|
&.active,
|
27
20
|
&.is-active
|
28
|
-
color:
|
21
|
+
color: $text-color
|
29
22
|
background-color: $color
|
30
23
|
+top(1px)
|
31
|
-
box-shadow:
|
24
|
+
box-shadow: none
|
32
25
|
|
33
26
|
// radio & checkbos
|
34
27
|
&.is-radio,
|
35
28
|
&.is-checkbox
|
36
29
|
&:before
|
37
|
-
box-shadow: $default-text 0 0 0 2px
|
30
|
+
box-shadow: $default-text 0 0 0 2px
|
38
31
|
|
39
32
|
// checked
|
40
33
|
&.is-checked
|
41
|
-
color:
|
34
|
+
color: $text-color
|
42
35
|
background-color: $button-checked-color
|
43
36
|
+top(1px)
|
44
37
|
box-shadow: none
|
45
38
|
&:before
|
46
|
-
box-shadow: luma_contrast_color($button-checked-color) 0 0 0 2px
|
39
|
+
box-shadow: luma_contrast_color($button-checked-color) 0 0 0 2px
|
47
40
|
|
48
41
|
// select
|
49
42
|
&.is-select
|
@@ -55,8 +48,7 @@
|
|
55
48
|
// disabled
|
56
49
|
&.is-disabled,
|
57
50
|
&:disabled
|
58
|
-
$color: if(luma_bright($color), shade($color,
|
59
|
-
color: rgba(
|
51
|
+
$color: if(luma_bright($color), shade($color, 15%), tint($color, 15%))
|
52
|
+
color: rgba($text-color, .7)
|
60
53
|
background-color: rgba($color, .7)
|
61
54
|
border-color: rgba($default-text, .7)
|
62
|
-
box-shadow: $default-text 0 0 0 $border-width inset
|
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.12.
|
4
|
+
version: 0.12.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-
|
11
|
+
date: 2016-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|