dlegr250_material_design 0.5.14 → 0.5.15

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: 3ad3f32348e54e006b6e5278b6dbe8ba0ef0f935
4
- data.tar.gz: 1dc10e27bee82698f683199e7ca6aa26326ae33b
3
+ metadata.gz: f9a823537f4b405543151d05ec336b8b96747e0b
4
+ data.tar.gz: 024c90d0de1965bc69c1e29313f23caba52e608c
5
5
  SHA512:
6
- metadata.gz: 54927539c56c088e592b146564e8676a51a40b54597128ec22e2fb9da89bd46bc71210d65ce678dc71f772e9b9cce8b22cfaa37910b7e92b96c8f17caab0074f
7
- data.tar.gz: c2ce4517db91e893fc71357e0247eb6a1cc9aa72f1a6fdf2a78e0a9e63a2c20a67a7bcbf1ba33907b75a3e9bd96c9e6a9e44c07b12581da0cdb2826ad847429e
6
+ metadata.gz: 657b02adfc751330cd005a6ed2f6852fa0a22aac3f7c5f69e9579c6df664e9f181a02991ba641896d7050392e140305e9d34215e14162a29db1a99c6f028a893
7
+ data.tar.gz: 590409a067aaf36b2016ac8de9aaa1812a28b30489180113c81fa43d62ca7dcf465a5b14fa41864846de5bd3b03ca804b2084d0888ce9c648dcbfb4bac373770
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.5.14"
2
+ VERSION = "0.5.15"
3
3
  end
@@ -254,8 +254,9 @@ $default-rounded-corners-radius: 3px;
254
254
  //----------------------------------------------------------------------
255
255
 
256
256
  @mixin list-item() {
257
+ color: color("text");
257
258
  font-size: $font-size-normal;
258
- min-height: 48px;
259
+ min-height: $list-one-line-height;
259
260
  @include flex-parent-row();
260
261
  @include no-touch-highlight-color();
261
262
  @include transition(background-color 0.30s ease);
@@ -263,18 +264,17 @@ $default-rounded-corners-radius: 3px;
263
264
 
264
265
  @mixin list-item-icon() {
265
266
  color: color("icon");
267
+ max-width: 56px;
266
268
  padding-left: $spacing-normal;
267
- text-align: left;
268
- width: 30px;
269
+ text-align: center;
270
+ width: 56px;
269
271
  }
270
272
 
271
273
  @mixin list-item-primary() {
272
274
  color: color("text");
273
- flex: 1;
275
+ flex: 1; // Fill space
274
276
  font-size: $font-size-normal;
275
- padding-left: $spacing-normal;
276
- padding-right: $spacing-normal;
277
- // @include truncate-text();
277
+ padding: $spacing-normal;
278
278
  }
279
279
 
280
280
  @mixin list-item-primary-supertext() {
@@ -283,20 +283,16 @@ $default-rounded-corners-radius: 3px;
283
283
  font-weight: normal;
284
284
  padding-bottom: $spacing-xsmall;
285
285
  @include flex-parent-row();
286
- // @include truncate-text();
287
286
  }
288
287
 
289
288
  @mixin list-item-primary-subtext() {
290
- color: color("helper");
291
- font-size: $font-size-small;
292
- font-weight: normal;
289
+ @include list-item-primary-supertext();
290
+ padding-bottom: 0;
293
291
  padding-top: $spacing-xsmall;
294
- @include flex-parent-row();
295
- // @include truncate-text();
296
292
  }
297
293
 
298
294
  @mixin list-item-secondary() {
299
- color: color("icon");
295
+ color: color("helper");
300
296
  padding-right: $spacing-normal;
301
297
  text-align: right;
302
298
  }
@@ -44,22 +44,19 @@
44
44
  @include list-item-icon();
45
45
  }
46
46
 
47
- .card-header-primary,
48
- .card-header-secondary {
49
- box-sizing: border-box;
50
- }
47
+ // .card-header-primary,
48
+ // .card-header-secondary {
49
+ // box-sizing: border-box;
50
+ // }
51
51
 
52
52
  .card-header-primary {
53
53
  @include list-item-primary();
54
- @include force-text-wrap();
55
54
  font-size: $font-size-large;
56
55
  font-weight: bold;
57
- padding: $spacing-normal;
58
56
  }
59
57
 
60
58
  .card-header-primary-subtext {
61
59
  @include list-item-primary-subtext();
62
- @include force-text-wrap();
63
60
  }
64
61
 
65
62
  .card-header-secondary {
@@ -76,7 +73,6 @@
76
73
 
77
74
  .card-content {
78
75
  padding: $spacing-normal;
79
- @include force-text-wrap();
80
76
  }
81
77
 
82
78
  // Card - content - subheader
@@ -118,6 +114,7 @@
118
114
  // Inner cards - cards inside cards
119
115
  //----------------------------------------------------------------------
120
116
 
117
+ // TODO do we even use this???
121
118
  .card-inner {
122
119
  @include box-shadow(none);
123
120
  @include full-width();
@@ -45,20 +45,11 @@ ol {
45
45
  }
46
46
 
47
47
  .list-item {
48
- box-sizing: border-box;
49
- color: color("text");
50
- min-height: $list-one-line-height;
51
- @include flex-parent-row();
52
- @include no-touch-highlight-color();
53
- @include transition(background-color 0.30s ease);
48
+ @include list-item();
54
49
  }
55
50
 
56
51
  .list-item-icon {
57
- color: color("icon");
58
- max-width: 56px;
59
- padding-left: $spacing-normal;
60
- text-align: center;
61
- width: 56px;
52
+ @include list-item-icon();
62
53
  }
63
54
 
64
55
  .list-item-icon-primary-action {
@@ -66,28 +57,23 @@ ol {
66
57
  }
67
58
 
68
59
  .list-item-primary {
69
- color: color("text");
70
- flex: 1; // Fill space
71
- font-size: $font-size-normal;
72
- padding: $spacing-normal;
60
+ @include list-item-primary();
61
+ }
62
+
63
+ .list-item-primary-supertext {
64
+ @include list-item-primary-supertext();
73
65
  }
74
66
 
75
67
  .list-item-primary-subtext {
76
- color: color("helper");
77
- font-size: $font-size-small;
78
- padding-top: $spacing-xsmall;
68
+ @include list-item-primary-subtext();
79
69
  }
80
70
 
81
71
  .list-item-secondary {
82
- color: color("helper");
83
- padding-right: $spacing-normal;
84
- text-align: right;
72
+ @include list-item-secondary();
85
73
  }
86
74
 
87
75
  .list-item-secondary-actions {
88
- color: color("helper");
89
- padding-right: $spacing-small;
90
- text-align: right;
76
+ @include list-item-secondary-actions();
91
77
  }
92
78
 
93
79
  // Lists - modifiers
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.14
4
+ version: 0.5.15
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-05 00:00:00.000000000 Z
11
+ date: 2017-02-06 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