dlegr250_material_design 0.4.78 → 0.4.79

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: 20e5f2a062f5f2d9e596f8e7503d3939b0258c05
4
- data.tar.gz: 11597479c4f65c79948bac25b21106c423d8b7ea
3
+ metadata.gz: f22669fa7dd5a8be3608d9b3317d3f97d7784e28
4
+ data.tar.gz: c34d495ab5d6e9ba199944b9160a6a607a7d613a
5
5
  SHA512:
6
- metadata.gz: 82e9c99a6c7e5241f41eac309684def40da5f13729db2091d098a4efbfa3faf1a7ace19b8253503679dbf88b2c3a4c4ab6b2c4f9dc744e82396bfaa9d557a1cf
7
- data.tar.gz: a4c1e3807e1a0e3a2e80aa443a108570b4c9468d95406b2b4a9a6b0cbfe326a02bbcc9489e96cf48dbe5a50a7630c0e6808f9938602b8704e624bb18715bca2b
6
+ metadata.gz: 7b7ec5f9e64f5675328aa73a9b8e028c3b4db586590e8aed76084db5f993e3ac8184a610bda4b3f385f38d2117be4f0526bb783739c938432d6a99ed46758ee4
7
+ data.tar.gz: 4a19154359c3adf508d3be92df9c14b3b365a7f6ebdee3d573d5f2a8300425e680dcfc9f5e7c05d3c66c83b4b3c0a9a55f2bec037f739d25e00ecf1a16013b05
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.4.78"
2
+ VERSION = "0.4.79"
3
3
  end
@@ -56,6 +56,17 @@ class App.MD.InputMasks
56
56
  aPad: true # Pad decimals with 0's
57
57
  })
58
58
 
59
+ # Format (allow negatives): "$ 999,999,999.99"
60
+ $(":input[data-format='currency-allow-negative']").autoNumeric("init", {
61
+ aSign: "$ ",
62
+ aSep: ",",
63
+ aDec: ".",
64
+ vMin: "-999999999.99",
65
+ vMax: "999999999.99",
66
+ dGroup: "3",
67
+ aPad: true # Pad decimals with 0's
68
+ })
69
+
59
70
  # Default "$" placeholder for currency fields if no placeholder specified
60
71
  $(":input[data-format='currency']").not("[placeholder]").attr("placeholder", "$")
61
72
 
@@ -66,12 +77,20 @@ class App.MD.InputMasks
66
77
  # aPad: true
67
78
  # })
68
79
  $(":input[data-format='percentage']").autoNumeric("init", {
69
- aSign: " %",
70
- pSign: "s",
71
- vMin: "0",
72
- vMax: "99.999",
73
- aPad: true
74
- })
80
+ aSign: " %",
81
+ pSign: "s",
82
+ vMin: "0",
83
+ vMax: "99.999",
84
+ aPad: true
85
+ })
86
+
87
+ $(":input[data-format='percentage-allow-negative']").autoNumeric("init", {
88
+ aSign: " %",
89
+ pSign: "s",
90
+ vMin: "-99.999",
91
+ vMax: "99.999",
92
+ aPad: true
93
+ })
75
94
 
76
95
  # Default "%" placeholder for percentage fields if no placeholder specified
77
96
  $(":input[data-format='percentage']").not("[placeholder]").attr("placeholder", "%")
@@ -207,6 +207,13 @@ ol {
207
207
  }
208
208
  }
209
209
 
210
+ .list-no-hover .list-item {
211
+ &:hover,
212
+ &:active {
213
+ background-color: transparent !important;
214
+ }
215
+ }
216
+
210
217
  // Links in list items
211
218
  //----------------------------------------------------------------------
212
219
 
@@ -105,6 +105,20 @@
105
105
  @include list-item-secondary();
106
106
  }
107
107
 
108
+ // Menus - disabled
109
+ //----------------------------------------------------------------------
110
+
111
+ .menu-item-disabled {
112
+ cursor: not-allowed;
113
+ pointer-events: none;
114
+
115
+ .menu-item-icon,
116
+ .menu-item-primary,
117
+ .menu-item-secondary {
118
+ color: color("disabled") !important;
119
+ }
120
+ }
121
+
108
122
  // Menus - sizes
109
123
  //----------------------------------------------------------------------
110
124
 
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.4.78
4
+ version: 0.4.79
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel LeGrand
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-19 00:00:00.000000000 Z
11
+ date: 2017-01-20 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