dlegr250_material_design 0.6.1 → 0.6.02
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 +4 -4
- data/lib/dlegr250_material_design/version.rb +1 -1
- data/vendor/assets/stylesheets/base/global_classes.scss +6 -0
- data/vendor/assets/stylesheets/base/variables/colors.scss +2 -2
- data/vendor/assets/stylesheets/base/variables/dimensions.scss +2 -0
- data/vendor/assets/stylesheets/components/blank_states.scss +3 -3
- data/vendor/assets/stylesheets/components/buttons.scss +3 -1
- data/vendor/assets/stylesheets/components/cards.scss +2 -1
- data/vendor/assets/stylesheets/components/dialogs.scss +8 -7
- data/vendor/assets/stylesheets/components/lists.scss +59 -75
- data/vendor/assets/stylesheets/components/menus.scss +2 -1
- data/vendor/assets/stylesheets/components/snackbars.scss +1 -1
- data/vendor/assets/stylesheets/components/tags.scss +22 -0
- data/vendor/assets/stylesheets/dlegr250_material_design.scss +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c99e9f5bb3c79b0be92a785c78fcc08ee26f8850
|
4
|
+
data.tar.gz: 3150383b811e59ddac9d17383b7c2cf6ca65898b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 625240403ad3d66168c71ea8904bd73aac260d958b64e89e0fc31d9654443b14bc79f984c57a080ee4f21124d095349d86459fa13356f9757bc46ed6574e240e
|
7
|
+
data.tar.gz: 7017bc2805b621975c617076dfddad210276c24980c4ca297958e4cb997c549a84c0f8be8baf94275c6dfe8be77a5a4815bce1f96f2308fce260c45f17dfff33
|
@@ -1,11 +1,11 @@
|
|
1
1
|
// Defaults to override
|
2
2
|
//----------------------------------------------------------------------
|
3
3
|
|
4
|
-
$body-background-color: #
|
4
|
+
$body-background-color: #ebeef0 !default;
|
5
5
|
$color-primary: #2196f3 !default;
|
6
6
|
$color-primary: #4285f4 !default;
|
7
7
|
$color-secondary: #db4437 !default;
|
8
|
-
$color-hover: #
|
8
|
+
$color-hover: #ebebec !default;
|
9
9
|
$color-hover-blue: #f0f7fe !default;
|
10
10
|
|
11
11
|
// SCSS maps of all colors
|
@@ -22,7 +22,6 @@
|
|
22
22
|
|
23
23
|
.blank-state {
|
24
24
|
margin: inherit;
|
25
|
-
margin-top: 64px;
|
26
25
|
max-width: 100%;
|
27
26
|
padding: 16px;
|
28
27
|
@include flex-parent();
|
@@ -31,7 +30,7 @@
|
|
31
30
|
}
|
32
31
|
|
33
32
|
.blank-state-icon {
|
34
|
-
|
33
|
+
background-color: darken($body-background-color, 7%);
|
35
34
|
padding: 16px;
|
36
35
|
width: 140px;
|
37
36
|
height: 140px;
|
@@ -67,5 +66,6 @@
|
|
67
66
|
}
|
68
67
|
|
69
68
|
.blank-state-actions {
|
70
|
-
|
69
|
+
padding: $spacing-normal 0;
|
70
|
+
margin: 0;
|
71
71
|
}
|
@@ -98,7 +98,7 @@ $default-button-rounded-corners: 4px;
|
|
98
98
|
// Buttons - icon buttons
|
99
99
|
//----------------------------------------------------------------------
|
100
100
|
|
101
|
-
$button-icon-height:
|
101
|
+
$button-icon-height: 48px;
|
102
102
|
|
103
103
|
// Basic icon without any coloring
|
104
104
|
.button-icon {
|
@@ -273,9 +273,11 @@ $button-icon-height: 40px;
|
|
273
273
|
width: $button-fab-height;
|
274
274
|
@include elevation(12);
|
275
275
|
@include box-shadow(0 3px 7px 0 rgba(0, 0, 0, 0.4));
|
276
|
+
@include material-icons();
|
276
277
|
@include rounded-corners(250px);
|
277
278
|
@include text-shadow(0 -1px 0 color("helper"));
|
278
279
|
@include flex-parent();
|
280
|
+
@include flex-vertical-align-center();
|
279
281
|
display: inline-flex;
|
280
282
|
}
|
281
283
|
|
@@ -34,6 +34,7 @@
|
|
34
34
|
@include list-item();
|
35
35
|
@include rounded-top-corners();
|
36
36
|
border-bottom: 1px solid color("divider");
|
37
|
+
padding: $spacing-small;
|
37
38
|
}
|
38
39
|
|
39
40
|
.card-header-no-border {
|
@@ -47,7 +48,7 @@
|
|
47
48
|
.card-header-primary {
|
48
49
|
@include list-item-primary();
|
49
50
|
font-size: $font-size-normal + 2px;
|
50
|
-
font-weight:
|
51
|
+
font-weight: 600;
|
51
52
|
@include font-smoothing();
|
52
53
|
}
|
53
54
|
|
@@ -15,17 +15,20 @@
|
|
15
15
|
@include flex-parent();
|
16
16
|
@include flex-vertical-align-center();
|
17
17
|
@include transform(scale(1.15));
|
18
|
-
@include transition(all 0.10s cubic-bezier(0, 0, 0.3, 1));
|
19
18
|
@include transparency(0);
|
20
19
|
|
21
20
|
&.visible {
|
22
21
|
pointer-events: auto;
|
23
22
|
@include transform(scale(1.0));
|
24
|
-
@include transition(all 0.10s cubic-bezier(0, 0, 0.3, 1));
|
25
23
|
@include transparency(1.0);
|
26
24
|
}
|
27
25
|
}
|
28
26
|
|
27
|
+
.dialog-container,
|
28
|
+
.dialog-container.visible {
|
29
|
+
@include transition(all 0.15s cubic-bezier(0, 0, 0.3, 1));
|
30
|
+
}
|
31
|
+
|
29
32
|
// Dialogs - base card
|
30
33
|
//----------------------------------------------------------------------
|
31
34
|
|
@@ -161,10 +164,9 @@
|
|
161
164
|
border-bottom: 1px solid color("divider");
|
162
165
|
font-size: $font-size-normal + 2px;
|
163
166
|
font-weight: bold;
|
164
|
-
padding: $spacing-normal;
|
167
|
+
padding: $spacing-small $spacing-normal;
|
165
168
|
@include flex-parent();
|
166
|
-
|
167
|
-
// @include flex-vertical-align-top();
|
169
|
+
@include list-item();
|
168
170
|
@include font-smoothing();
|
169
171
|
}
|
170
172
|
|
@@ -173,8 +175,7 @@
|
|
173
175
|
}
|
174
176
|
|
175
177
|
.dialog-header-primary {
|
176
|
-
|
177
|
-
// @include flex-align-left();
|
178
|
+
@include list-item-primary();
|
178
179
|
flex: 1;
|
179
180
|
}
|
180
181
|
|
@@ -19,23 +19,26 @@ ol {
|
|
19
19
|
//----------------------------------------------------------------------
|
20
20
|
|
21
21
|
.list {
|
22
|
+
background-color: color("white");
|
22
23
|
@include list();
|
23
24
|
}
|
24
25
|
|
25
26
|
.list-item {
|
26
27
|
@include list-item();
|
28
|
+
min-height: 48px;
|
29
|
+
padding: 8px;
|
27
30
|
}
|
28
31
|
|
29
32
|
.list-item-icon {
|
30
33
|
@include list-item-icon();
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
34
|
+
height: 40px;
|
35
|
+
max-height: 40px;
|
36
|
+
width: 40px;
|
35
37
|
}
|
36
38
|
|
37
39
|
.list-item-primary {
|
38
40
|
@include list-item-primary();
|
41
|
+
line-height: normal;
|
39
42
|
}
|
40
43
|
|
41
44
|
.list-item-primary-supertext {
|
@@ -44,6 +47,17 @@ ol {
|
|
44
47
|
|
45
48
|
.list-item-primary-subtext {
|
46
49
|
@include list-item-primary-subtext();
|
50
|
+
color: color("helper");
|
51
|
+
font-size: $font-size-small;
|
52
|
+
@include flex-parent();
|
53
|
+
@include flex-align-left();
|
54
|
+
}
|
55
|
+
|
56
|
+
.list-item-action {
|
57
|
+
@include list-item-icon();
|
58
|
+
height: 40px;
|
59
|
+
max-height: 40px;
|
60
|
+
width: 40px;
|
47
61
|
}
|
48
62
|
|
49
63
|
.list-item-secondary {
|
@@ -54,6 +68,11 @@ ol {
|
|
54
68
|
@include list-item-secondary();
|
55
69
|
}
|
56
70
|
|
71
|
+
.list-item-icon,
|
72
|
+
.list-item-action {
|
73
|
+
align-self: auto;
|
74
|
+
}
|
75
|
+
|
57
76
|
// Lists - links in text
|
58
77
|
//----------------------------------------------------------------------
|
59
78
|
|
@@ -76,37 +95,6 @@ ol {
|
|
76
95
|
// Lists - modifiers
|
77
96
|
//----------------------------------------------------------------------
|
78
97
|
|
79
|
-
// Sizes
|
80
|
-
// .list-one-line .list-item,
|
81
|
-
// .list-item-one-line {
|
82
|
-
// min-height: $list-one-line-height;
|
83
|
-
//
|
84
|
-
// .list-item-primary {
|
85
|
-
// padding-bottom: $spacing-small;
|
86
|
-
// padding-top: $spacing-small;
|
87
|
-
// }
|
88
|
-
// }
|
89
|
-
//
|
90
|
-
// .list-one-line-with-avatar .list-item,
|
91
|
-
// .list-item-one-line-with-avatar {
|
92
|
-
// min-height: $list-one-line-with-avatar-height;
|
93
|
-
//
|
94
|
-
// .list-item-primary {
|
95
|
-
// padding-bottom: $spacing-small;
|
96
|
-
// padding-top: $spacing-small;
|
97
|
-
// }
|
98
|
-
// }
|
99
|
-
//
|
100
|
-
// .list-two-lines .list-item,
|
101
|
-
// .list-item-two-lines {
|
102
|
-
// min-height: $list-two-lines-height;
|
103
|
-
// }
|
104
|
-
//
|
105
|
-
// .list-three-lines .list-item,
|
106
|
-
// .list-item-three-lines {
|
107
|
-
// min-height: $list-three-lines-height;
|
108
|
-
// }
|
109
|
-
|
110
98
|
.list-bordered {
|
111
99
|
@include box-shadow(0 0 1px #aaa);
|
112
100
|
}
|
@@ -165,48 +153,44 @@ ol {
|
|
165
153
|
}
|
166
154
|
}
|
167
155
|
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
// @include flex-vertical-align-top();
|
173
|
-
// }
|
174
|
-
//
|
175
|
-
// .list-item-icon {
|
176
|
-
// // padding-top: $spacing-normal;
|
177
|
-
// }
|
178
|
-
//
|
179
|
-
// .list-item-secondary {
|
180
|
-
// padding-top: $spacing-normal;
|
181
|
-
// }
|
182
|
-
//
|
183
|
-
// .list-item-secondary-actions {
|
184
|
-
// padding-top: $spacing-small;
|
185
|
-
// }
|
186
|
-
// }
|
187
|
-
|
188
|
-
// Components to save typing classes
|
189
|
-
//----------------------------------------------------------------------
|
156
|
+
.list-vertical-align-top .list-item-icon,
|
157
|
+
.list-vertical-align-top .list-item-action {
|
158
|
+
padding-top: 12px;
|
159
|
+
}
|
190
160
|
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
// min-height: $list-two-lines-height;
|
198
|
-
//
|
199
|
-
// &:not(:last-child) {
|
200
|
-
// border-bottom: 1px solid color("divider");
|
201
|
-
// }
|
202
|
-
// }
|
203
|
-
// }
|
204
|
-
|
205
|
-
// Sizes for component lists
|
206
|
-
// .component-list.list-one-line .list-item { min-height: $list-one-line-height; }
|
207
|
-
// .component-list.list-two-lines .list-item { min-height: $list-two-lines-height; }
|
208
|
-
// .component-list.list-three-lines .list-item { min-height: $list-three-lines-height; }
|
161
|
+
.list-vertical-align-top {
|
162
|
+
.list-item-icon,
|
163
|
+
.list-item-action {
|
164
|
+
align-self: stretch;
|
165
|
+
}
|
166
|
+
}
|
209
167
|
|
168
|
+
.list-one-line .list-item,
|
169
|
+
.list-item-one-line {
|
170
|
+
min-height: 40px;
|
171
|
+
padding: 4px 8px;
|
172
|
+
}
|
173
|
+
|
174
|
+
.list-two-lines {
|
175
|
+
.list-item {
|
176
|
+
min-height: 56px;
|
177
|
+
}
|
178
|
+
|
179
|
+
.list-item-icon {
|
180
|
+
padding-top: 12px;
|
181
|
+
// min-height: 56px;
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
.list-dense {
|
186
|
+
.list-item-icon {
|
187
|
+
max-height: 32px;
|
188
|
+
height: 32px;
|
189
|
+
}
|
190
|
+
.list-item {
|
191
|
+
min-height: 40px;
|
192
|
+
}
|
193
|
+
}
|
210
194
|
|
211
195
|
// List headers
|
212
196
|
//----------------------------------------------------------------------
|
@@ -27,7 +27,7 @@
|
|
27
27
|
transform-origin: 100% 0;
|
28
28
|
visibility: hidden;
|
29
29
|
will-change: scale;
|
30
|
-
@include elevation(
|
30
|
+
@include elevation(6);
|
31
31
|
@include box-shadow(0 2px 5px 1px rgba(0, 0, 0, 0.26));
|
32
32
|
@include rounded-corners;
|
33
33
|
@include transition(all 0.10s ease);
|
@@ -59,6 +59,7 @@
|
|
59
59
|
|
60
60
|
.menu-item {
|
61
61
|
@include list-item();
|
62
|
+
min-height: 48px;
|
62
63
|
|
63
64
|
&:active {
|
64
65
|
background-color: darken(color("hover"), 5%);
|
@@ -0,0 +1,22 @@
|
|
1
|
+
.tag {
|
2
|
+
border: 1px solid transparent;
|
3
|
+
display: inline-block;
|
4
|
+
padding: 1px 4px;
|
5
|
+
@include rounded-corners();
|
6
|
+
}
|
7
|
+
|
8
|
+
@each $color-name, $color in $colors {
|
9
|
+
.tag-#{$color-name} {
|
10
|
+
background-color: $color;
|
11
|
+
@if ($color-name == "white") {
|
12
|
+
color: color("black");
|
13
|
+
} @else {
|
14
|
+
color: color("white");
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
.tag-outline-#{$color-name} {
|
19
|
+
border-color: $color;
|
20
|
+
color: $color;
|
21
|
+
}
|
22
|
+
}
|
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.6.
|
4
|
+
version: 0.6.02
|
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-12-
|
11
|
+
date: 2017-12-23 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
|
@@ -116,6 +116,7 @@ files:
|
|
116
116
|
- vendor/assets/stylesheets/components/subheaders.scss
|
117
117
|
- vendor/assets/stylesheets/components/tables.scss
|
118
118
|
- vendor/assets/stylesheets/components/tabs.scss
|
119
|
+
- vendor/assets/stylesheets/components/tags.scss
|
119
120
|
- vendor/assets/stylesheets/components/toggle_panels.scss
|
120
121
|
- vendor/assets/stylesheets/components/tooltips.scss
|
121
122
|
- vendor/assets/stylesheets/dlegr250_material_design.scss
|