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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9a823537f4b405543151d05ec336b8b96747e0b
|
4
|
+
data.tar.gz: 024c90d0de1965bc69c1e29313f23caba52e608c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 657b02adfc751330cd005a6ed2f6852fa0a22aac3f7c5f69e9579c6df664e9f181a02991ba641896d7050392e140305e9d34215e14162a29db1a99c6f028a893
|
7
|
+
data.tar.gz: 590409a067aaf36b2016ac8de9aaa1812a28b30489180113c81fa43d62ca7dcf465a5b14fa41864846de5bd3b03ca804b2084d0888ce9c648dcbfb4bac373770
|
@@ -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:
|
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:
|
268
|
-
width:
|
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
|
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
|
-
|
291
|
-
|
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("
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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.
|
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-
|
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
|