dlegr250_material_design 0.2.52 → 0.3.0

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: 607ab964097b9030625057f3969fda007f6c00e5
4
- data.tar.gz: 9a7dbf12e247a1adb7b2df260bf779f940400a3e
3
+ metadata.gz: 035beb9b6c6016b159f8b8874cf466df7c7933b5
4
+ data.tar.gz: addb3d3906798cca89dec94f408d694d814706a6
5
5
  SHA512:
6
- metadata.gz: 521a8015dbdb30dd107327faa24ab53d1340502ebdb1fb7aaada7881f462cefceddc4e0c0f0caedbd67143d57fb9b1ce89d0608f57e3e303ec1d4990a9f4b3f9
7
- data.tar.gz: 7a023f315447004e7872efca0690620acf898428f1dba6cf4a202869c36bb809a11c0d37b12e33990710c0b7cc7a3516cc06b0c9a757e30017142840729f357c
6
+ metadata.gz: 11166415a7850c8ede3528f7d6423151b9d5dbd9622b1cf2228ac7ca84bbbc1676c92c62a0113beccfc65b5cdfaf55871cc8919120ecd839a65ac19a4400d3c7
7
+ data.tar.gz: 4c72d0af590171050366a6f3c0d8e7692b58f197d31505d984fec03b7f58e131cae312f5ed97464f3fbc06b5244b08edbbe87daa1518a69cc3f8e4ba3cde89ea
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.2.52"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  //======================================================================
2
- // EXAMPLE:
3
- // <%= f.label :attribute, "Toggle Display Text" %>
4
- // <div class="toggle toggle-blue">
2
+ // EXAMPLE (element order is important):
3
+ // <%= f.label :attribute, "Switch Display Text" %>
4
+ // <div class="switch switch-blue">
5
5
  // <%= f.check_box :attribute %>
6
6
  // <label for="model_attribute"></label>
7
7
  // </div>
@@ -10,7 +10,7 @@
10
10
  // Toggles - base
11
11
  //----------------------------------------------------------------------
12
12
 
13
- .toggle {
13
+ .switch {
14
14
  display: inline-block;
15
15
 
16
16
  // Hide the actual checkbox
@@ -32,7 +32,7 @@
32
32
  @include transition(all 0.15s ease);
33
33
  @include no-touch-highlight();
34
34
 
35
- // Round button on toggle
35
+ // Round button on switch
36
36
  &:after {
37
37
  background-color: color("white");
38
38
  content: "";
@@ -58,7 +58,7 @@
58
58
  //----------------------------------------------------------------------
59
59
 
60
60
  @each $color-name, $color in $colors {
61
- .toggle-#{$color-name} {
61
+ .switch-#{$color-name} {
62
62
  input:checked ~ label {
63
63
  background-color: lighten($color, 25%);
64
64
 
@@ -32,7 +32,8 @@
32
32
  @import "components/forms/labels";
33
33
  @import "components/forms/text_fields";
34
34
  @import "components/forms/selects";
35
- @import "components/forms/toggles";
35
+ // @import "components/forms/toggles";
36
+ @import "components/forms/switches";
36
37
  @import "components/forms/radios";
37
38
  @import "components/forms/segmented_controls";
38
39
  @import "components/forms/helper_texts";
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.2.52
4
+ version: 0.3.0
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-07-29 00:00:00.000000000 Z
11
+ date: 2016-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -113,8 +113,8 @@ files:
113
113
  - vendor/assets/stylesheets/components/forms/radios.scss
114
114
  - vendor/assets/stylesheets/components/forms/segmented_controls.scss
115
115
  - vendor/assets/stylesheets/components/forms/selects.scss
116
+ - vendor/assets/stylesheets/components/forms/switches.scss
116
117
  - vendor/assets/stylesheets/components/forms/text_fields.scss
117
- - vendor/assets/stylesheets/components/forms/toggles.scss
118
118
  - vendor/assets/stylesheets/components/grids.scss
119
119
  - vendor/assets/stylesheets/components/lists.scss
120
120
  - vendor/assets/stylesheets/components/menus.scss