middleman-oulu 0.6.33 → 0.6.34

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0d0d49c920f26953256fc61c53adb4d97672329
4
- data.tar.gz: 36cfc51e3def5d329e92e438d8007d05bc3005ed
3
+ metadata.gz: 53ab89c5f8755f5fd949b85ca86ba074c710fc50
4
+ data.tar.gz: f03d61cc0516899bf2689d963d060829dce184c7
5
5
  SHA512:
6
- metadata.gz: fa58cb70c93f2b22a124185016f28cfdf93e0570025f3c3f24f445cf276e58e6cb9d652a0abf7694d0867aae991de93c8165e9fbf6211d1fcbe48c8c645723f4
7
- data.tar.gz: 9444dcdb8bf5ab3b53e943b081e363be64a3eb359a021e4f600b7b4ec7082ee6ceeafb2e9eaa442ba3c59941be2a9910464d165fd348d62f08499ee55d5932e8
6
+ metadata.gz: 0a3f11188d74d21a8929f79401dbdb13eefed54d9bcee9054001608f436d15c7a62d4e58d77e84f1b5724056e8425c6e30da3fe263f6bf677f5a746f67d652e0
7
+ data.tar.gz: 2627ef32a1d16cc2936dda1a2542d98ddfbf80d1cbe7a1d8b5ec4a6b6e97666c20b8b36241834d710b3c43bfcc84891fe7930a541aa08dfad96477653e2cc248
@@ -27,7 +27,7 @@
27
27
  $border-width: 0
28
28
  +text-block($font-size $height - ($border-width*2))
29
29
  +rem('height', $height)
30
- +padding(horizontal, $height/2)
30
+ +padding(horizontal, $height/1.6)
31
31
  @if $border-radius
32
32
  +border-radius($border-radius)
33
33
  @if $font-size > 12px
@@ -1,3 +1,5 @@
1
+ body
2
+ content: #{luma(#f2f2f2)}
1
3
  =flat-emboss-button($color: blue)
2
4
  +transition(.5s (background-image))
3
5
  background-color: $color
@@ -5,19 +7,19 @@
5
7
  box-shadow: shade($color, 18%) 0 3px 0
6
8
  text-shadow: if(luma_bright($color), lighten($color, 8%) 0 1px 0, darken($color, 8%) 0 -1px 0)
7
9
  &:hover,
8
- .hover,
9
- .is-hover
10
+ &.hover,
11
+ &.is-hover
10
12
  $color: lighten($color, 6%)
11
- @if $color == white
12
- background-color: #f4f4f4
13
+ @if luma($color) > 90
14
+ background-color: #f2f2f2
13
15
  @else
14
16
  background-color: $color
15
17
  &:active,
16
- .active,
17
- .is-active
18
+ &.active,
19
+ &.is-active
18
20
  $color: lighten($color, 6%)
19
- @if $color == white
20
- background-color: #f4f4f4
21
+ @if luma($color) > 90
22
+ background-color: #f2f2f2
21
23
  @else
22
24
  background-color: $color
23
25
  box-shadow: shade($color, 18%) 0 2px 0
@@ -16,7 +16,7 @@
16
16
 
17
17
  =normal-button($color: blue)
18
18
  +transition(.5s (background-image))
19
- @if $color == white
19
+ @if luma($color) > 90
20
20
  +normal-button-color(#f2f2f2)
21
21
  @else
22
22
  +normal-button-color($color)
@@ -24,7 +24,7 @@
24
24
  &:hover,
25
25
  &.hover,
26
26
  &.is-hover
27
- @if $color == white
27
+ @if luma($color) > 90
28
28
  +normal-button-color(lighten(#f2f2f2, 5%), false)
29
29
  @else
30
30
  +normal-button-color(lighten($color, 5%), false)
@@ -32,7 +32,7 @@
32
32
  &.active,
33
33
  &.is-active
34
34
  +top(1px)
35
- @if $color == white
35
+ @if luma($color) > 90
36
36
  $color: lighten(#f2f2f2, 7%)
37
37
  +normal-button-color($color, false)
38
38
  box-shadow: darken($color, 12%) 0 1px 0 inset, rgba(white, .3) 0 1px 1px
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Oulu
3
- VERSION = "0.6.33"
3
+ VERSION = "0.6.34"
4
4
  end
5
5
  end
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.33
4
+ version: 0.6.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - machida
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-29 00:00:00.000000000 Z
11
+ date: 2015-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler