material_components_web-sass 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +2 -0
- data/.travis.yml +7 -0
- data/CHANGELOG.md +8 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +97 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/material_components_web-sass.rb +52 -0
- data/lib/material_components_web/sass/engine.rb +18 -0
- data/lib/material_components_web/sass/version.rb +5 -0
- data/material_components_web-sass.gemspec +32 -0
- data/vendor/assets/fonts/material-icons/LICENSE +202 -0
- data/vendor/assets/fonts/material-icons/MaterialIcons-Regular.eot +0 -0
- data/vendor/assets/fonts/material-icons/MaterialIcons-Regular.ttf +0 -0
- data/vendor/assets/fonts/material-icons/MaterialIcons-Regular.woff +0 -0
- data/vendor/assets/fonts/material-icons/MaterialIcons-Regular.woff2 +0 -0
- data/vendor/assets/fonts/roboto/LICENSE.txt +202 -0
- data/vendor/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
- data/vendor/assets/fonts/roboto/Roboto-Bold.woff +0 -0
- data/vendor/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
- data/vendor/assets/fonts/roboto/Roboto-Light.ttf +0 -0
- data/vendor/assets/fonts/roboto/Roboto-Light.woff +0 -0
- data/vendor/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
- data/vendor/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
- data/vendor/assets/fonts/roboto/Roboto-Medium.woff +0 -0
- data/vendor/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
- data/vendor/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
- data/vendor/assets/fonts/roboto/Roboto-Regular.woff +0 -0
- data/vendor/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
- data/vendor/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
- data/vendor/assets/fonts/roboto/Roboto-Thin.woff +0 -0
- data/vendor/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
- data/vendor/assets/javascripts/material-components-web.js +5492 -0
- data/vendor/assets/stylesheets/@material/animation/_functions.scss +25 -0
- data/vendor/assets/stylesheets/@material/animation/_mixins.scss +29 -0
- data/vendor/assets/stylesheets/@material/animation/_variables.scss +19 -0
- data/vendor/assets/stylesheets/@material/animation/mdc-animation.scss +31 -0
- data/vendor/assets/stylesheets/@material/button/mdc-button.scss +199 -0
- data/vendor/assets/stylesheets/@material/card/mdc-card.scss +179 -0
- data/vendor/assets/stylesheets/@material/checkbox/_keyframes.scss +180 -0
- data/vendor/assets/stylesheets/@material/checkbox/_variables.scss +31 -0
- data/vendor/assets/stylesheets/@material/checkbox/mdc-checkbox.scss +310 -0
- data/vendor/assets/stylesheets/@material/drawer/_mixins.scss +145 -0
- data/vendor/assets/stylesheets/@material/drawer/mdc-drawer.scss +18 -0
- data/vendor/assets/stylesheets/@material/drawer/permanent/mdc-permanent-drawer.scss +54 -0
- data/vendor/assets/stylesheets/@material/drawer/temporary/mdc-temporary-drawer.scss +134 -0
- data/vendor/assets/stylesheets/@material/elevation/_mixins.scss +68 -0
- data/vendor/assets/stylesheets/@material/elevation/_variables.scss +122 -0
- data/vendor/assets/stylesheets/@material/elevation/mdc-elevation.scss +27 -0
- data/vendor/assets/stylesheets/@material/fab/mdc-fab.scss +122 -0
- data/vendor/assets/stylesheets/@material/fonts/material-icons.scss +36 -0
- data/vendor/assets/stylesheets/@material/fonts/roboto.scss +45 -0
- data/vendor/assets/stylesheets/@material/form-field/mdc-form-field.scss +64 -0
- data/vendor/assets/stylesheets/@material/icon-toggle/mdc-icon-toggle.scss +133 -0
- data/vendor/assets/stylesheets/@material/list/mdc-list.scss +207 -0
- data/vendor/assets/stylesheets/@material/menu/mdc-menu.scss +22 -0
- data/vendor/assets/stylesheets/@material/menu/simple/mdc-simple-menu.scss +194 -0
- data/vendor/assets/stylesheets/@material/radio/mdc-radio.scss +198 -0
- data/vendor/assets/stylesheets/@material/ripple/_keyframes.scss +61 -0
- data/vendor/assets/stylesheets/@material/ripple/_mixins.scss +196 -0
- data/vendor/assets/stylesheets/@material/ripple/_variables.scss +17 -0
- data/vendor/assets/stylesheets/@material/ripple/mdc-ripple.scss +80 -0
- data/vendor/assets/stylesheets/@material/rtl/_mixins.scss +251 -0
- data/vendor/assets/stylesheets/@material/select/mdc-select.scss +174 -0
- data/vendor/assets/stylesheets/@material/snackbar/_variables.scss +22 -0
- data/vendor/assets/stylesheets/@material/snackbar/mdc-snackbar.scss +126 -0
- data/vendor/assets/stylesheets/@material/textfield/mdc-textfield.scss +512 -0
- data/vendor/assets/stylesheets/@material/theme/_constants.scss +285 -0
- data/vendor/assets/stylesheets/@material/theme/_functions.scss +64 -0
- data/vendor/assets/stylesheets/@material/theme/_mixins.scss +104 -0
- data/vendor/assets/stylesheets/@material/theme/_variables.scss +80 -0
- data/vendor/assets/stylesheets/@material/theme/mdc-theme.scss +43 -0
- data/vendor/assets/stylesheets/@material/typography/_mixins.scss +45 -0
- data/vendor/assets/stylesheets/@material/typography/_variables.scss +109 -0
- data/vendor/assets/stylesheets/@material/typography/mdc-typography.scss +32 -0
- data/vendor/assets/stylesheets/_material-components-web.scss +36 -0
- metadata +195 -0
@@ -0,0 +1,80 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright 2016 Google Inc. All Rights Reserved.
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
@import "./functions";
|
18
|
+
|
19
|
+
/*
|
20
|
+
Main theme colors.
|
21
|
+
If you're a user customizing your color scheme in SASS, these are probably the only variables you need to change.
|
22
|
+
*/
|
23
|
+
$mdc-theme-primary: #3f51b5 !default; /* Indigo 500 */
|
24
|
+
$mdc-theme-accent: #ff4081 !default; /* Pink A200 */
|
25
|
+
$mdc-theme-background: #fff !default; /* White */
|
26
|
+
|
27
|
+
/* Which set of text colors to use for each main theme color (light or dark) */
|
28
|
+
$mdc-theme-primary-tone: mdc-theme-light-or-dark($mdc-theme-primary);
|
29
|
+
$mdc-theme-accent-tone: mdc-theme-light-or-dark($mdc-theme-accent);
|
30
|
+
$mdc-theme-background-tone: mdc-theme-light-or-dark($mdc-theme-background);
|
31
|
+
|
32
|
+
/* Text colors according to light vs dark and text type */
|
33
|
+
$mdc-theme-text-colors: (
|
34
|
+
dark: (
|
35
|
+
primary: rgba(black, .87),
|
36
|
+
secondary: rgba(black, .54),
|
37
|
+
hint: rgba(black, .38),
|
38
|
+
disabled: rgba(black, .38),
|
39
|
+
icon: rgba(black, .38)
|
40
|
+
),
|
41
|
+
light: (
|
42
|
+
primary: white,
|
43
|
+
secondary: rgba(white, .7),
|
44
|
+
hint: rgba(white, .5),
|
45
|
+
disabled: rgba(white, .5),
|
46
|
+
icon: rgba(white, .5)
|
47
|
+
)
|
48
|
+
);
|
49
|
+
|
50
|
+
/* Primary text colors for each of the theme colors */
|
51
|
+
$mdc-theme-property-values: (
|
52
|
+
primary: $mdc-theme-primary,
|
53
|
+
accent: $mdc-theme-accent,
|
54
|
+
background: $mdc-theme-background,
|
55
|
+
text-primary-on-primary: map-get(map-get($mdc-theme-text-colors, $mdc-theme-primary-tone), primary),
|
56
|
+
text-secondary-on-primary: map-get(map-get($mdc-theme-text-colors, $mdc-theme-primary-tone), secondary),
|
57
|
+
text-hint-on-primary: map-get(map-get($mdc-theme-text-colors, $mdc-theme-primary-tone), hint),
|
58
|
+
text-disabled-on-primary: map-get(map-get($mdc-theme-text-colors, $mdc-theme-primary-tone), disabled),
|
59
|
+
text-icon-on-primary: map-get(map-get($mdc-theme-text-colors, $mdc-theme-primary-tone), icon),
|
60
|
+
text-primary-on-accent: map-get(map-get($mdc-theme-text-colors, $mdc-theme-accent-tone), primary),
|
61
|
+
text-secondary-on-accent: map-get(map-get($mdc-theme-text-colors, $mdc-theme-accent-tone), secondary),
|
62
|
+
text-hint-on-accent: map-get(map-get($mdc-theme-text-colors, $mdc-theme-accent-tone), hint),
|
63
|
+
text-disabled-on-accent: map-get(map-get($mdc-theme-text-colors, $mdc-theme-accent-tone), disabled),
|
64
|
+
text-icon-on-accent: map-get(map-get($mdc-theme-text-colors, $mdc-theme-accent-tone), icon),
|
65
|
+
text-primary-on-background: map-get(map-get($mdc-theme-text-colors, $mdc-theme-background-tone), primary),
|
66
|
+
text-secondary-on-background: map-get(map-get($mdc-theme-text-colors, $mdc-theme-background-tone), secondary),
|
67
|
+
text-hint-on-background: map-get(map-get($mdc-theme-text-colors, $mdc-theme-background-tone), hint),
|
68
|
+
text-disabled-on-background: map-get(map-get($mdc-theme-text-colors, $mdc-theme-background-tone), disabled),
|
69
|
+
text-icon-on-background: map-get(map-get($mdc-theme-text-colors, $mdc-theme-background-tone), icon),
|
70
|
+
text-primary-on-light: map-get(map-get($mdc-theme-text-colors, dark), primary),
|
71
|
+
text-secondary-on-light: map-get(map-get($mdc-theme-text-colors, dark), secondary),
|
72
|
+
text-hint-on-light: map-get(map-get($mdc-theme-text-colors, dark), hint),
|
73
|
+
text-disabled-on-light: map-get(map-get($mdc-theme-text-colors, dark), disabled),
|
74
|
+
text-icon-on-light: map-get(map-get($mdc-theme-text-colors, dark), icon),
|
75
|
+
text-primary-on-dark: map-get(map-get($mdc-theme-text-colors, light), primary),
|
76
|
+
text-secondary-on-dark: map-get(map-get($mdc-theme-text-colors, light), secondary),
|
77
|
+
text-hint-on-dark: map-get(map-get($mdc-theme-text-colors, light), hint),
|
78
|
+
text-disabled-on-dark: map-get(map-get($mdc-theme-text-colors, light), disabled),
|
79
|
+
text-icon-on-dark: map-get(map-get($mdc-theme-text-colors, light), icon)
|
80
|
+
);
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright 2016 Google Inc. All Rights Reserved.
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance() with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
@import "./mixins";
|
18
|
+
|
19
|
+
:root {
|
20
|
+
@each $style in map-keys($mdc-theme-property-values) {
|
21
|
+
--mdc-theme-#{$style}: map-get($mdc-theme-property-values, $style);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
/* Special case, so that .mdc-theme--background changes background color, not text color. */
|
26
|
+
.mdc-theme--background {
|
27
|
+
@include mdc-theme-prop(background-color, background);
|
28
|
+
}
|
29
|
+
|
30
|
+
@each $style in map-keys($mdc-theme-property-values) {
|
31
|
+
@if $style != "background" {
|
32
|
+
.mdc-theme--#{$style} {
|
33
|
+
@include mdc-theme-prop(color, $style, true);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
/* CSS rules for using primary and accent as background colors. */
|
39
|
+
@each $style in ("primary", "accent") {
|
40
|
+
.mdc-theme--#{$style}-bg {
|
41
|
+
@include mdc-theme-prop(background-color, $style, true);
|
42
|
+
}
|
43
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright 2016 Google Inc. All Rights Reserved.
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
// All variables are local, so disable pattern checking.
|
18
|
+
// stylelint-disable scss/dollar-variable-pattern
|
19
|
+
|
20
|
+
@import "./variables";
|
21
|
+
|
22
|
+
@mixin mdc-typography-base {
|
23
|
+
font-family: $mdc-typography-font-family;
|
24
|
+
-moz-osx-font-smoothing: grayscale;
|
25
|
+
-webkit-font-smoothing: antialiased;
|
26
|
+
}
|
27
|
+
|
28
|
+
@mixin mdc-typography($style) {
|
29
|
+
$style-props: map-get($mdc-typography-styles, $style);
|
30
|
+
|
31
|
+
@if not map-has-key($mdc-typography-styles, $style) {
|
32
|
+
@error "Invalid style specified! Choose one of #{map-keys($mdc-typography-styles)}";
|
33
|
+
}
|
34
|
+
|
35
|
+
@include mdc-typography-base;
|
36
|
+
|
37
|
+
font-size: map-get($style-props, font-size);
|
38
|
+
font-weight: #{map-get($style-props, font-weight)};
|
39
|
+
letter-spacing: map-get($style-props, letter-spacing);
|
40
|
+
line-height: map-get($style-props, line-height);
|
41
|
+
}
|
42
|
+
|
43
|
+
@mixin mdc-typography-adjust-margin($style) {
|
44
|
+
margin: map-get(map-get($mdc-typography-styles, $style), margin);
|
45
|
+
}
|
@@ -0,0 +1,109 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright 2016 Google Inc. All Rights Reserved.
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
$mdc-typography-font-family: Roboto, sans-serif;
|
17
|
+
|
18
|
+
$mdc-typography-font-weight-values: (
|
19
|
+
thin: 100,
|
20
|
+
light: 300,
|
21
|
+
regular: 400,
|
22
|
+
medium: 500,
|
23
|
+
bold: 700,
|
24
|
+
black: 900
|
25
|
+
);
|
26
|
+
|
27
|
+
/* TODO(sgomes): Figure out what to do about desktop font sizes. */
|
28
|
+
|
29
|
+
/* TODO(sgomes): Figure out what to do about i18n and i18n font sizes. */
|
30
|
+
|
31
|
+
$mdc-typography-styles: (
|
32
|
+
display4: (
|
33
|
+
font-size: 7rem, /* 112sp */
|
34
|
+
line-height: 7rem, /* 112sp */
|
35
|
+
font-weight: map-get($mdc-typography-font-weight-values, light),
|
36
|
+
letter-spacing: -.04em,
|
37
|
+
margin: -1rem 0 3.5rem -.085em /* -16sp 0 56sp -.085em */
|
38
|
+
),
|
39
|
+
display3: (
|
40
|
+
font-size: 3.5rem, /* 56px */
|
41
|
+
line-height: 3.5rem, /* 56px */
|
42
|
+
font-weight: map-get($mdc-typography-font-weight-values, regular),
|
43
|
+
letter-spacing: -.02em,
|
44
|
+
margin: -8px 0 64px -.07em
|
45
|
+
),
|
46
|
+
display2: (
|
47
|
+
font-size: 2.813rem, /* 45px */
|
48
|
+
line-height: 3rem, /* 48px */
|
49
|
+
font-weight: map-get($mdc-typography-font-weight-values, regular),
|
50
|
+
letter-spacing: normal,
|
51
|
+
margin: -.5rem 0 4rem -.07em /* -8sp 0 64sp -.07em */
|
52
|
+
),
|
53
|
+
display1: (
|
54
|
+
font-size: 2.125rem, /* 34sp */
|
55
|
+
line-height: 2.5rem, /* 40sp */
|
56
|
+
font-weight: map-get($mdc-typography-font-weight-values, regular),
|
57
|
+
letter-spacing: normal,
|
58
|
+
margin: -.5rem 0 4rem -.07em /* -8sp 0 64sp -.07em */
|
59
|
+
),
|
60
|
+
headline: (
|
61
|
+
font-size: 1.5rem, /* 24sp */
|
62
|
+
line-height: 2rem, /* 32sp */
|
63
|
+
font-weight: map-get($mdc-typography-font-weight-values, regular),
|
64
|
+
letter-spacing: normal,
|
65
|
+
margin: -.5rem 0 1rem -.06em /* -8sp 0 16sp -.06em */
|
66
|
+
),
|
67
|
+
title: (
|
68
|
+
font-size: 1.25rem, /* 20sp */
|
69
|
+
line-height: 2rem, /* 32sp */
|
70
|
+
font-weight: map-get($mdc-typography-font-weight-values, medium),
|
71
|
+
letter-spacing: .02em,
|
72
|
+
margin: -.5rem 0 1rem -.05em /* -8sp 0 16sp -.05em */
|
73
|
+
),
|
74
|
+
subheading2: (
|
75
|
+
font-size: 1rem, /* 16sp */
|
76
|
+
line-height: 1.75rem, /* 28sp */
|
77
|
+
font-weight: map-get($mdc-typography-font-weight-values, regular),
|
78
|
+
letter-spacing: .04em,
|
79
|
+
margin: -.5rem 0 1rem -.06em /* -8sp 0 16sp -.06em */
|
80
|
+
),
|
81
|
+
subheading1: (
|
82
|
+
font-size: .938rem, /* 15sp */
|
83
|
+
line-height: 1.5rem, /* 24sp */
|
84
|
+
font-weight: map-get($mdc-typography-font-weight-values, regular),
|
85
|
+
letter-spacing: .04em,
|
86
|
+
margin: -.313rem 0 .813rem -.06em /* -5sp 0 13sp -.06em */
|
87
|
+
),
|
88
|
+
body2: (
|
89
|
+
font-size: .875rem, /* 14sp */
|
90
|
+
line-height: 1.5rem, /* 24sp */
|
91
|
+
font-weight: map-get($mdc-typography-font-weight-values, medium),
|
92
|
+
letter-spacing: .04em,
|
93
|
+
margin: -.25rem 0 .75rem 0 /* -4sp 0 12sp 0 */
|
94
|
+
),
|
95
|
+
body1: (
|
96
|
+
font-size: .875rem, /* 14sp */
|
97
|
+
line-height: 1.25rem, /* 20sp */
|
98
|
+
font-weight: map-get($mdc-typography-font-weight-values, regular),
|
99
|
+
letter-spacing: .04em,
|
100
|
+
margin: -.25rem 0 .75rem 0 /* -4sp 0 12sp 0 */
|
101
|
+
),
|
102
|
+
caption: (
|
103
|
+
font-size: .75rem, /* 12sp */
|
104
|
+
line-height: 1.25rem, /* 20sp */
|
105
|
+
font-weight: map-get($mdc-typography-font-weight-values, regular),
|
106
|
+
letter-spacing: .08em,
|
107
|
+
margin: -.5rem 0 1rem -.04em /* -8sp 0 16sp -.04em */
|
108
|
+
)
|
109
|
+
);
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright 2016 Google Inc. All Rights Reserved.
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
@import "./variables";
|
18
|
+
@import "./mixins";
|
19
|
+
|
20
|
+
.mdc-typography {
|
21
|
+
@include mdc-typography-base;
|
22
|
+
}
|
23
|
+
|
24
|
+
@each $style in map-keys($mdc-typography-styles) {
|
25
|
+
.mdc-typography--#{$style} {
|
26
|
+
@include mdc-typography($style);
|
27
|
+
}
|
28
|
+
|
29
|
+
.mdc-typography--adjust-margin.mdc-typography--#{$style} {
|
30
|
+
@include mdc-typography-adjust-margin($style);
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright 2016 Google Inc. All Rights Reserved.
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
@import "@material/animation/mdc-animation";
|
18
|
+
@import "@material/button/mdc-button";
|
19
|
+
@import "@material/card/mdc-card";
|
20
|
+
@import "@material/checkbox/mdc-checkbox";
|
21
|
+
@import "@material/drawer/mdc-drawer";
|
22
|
+
@import "@material/elevation/mdc-elevation";
|
23
|
+
@import "@material/fab/mdc-fab";
|
24
|
+
@import "@material/form-field/mdc-form-field";
|
25
|
+
@import "@material/icon-toggle/mdc-icon-toggle";
|
26
|
+
@import "@material/list/mdc-list";
|
27
|
+
@import "@material/menu/mdc-menu";
|
28
|
+
@import "@material/radio/mdc-radio";
|
29
|
+
@import "@material/ripple/mdc-ripple";
|
30
|
+
@import "@material/select/mdc-select";
|
31
|
+
@import "@material/snackbar/mdc-snackbar";
|
32
|
+
@import "@material/textfield/mdc-textfield";
|
33
|
+
@import "@material/theme/mdc-theme";
|
34
|
+
@import "@material/typography/mdc-typography";
|
35
|
+
@import "@material/fonts/material-icons";
|
36
|
+
@import "@material/fonts/roboto";
|
metadata
ADDED
@@ -0,0 +1,195 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: material_components_web-sass
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Dmitriy Tarasov
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-12-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: autoprefixer-rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '6.5'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '6.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: sass
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.4'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.4'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: railties
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.5'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.5'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: sprockets-rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
83
|
+
description: Material Components for the web (MDC-Web) with Material Icons and Roboto
|
84
|
+
font for Sass applications
|
85
|
+
email:
|
86
|
+
- info@rubysamurai.com
|
87
|
+
executables: []
|
88
|
+
extensions: []
|
89
|
+
extra_rdoc_files: []
|
90
|
+
files:
|
91
|
+
- ".gitignore"
|
92
|
+
- ".rspec"
|
93
|
+
- ".travis.yml"
|
94
|
+
- CHANGELOG.md
|
95
|
+
- Gemfile
|
96
|
+
- LICENSE.txt
|
97
|
+
- README.md
|
98
|
+
- Rakefile
|
99
|
+
- bin/console
|
100
|
+
- bin/setup
|
101
|
+
- lib/material_components_web-sass.rb
|
102
|
+
- lib/material_components_web/sass/engine.rb
|
103
|
+
- lib/material_components_web/sass/version.rb
|
104
|
+
- material_components_web-sass.gemspec
|
105
|
+
- vendor/assets/fonts/material-icons/LICENSE
|
106
|
+
- vendor/assets/fonts/material-icons/MaterialIcons-Regular.eot
|
107
|
+
- vendor/assets/fonts/material-icons/MaterialIcons-Regular.ttf
|
108
|
+
- vendor/assets/fonts/material-icons/MaterialIcons-Regular.woff
|
109
|
+
- vendor/assets/fonts/material-icons/MaterialIcons-Regular.woff2
|
110
|
+
- vendor/assets/fonts/roboto/LICENSE.txt
|
111
|
+
- vendor/assets/fonts/roboto/Roboto-Bold.ttf
|
112
|
+
- vendor/assets/fonts/roboto/Roboto-Bold.woff
|
113
|
+
- vendor/assets/fonts/roboto/Roboto-Bold.woff2
|
114
|
+
- vendor/assets/fonts/roboto/Roboto-Light.ttf
|
115
|
+
- vendor/assets/fonts/roboto/Roboto-Light.woff
|
116
|
+
- vendor/assets/fonts/roboto/Roboto-Light.woff2
|
117
|
+
- vendor/assets/fonts/roboto/Roboto-Medium.ttf
|
118
|
+
- vendor/assets/fonts/roboto/Roboto-Medium.woff
|
119
|
+
- vendor/assets/fonts/roboto/Roboto-Medium.woff2
|
120
|
+
- vendor/assets/fonts/roboto/Roboto-Regular.ttf
|
121
|
+
- vendor/assets/fonts/roboto/Roboto-Regular.woff
|
122
|
+
- vendor/assets/fonts/roboto/Roboto-Regular.woff2
|
123
|
+
- vendor/assets/fonts/roboto/Roboto-Thin.ttf
|
124
|
+
- vendor/assets/fonts/roboto/Roboto-Thin.woff
|
125
|
+
- vendor/assets/fonts/roboto/Roboto-Thin.woff2
|
126
|
+
- vendor/assets/javascripts/material-components-web.js
|
127
|
+
- vendor/assets/stylesheets/@material/animation/_functions.scss
|
128
|
+
- vendor/assets/stylesheets/@material/animation/_mixins.scss
|
129
|
+
- vendor/assets/stylesheets/@material/animation/_variables.scss
|
130
|
+
- vendor/assets/stylesheets/@material/animation/mdc-animation.scss
|
131
|
+
- vendor/assets/stylesheets/@material/button/mdc-button.scss
|
132
|
+
- vendor/assets/stylesheets/@material/card/mdc-card.scss
|
133
|
+
- vendor/assets/stylesheets/@material/checkbox/_keyframes.scss
|
134
|
+
- vendor/assets/stylesheets/@material/checkbox/_variables.scss
|
135
|
+
- vendor/assets/stylesheets/@material/checkbox/mdc-checkbox.scss
|
136
|
+
- vendor/assets/stylesheets/@material/drawer/_mixins.scss
|
137
|
+
- vendor/assets/stylesheets/@material/drawer/mdc-drawer.scss
|
138
|
+
- vendor/assets/stylesheets/@material/drawer/permanent/mdc-permanent-drawer.scss
|
139
|
+
- vendor/assets/stylesheets/@material/drawer/temporary/mdc-temporary-drawer.scss
|
140
|
+
- vendor/assets/stylesheets/@material/elevation/_mixins.scss
|
141
|
+
- vendor/assets/stylesheets/@material/elevation/_variables.scss
|
142
|
+
- vendor/assets/stylesheets/@material/elevation/mdc-elevation.scss
|
143
|
+
- vendor/assets/stylesheets/@material/fab/mdc-fab.scss
|
144
|
+
- vendor/assets/stylesheets/@material/fonts/material-icons.scss
|
145
|
+
- vendor/assets/stylesheets/@material/fonts/roboto.scss
|
146
|
+
- vendor/assets/stylesheets/@material/form-field/mdc-form-field.scss
|
147
|
+
- vendor/assets/stylesheets/@material/icon-toggle/mdc-icon-toggle.scss
|
148
|
+
- vendor/assets/stylesheets/@material/list/mdc-list.scss
|
149
|
+
- vendor/assets/stylesheets/@material/menu/mdc-menu.scss
|
150
|
+
- vendor/assets/stylesheets/@material/menu/simple/mdc-simple-menu.scss
|
151
|
+
- vendor/assets/stylesheets/@material/radio/mdc-radio.scss
|
152
|
+
- vendor/assets/stylesheets/@material/ripple/_keyframes.scss
|
153
|
+
- vendor/assets/stylesheets/@material/ripple/_mixins.scss
|
154
|
+
- vendor/assets/stylesheets/@material/ripple/_variables.scss
|
155
|
+
- vendor/assets/stylesheets/@material/ripple/mdc-ripple.scss
|
156
|
+
- vendor/assets/stylesheets/@material/rtl/_mixins.scss
|
157
|
+
- vendor/assets/stylesheets/@material/select/mdc-select.scss
|
158
|
+
- vendor/assets/stylesheets/@material/snackbar/_variables.scss
|
159
|
+
- vendor/assets/stylesheets/@material/snackbar/mdc-snackbar.scss
|
160
|
+
- vendor/assets/stylesheets/@material/textfield/mdc-textfield.scss
|
161
|
+
- vendor/assets/stylesheets/@material/theme/_constants.scss
|
162
|
+
- vendor/assets/stylesheets/@material/theme/_functions.scss
|
163
|
+
- vendor/assets/stylesheets/@material/theme/_mixins.scss
|
164
|
+
- vendor/assets/stylesheets/@material/theme/_variables.scss
|
165
|
+
- vendor/assets/stylesheets/@material/theme/mdc-theme.scss
|
166
|
+
- vendor/assets/stylesheets/@material/typography/_mixins.scss
|
167
|
+
- vendor/assets/stylesheets/@material/typography/_variables.scss
|
168
|
+
- vendor/assets/stylesheets/@material/typography/mdc-typography.scss
|
169
|
+
- vendor/assets/stylesheets/_material-components-web.scss
|
170
|
+
homepage: https://github.com/rubysamurai/material_components_web-sass
|
171
|
+
licenses:
|
172
|
+
- MIT
|
173
|
+
metadata: {}
|
174
|
+
post_install_message:
|
175
|
+
rdoc_options: []
|
176
|
+
require_paths:
|
177
|
+
- lib
|
178
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: 2.0.0
|
183
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
requirements: []
|
189
|
+
rubyforge_project:
|
190
|
+
rubygems_version: 2.5.2
|
191
|
+
signing_key:
|
192
|
+
specification_version: 4
|
193
|
+
summary: Material Components for the web (MDC-Web) with Material Icons and Roboto
|
194
|
+
font for Sass applications
|
195
|
+
test_files: []
|