dlegr250_material_design 0.3.63 → 0.3.64

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: 7058c66e80452ada6c0792be3ed25936a1769ba8
4
- data.tar.gz: aa78564f6ae8f1e403f71c3e285be25c4c9dc0b7
3
+ metadata.gz: d2bf2f994cbc3e02b655ad14f36bc96b027f34e3
4
+ data.tar.gz: e8919e5d6a7e442e90cf8f8036c136b27ad98598
5
5
  SHA512:
6
- metadata.gz: 92ba82608294d96379acdf39e1228c20f0d8581e445ae4cfea70aa0c081e85c01a9311c512f3fe7030164025cc033f7c929b7323ea4d1e8fdeca49e6f94f9e34
7
- data.tar.gz: 69bf237d2022f9e26eda59330bf5eed487eee31f568033a2028a626cea8cadea3cdff4e495cdcc889d6885c48c467e5a3ce1a3cce12016cb3afd594f6e5e54b3
6
+ metadata.gz: 007843d4e45e2774e1333c2912f21dc3eb4e066a43e9005799859854f4c68fb9394ca0a275b0f77efac02903d38799c56b52fcf5992acf7f1714a52ca2626a87
7
+ data.tar.gz: b51f8de81ed7e1cb3f0fdafb15f1d652134018a3c72806231aafe871a89371bdfdb5a77ab55478b367e9d356ad4f6519167fa21f32ca5ab320433ef8505b9265
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.3.63"
2
+ VERSION = "0.3.64"
3
3
  end
@@ -223,6 +223,11 @@ $default-rounded-corners-radius: 3px;
223
223
  -webkit-tap-highlight-color: transparent;
224
224
  }
225
225
 
226
+ @mixin no-touch-highlight-color() {
227
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
228
+ -webkit-tap-highlight-color: transparent;
229
+ }
230
+
226
231
  // Truncating text
227
232
  //----------------------------------------------------------------------
228
233
 
@@ -199,14 +199,16 @@ ol {
199
199
  // Lists - hoverable
200
200
  //----------------------------------------------------------------------
201
201
 
202
- .list-hoverable {
203
- .list-item {
204
- &:hover {
202
+ @media(hover: hover) {
203
+ .list-hoverable {
204
+ .list-item:hover {
205
205
  background-color: color("hover");
206
206
  }
207
207
  }
208
+ }
208
209
 
209
- a.list-item:active {
210
+ .list-hoverable {
211
+ .list-item:active {
210
212
  background-color: darken(color("hover"), 5%);
211
213
  }
212
214
 
@@ -222,6 +224,11 @@ ol {
222
224
  }
223
225
  }
224
226
 
227
+ // Remove blue background on touch
228
+ .list-hoverable .list-item {
229
+ @include no-touch-highlight-color();
230
+ }
231
+
225
232
  // Links in list items
226
233
  //----------------------------------------------------------------------
227
234
 
@@ -92,19 +92,21 @@
92
92
  text-align: center;
93
93
  text-decoration: none;
94
94
 
95
- @include no-touch-highlight;
95
+ @include no-touch-highlight-color();
96
96
  @include rounded-corners(250px);
97
97
  @include transition(background 0.2s ease-in-out);
98
98
 
99
- &:hover {
100
- background-color: darken($primary-color, 7%);
101
- }
102
-
103
99
  &:active {
104
100
  background-color: darken($primary-color, 12%);
105
101
  }
106
102
  }
107
103
 
104
+ @media (hover: hover) {
105
+ .appbar-button:hover {
106
+ background-color: darken($primary-color, 7%);
107
+ }
108
+ }
109
+
108
110
  // appbar - dividers
109
111
  //----------------------------------------------------------------------
110
112
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlegr250_material_design
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.63
4
+ version: 0.3.64
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel LeGrand
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-17 00:00:00.000000000 Z
11
+ date: 2016-09-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'WARNING: ALPHA CODE, NOT PRODUCTION READY. ACTIVELY UNDER DEVELOPMENT
14
14
  AS OF AUG 2016. Implement Google Material Design spec with modern browsers in mind