dlegr250_material_design 0.1.6 → 0.1.7

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: 330b1bdaecf4bcea2531298cecb384c18932718a
4
- data.tar.gz: bd7251cb778b1fd0ea2795b6f15fc4fb508e80d4
3
+ metadata.gz: afe3a2d080e1183a217de03a7355268edbd98e5b
4
+ data.tar.gz: 79879f77202e11149b0e5bbba36da17bc5fd1f38
5
5
  SHA512:
6
- metadata.gz: e62e5af459bbe733225ae8b9015f7cf0caf92c6cc04f80d694c43bab596aa4dde40221d798463272968dd8127514c56a0cebfa00a0622b1322fc2d1c8d5de1ff
7
- data.tar.gz: 8f60be127897633cdfc90b2233cbe975d061f27d7bfbf747774bbc79f738518c0b441a05afb33e1590615be9513e078d43a6fddf47385e979ccac09e27dc5ea5
6
+ metadata.gz: 5c57a02a0928c524cbc4060eec1551602de34c5dbab1f71c51ed4def0b0c39e04a395ef1d969b1a2d77f6f7da6191b931a7acf10bb278f7554b0eea0093bef66
7
+ data.tar.gz: b136d21288b4b3390b496b266c25d3ae9f909f8e5ccb7e6b50c2ac84fa2c296dbdb0008d4c0415d4a17b2f621d78b6c8c6fd4d025d9c994486e4a46ff277c348
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
@@ -0,0 +1,45 @@
1
+ //======================================================================
2
+ // Helper or error msgs related to an input element.
3
+ // EXAMPLE:
4
+ // <div class="field">
5
+ // <label for="attribute" class="top">Text</label>
6
+ // <input type="text" name="attribute" id="attribute" class="full-width" />
7
+ // <span class="helper-text helper-text-bottom">Helper text</span>
8
+ // <span class="helper-text helper-text-bottom error-messages">Red error msgs...</span>
9
+ // </div>
10
+ //======================================================================
11
+
12
+ // Wrapper for inputs with errors
13
+ //----------------------------------------------------------------------
14
+
15
+ .field-with-errors {
16
+ label {
17
+ color: color("red");
18
+ }
19
+
20
+ input {
21
+ border-color: color("red");
22
+ }
23
+ }
24
+
25
+ // Helper text - base
26
+ //----------------------------------------------------------------------
27
+
28
+ .helper-text {
29
+ color: color("helper");
30
+ font-size: $font-size-small;
31
+ font-weight: normal;
32
+
33
+ &.helper-text-bottom {
34
+ display: inline-block;
35
+ line-height: 1.4;
36
+ overflow: hidden;
37
+ padding-top: $spacing-xsmall;
38
+ position: relative;
39
+ vertical-align: middle;
40
+ }
41
+
42
+ &.error-messages {
43
+ color: color("red") !important;
44
+ }
45
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlegr250_material_design
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel LeGrand
@@ -104,7 +104,6 @@ files:
104
104
  - vendor/assets/stylesheets/components/code.scss
105
105
  - vendor/assets/stylesheets/components/dialogs.scss
106
106
  - vendor/assets/stylesheets/components/dividers.scss
107
- - vendor/assets/stylesheets/components/forms/error_messages.scss
108
107
  - vendor/assets/stylesheets/components/forms/fields.scss
109
108
  - vendor/assets/stylesheets/components/forms/helper_texts.scss
110
109
  - vendor/assets/stylesheets/components/forms/labels.scss
@@ -1,45 +0,0 @@
1
- //======================================================================
2
- // Helper or error msgs related to an input element.
3
- // EXAMPLE:
4
- // <div class="field">
5
- // <label for="attribute" class="top">Text</label>
6
- // <input type="text" name="attribute" id="attribute" class="full-width" />
7
- // <span class="helper-text helper-text-bottom">Helper text</span>
8
- // <span class="helper-text helper-text-bottom error-messages">Red error msgs...</span>
9
- // </div>
10
- //======================================================================
11
-
12
- // Wrapper for inputs with errors
13
- //----------------------------------------------------------------------
14
-
15
- .field-with-errors {
16
- label {
17
- color: color("red");
18
- }
19
-
20
- input {
21
- border-color: color("red");
22
- }
23
- }
24
-
25
- // Helper text - base
26
- //----------------------------------------------------------------------
27
-
28
- .helper-text {
29
- color: color("helper");
30
- font-size: $font-size-small;
31
- font-weight: normal;
32
-
33
- &.helper-text-bottom {
34
- display: inline-block;
35
- line-height: 1.4;
36
- overflow: hidden;
37
- padding-top: $spacing-xsmall;
38
- position: relative;
39
- vertical-align: middle;
40
- }
41
-
42
- &.error-messages {
43
- color: color("red") !important;
44
- }
45
- }