oulu 0.12.9 → 0.12.10

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: 5a6dddab823cc833ab8bebcaf93272e07a6f3fd2
4
- data.tar.gz: 1a64fe8b3a55f80b5ca648d2899f7a06d93756c8
3
+ metadata.gz: 8df8eccd6426d6d11b76e9e0c0989e79a213fe22
4
+ data.tar.gz: 4f99df4b2b9d8abd415b85afe76bda0959b973f5
5
5
  SHA512:
6
- metadata.gz: f9b6bc7cb4f2b7b0af4d321a121574fc7239d13b8ea0b4d3a55998eacee5d774f3af7d142535bf48b504ffab8bc0f3e3a39b14462d371e45b261e6f3edb4dfae
7
- data.tar.gz: 026c84bcd04dd51f1e0bfdfcdc8f4cc6ad3bea1b00735e57b9a5418036363451430acfea5e543b7650b71921ff2258c44bfd277b51d2def580b3696b78419bf5
6
+ metadata.gz: aed8a4f5cd937f518d73614c52753b98a63113d1e4ddc25afb55d707c00ae596c00c8d960cda93d3e7ca23de7bc510159fb88fde154086d3905ee8ec4321cac7
7
+ data.tar.gz: 02754b53f96218cff3679254a4f92ec0fe0e4aedf70df1ad0eef96075e07a1567e063f1ba391541c23c4e758c2ffa2bf177b5c8097cb6fec73fe6acf232c8c22
@@ -1,5 +1,7 @@
1
1
  // button option
2
2
  [class*="is-button"]
3
+ &[class*="xs"]
4
+ -webkit-font-smoothing: subpixel-antialiased
3
5
  &.has-image
4
6
  height: auto
5
7
  .is-button-note
@@ -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, false, 0, 3.4)
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
- @if $size == 'xs'
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: luma_contrast_color($color)
15
- box-shadow: rgba(black, .4) 0 4px 0 0, $default-text 0 0 0 $border-width inset
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: luma_contrast_color($color)
11
+ color: $text-color
19
12
  &:hover,
20
13
  &.hover,
21
14
  &.is-hover
22
- $color: if(luma_bright($color), shade($color, 20%), tint($color, 20%))
23
- color: luma_contrast_color($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: luma_contrast_color($color)
21
+ color: $text-color
29
22
  background-color: $color
30
23
  +top(1px)
31
- box-shadow: $default-text 0 0 0 $border-width inset
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, $default-text 0 0 0 $border-width inset
30
+ box-shadow: $default-text 0 0 0 2px
38
31
 
39
32
  // checked
40
33
  &.is-checked
41
- color: luma_contrast_color($button-checked-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, $default-text 0 0 0 $border-width inset
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, 20%), tint($color, 20%))
59
- color: rgba(luma_contrast_color($color), .7)
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oulu",
3
- "version": "0.12.9",
3
+ "version": "0.12.10",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
data/lib/oulu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Oulu
2
- VERSION = "0.12.9"
2
+ VERSION = "0.12.10"
3
3
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oulu",
3
- "version": "0.12.9",
3
+ "version": "0.12.10",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
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.9
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-07-29 00:00:00.000000000 Z
11
+ date: 2016-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor