materialize-sass 0.95.3.4 → 0.96.0

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.
Files changed (30) hide show
  1. data/README.md +1 -1
  2. data/app/assets/javascripts/materialize-sprockets.js +2 -1
  3. data/app/assets/javascripts/materialize.js +832 -522
  4. data/app/assets/javascripts/materialize/character_counter.js +59 -0
  5. data/app/assets/javascripts/materialize/dropdown.js +64 -61
  6. data/app/assets/javascripts/materialize/forms.js +14 -0
  7. data/app/assets/javascripts/materialize/global.js +13 -0
  8. data/app/assets/javascripts/materialize/init.js +5 -1
  9. data/app/assets/javascripts/materialize/leanModal.js +4 -5
  10. data/app/assets/javascripts/materialize/parallax.js +9 -12
  11. data/app/assets/javascripts/materialize/scrollFire.js +24 -24
  12. data/app/assets/javascripts/materialize/toasts.js +6 -2
  13. data/app/assets/stylesheets/materialize/components/_buttons.scss +16 -7
  14. data/app/assets/stylesheets/materialize/components/_cards.scss +9 -9
  15. data/app/assets/stylesheets/materialize/components/_collapsible.scss +19 -1
  16. data/app/assets/stylesheets/materialize/components/_color.scss +3 -2
  17. data/app/assets/stylesheets/materialize/components/_dropdown.scss +16 -10
  18. data/app/assets/stylesheets/materialize/components/_form.scss +93 -5
  19. data/app/assets/stylesheets/materialize/components/_global.scss +37 -6
  20. data/app/assets/stylesheets/materialize/components/_modal.scss +2 -2
  21. data/app/assets/stylesheets/materialize/components/_navbar.scss +5 -7
  22. data/app/assets/stylesheets/materialize/components/_normalize.scss +2 -2
  23. data/app/assets/stylesheets/materialize/components/_prefixer.scss +4 -4
  24. data/app/assets/stylesheets/materialize/components/_sideNav.scss +6 -0
  25. data/app/assets/stylesheets/materialize/components/_tabs.scss +1 -2
  26. data/app/assets/stylesheets/materialize/components/_typography.scss +2 -1
  27. data/app/assets/stylesheets/materialize/components/_variables.scss +1 -0
  28. data/lib/materialize-sass/version.rb +1 -1
  29. metadata +16 -7
  30. checksums.yaml +0 -7
@@ -5,7 +5,7 @@
5
5
  position: fixed;
6
6
  left: 0;
7
7
  right: 0;
8
- background-color: #eee;
8
+ background-color: #fafafa;
9
9
  padding: 0;
10
10
  max-height: 70%;
11
11
  width: 55%;
@@ -31,7 +31,7 @@
31
31
 
32
32
  .modal-footer {
33
33
  border-radius: 0 0 2px 2px;
34
- background-color: #eee;
34
+ background-color: #fafafa;
35
35
  padding: 4px 6px;
36
36
  height: 56px;
37
37
  width: 100%;
@@ -13,6 +13,7 @@ nav {
13
13
  height: 100%;
14
14
 
15
15
  i {
16
+ display: block;
16
17
  font-size: 2rem;
17
18
  }
18
19
  }
@@ -30,7 +31,6 @@ nav {
30
31
  height: $navbar-height-mobile;
31
32
 
32
33
  i {
33
-
34
34
  font-size: 2.7rem;
35
35
  height: $navbar-height-mobile;
36
36
  line-height: $navbar-height-mobile;
@@ -47,15 +47,13 @@ nav {
47
47
  padding: 0;
48
48
 
49
49
  &.center {
50
- top: 50%;
51
50
  left: 50%;
52
- @include transform(translate(-50%, -50%));
51
+ @include transform(translateX(-50%));
53
52
  }
54
53
 
55
54
  @media #{$medium-and-down} {
56
- top: 50%;
57
55
  left: 50%;
58
- @include transform(translate(-50%, -50%));
56
+ @include transform(translateX(-50%));
59
57
  }
60
58
 
61
59
  &.right {
@@ -81,7 +79,7 @@ nav {
81
79
  a {
82
80
  font-size: 1rem;
83
81
  color: #fff;
84
- display: inline-block;
82
+ display: block;
85
83
  padding: 0 15px;
86
84
  }
87
85
 
@@ -142,4 +140,4 @@ nav {
142
140
  .navbar-fixed {
143
141
  height: $navbar-height;
144
142
  }
145
- }
143
+ }
@@ -287,8 +287,8 @@ select {
287
287
  * `input` and others.
288
288
  */
289
289
 
290
+ /* 1 */ html input[type="button"],
290
291
  button,
291
- html input[type="button"], /* 1 */
292
292
  input[type="reset"],
293
293
  input[type="submit"] {
294
294
  -webkit-appearance: button; /* 2 */
@@ -424,4 +424,4 @@ table {
424
424
  td,
425
425
  th {
426
426
  padding: 0;
427
- }
427
+ }
@@ -239,7 +239,7 @@
239
239
  background-image: -o-linear-gradient(top, $color1 $stop1, $color2 $stop2);
240
240
  background-image: linear-gradient(top, $color1 $stop1, $color2 $stop2);
241
241
  }
242
- @mixin linear-gradient-top($default,$color1,$stop1,$color2,$stop2,$color3,$stop3) {
242
+ @mixin linear-gradient-top2($default,$color1,$stop1,$color2,$stop2,$color3,$stop3) {
243
243
  background-color: $default;
244
244
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3));
245
245
  background-image: -webkit-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
@@ -248,7 +248,7 @@
248
248
  background-image: -o-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
249
249
  background-image: linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
250
250
  }
251
- @mixin linear-gradient-top($default,$color1,$stop1,$color2,$stop2,$color3,$stop3,$color4,$stop4) {
251
+ @mixin linear-gradient-top3($default,$color1,$stop1,$color2,$stop2,$color3,$stop3,$color4,$stop4) {
252
252
  background-color: $default;
253
253
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3), color-stop($stop4 $color4));
254
254
  background-image: -webkit-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
@@ -266,7 +266,7 @@
266
266
  background-image: -o-linear-gradient(left, $color1 $stop1, $color2 $stop2);
267
267
  background-image: linear-gradient(left, $color1 $stop1, $color2 $stop2);
268
268
  }
269
- @mixin linear-gradient-left($default,$color1,$stop1,$color2,$stop2,$color3,$stop3) {
269
+ @mixin linear-gradient-left2($default,$color1,$stop1,$color2,$stop2,$color3,$stop3) {
270
270
  background-color: $default;
271
271
  background-image: -webkit-gradient(linear, left top, left top, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3));
272
272
  background-image: -webkit-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
@@ -275,7 +275,7 @@
275
275
  background-image: -o-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
276
276
  background-image: linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
277
277
  }
278
- @mixin linear-gradient-left($default,$color1,$stop1,$color2,$stop2,$color3,$stop3,$color4,$stop4) {
278
+ @mixin linear-gradient-left3($default,$color1,$stop1,$color2,$stop2,$color3,$stop3,$color4,$stop4) {
279
279
  background-color: $default;
280
280
  background-image: -webkit-gradient(linear, left top, left top, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3), color-stop($stop4 $color4));
281
281
  background-image: -webkit-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
@@ -10,6 +10,7 @@
10
10
  padding-bottom: 60px;
11
11
  background-color: #FFF;
12
12
  z-index: 999;
13
+ overflow-y: auto;
13
14
 
14
15
  @extend .z-depth-1;
15
16
  will-change: left;
@@ -33,6 +34,11 @@
33
34
  }
34
35
  a {
35
36
  color: #444;
37
+ display: block;
38
+ font-size: 1rem;
39
+ height: 64px;
40
+ line-height: 64px;
41
+ padding: 0 15px;
36
42
  }
37
43
  }
38
44
 
@@ -1,7 +1,7 @@
1
1
  .tabs {
2
2
  position: relative;
3
3
  height: 48px;
4
- background-color: #FFF;
4
+ background-color: $tabs-bg-color;
5
5
  margin: 0 auto;
6
6
  width: 100%;
7
7
  white-space: nowrap;
@@ -10,7 +10,6 @@
10
10
  display: block;
11
11
  float: left;
12
12
  text-align: center;
13
- background-color: #fff;
14
13
  line-height: 48px;
15
14
  height: 48px;
16
15
  padding: 0 20px;
@@ -39,6 +39,7 @@ em { font-style: italic; }
39
39
  strong { font-weight: 500; }
40
40
  small { font-size: 75%; }
41
41
  .light { font-weight: 300; }
42
+ .thin { font-weight: 200; }
42
43
 
43
44
  .flow-text{
44
45
  font-weight: 300;
@@ -52,4 +53,4 @@ small { font-size: 75%; }
52
53
  }
53
54
  $i: $i + 1;
54
55
  }
55
- }
56
+ }
@@ -103,6 +103,7 @@ $navbar-height-mobile: 56px !default;
103
103
  /*** Tabs ***/
104
104
  $tabs-underline-color: $primary-color-light !default;
105
105
  $tabs-text-color: $primary-color !default;
106
+ $tabs-bg-color: #fff !default;
106
107
 
107
108
  /*** Tables ***/
108
109
  $table-border-color: #d0d0d0 !default;
@@ -1,6 +1,6 @@
1
1
  module Materialize
2
2
  module Sass
3
- VERSION = "0.95.3.4"
3
+ VERSION = "0.96.0"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: materialize-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.95.3.4
4
+ version: 0.96.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - mkhairi
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2015-03-20 00:00:00.000000000 Z
12
+ date: 2015-04-03 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rake
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -41,6 +46,7 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: sass
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ~>
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ~>
53
60
  - !ruby/object:Gem::Version
@@ -90,6 +97,7 @@ files:
90
97
  - app/assets/javascripts/materialize/animation.js
91
98
  - app/assets/javascripts/materialize/buttons.js
92
99
  - app/assets/javascripts/materialize/cards.js
100
+ - app/assets/javascripts/materialize/character_counter.js
93
101
  - app/assets/javascripts/materialize/collapsible.js
94
102
  - app/assets/javascripts/materialize/date_picker/picker.date.js
95
103
  - app/assets/javascripts/materialize/date_picker/picker.js
@@ -153,25 +161,26 @@ files:
153
161
  homepage: https://github.com/mkhairi/materialize-sass
154
162
  licenses:
155
163
  - MIT
156
- metadata: {}
157
164
  post_install_message:
158
165
  rdoc_options: []
159
166
  require_paths:
160
167
  - lib
161
168
  required_ruby_version: !ruby/object:Gem::Requirement
169
+ none: false
162
170
  requirements:
163
- - - '>='
171
+ - - ! '>='
164
172
  - !ruby/object:Gem::Version
165
173
  version: '0'
166
174
  required_rubygems_version: !ruby/object:Gem::Requirement
175
+ none: false
167
176
  requirements:
168
- - - '>='
177
+ - - ! '>='
169
178
  - !ruby/object:Gem::Version
170
179
  version: '0'
171
180
  requirements: []
172
181
  rubyforge_project:
173
- rubygems_version: 2.4.6
182
+ rubygems_version: 1.8.23
174
183
  signing_key:
175
- specification_version: 4
184
+ specification_version: 3
176
185
  summary: Materialzecss sass for rails.
177
186
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: fd2c374425f1d4f9baa6937139a349103e5de5bc
4
- data.tar.gz: 2dd3747f6efe6a109ed48261bdbd0e8f3bd7a5c7
5
- SHA512:
6
- metadata.gz: bca13c7a46a9b929a9646cf3c189abfd25e3da673c6a9d319c3c1d45b3bdc03363a5b04447158aabedcd4b2627f2c11174759163e7d6360c4ce1275905e7ac3e
7
- data.tar.gz: eaf0bc50a9f7f63f8841f84403cabb4b4f0bec7c7b75c7fc6f1d321ef8c988e0fb8c95765f02d435e09d82d8701460044e168a28eb65483808c9a81af474719d