dlegr250_material_design 0.4.09 → 0.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 892158a1d5ca8fa19c52a7fc444c0b8c71bf906f
4
- data.tar.gz: bdb0d570d8d694d746bcdf3b679a72a0ddceb229
3
+ metadata.gz: 1693cf27629045d968fe5f0db3578c78e0912eaa
4
+ data.tar.gz: 28225a6d0ad78a684f6cd89acc94b658256bb238
5
5
  SHA512:
6
- metadata.gz: 1cb847b132ddbd4c6dfcc534950dcdbd545e88efd940446af7c93acd01c398c710f8ab99f0d24f58e42972a2f370aa01cd98034fa8baee08789d3205477ef0e0
7
- data.tar.gz: 8ac755f2b2e76747014d23817333d10795a1c1a773b8ffbb38c22cde2495ea4223413b12672b3c25cc2e8183bed964532062c863595e3ef893dc50fb38e300df
6
+ metadata.gz: 7da7ed20e1f13921ec463b601f38dfd4a036a1feb084ab9e3447073eb8cabf63480ed8307ff53e7a47568327017768ab9917574b983e8f99709853db38181155
7
+ data.tar.gz: a242c56d1600dadf472bbddb4041fc86e61386df555625996ac9af6cdde344ec89267d2cc87067a7f94536772808358d93a0d7f729da59be84402497f5af758b
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.4.09"
2
+ VERSION = "0.4.10"
3
3
  end
@@ -265,13 +265,16 @@ $default-rounded-corners-radius: 3px;
265
265
  @mixin list-item-primary() {
266
266
  color: color("text");
267
267
  flex: 1;
268
+ font-size: $font-size-normal;
268
269
  padding-left: $spacing-normal;
269
270
  padding-right: $spacing-normal;
271
+ @include truncate-text();
270
272
  }
271
273
 
272
274
  @mixin list-item-primary-subtext() {
273
275
  color: color("helper");
274
276
  font-size: $font-size-small;
277
+ font-weight: normal;
275
278
  padding-top: $spacing-xsmall;
276
279
  }
277
280
 
@@ -94,6 +94,7 @@ $buttons: ".button";
94
94
  .button-icon {
95
95
  border: none;
96
96
  color: color("icon");
97
+ cursor: pointer;
97
98
  height: $button-icon-height;
98
99
  line-height: $button-icon-height;
99
100
  text-align: center;
@@ -40,6 +40,36 @@
40
40
  }
41
41
  }
42
42
 
43
+ .dialog-header {
44
+ padding: $spacing-large;
45
+ padding-bottom: 20px; // Per MD spec
46
+ @include list-item();
47
+ }
48
+
49
+ .dialog-header-icon {
50
+ @include list-item-icon();
51
+ }
52
+
53
+ .dialog-header-primary,
54
+ .dialog-header-secondary {
55
+ box-sizing: border-box;
56
+ // padding: $spacing-large;
57
+ // padding-bottom: 20px; // Per MD spec
58
+ }
59
+
60
+ .dialog-header-primary {
61
+ font-weight: bold;
62
+ @include list-item-primary();
63
+ }
64
+
65
+ .dialog-header-primary-subtext {
66
+ @include list-item-primary-subtext();
67
+ }
68
+
69
+ .dialog-header-secondary {
70
+ text-align: right;
71
+ }
72
+
43
73
  // Dialogs - content
44
74
  //----------------------------------------------------------------------
45
75
 
@@ -46,15 +46,11 @@ ol {
46
46
 
47
47
  .list-header {
48
48
  background-color: #f2f2f2;
49
- min-height: 48px;
50
- @include flex-parent-row();
49
+ @include list-item();
51
50
  }
52
51
 
53
52
  .list-header-icon {
54
- color: color("icon");
55
- padding-left: $spacing-normal;
56
- text-align: left;
57
- width: 30px;
53
+ @include list-item-icon();
58
54
  }
59
55
 
60
56
  .list-header-primary,
@@ -64,19 +60,12 @@ ol {
64
60
  }
65
61
 
66
62
  .list-header-primary {
67
- flex: 1;
68
- font-size: $font-size-normal;
69
63
  font-weight: bold;
70
- overflow: hidden;
71
- text-overflow: ellipsis;
72
- white-space: nowrap;
64
+ @include list-item-primary();
73
65
  }
74
66
 
75
67
  .list-header-primary-subtext {
76
- color: color("helper");
77
- font-size: $font-size-small;
78
- font-weight: normal;
79
- padding-top: $spacing-xsmall;
68
+ @include list-item-primary-subtext();
80
69
  }
81
70
 
82
71
  .list-header-secondary {
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.09
4
+ version: 0.4.10
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-11-02 00:00:00.000000000 Z
11
+ date: 2016-11-03 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