dlegr250_material_design 0.4.46 → 0.4.48

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: 6a7a9b648c27667273003abd16851e9d25f12b98
4
- data.tar.gz: c11fc6e49e5e1077579c63b5d25de88f2dab93cc
3
+ metadata.gz: a5f04d4a64d32983b032f1dad938189630c58259
4
+ data.tar.gz: 050a688d4d930bf996165c440cebe9128c46a0d9
5
5
  SHA512:
6
- metadata.gz: e57477c73d4570075c3b92492945ec97227105fc7763724fa1f1053cf7a9c16bbab0a103b757829cb7414b22dfa7cf33f559345b33f63dd46f1ec348f596805a
7
- data.tar.gz: 45b0608a45a232928a132c951a973e19e6d1a03860c0993e89bf85a79aeec1a7e20c86519f23fa701d7d52dccb31b663cddb3838f281d4123758dc6f2315a5f3
6
+ metadata.gz: 10f5930d8e69b386c919499670777157cd6c79830b1507acc5057c2924f1f39343bec74d6d9f4ad0b90e30c4f087a525c908ef99f963e450ee103065d7e1989d
7
+ data.tar.gz: 658742089fa5dc1d803827e5a5071b9627a0f40e179e76ce42cbee6c7b2291a2397bf0b7494e7d7edc78ca3e848e3256a6bbf8ca861affccbd565610c55fd5dc
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.4.46"
2
+ VERSION = "0.4.48"
3
3
  end
@@ -104,25 +104,11 @@
104
104
  // Margins
105
105
  //----------------------------------------------------------------------
106
106
 
107
- .margin-xsmall {
108
- margin: $spacing-xsmall 0;
109
- }
110
-
111
- .margin-small {
112
- margin: $spacing-small 0;
113
- }
114
-
115
- .margin-normal {
116
- margin: $spacing-normal 0;
117
- }
118
-
119
- .margin-large {
120
- margin: $spacing-large 0;
121
- }
122
-
123
- .margin-xlarge {
124
- margin: $spacing-xlarge 0;
125
- }
107
+ .margin-xsmall { margin: $spacing-xsmall 0; }
108
+ .margin-small { margin: $spacing-small 0; }
109
+ .margin-normal { margin: $spacing-normal 0; }
110
+ .margin-large { margin: $spacing-large 0; }
111
+ .margin-xlarge { margin: $spacing-xlarge 0; }
126
112
 
127
113
  // If lists or other elements need extra room at bottom
128
114
  // or else the FAB overlaps them.
@@ -173,25 +159,11 @@
173
159
  // Rounded corners
174
160
  //----------------------------------------------------------------------
175
161
 
176
- .rounded-corners {
177
- @include rounded-corners;
178
- }
179
-
180
- .rounded-top-corners {
181
- @include rounded-top-corners;
182
- }
183
-
184
- .rounded-right-corners {
185
- @include rounded-right-corners;
186
- }
187
-
188
- .rounded-bottom-corners {
189
- @include rounded-bottom-corners;
190
- }
191
-
192
- .rounded-left-corners {
193
- @include rounded-left-corners;
194
- }
162
+ .rounded-corners { @include rounded-corners; }
163
+ .rounded-top-corners { @include rounded-top-corners; }
164
+ .rounded-right-corners { @include rounded-right-corners; }
165
+ .rounded-bottom-corners { @include rounded-bottom-corners; }
166
+ .rounded-left-corners { @include rounded-left-corners; }
195
167
 
196
168
  // Visibility
197
169
  //----------------------------------------------------------------------
@@ -226,25 +198,11 @@
226
198
  // Font sizes
227
199
  //----------------------------------------------------------------------
228
200
 
229
- .font-size-xsmall {
230
- font-size: $font-size-xsmall !important;
231
- }
232
-
233
- .font-size-small {
234
- font-size: $font-size-small !important;
235
- }
236
-
237
- .font-size-normal {
238
- font-size: $font-size-normal !important;
239
- }
240
-
241
- .font-size-large {
242
- font-size: $font-size-large !important;
243
- }
244
-
245
- .font-size-xlarge {
246
- font-size: $font-size-xlarge !important;
247
- }
201
+ .font-size-xsmall { font-size: $font-size-xsmall !important; }
202
+ .font-size-small { font-size: $font-size-small !important; }
203
+ .font-size-normal { font-size: $font-size-normal !important; }
204
+ .font-size-large { font-size: $font-size-large !important; }
205
+ .font-size-xlarge { font-size: $font-size-xlarge !important; }
248
206
 
249
207
  $font-sizes: 8, 10, 12, 14, 16, 18, 20, 22, 24;
250
208
  @each $size in $font-sizes {
@@ -333,78 +291,36 @@ $font-sizes: 8, 10, 12, 14, 16, 18, 20, 22, 24;
333
291
  // Media query classes for various device sizes
334
292
  //----------------------------------------------------------------------
335
293
 
336
- .small-only {
337
- display: block;
338
- }
339
-
340
- .small-only-inline {
341
- display: inline-block;
342
- }
343
-
294
+ .small-only,
344
295
  .small-and-medium-only {
345
- display: block;
346
- }
347
-
348
- .small-and-medium-only-inline {
349
- display: inline-block;
296
+ display: auto;
350
297
  }
351
298
 
352
299
  .medium-only,
353
- .medium-only-inline {
354
- display: none;
355
- }
356
-
357
300
  .medium-and-large-only,
358
- .medium-and-large-only-inline {
359
- display: none;
360
- }
361
-
362
- .large-only,
363
- .large-only-inline {
301
+ .large-only {
364
302
  display: none;
365
303
  }
366
304
 
367
305
  @media (min-width: $medium-width) {
368
- .small-only,
369
- .small-only-inline {
370
- display: none !important;
371
- }
372
-
373
- .medium-only {
374
- display: block !important;
375
- }
376
-
377
- .medium-only-inline {
378
- display: inline-block !important;
379
- }
306
+ .small-only { display: none !important; }
380
307
 
308
+ .medium-only,
381
309
  .medium-and-large-only {
382
- display: block !important;
383
- }
384
-
385
- .medium-and-large-only-inline {
386
- display: inline-block !important;
310
+ display: auto !important;
387
311
  }
388
312
  }
389
313
 
390
314
  @media (min-width: $large-width) {
391
315
  .small-only,
392
- .small-only-inline,
393
316
  .small-and-medium-only,
394
- .small-and-medium-only-inline,
395
- .medium-only,
396
- .medium-only-inline {
317
+ .medium-only {
397
318
  display: none !important;
398
319
  }
399
320
 
400
321
  .medium-and-large-only,
401
322
  .large-only {
402
- display: block !important;
403
- }
404
-
405
- .medium-and-large-only-inline,
406
- .large-only-inline {
407
- display: inline-block !important;
323
+ display: auto !important;
408
324
  }
409
325
  }
410
326
 
@@ -146,6 +146,7 @@ $colors: (
146
146
  "brown" : #795548,
147
147
  "blue-grey" : #607d8b,
148
148
  "icon" : #737373,
149
+ "offwhite" : rgba(255, 255, 255, 0.6),
149
150
  "helper" : rgba(0, 0, 0, 0.54),
150
151
  "text" : rgb(51, 51, 51),
151
152
  "divider" : rgba(0, 0, 0, 0.12),
@@ -173,6 +174,7 @@ $hover-color: color("hover") !default;
173
174
 
174
175
  // Appbar only
175
176
  $appbar-text-color: color("white") !default;
177
+ $appbar-subtitle-color: color("offwhite") !default;
176
178
  $appbar-button-color: color("helper") !default;
177
179
 
178
180
  // Merge defaults back into globals to use in colored components.
@@ -59,6 +59,7 @@
59
59
 
60
60
  .card-header-primary-subtext {
61
61
  @include list-item-primary-subtext();
62
+ @include force-text-wrap();
62
63
  }
63
64
 
64
65
  .card-header-secondary {
@@ -42,29 +42,25 @@
42
42
 
43
43
  .appbar-title {
44
44
  flex: 1; // To fill empty gaps
45
- font-size: $font-size-normal * 1.2;
45
+ font-size: $font-size-normal + 2px;
46
46
  margin-right: $spacing-small;
47
47
 
48
48
  a {
49
- color: $appbar-text-color;
49
+ color: $appbar-subtitle-color;
50
50
  }
51
51
  }
52
52
 
53
53
  .appbar-subtitle {
54
+ color: $appbar-subtitle-color;
54
55
  font-size: $font-size-normal;
55
56
  }
56
57
 
57
- @media (min-width: $medium-width) {
58
- .appbar-title {
59
- font-size: $font-size-large;
60
- }
61
- }
62
-
63
58
  // appbar - actions
64
59
  //----------------------------------------------------------------------
65
60
 
66
61
  .appbar-actions {
67
62
  @include flex-parent-row(); // To line up dividers and buttons properly
63
+ padding-left: $spacing-small;
68
64
  text-align: right;
69
65
 
70
66
  .button {
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.46
4
+ version: 0.4.48
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-12-14 00:00:00.000000000 Z
11
+ date: 2016-12-18 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