dlegr250_material_design 0.1.30 → 0.1.31

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: 287c61819f2bad9b1d7e4a9988b1c70153fbabc2
4
- data.tar.gz: 72cb0b403d82c8ec072d78c408d5c39242864d59
3
+ metadata.gz: 42356827fbce63fba42fb09c1158e854a5f1e9e7
4
+ data.tar.gz: 287fb5dc414a9a7c52b845aa2497d12b115bc300
5
5
  SHA512:
6
- metadata.gz: 3462c242a008df013562b579fedbe0ae6ceed18ccf69c1287c682ed76688b2c1b430194fbd7ec2a8b34ae35409cd8e2275abad3d37fe1a3f50a98a6718a6a8af
7
- data.tar.gz: a3b7c66ade899a4da257dd044dce0c0d5ac5416e2604286be75e42a88414a82f5c8b230ace0238742ab517febc7da10b928904449e26a358313607e943c39575
6
+ metadata.gz: b12e2005387266699492bc735f158e0fa80fbbe701934a03b621e2f5e9ec9b26c1e238fa66648ac8cb2e83fdde5ed1effeb2cc5ed3ee2b43a95670cd4a738bdb
7
+ data.tar.gz: 730f1d233e1b97a2d7ed93eb3dc9cf46960c69acc2163d7711d8927a5c6192cf005921538d9088ff1949ba93779d82a16bfa4907fbc74e99bf2e872a3beb0645
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.1.30"
2
+ VERSION = "0.1.31"
3
3
  end
@@ -153,14 +153,14 @@
153
153
  // Disabled elements
154
154
  //----------------------------------------------------------------------
155
155
 
156
- :disabled,
157
- .disabled {
158
- background-color: rgba(0, 0, 0, 0.12) !important;
159
- color: rgba(0, 0, 0, 0.26) !important;
160
- cursor: not-allowed !important;
161
- pointer-events: none !important;
162
- @include box-shadow(none !important);
163
- }
156
+ // :disabled,
157
+ // .disabled {
158
+ // background-color: rgba(0, 0, 0, 0.12) !important;
159
+ // color: rgba(0, 0, 0, 0.26) !important;
160
+ // cursor: not-allowed !important;
161
+ // pointer-events: none !important;
162
+ // @include box-shadow(none !important);
163
+ // }
164
164
 
165
165
  // Colored background or text
166
166
  //----------------------------------------------------------------------
@@ -119,6 +119,7 @@ $colors: (
119
119
  "light-red" : #ffebee,
120
120
  "blue" : #2196f3,
121
121
  "dark-blue" : darken(#2196f3, 10%),
122
+ "disabled" : rgba(0, 0, 0, 0.26),
122
123
  "grey" : #9e9e9e,
123
124
  "black" : #000000,
124
125
  "white" : #ffffff,
@@ -56,7 +56,7 @@ $buttons: ".button";
56
56
  .icon-left {
57
57
  margin-right: $spacing-xsmall;
58
58
  }
59
-
59
+
60
60
  .icon-right {
61
61
  margin-left: $spacing-xsmall;
62
62
  }
@@ -233,3 +233,15 @@ $buttons: ".button";
233
233
  }
234
234
  }
235
235
  }
236
+
237
+ // Buttons - disabled
238
+ //----------------------------------------------------------------------
239
+
240
+ .button:disabled,
241
+ .button.disabled {
242
+ background-color: rgba(0, 0, 0, 0.12);
243
+ color: color("disabled");
244
+ cursor: not-allowed;
245
+ pointer-events: none;
246
+ @include box-shadow(none);
247
+ }
@@ -42,8 +42,6 @@
42
42
  }
43
43
  }
44
44
 
45
-
46
-
47
45
  // Tabs - colored
48
46
  //----------------------------------------------------------------------
49
47
 
@@ -66,3 +64,13 @@
66
64
  }
67
65
  }
68
66
  }
67
+
68
+ // Tabs - disabled
69
+ //----------------------------------------------------------------------
70
+
71
+ .tab:disabled,
72
+ .tab.disabled {
73
+ color: color("disabled");
74
+ cursor: default;
75
+ pointer-events: none;
76
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlegr250_material_design
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.30
4
+ version: 0.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel LeGrand