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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 035beb9b6c6016b159f8b8874cf466df7c7933b5
|
4
|
+
data.tar.gz: addb3d3906798cca89dec94f408d694d814706a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11166415a7850c8ede3528f7d6423151b9d5dbd9622b1cf2228ac7ca84bbbc1676c92c62a0113beccfc65b5cdfaf55871cc8919120ecd839a65ac19a4400d3c7
|
7
|
+
data.tar.gz: 4c72d0af590171050366a6f3c0d8e7692b58f197d31505d984fec03b7f58e131cae312f5ed97464f3fbc06b5244b08edbbe87daa1518a69cc3f8e4ba3cde89ea
|
@@ -1,7 +1,7 @@
|
|
1
1
|
//======================================================================
|
2
|
-
// EXAMPLE:
|
3
|
-
// <%= f.label :attribute, "
|
4
|
-
// <div class="
|
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
|
-
.
|
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
|
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
|
-
.
|
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.
|
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-
|
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
|