dlegr250_material_design 0.5.32 → 0.5.33

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: f83bf76ebb5b7f02733d8c5b8b2e975de582c2ea
4
- data.tar.gz: f59516ca94258eff28c58042c6d6ef97e9887df4
3
+ metadata.gz: 9e17079af575c6994a4d9b3963f398c1fa418599
4
+ data.tar.gz: ca596879fd3c2086e970ee7d96575f3308e91791
5
5
  SHA512:
6
- metadata.gz: 3886ae51e2961dbafaf44c6a29dd2a00346b2188f3ded73706ec0516fc60ab01268f07a4a1b0e2569a9c682d9b454d75839ad7779e6036edd334478c310e999e
7
- data.tar.gz: b7bc013106fbcccd4ea987653a2922da1a5cbadec3333226abd32047d144c574cef01297b341a4b3b28058c9efd72c339960b210135c22f5d4e56cc2056e95a9
6
+ metadata.gz: 109943684dc0f41f3cb286393071af02291398f0f7d8142d6b087fa71ed915c02e85ecc2080efdb441270378e2c09ffa08c9b7980bc7ef4c17ce95926d9311b0
7
+ data.tar.gz: ddffb066c361a30b96ef0e599c595fb71c0984f4161d84607c69851da23fceb05b72a8fea44878b72b0b7a0e4e7c19d2e5060305c4b33cce73baea58f9c6ab38
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.5.32"
2
+ VERSION = "0.5.33"
3
3
  end
@@ -304,3 +304,10 @@ $default-rounded-corners-radius: 3px;
304
304
  @include list-item-secondary();
305
305
  padding-right: 0;
306
306
  }
307
+
308
+ // Font smoothing
309
+ //----------------------------------------------------------------------
310
+
311
+ @mixin font-smoothing() {
312
+ -webkit-font-smoothing: antialiased;
313
+ }
@@ -34,6 +34,11 @@ $card-width-normal: $card-width; // For consistency
34
34
  $card-width-large: 360px;
35
35
  $card-width-xlarge: 420px;
36
36
 
37
+ // Text fields
38
+ //----------------------------------------------------------------------
39
+
40
+ $text-fields: "input[type='email'], input[type='number'], input[type='search'], input[type='text'], input[type='tel'], input[type='url'], input[type='password'], textarea";
41
+
37
42
  // Dimensions - lists
38
43
  //----------------------------------------------------------------------
39
44
 
@@ -102,9 +102,10 @@
102
102
  @include list-item-primary();
103
103
  flex: 1;
104
104
  font-size: $font-size-normal + 2px;
105
- font-weight: bold;
105
+ font-weight: 400;
106
106
  padding-left: $spacing-small;
107
107
  padding-right: $spacing-small;
108
+ @include font-smoothing();
108
109
  }
109
110
 
110
111
  @media (min-width: $width-small) {
@@ -49,7 +49,7 @@
49
49
  .field {
50
50
  box-sizing: border-box;
51
51
  display: inline-block;
52
- margin: 1px 0;
52
+ margin: 0;
53
53
  max-width: 100%;
54
54
  padding: $spacing-normal 0;
55
55
  position: relative;
@@ -192,3 +192,25 @@
192
192
  }
193
193
  }
194
194
  }
195
+
196
+ // Fields - inline
197
+ //----------------------------------------------------------------------
198
+
199
+ .field-inline {
200
+ padding: 0 $spacing-small;
201
+ @include flex-parent-row();
202
+
203
+ .field-label {
204
+ padding: 0;
205
+ padding-left: $spacing-small;
206
+ }
207
+
208
+ .field-element {
209
+ flex: 1;
210
+
211
+ #{$text-fields} {
212
+ border: 0 !important;
213
+ @include box-shadow(none !important);
214
+ }
215
+ }
216
+ }
@@ -2,11 +2,6 @@
2
2
  // Text-fields include any text-based input.
3
3
  //======================================================================
4
4
 
5
- // Variables
6
- //----------------------------------------------------------------------
7
-
8
- $text-fields: "input[type='email'], input[type='number'], input[type='search'], input[type='text'], input[type='tel'], input[type='url'], input[type='password'], textarea";
9
-
10
5
  // Text fields - base
11
6
  //----------------------------------------------------------------------
12
7
 
@@ -94,8 +94,7 @@
94
94
  margin: 0 $spacing-small;
95
95
  max-width: auto;
96
96
  pointer-events: none;
97
- -webkit-font-smoothing: antialiased;
98
- // @include truncate-text(); // Make optional via class
97
+ @include font-smoothing();
99
98
 
100
99
  a {
101
100
  color: $appbar-subtitle-color;
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.5.32
4
+ version: 0.5.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel LeGrand
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-13 00:00:00.000000000 Z
11
+ date: 2017-02-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'WARNING: ALPHA CODE, NOT PRODUCTION READY. ACTIVELY UNDER DEVELOPMENT
14
14
  AS OF AUG 2016. Implement Google Material Design spec with modern browsers in mind