materialize-sass 0.97.3 → 0.97.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/fonts/roboto/Roboto-Bold.eot +0 -0
  3. data/app/assets/fonts/roboto/Roboto-Light.eot +0 -0
  4. data/app/assets/fonts/roboto/Roboto-Medium.eot +0 -0
  5. data/app/assets/fonts/roboto/Roboto-Regular.eot +0 -0
  6. data/app/assets/fonts/roboto/Roboto-Thin.eot +0 -0
  7. data/app/assets/javascripts/materialize-sprockets.js +1 -0
  8. data/app/assets/javascripts/materialize.js +537 -192
  9. data/app/assets/javascripts/materialize.min.js +6 -6
  10. data/app/assets/javascripts/materialize/buttons.js +2 -3
  11. data/app/assets/javascripts/materialize/collapsible.js +1 -1
  12. data/app/assets/javascripts/materialize/dropdown.js +1 -1
  13. data/app/assets/javascripts/materialize/extras/nouislider.js +5 -0
  14. data/app/assets/javascripts/materialize/extras/nouislider.min.js +1 -1
  15. data/app/assets/javascripts/materialize/forms.js +56 -47
  16. data/app/assets/javascripts/materialize/global.js +3 -2
  17. data/app/assets/javascripts/materialize/initial.js +4 -0
  18. data/app/assets/javascripts/materialize/tooltip.js +120 -118
  19. data/app/assets/stylesheets/materialize/components/_buttons.scss +2 -1
  20. data/app/assets/stylesheets/materialize/components/_cards.scss +2 -2
  21. data/app/assets/stylesheets/materialize/components/_carousel.scss +1 -5
  22. data/app/assets/stylesheets/materialize/components/_collapsible.scss +1 -1
  23. data/app/assets/stylesheets/materialize/components/_form.scss +23 -24
  24. data/app/assets/stylesheets/materialize/components/_global.scss +40 -27
  25. data/app/assets/stylesheets/materialize/components/_grid.scss +30 -3
  26. data/app/assets/stylesheets/materialize/components/_icons-material-design.scss +6 -0
  27. data/app/assets/stylesheets/materialize/components/_materialbox.scss +1 -1
  28. data/app/assets/stylesheets/materialize/components/_mixins.scss +5 -5
  29. data/app/assets/stylesheets/materialize/components/_navbar.scss +28 -12
  30. data/app/assets/stylesheets/materialize/components/_prefixer.scss +291 -291
  31. data/app/assets/stylesheets/materialize/components/_roboto.scss +17 -10
  32. data/app/assets/stylesheets/materialize/components/_sideNav.scss +3 -2
  33. data/app/assets/stylesheets/materialize/components/_slider.scss +1 -1
  34. data/app/assets/stylesheets/materialize/components/_tabs.scss +4 -4
  35. data/app/assets/stylesheets/materialize/components/_toast.scss +6 -8
  36. data/app/assets/stylesheets/materialize/components/_tooltip.scss +1 -1
  37. data/app/assets/stylesheets/materialize/components/_variables.scss +1 -0
  38. data/app/assets/stylesheets/materialize/components/_waves.scss +5 -8
  39. data/app/assets/stylesheets/materialize/components/date_picker/_default.date.scss +2 -2
  40. data/app/assets/stylesheets/materialize/extras/nouislider.css +5 -0
  41. data/lib/materialize-sass/version.rb +1 -1
  42. metadata +9 -3
@@ -1,14 +1,17 @@
1
1
  @font-face {
2
- font-family: "Roboto-Thin";
3
- src: local(Roboto Thin),
2
+ font-family: "Roboto";
3
+ src: local(Roboto Thin), font-url('#{$roboto-font-path}Roboto-Thin.eot');
4
+ src: font-url("#{$roboto-font-path}Roboto-Thin.eot?#iefix") format('embedded-opentype'),
4
5
  font-url("#{$roboto-font-path}Roboto-Thin.woff2") format("woff2"),
5
6
  font-url("#{$roboto-font-path}Roboto-Thin.woff") format("woff"),
6
7
  font-url("#{$roboto-font-path}Roboto-Thin.ttf") format("truetype");
8
+
7
9
  font-weight: 200;
8
10
  }
9
11
  @font-face {
10
- font-family: "Roboto-Light";
11
- src: local(Roboto Light),
12
+ font-family: "Roboto";
13
+ src: local(Roboto Light), font-url('#{$roboto-font-path}Roboto-Light.eot');
14
+ src: font-url("#{$roboto-font-path}Roboto-Light.eot?#iefix") format('embedded-opentype'),
12
15
  font-url("#{$roboto-font-path}Roboto-Light.woff2") format("woff2"),
13
16
  font-url("#{$roboto-font-path}Roboto-Light.woff") format("woff"),
14
17
  font-url("#{$roboto-font-path}Roboto-Light.ttf") format("truetype");
@@ -17,8 +20,8 @@
17
20
 
18
21
  @font-face {
19
22
  font-family: "Roboto";
20
- src:
21
- local(Roboto Regular),
23
+ src: local(Roboto Regular), font-url('#{$roboto-font-path}Roboto-Regular.eot');
24
+ src: font-url("#{$roboto-font-path}Roboto-Regular.eot?#iefix") format('embedded-opentype'),
22
25
  font-url("#{$roboto-font-path}Roboto-Regular.woff2") format("woff2"),
23
26
  font-url("#{$roboto-font-path}Roboto-Regular.woff") format("woff"),
24
27
  font-url("#{$roboto-font-path}Roboto-Regular.ttf") format("truetype");
@@ -26,16 +29,20 @@
26
29
  }
27
30
 
28
31
  @font-face {
29
- font-family: "Roboto-Medium";
30
- src: font-url("#{$roboto-font-path}Roboto-Medium.woff2") format("woff2"),
32
+ font-family: "Roboto";
33
+ src: font-url('#{$roboto-font-path}Roboto-Medium.eot');
34
+ src: font-url("#{$roboto-font-path}Roboto-Medium.eot?#iefix") format('embedded-opentype'),
35
+ font-url("#{$roboto-font-path}Roboto-Medium.woff2") format("woff2"),
31
36
  font-url("#{$roboto-font-path}Roboto-Medium.woff") format("woff"),
32
37
  font-url("#{$roboto-font-path}Roboto-Medium.ttf") format("truetype");
33
38
  font-weight: 500;
34
39
  }
35
40
 
36
41
  @font-face {
37
- font-family: "Roboto-Bold";
38
- src: font-url("#{$roboto-font-path}Roboto-Bold.woff2") format("woff2"),
42
+ font-family: "Roboto";
43
+ src: font-url('#{$roboto-font-path}Roboto-Bold.eot');
44
+ src: font-url("#{$roboto-font-path}Roboto-Bold.eot?#iefix") format('embedded-opentype'),
45
+ font-url("#{$roboto-font-path}Roboto-Bold.woff2") format("woff2"),
39
46
  font-url("#{$roboto-font-path}Roboto-Bold.woff") format("woff"),
40
47
  font-url("#{$roboto-font-path}Roboto-Bold.ttf") format("truetype");
41
48
  font-weight: 700;
@@ -30,14 +30,15 @@
30
30
  li {
31
31
  float: none;
32
32
  padding: 0 $sidenav-padding-right;
33
+ line-height: $sidenav-item-height;
33
34
  &:hover, &.active { background-color: #ddd; }
34
35
  }
35
36
  a {
36
37
  color: #444;
37
38
  display: block;
38
39
  font-size: 1rem;
39
- height: 64px;
40
- line-height: 64px;
40
+ height: $sidenav-item-height;
41
+ line-height: $sidenav-item-height;
41
42
  padding: 0 $sidenav-padding-right;
42
43
  }
43
44
  }
@@ -80,7 +80,7 @@
80
80
  margin: 0 12px;
81
81
  background-color: $slider-bg-color-light;
82
82
 
83
- @include transition(background-color .3s);
83
+ transition: background-color .3s;
84
84
  border-radius: 50%;
85
85
 
86
86
  &.active {
@@ -1,7 +1,7 @@
1
1
  .tabs {
2
- @include flexbox();
2
+ display: flex;
3
3
  position: relative;
4
- overflow-x: scroll;
4
+ overflow-x: auto;
5
5
  overflow-y: hidden;
6
6
  height: 48px;
7
7
  background-color: $tabs-bg-color;
@@ -35,7 +35,7 @@
35
35
  height: 100%;
36
36
  text-overflow: ellipsis;
37
37
  overflow: hidden;
38
- @include transition( color .28s ease);
38
+ transition: color .28s ease;
39
39
  &:hover {
40
40
  color: lighten($tabs-text-color, 20%);
41
41
  }
@@ -53,4 +53,4 @@
53
53
  background-color: $tabs-underline-color;
54
54
  will-change: left, right;
55
55
  }
56
- }
56
+ }
@@ -8,16 +8,14 @@
8
8
  bottom: 0%;
9
9
  }
10
10
  @media #{$medium-only} {
11
- min-width: 30%;
12
11
  left: 5%;
13
- right: 5%;
14
12
  bottom: 7%;
13
+ max-width: 90%;
15
14
  }
16
15
  @media #{$large-and-up} {
17
- min-width: 8%;
18
16
  top: 10%;
19
17
  right: 7%;
20
- left: 7%;
18
+ max-width: 86%;
21
19
  }
22
20
  }
23
21
 
@@ -40,9 +38,9 @@
40
38
  font-weight: 300;
41
39
  color: $toast-text-color;
42
40
 
43
- @include flexbox();
44
- @include align(center);
45
- @include justify-content(space-between);
41
+ display: flex;
42
+ align-items: center;
43
+ justify-content: space-between;
46
44
 
47
45
  .btn, .btn-flat {
48
46
  margin: 0;
@@ -64,4 +62,4 @@
64
62
  float: right;
65
63
  }
66
64
 
67
- }
65
+ }
@@ -27,7 +27,7 @@
27
27
  border-radius: 0 0 14px 14px;
28
28
  background-color: #323232;
29
29
  z-index: -1;
30
- @include transform-origin( 50% 10%);
30
+ transform-origin: 50% 10%;
31
31
 
32
32
  will-change: transform, opacity;
33
33
  }
@@ -107,6 +107,7 @@ $navbar-brand-font-size: 2.1rem !default;
107
107
  /*** SideNav ***/
108
108
  $sidenav-bg-color: #fff !default;
109
109
  $sidenav-padding-right: 15px !default;
110
+ $sidenav-item-height: 64px !default;
110
111
 
111
112
  /*** Photo Slider ***/
112
113
  $slider-bg-color: color('grey', 'base') !default;
@@ -34,7 +34,7 @@
34
34
  // text-decoration: none;
35
35
  z-index: 1;
36
36
  will-change: opacity, transform;
37
- @include transition(all .3s ease-out);
37
+ transition: all .3s ease-out;
38
38
 
39
39
  .waves-ripple {
40
40
  position: absolute;
@@ -51,12 +51,9 @@
51
51
  // background: -o-radial-gradient($gradient);
52
52
  // background: -moz-radial-gradient($gradient);
53
53
  // background: radial-gradient($gradient);
54
- @include transition(all 0.7s ease-out);
55
- -webkit-transition-property: -webkit-transform, opacity;
56
- -moz-transition-property: -moz-transform, opacity;
57
- -o-transition-property: -o-transform, opacity;
54
+ transition: all 0.7s ease-out;
58
55
  transition-property: transform, opacity;
59
- @include transform(scale(0));
56
+ transform: scale(0);
60
57
  pointer-events: none;
61
58
  }
62
59
 
@@ -96,11 +93,11 @@
96
93
  }
97
94
 
98
95
  .waves-notransition {
99
- @include transition(none #{"!important"});
96
+ transition: none #{"!important"};
100
97
  }
101
98
 
102
99
  .waves-circle {
103
- @include transform(translateZ(0));
100
+ transform: translateZ(0);
104
101
  -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
105
102
  }
106
103
 
@@ -209,7 +209,7 @@
209
209
 
210
210
  // Circle background
211
211
  border-radius: 50%;
212
- @include transform(scale(.75));
212
+ transform: scale(.75);
213
213
  background: #0089ec;
214
214
  color: #ffffff;
215
215
  }
@@ -394,7 +394,7 @@
394
394
  .picker--focused .picker__day--selected {
395
395
  // Circle background
396
396
  border-radius: 50%;
397
- @include transform(scale(.9));
397
+ transform: scale(.9);
398
398
  background-color: $datepicker-selected;
399
399
  &.picker__day--outfocus {
400
400
  background-color: $datepicker-selected-outfocus;
@@ -1,3 +1,8 @@
1
+ /*!
2
+ * Materialize v0.97.4 (http://materializecss.com)
3
+ * Copyright 2014-2015 Materialize
4
+ * MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE)
5
+ */
1
6
  /*!
2
7
  * Materialize v0.97.3 (http://materializecss.com)
3
8
  * Copyright 2014-2015 Materialize
@@ -1,6 +1,6 @@
1
1
  module Materialize
2
2
  module Sass
3
- VERSION = "0.97.3"
3
+ VERSION = "0.97.4"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: materialize-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.97.3
4
+ version: 0.97.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - mkhairi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-17 00:00:00.000000000 Z
11
+ date: 2015-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -70,18 +70,23 @@ files:
70
70
  - app/assets/fonts/material-design-icons/Material-Design-Icons.ttf
71
71
  - app/assets/fonts/material-design-icons/Material-Design-Icons.woff
72
72
  - app/assets/fonts/material-design-icons/Material-Design-Icons.woff2
73
+ - app/assets/fonts/roboto/Roboto-Bold.eot
73
74
  - app/assets/fonts/roboto/Roboto-Bold.ttf
74
75
  - app/assets/fonts/roboto/Roboto-Bold.woff
75
76
  - app/assets/fonts/roboto/Roboto-Bold.woff2
77
+ - app/assets/fonts/roboto/Roboto-Light.eot
76
78
  - app/assets/fonts/roboto/Roboto-Light.ttf
77
79
  - app/assets/fonts/roboto/Roboto-Light.woff
78
80
  - app/assets/fonts/roboto/Roboto-Light.woff2
81
+ - app/assets/fonts/roboto/Roboto-Medium.eot
79
82
  - app/assets/fonts/roboto/Roboto-Medium.ttf
80
83
  - app/assets/fonts/roboto/Roboto-Medium.woff
81
84
  - app/assets/fonts/roboto/Roboto-Medium.woff2
85
+ - app/assets/fonts/roboto/Roboto-Regular.eot
82
86
  - app/assets/fonts/roboto/Roboto-Regular.ttf
83
87
  - app/assets/fonts/roboto/Roboto-Regular.woff
84
88
  - app/assets/fonts/roboto/Roboto-Regular.woff2
89
+ - app/assets/fonts/roboto/Roboto-Thin.eot
85
90
  - app/assets/fonts/roboto/Roboto-Thin.ttf
86
91
  - app/assets/fonts/roboto/Roboto-Thin.woff
87
92
  - app/assets/fonts/roboto/Roboto-Thin.woff2
@@ -104,6 +109,7 @@ files:
104
109
  - app/assets/javascripts/materialize/global.js
105
110
  - app/assets/javascripts/materialize/hammer.min.js
106
111
  - app/assets/javascripts/materialize/init.js
112
+ - app/assets/javascripts/materialize/initial.js
107
113
  - app/assets/javascripts/materialize/jquery.easing.1.3.js
108
114
  - app/assets/javascripts/materialize/jquery.hammer.js
109
115
  - app/assets/javascripts/materialize/jquery.timeago.min.js
@@ -179,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
185
  version: '0'
180
186
  requirements: []
181
187
  rubyforge_project:
182
- rubygems_version: 2.4.4
188
+ rubygems_version: 2.4.8
183
189
  signing_key:
184
190
  specification_version: 4
185
191
  summary: Materialzecss sass for rails.