dlegr250_material_design 0.4.96 → 0.4.97

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: 90e19d7c101c2bc4770ee87d35e0eaf23144bcf6
4
- data.tar.gz: 44092d70398352bf025d222a98517ee5a325f881
3
+ metadata.gz: bcdca658dccf44773413068ee7da685cb6dcdf59
4
+ data.tar.gz: 5d7e5bafa2a404fd016d6bec38698f2dc7693793
5
5
  SHA512:
6
- metadata.gz: 5394002f7e4c887065c6d91f4aa6cf3b4e451df4c2d1b64ecfbed3d003913dc9907403d79cdcc5aa18e58c3b6830b1d845df814d18393d39423aba984f89783e
7
- data.tar.gz: af575a5501459ab882fee6fe6b9e842f73a2fd3fc61b67ede1868c1e932e6c419b9f6aa654947833f21878074a325aafc7c1cf7411099182ec2cbed20d2598cb
6
+ metadata.gz: 8023eea056ae44e03dd75663c57c6d4f5d247eaec31655ca5e279d7ada3ac680e4150b7052a5dca2cc2f78de697e4798625bac671a2c0102357be4e8912dbe20
7
+ data.tar.gz: 1910d4f64413704b27a9b404deb58043e92294ee5a0c452462f9dd3da1661177bd8f19b6941f6dbf0fe1b87027a304c99b6fd4f71d07ff7a0fe19529350bf79b
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.4.96"
2
+ VERSION = "0.4.97"
3
3
  end
@@ -31,7 +31,7 @@ jQuery.extend jQuery.fn,
31
31
  #----------------------------------------------------------------------
32
32
 
33
33
  jQuery.extend jQuery.fn,
34
- replaceWithSpinner: (options) ->
34
+ replaceWithSpinner: (options = {}) ->
35
35
  color = options["color"] || "primary"
36
36
  size = options["size"] || "normal"
37
37
 
@@ -274,7 +274,16 @@ $default-rounded-corners-radius: 3px;
274
274
  font-size: $font-size-normal;
275
275
  padding-left: $spacing-normal;
276
276
  padding-right: $spacing-normal;
277
- @include truncate-text();
277
+ // @include truncate-text();
278
+ }
279
+
280
+ @mixin list-item-primary-supertext() {
281
+ color: color("helper");
282
+ font-size: $font-size-small;
283
+ font-weight: normal;
284
+ padding-bottom: $spacing-xsmall;
285
+ @include flex-parent-row();
286
+ // @include truncate-text();
278
287
  }
279
288
 
280
289
  @mixin list-item-primary-subtext() {
@@ -282,7 +291,8 @@ $default-rounded-corners-radius: 3px;
282
291
  font-size: $font-size-small;
283
292
  font-weight: normal;
284
293
  padding-top: $spacing-xsmall;
285
- @include truncate-text();
294
+ @include flex-parent-row();
295
+ // @include truncate-text();
286
296
  }
287
297
 
288
298
  @mixin list-item-secondary() {
@@ -78,6 +78,14 @@ $font-size-normal: 14px;
78
78
  $font-size-large: 20px;
79
79
  $font-size-xlarge: 34px;
80
80
 
81
+ $font-size-10: 10px;
82
+ $font-size-12: 12px;
83
+ $font-size-14: 14px;
84
+ $font-size-16: 16px;
85
+ $font-size-20: 20px;
86
+ $font-size-24: 24px;
87
+ $font-size-34: 34px;
88
+
81
89
  $font-size-text-field: 16px;
82
90
 
83
91
  $font-size-icon: 24px;
@@ -103,10 +111,15 @@ $dialog-depth: 50;
103
111
  // Device breakpoints
104
112
  //----------------------------------------------------------------------
105
113
 
106
- $small-width: 400px;
107
- $medium-width: 760px;
108
- $large-width: 1000px;
109
- $xlarge-width: 1200px;
114
+ $size-small: 400px;
115
+ $size-medium: 760px;
116
+ $size-large: 1000px;
117
+ $size-xlarge: 1200px;
118
+
119
+ $small-width: $size-small;
120
+ $medium-width: $size-medium;
121
+ $large-width: $size-large;
122
+ $xlarge-width: $size-xlarge;
110
123
 
111
124
  // Convenience variables
112
125
  //----------------------------------------------------------------------
@@ -117,6 +130,15 @@ $xlarge-width: 1200px;
117
130
  // See: http://www.google.com/design/spec/style/color.html
118
131
  //----------------------------------------------------------------------
119
132
 
133
+ $color-primary: #2196f3 !default;
134
+ $color-secondary: #db4437 !default;
135
+
136
+ // Hover color for lists, menus, etc...
137
+ $color-hover: #f3f3f3 !default;
138
+
139
+ $color-table-hover: #eee;
140
+ $color-table-selected: #f5f5f5;
141
+
120
142
  $colors: (
121
143
  "red" : #db4437,
122
144
  "light-red" : #ffebee,
@@ -151,11 +173,14 @@ $colors: (
151
173
  "icon" : #737373,
152
174
  "offwhite" : rgba(255, 255, 255, 0.6),
153
175
  "helper" : rgba(0, 0, 0, 0.54),
154
- "text" : rgb(51, 51, 51),
176
+ "placeholder" : rgba(0, 0, 0, 0.38),
177
+ "text" : rgba(0, 0, 0, 0.87), // rgb(51, 51, 51),
155
178
  "divider" : rgba(0, 0, 0, 0.12),
156
- "hover" : #f3f3f3,
157
- "light-hover" : lighten(#f3f3f3, 2%),
158
- "snackbar" : #323232
179
+ "hover" : $color-hover,
180
+ "light-hover" : lighten($hover-color, 2%),
181
+ "snackbar" : #323232,
182
+ "primary" : $color-primary,
183
+ "secondary" : $color-secondary,
159
184
  );
160
185
 
161
186
  // Easier way to reference $colors map
@@ -170,11 +195,11 @@ $colors: (
170
195
  $body-background-color: #fafafa !default;
171
196
 
172
197
  // appbar and any colored component
173
- $primary-color: color("blue") !default;
174
- $secondary-color: color("red") !default;
198
+ // $primary-color: color("blue") !default;
199
+ // $secondary-color: color("red") !default;
175
200
 
176
201
  // Hover color for lists, menus, etc...
177
- $hover-color: color("hover") !default;
202
+ // $hover-color: color("hover") !default;
178
203
 
179
204
  // Appbar only
180
205
  $appbar-text-color: color("white") !default;
@@ -186,9 +211,9 @@ $appbar-button-color: color("helper") !default;
186
211
  // in the $colors global so you can do color("primary") instead of #fff.
187
212
  //----------------------------------------------------------------------
188
213
 
189
- $app-config: (
190
- "primary": $primary-color,
191
- "secondary": $secondary-color,
192
- "hover": $hover-color
193
- );
194
- $colors: map-merge(($colors), ($app-config));
214
+ // $app-config: (
215
+ // "primary": $primary-color,
216
+ // "secondary": $secondary-color,
217
+ // "hover": $hover-color
218
+ // );
219
+ // $colors: map-merge(($colors), ($app-config));
@@ -0,0 +1,8 @@
1
+ .bordered {
2
+ border: 1px solid color("divider");
3
+ }
4
+
5
+ .bordered-rounded {
6
+ border: 1px solid color("divider");
7
+ @include rounded-corners();
8
+ }
@@ -26,7 +26,7 @@ label.top {
26
26
 
27
27
  .optional:after {
28
28
  color: color("helper");
29
- content: "(Optional)";
29
+ content: " (Optional)";
30
30
  font-size: $font-size-small;
31
31
  font-style: italic;
32
32
  font-weight: normal;
@@ -1,9 +1,10 @@
1
1
  //======================================================================
2
+ // See: https://material.io/guidelines/components/lists.html#lists-actions
2
3
  // EXAMPLE:
3
4
  // <div class="list list-bordered list-divided list-hoverable rounded-corners">
4
5
  // <div class="list-item" id="list-item-ID">
5
6
  // <div class="list-item-icon">
6
- // <i class="zmdi zmdi-star"></i>
7
+ // <em class="material-icons">icon_name</em>
7
8
  // </div>
8
9
  // <div class="list-item-primary">
9
10
  // Primary text
@@ -31,274 +32,376 @@ ol {
31
32
  }
32
33
  }
33
34
 
34
- // Lists - subheader
35
- //----------------------------------------------------------------------
36
-
37
- .list-subheader {
38
- color: color("helper");
39
- height: 48px;
40
- padding: 0 $spacing-normal;
41
- @include flex-parent-row();
42
- }
43
-
44
- // Lists - header
45
- //----------------------------------------------------------------------
46
-
47
- .list-header {
48
- background-color: #f2f2f2;
49
- @include list-item();
50
- }
51
-
52
- .list-header-icon {
53
- @include list-item-icon();
54
- }
55
-
56
- .list-header-primary,
57
- .list-header-secondary {
58
- box-sizing: border-box;
59
- }
60
-
61
- .list-header-primary {
62
- font-weight: bold;
63
- @include list-item-primary();
64
- }
65
-
66
- .list-header-primary-supertext {
67
- @include list-item-primary-subtext();
68
- padding-top: 0;
69
- padding-bottom: $spacing-xsmall;
70
- }
71
-
72
- .list-header-primary-subtext {
73
- @include list-item-primary-subtext();
74
- }
75
-
76
- .list-header-secondary {
77
- @include list-item-secondary();
78
- }
79
-
80
- .list-header-secondary-actions {
81
- @include list-item-secondary-actions();
82
- }
83
-
84
- @media(hover: hover) {
85
- .list-header .button-icon:hover {
86
- background-color: darken(color("hover"), 10%);
87
- }
88
- }
89
-
90
- .list-header .button-icon:active {
91
- background-color: darken(color("hover"), 20%);
92
- }
93
-
94
35
  // Lists - base
95
36
  //----------------------------------------------------------------------
96
37
 
97
38
  .list {
98
- background-color: color("white");
99
- }
100
39
 
101
- .list-bordered {
102
- border: 1px solid color("divider");
103
40
  }
104
41
 
105
- .list-divided {
106
- .list-header,
107
- .list-item {
108
- border-bottom: 1px solid color("divider");
109
- }
110
- }
111
-
112
- // Don't have double lines on last item for bordered and divided
113
- .list-bordered .list-item:last-child {
114
- border-bottom: none;
115
- }
116
-
117
- // Lists - list item
118
- //----------------------------------------------------------------------
119
-
120
42
  .list-item {
121
- @include list-item();
43
+ @include flex-parent-row-align-top();
122
44
  }
123
45
 
124
- // Lists - list item icon
125
- //----------------------------------------------------------------------
126
-
127
46
  .list-item-icon {
128
- @include list-item-icon();
129
- }
130
-
131
- .list-item-icon-circle {
132
- background-color: color("divider");
133
- font-size: 16px;
134
- height: 30px;
135
- line-height: 30px;
136
- text-align: center;
47
+ padding: $spacing-normal;
48
+ padding-left: 0;
49
+ text-align: left;
137
50
  width: 30px;
138
- @include rounded-corners(50%);
139
51
  }
140
52
 
141
- // Lists - list item primary
142
- //----------------------------------------------------------------------
53
+ .list-item-icon-primary-action {
143
54
 
144
- .list-item-primary {
145
- @include list-item-primary();
146
55
  }
147
56
 
148
- .list-item-primary-subtext {
149
- @include list-item-primary-subtext();
150
- }
151
-
152
- // Force list-item to wrap text
153
- .list.force-text-wrap .list-item-primary {
154
- @include force-text-wrap();
57
+ .list-item-primary {
58
+ font-size: $font-size-normal;
59
+ padding: $spacing-normal;
155
60
  }
156
61
 
157
- .list.truncate-overflow-text .list-item-primary {
158
- @include truncate-text();
62
+ .list-item-primary-subtext {
63
+ font-size: $font-size-small;
159
64
  }
160
65
 
161
- // Lists - list item secondary
162
- //----------------------------------------------------------------------
163
-
164
66
  .list-item-secondary {
165
- @include list-item-secondary();
166
- }
167
-
168
- .list-item-secondary-actions {
169
- @include list-item-secondary-actions();
170
- }
171
-
172
- .list-item-misc {
173
- color: color("helper");
174
- font-size: $font-size-small;
175
- align-self: flex-start;
176
67
  padding: $spacing-normal;
68
+ padding-left: 0;
177
69
  text-align: right;
178
70
  }
179
71
 
180
- // Lists - hoverable
181
- //----------------------------------------------------------------------
182
-
183
- @media(hover: hover) {
184
- .list-hoverable .list-item:hover {
185
- background-color: color("hover");
186
- }
187
- }
188
-
189
- .list-hoverable {
190
- .list-item {
191
- @include no-touch-highlight-color(); // Remove blue background on touch
192
-
193
- &:active {
194
- background-color: darken(color("hover"), 5%);
195
- }
196
-
197
- // Slightly darker than list-item:hover
198
- .button-icon {
199
- &:hover {
200
- background-color: darken(color("hover"), 5%);
201
- }
202
-
203
- &:active {
204
- background-color: darken(color("hover"), 15%);
205
- }
206
- }
207
- }
208
- }
209
-
210
- .list-no-hover .list-item {
211
- &:hover,
212
- &:active {
213
- background-color: transparent !important;
214
- }
215
- }
216
-
217
- // Links in list items
218
- //----------------------------------------------------------------------
219
-
220
- .list-item-primary-link {
221
- color: color("text");
222
- font-weight: bold;
223
-
224
- &:hover {
225
- color: color("primary");
226
- }
227
- }
228
-
229
- .list-item-primary-subtext-link {
230
- color: color("text");
231
-
232
- &:hover {
233
- color: color("primary");
234
- }
72
+ .list-item-secondary-actions {
73
+ padding: $spacing-small;
74
+ padding-left: 0;
75
+ text-align: right;
235
76
  }
236
77
 
237
- // Nested list items
78
+ // Lists - modifiers
238
79
  //----------------------------------------------------------------------
239
80
 
240
- .list-item-nested-1 {
241
- padding-left: $spacing-normal;
242
- }
243
-
244
- .list-item-nested-2 {
245
- padding-left: $spacing-normal * 2;
81
+ // Sizes
82
+ .list-one-line .list-item,
83
+ .list-item-one-line {
84
+ min-height: 48px;
246
85
  }
247
86
 
248
- .list-item-nested-3 {
249
- padding-left: $spacing-normal * 3;
87
+ .list-one-line-with-avatar .list-item,
88
+ .list-item-one-line-with-avatar {
89
+ min-height: 56px;
250
90
  }
251
91
 
252
- .list-item-nested-4 {
253
- padding-left: $spacing-normal * 4;
254
- }
255
-
256
- .list-item-nested-5 {
257
- padding-left: $spacing-normal * 5;
92
+ .list-two-lines .list-item,
93
+ .list-item-two-lines {
94
+ min-height: 72px;
258
95
  }
259
96
 
260
- .list-item-nested-6 {
261
- padding-left: $spacing-normal * 6;
97
+ .list-three-lines .list-item,
98
+ .list-item-three-lines {
99
+ min-height: 88px;
262
100
  }
263
101
 
264
- // Lists - DRYing up HTML classes
265
- //----------------------------------------------------------------------
266
-
267
- .list-standard {
268
- @extend .list-bordered;
269
- @extend .list-divided;
270
- @extend .list-hoverable;
271
- @extend .rounded-corners;
272
- @extend .background-color-white;
273
-
274
- .list-item {
275
- min-height: 72px;
276
- }
277
-
278
- .list-item-primary {
279
- @include truncate-text();
102
+ // Dividers between items
103
+ .list-divided {
104
+ .list-item:not(:last-child) {
105
+ border-bottom: 1px solid color("divider");
280
106
  }
281
107
  }
282
108
 
283
- // Lists - sizes
284
- // Put after .list-standard to overwrite any defaults
285
- //----------------------------------------------------------------------
109
+ // Hoverable
110
+ .list-hoverable {
286
111
 
287
- .list-header-dense {
288
- min-height: 32px;
289
112
  }
290
113
 
291
- .list-one-lines .list-item,
292
- .list-item-one-lines {
293
- min-height: 48px !important;
294
- }
295
114
 
296
- .list-two-lines .list-item,
297
- .list-item-two-lines {
298
- min-height: 72px !important;
299
- }
300
-
301
- .list-three-lines .list-item,
302
- .list-item-three-lines {
303
- min-height: 88px !important;
304
- }
115
+ // // Lists - header
116
+ // //----------------------------------------------------------------------
117
+ //
118
+ // .list-header {
119
+ // background-color: #f2f2f2;
120
+ // @include list-item();
121
+ // }
122
+ //
123
+ // .list-header-icon {
124
+ // @include list-item-icon();
125
+ // }
126
+ //
127
+ // .list-header-primary,
128
+ // .list-header-secondary {
129
+ // box-sizing: border-box;
130
+ // }
131
+ //
132
+ // .list-header-primary {
133
+ // font-weight: bold;
134
+ // @include list-item-primary();
135
+ // }
136
+ //
137
+ // .list-header-primary-supertext {
138
+ // @include list-item-primary-subtext();
139
+ // padding-top: 0;
140
+ // padding-bottom: $spacing-xsmall;
141
+ // }
142
+ //
143
+ // .list-header-primary-subtext {
144
+ // @include list-item-primary-subtext();
145
+ // }
146
+ //
147
+ // .list-header-secondary {
148
+ // @include list-item-secondary();
149
+ // }
150
+ //
151
+ // .list-header-secondary-actions {
152
+ // @include list-item-secondary-actions();
153
+ // }
154
+ //
155
+ // @media(hover: hover) {
156
+ // .list-header .button-icon:hover {
157
+ // background-color: darken(color("hover"), 10%);
158
+ // }
159
+ // }
160
+ //
161
+ // .list-header .button-icon:active {
162
+ // background-color: darken(color("hover"), 20%);
163
+ // }
164
+ //
165
+ // // Lists - base
166
+ // //----------------------------------------------------------------------
167
+ //
168
+ // .list {
169
+ // background-color: color("white");
170
+ // }
171
+ //
172
+ // // Lists - list item
173
+ // //----------------------------------------------------------------------
174
+ //
175
+ // .list-item {
176
+ // @include list-item();
177
+ // }
178
+ //
179
+ // // Shared among list-item children
180
+ // .list-item-icon,
181
+ // .list-item-primary,
182
+ // .list-item-secondary,
183
+ // .list-item-secondary-actions {
184
+ // padding-bottom: $spacing-normal;
185
+ // padding-top: $spacing-normal;
186
+ // }
187
+ //
188
+ // // Lists - list item icon
189
+ // //----------------------------------------------------------------------
190
+ //
191
+ // .list-item-icon {
192
+ // @include list-item-icon();
193
+ // }
194
+ //
195
+ // .list-item-icon-circle {
196
+ // background-color: color("divider");
197
+ // font-size: 16px;
198
+ // height: 30px;
199
+ // line-height: 30px;
200
+ // text-align: center;
201
+ // width: 30px;
202
+ // @include rounded-corners(50%);
203
+ // }
204
+ //
205
+ // // Lists - list item primary
206
+ // //----------------------------------------------------------------------
207
+ //
208
+ // .list-item-primary {
209
+ // @include list-item-primary();
210
+ // padding: $spacing-normal;
211
+ // }
212
+ //
213
+ // .list-item-primary-supertext {
214
+ // @include list-item-primary-supertext();
215
+ // }
216
+ //
217
+ // .list-item-primary-subtext {
218
+ // @include list-item-primary-subtext();
219
+ // }
220
+ //
221
+ // .list-item-primary-subtext .link {
222
+ // color: color("text");
223
+ //
224
+ // &:hover {
225
+ // text-decoration: underline;
226
+ // }
227
+ // }
228
+ //
229
+ // // Force list-item to wrap text
230
+ // .list.force-text-wrap .list-item-primary {
231
+ // @include force-text-wrap();
232
+ // }
233
+ //
234
+ // .list.truncate-overflow-text .list-item-primary {
235
+ // @include truncate-text();
236
+ // }
237
+ //
238
+ // // Lists - list item secondary
239
+ // //----------------------------------------------------------------------
240
+ //
241
+ // .list-item-secondary {
242
+ // @include list-item-secondary();
243
+ // }
244
+ //
245
+ // .list-item-secondary-actions {
246
+ // @include list-item-secondary-actions();
247
+ // }
248
+ //
249
+ // .list-item-misc {
250
+ // color: color("helper");
251
+ // font-size: $font-size-small;
252
+ // align-self: flex-start;
253
+ // padding: $spacing-normal;
254
+ // text-align: right;
255
+ // }
256
+ //
257
+ // // Lists - hoverable
258
+ // //----------------------------------------------------------------------
259
+ //
260
+ // @media(hover: hover) {
261
+ // .list-hoverable .list-item:hover {
262
+ // background-color: color("hover");
263
+ // }
264
+ // }
265
+ //
266
+ // .list-hoverable {
267
+ // .list-item {
268
+ // @include no-touch-highlight-color(); // Remove blue background on touch
269
+ //
270
+ // &:active {
271
+ // background-color: darken(color("hover"), 5%);
272
+ // }
273
+ //
274
+ // // Slightly darker than list-item:hover
275
+ // .button-icon {
276
+ // &:hover {
277
+ // background-color: darken(color("hover"), 5%);
278
+ // }
279
+ //
280
+ // &:active {
281
+ // background-color: darken(color("hover"), 15%);
282
+ // }
283
+ // }
284
+ // }
285
+ // }
286
+ //
287
+ // .list-no-hover .list-item {
288
+ // &:hover,
289
+ // &:active {
290
+ // background-color: transparent !important;
291
+ // }
292
+ // }
293
+ //
294
+ // // Links in list items
295
+ // //----------------------------------------------------------------------
296
+ //
297
+ // .list-item-primary-subtext-link {
298
+ // color: color("text");
299
+ //
300
+ // &:hover {
301
+ // text-decoration: underline;
302
+ // }
303
+ // }
304
+ //
305
+ // // Nested list items
306
+ // //----------------------------------------------------------------------
307
+ //
308
+ // .list-item-nested-1 {
309
+ // padding-left: $spacing-normal;
310
+ // }
311
+ //
312
+ // .list-item-nested-2 {
313
+ // padding-left: $spacing-normal * 2;
314
+ // }
315
+ //
316
+ // .list-item-nested-3 {
317
+ // padding-left: $spacing-normal * 3;
318
+ // }
319
+ //
320
+ // .list-item-nested-4 {
321
+ // padding-left: $spacing-normal * 4;
322
+ // }
323
+ //
324
+ // .list-item-nested-5 {
325
+ // padding-left: $spacing-normal * 5;
326
+ // }
327
+ //
328
+ // .list-item-nested-6 {
329
+ // padding-left: $spacing-normal * 6;
330
+ // }
331
+ //
332
+ // // Lists - DRYing up HTML classes
333
+ // //----------------------------------------------------------------------
334
+ //
335
+ // .list-standard {
336
+ // @extend .list-bordered;
337
+ // @extend .list-divided;
338
+ // @extend .list-hoverable;
339
+ // @extend .rounded-corners;
340
+ // @extend .background-color-white;
341
+ //
342
+ // .list-item {
343
+ // min-height: 72px;
344
+ // }
345
+ //
346
+ // .list-item-primary {
347
+ // @include truncate-text();
348
+ // }
349
+ // }
350
+ //
351
+ // // Lists - sizes
352
+ // // Put after .list-standard to overwrite any defaults
353
+ // //----------------------------------------------------------------------
354
+ //
355
+ // .list-header-dense {
356
+ // min-height: 32px;
357
+ // }
358
+ //
359
+ // .list-one-lines .list-item,
360
+ // .list-item-one-lines {
361
+ // min-height: 48px !important;
362
+ // }
363
+ //
364
+ // .list-two-lines .list-item,
365
+ // .list-item-two-lines {
366
+ // min-height: 72px !important;
367
+ // }
368
+ //
369
+ // .list-three-lines .list-item,
370
+ // .list-item-three-lines {
371
+ // min-height: 88px !important;
372
+ // }
373
+ //
374
+ // // Lists - modifiers
375
+ // //----------------------------------------------------------------------
376
+ //
377
+ // .list-bordered {
378
+ // border: 1px solid color("divider");
379
+ // }
380
+ //
381
+ // .list-divided {
382
+ // .list-header,
383
+ // .list-item {
384
+ // border-bottom: 1px solid color("divider");
385
+ // }
386
+ // }
387
+ //
388
+ // // Don't have double lines on last item for bordered and divided
389
+ // .list-bordered .list-item:last-child {
390
+ // border-bottom: none;
391
+ // }
392
+ //
393
+ // .list-align-top .list-item {
394
+ // @include flex-parent-row-align-top();
395
+ // }
396
+ //
397
+ // .list-truncate-text {
398
+ // .list-item > * {
399
+ // @include truncate-text();
400
+ // }
401
+ // }
402
+ //
403
+ // .list-force-text-wrap {
404
+ // .list-item > * {
405
+ // @include force-text-wrap();
406
+ // }
407
+ // }
@@ -1,4 +1,5 @@
1
1
  //======================================================================
2
+ // See: https://material.io/guidelines/components/subheaders.html#subheaders-grid-subheaders
2
3
  // EXAMPLE:
3
4
  // <div class="subheader">Text...</div>
4
5
  //======================================================================
@@ -7,7 +8,5 @@
7
8
  color: color("helper");
8
9
  font-weight: bold;
9
10
  font-size: $font-size-normal;
10
- line-height: 48px;
11
- min-height: 48px;
12
- padding: 0 $spacing-normal;
11
+ padding: $spacing-normal;
13
12
  }
@@ -25,6 +25,7 @@
25
25
  @import "components/badges";
26
26
  @import "components/tabs";
27
27
  @import "components/blank_states";
28
+ @import "components/borders";
28
29
  @import "components/breadcrumbs";
29
30
  @import "components/circles";
30
31
  @import "components/menus";
@@ -92,6 +92,7 @@
92
92
  font-weight: 400;
93
93
  line-height: 1;
94
94
  margin: 0 $spacing-small;
95
+ max-width: auto;
95
96
  pointer-events: none;
96
97
  -webkit-font-smoothing: antialiased;
97
98
  // @include truncate-text(); // Make optional via class
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.96
4
+ version: 0.4.97
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-01-31 00:00:00.000000000 Z
11
+ date: 2017-02-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
@@ -62,6 +62,7 @@ files:
62
62
  - vendor/assets/stylesheets/base/variables.scss
63
63
  - vendor/assets/stylesheets/components/badges.scss
64
64
  - vendor/assets/stylesheets/components/blank_states.scss
65
+ - vendor/assets/stylesheets/components/borders.scss
65
66
  - vendor/assets/stylesheets/components/boxes.scss
66
67
  - vendor/assets/stylesheets/components/breadcrumbs.scss
67
68
  - vendor/assets/stylesheets/components/buttons.scss