middleman-oulu 0.7.2 → 0.7.3

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: 01da387a6834d0b5b75d0e520bf60f159a1d4948
4
- data.tar.gz: 33ff11ae07c8c7383642f3a432aeb64fea89bf91
3
+ metadata.gz: 53053079ad04fc9f5253c088fe3ef03c6ec89282
4
+ data.tar.gz: 31f94b7f90d4f88d1fa9eaa9e59f6182f0c24651
5
5
  SHA512:
6
- metadata.gz: 52bd27caedbd786e2b88c2331a129af588a9852eba7557d24e935722db0e999b511c1437e0a5def94a5ebf292bc2a1b048b0aa6c0e685782734f7a354792b970
7
- data.tar.gz: 9d2d21e41a5ec2f44c2c9f7f07f8fe59501e598a36bb6bdf293c9b18cb7f859ee61d916367a5fb4b98bc4d8a0888d5e22d0659f4c9b4d21cab5f760ce9754ea8
6
+ metadata.gz: 7c4c94da02a653e0a192ce61b4eb4b7dc36abd368989f37c13d8a63ac27731c8b93590f0da115caf89ca7bed4e58efbc1fc1de220d5da6effe064d2bd56f4a8f
7
+ data.tar.gz: 49ec699e48bffad382afa918dd8aae78a32854a0e42106040b0241b60a4e19d0e475286ba0618470f3a545cfa68f6c66d0f0f466eb965751f6c97e6ee7ace313
@@ -1,6 +1,8 @@
1
- body
2
- content: #{luma(#f2f2f2)}
3
1
  =flat-emboss-button($color: blue)
2
+ @if luma($color) > 90
3
+ $color: #f2f2f2
4
+ @else
5
+ $color: $color
4
6
  +transition(.5s (background-image))
5
7
  background-color: $color
6
8
  color: luma_contrast_color($color)
@@ -24,3 +26,27 @@ body
24
26
  background-color: $color
25
27
  box-shadow: shade($color, 18%) 0 2px 0
26
28
  +top(1px)
29
+ &.is-disabled
30
+ @if luma($color) > 90
31
+ $color: #f2f2f2
32
+ @else
33
+ $color: $color
34
+ $color: desaturate($color, 10%)
35
+ cursor: default
36
+ color: rgba(luma_contrast_color($color), .7)
37
+ background-color: $color
38
+ box-shadow: shade($color, 10%) 0 0 0 1px inset
39
+ text-shadow: none
40
+ &:hover,
41
+ &.hover,
42
+ &.is-hover,
43
+ &:active,
44
+ &.active,
45
+ &.is-active
46
+ cursor: default
47
+ color: rgba(luma_contrast_color($color), .7)
48
+ background-color: $color
49
+ box-shadow: shade($color, 10%) 0 0 0 1px inset
50
+ text-shadow: none
51
+ +top(0)
52
+ pointer-events: none
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Oulu
3
- VERSION = "0.7.2"
3
+ VERSION = "0.7.3"
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.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - machida
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-07 00:00:00.000000000 Z
11
+ date: 2015-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler