material 0.9.24 → 0.9.26
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.
- package/.editorconfig +36 -0
- package/.zed/README.md +64 -0
- package/.zed/settings.json +42 -0
- package/CONTRIBUTING.md +125 -0
- package/bun.lock +615 -0
- package/eslint.config.js +63 -0
- package/index.d.ts +77 -0
- package/package.json +1 -1
- package/src/module/extract.js +31 -30
- package/src/module/request.js +22 -2
- package/src/skin/material/base/body.scss +83 -0
- package/src/skin/material/base/{elevation.sass → elevation.scss} +76 -50
- package/src/skin/material/base/{grid.sass → grid.scss} +44 -32
- package/src/skin/material/base/typo.scss +133 -0
- package/src/skin/material/button/action.scss +124 -0
- package/src/skin/material/button/button.scss +245 -0
- package/src/skin/material/button/file.scss +27 -0
- package/src/skin/material/button/floating.scss +160 -0
- package/src/skin/material/button/raised.scss +145 -0
- package/src/skin/material/button/stroked.scss +102 -0
- package/src/skin/material/component/component.scss +11 -0
- package/src/skin/material/component/divider.scss +22 -0
- package/src/skin/material/component/image.scss +9 -0
- package/src/skin/material/component/label.scss +4 -0
- package/src/skin/material/component/navigation.scss +15 -0
- package/src/skin/material/component/progress.scss +176 -0
- package/src/skin/material/component/subheader.scss +5 -0
- package/src/skin/material/component/text.scss +101 -0
- package/src/skin/material/container/appbar.scss +215 -0
- package/src/skin/material/container/banner.scss +44 -0
- package/src/skin/material/container/card.scss +23 -0
- package/src/skin/material/container/container.scss +2 -0
- package/src/skin/material/container/dialog.scss +196 -0
- package/src/skin/material/container/drawer.scss +185 -0
- package/src/skin/material/container/menu.scss +69 -0
- package/src/skin/material/container/snackbar.scss +21 -0
- package/src/skin/material/container/tabs.scss +94 -0
- package/src/skin/material/container/toolbar.scss +207 -0
- package/src/skin/material/control/button.scss +172 -0
- package/src/skin/material/control/checkbox.scss +134 -0
- package/src/skin/material/control/colorpicker.scss +220 -0
- package/src/skin/material/control/menu.scss +25 -0
- package/src/skin/material/control/progress.scss +174 -0
- package/src/skin/material/control/search.scss +50 -0
- package/src/skin/material/control/selecter.scss +152 -0
- package/src/skin/material/control/selector.scss +46 -0
- package/src/skin/material/control/slider.scss +221 -0
- package/src/skin/material/control/snackbar.scss +77 -0
- package/src/skin/material/control/switch.scss +349 -0
- package/src/skin/material/control/switcher.scss +48 -0
- package/src/skin/material/control/textfield.scss +159 -0
- package/src/skin/material/control/tooltip.scss +42 -0
- package/src/skin/material/layout/layout.scss +92 -0
- package/src/skin/material/layout/resizer.scss +97 -0
- package/src/skin/material/material.scss +67 -0
- package/src/skin/material/module/ripple.scss +11 -0
- package/src/skin/material/theme/{default.sass → default.scss} +18 -17
- package/src/skin/material/theme/ocean.scss +30 -0
- package/src/skin/material/theme/theme.scss +4 -0
- package/src/skin/material/view/calendar.scss +219 -0
- package/src/skin/material/view/form.scss +21 -0
- package/src/skin/material/view/grid.scss +134 -0
- package/src/skin/material/view/list.scss +107 -0
- package/src/skin/material/view/listview.scss +221 -0
- package/src/skin/material/view/map.scss +8 -0
- package/src/skin/material/view/page.scss +5 -0
- package/src/skin/material/view/tabview-bak.scss +49 -0
- package/src/skin/material/view/tabview.scss +65 -0
- package/src/skin/material/view/tree.scss +85 -0
- package/src/skin/material/view/{view.sass → view.scss} +1 -0
- package/src/skin/material/base/body.sass +0 -55
- package/src/skin/material/base/typo.sass +0 -107
- package/src/skin/material/button/action.sass +0 -89
- package/src/skin/material/button/button.sass +0 -183
- package/src/skin/material/button/file.sass +0 -24
- package/src/skin/material/button/floating.sass +0 -113
- package/src/skin/material/button/raised.sass +0 -101
- package/src/skin/material/button/stroked.sass +0 -71
- package/src/skin/material/component/component.sass +0 -7
- package/src/skin/material/component/divider.sass +0 -17
- package/src/skin/material/component/image.sass +0 -6
- package/src/skin/material/component/label.sass +0 -2
- package/src/skin/material/component/navigation.sass +0 -13
- package/src/skin/material/component/progress.sass +0 -138
- package/src/skin/material/component/subheader.sass +0 -3
- package/src/skin/material/component/text.sass +0 -85
- package/src/skin/material/container/appbar.sass +0 -167
- package/src/skin/material/container/banner.sass +0 -38
- package/src/skin/material/container/card.sass +0 -19
- package/src/skin/material/container/dialog.sass +0 -172
- package/src/skin/material/container/drawer.sass +0 -159
- package/src/skin/material/container/menu.sass +0 -58
- package/src/skin/material/container/snackbar.sass +0 -18
- package/src/skin/material/container/tabs.sass +0 -75
- package/src/skin/material/container/toolbar.sass +0 -161
- package/src/skin/material/control/button.sass +0 -135
- package/src/skin/material/control/checkbox.sass +0 -105
- package/src/skin/material/control/colorpicker.sass +0 -188
- package/src/skin/material/control/dialog.sass +0 -0
- package/src/skin/material/control/menu.sass +0 -18
- package/src/skin/material/control/progress.sass +0 -136
- package/src/skin/material/control/search.sass +0 -40
- package/src/skin/material/control/selecter.sass +0 -131
- package/src/skin/material/control/selector.sass +0 -38
- package/src/skin/material/control/slider.sass +0 -181
- package/src/skin/material/control/snackbar.sass +0 -65
- package/src/skin/material/control/switch.sass +0 -284
- package/src/skin/material/control/switcher.sass +0 -41
- package/src/skin/material/control/textfield.sass +0 -126
- package/src/skin/material/control/tooltip.sass +0 -36
- package/src/skin/material/layout/layout.sass +0 -69
- package/src/skin/material/layout/resizer.sass +0 -69
- package/src/skin/material/material.sass +0 -66
- package/src/skin/material/module/ripple.sass +0 -9
- package/src/skin/material/theme/ocean.sass +0 -29
- package/src/skin/material/theme/theme.sass +0 -3
- package/src/skin/material/view/calendar.sass +0 -193
- package/src/skin/material/view/form.sass +0 -15
- package/src/skin/material/view/grid.sass +0 -116
- package/src/skin/material/view/list.sass +0 -87
- package/src/skin/material/view/listview.sass +0 -195
- package/src/skin/material/view/map.sass +0 -6
- package/src/skin/material/view/page.sass +0 -4
- package/src/skin/material/view/tabview-bak.sass +0 -40
- package/src/skin/material/view/tabview.sass +0 -55
- package/src/skin/material/view/tree.sass +0 -73
- /package/src/skin/material/{container/container.sass → control/dialog.scss} +0 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
|
|
2
|
+
// type raised
|
|
3
|
+
.button.type-raised {
|
|
4
|
+
min-width: 36px;
|
|
5
|
+
transition: box-shadow .2s;
|
|
6
|
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
|
7
|
+
.material-ripple {
|
|
8
|
+
opacity: .1;
|
|
9
|
+
background-color: rgba(0, 0, 0, 1);
|
|
10
|
+
|
|
11
|
+
// states
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.button.type-raised {
|
|
15
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
16
|
+
&:focus {
|
|
17
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
18
|
+
&:hover {
|
|
19
|
+
background-color: rgba(0, 0, 0, 0.15);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
&:hover {
|
|
23
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
24
|
+
}
|
|
25
|
+
&:active {
|
|
26
|
+
box-shadow: 0px 4px 4px -3px rgba(0, 0, 0, 0.2), 0px 6px 8px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
27
|
+
|
|
28
|
+
// color
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.button.type-raised {
|
|
32
|
+
&.primary-color {
|
|
33
|
+
background-color: $primary-color;
|
|
34
|
+
color: $primary-color-text;
|
|
35
|
+
.button-icon {
|
|
36
|
+
svg {
|
|
37
|
+
fill: $primary-color-text;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.material-ripple {
|
|
41
|
+
opacity: .3;
|
|
42
|
+
background-color: $default-color-dark;
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
&:focus {
|
|
46
|
+
background-color: lighten($primary-color, 15%);
|
|
47
|
+
&:hover {
|
|
48
|
+
background-color: lighten($primary-color, 15%);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
&:hover {
|
|
52
|
+
background-color: lighten($primary-color, 7%);
|
|
53
|
+
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
&.secondary-color {
|
|
57
|
+
background-color: $secondary-color;
|
|
58
|
+
color: $secondary-color-text;
|
|
59
|
+
.button-icon {
|
|
60
|
+
svg {
|
|
61
|
+
fill: $secondary-color-text;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
.material-ripple {
|
|
65
|
+
opacity: .3;
|
|
66
|
+
background-color: $default-color-dark;
|
|
67
|
+
}
|
|
68
|
+
&:focus {
|
|
69
|
+
background-color: lighten($secondary-color, 10%);
|
|
70
|
+
&:hover {
|
|
71
|
+
background-color: lighten($secondary-color, 10%);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
&:hover {
|
|
75
|
+
background-color: lighten($secondary-color, 5%);
|
|
76
|
+
|
|
77
|
+
// theme
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
.dark-mode .button.type-raised, {
|
|
82
|
+
/* empty */
|
|
83
|
+
}
|
|
84
|
+
.button.type-raised.dark-mode {
|
|
85
|
+
.material-ripple {
|
|
86
|
+
opacity: .1;
|
|
87
|
+
background-color: rgba(255, 255, 255, 1);
|
|
88
|
+
}
|
|
89
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
90
|
+
&:focus {
|
|
91
|
+
background-color: rgba(255, 255, 255, 0.2);
|
|
92
|
+
&:hover {
|
|
93
|
+
background-color: rgba(255, 255, 255, 0.2);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
&:hover {
|
|
97
|
+
background-color: rgba(255, 255, 255, 0.15);
|
|
98
|
+
//background-color: rgba(255, 255, 255, 0.95)
|
|
99
|
+
}
|
|
100
|
+
color: $primary-color-text-dark;
|
|
101
|
+
.button-icon {
|
|
102
|
+
svg {
|
|
103
|
+
fill: $primary-color-text-dark;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
&.primary-color {
|
|
107
|
+
background-color: $primary-color-dark;
|
|
108
|
+
color: $primary-color-text-dark;
|
|
109
|
+
.button-icon {
|
|
110
|
+
svg {
|
|
111
|
+
fill: $primary-color-text-dark;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
&:focus {
|
|
115
|
+
background-color: lighten($primary-color, 15%);
|
|
116
|
+
&:hover {
|
|
117
|
+
background-color: lighten($primary-color, 15%);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
&:hover {
|
|
121
|
+
background-color: lighten($primary-color, 7%);
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
&.secondary-color {
|
|
127
|
+
background-color: $secondary-color-dark;
|
|
128
|
+
color: $secondary-color-text-dark;
|
|
129
|
+
.button-icon {
|
|
130
|
+
svg {
|
|
131
|
+
fill: $secondary-color-text-dark;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
&:focus {
|
|
135
|
+
background-color: lighten($secondary-color, 10%);
|
|
136
|
+
&:hover {
|
|
137
|
+
background-color: lighten($secondary-color, 10%);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
&:hover {
|
|
141
|
+
background-color: lighten($secondary-color, 5%);
|
|
142
|
+
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
|
|
2
|
+
// type stroked
|
|
3
|
+
.button.type-stroked {
|
|
4
|
+
min-width: 36px;
|
|
5
|
+
transition: box-shadow .2s;
|
|
6
|
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
|
7
|
+
.material-ripple {
|
|
8
|
+
background-color: rgba(255, 255, 255, .3);
|
|
9
|
+
|
|
10
|
+
// states
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
.button.type-stroked {
|
|
14
|
+
&:hover {
|
|
15
|
+
/* empty */
|
|
16
|
+
}
|
|
17
|
+
//background-color: #E0E0E0;
|
|
18
|
+
&:focus {
|
|
19
|
+
background-color: darken(rgba(255, 255, 255, 0.95), 5%);
|
|
20
|
+
&:active {
|
|
21
|
+
background-color: transparent;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
&:active {
|
|
25
|
+
box-shadow: 0px 4px 4px -3px rgba(0, 0, 0, 0.2), 0px 6px 8px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
26
|
+
|
|
27
|
+
// color
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.button.type-stroked {
|
|
31
|
+
&.primary-color {
|
|
32
|
+
background-color: $primary-color;
|
|
33
|
+
color: $primary-color-text;
|
|
34
|
+
.button-icon {
|
|
35
|
+
svg {
|
|
36
|
+
fill: $primary-color-text;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
&:focus {
|
|
40
|
+
background-color: lighten($primary-color, 10%);
|
|
41
|
+
color: $primary-color-text;
|
|
42
|
+
&:active {
|
|
43
|
+
background-color: $primary-color;
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
&.secondary-color {
|
|
49
|
+
background-color: $secondary-color;
|
|
50
|
+
color: $secondary-color-text;
|
|
51
|
+
.button-icon {
|
|
52
|
+
svg {
|
|
53
|
+
fill: $secondary-color-text;
|
|
54
|
+
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
&:focus {
|
|
58
|
+
background-color: lighten($secondary-color, 5%);
|
|
59
|
+
color: $secondary-color-text;
|
|
60
|
+
&:active {
|
|
61
|
+
background-color: $secondary-color;
|
|
62
|
+
|
|
63
|
+
// theme
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
.dark-mode .button.type-stroked, {
|
|
69
|
+
/* empty */
|
|
70
|
+
}
|
|
71
|
+
.button.type-stroked.dark-mode {
|
|
72
|
+
|
|
73
|
+
//background-color: rgba(255, 255, 255, 0.95)
|
|
74
|
+
color: $primary-color-text-dark;
|
|
75
|
+
.button-icon {
|
|
76
|
+
svg {
|
|
77
|
+
fill: $primary-color-text-dark;
|
|
78
|
+
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
&.primary-color {
|
|
82
|
+
background-color: $primary-color-dark;
|
|
83
|
+
color: $primary-color-text-dark;
|
|
84
|
+
.button-icon {
|
|
85
|
+
svg {
|
|
86
|
+
fill: $primary-color-text-dark;
|
|
87
|
+
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
&.secondary-color {
|
|
92
|
+
background-color: $secondary-color-dark;
|
|
93
|
+
color: $secondary-color-text-dark;
|
|
94
|
+
.button-icon {
|
|
95
|
+
svg {
|
|
96
|
+
fill: $secondary-color-text-dark;
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.material-divider {
|
|
2
|
+
display: block;
|
|
3
|
+
font-size: .8em;
|
|
4
|
+
text-transform: uppercase;
|
|
5
|
+
padding: 8px 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
&.divider-horizontal {
|
|
8
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
9
|
+
}
|
|
10
|
+
&.divider-vertical {
|
|
11
|
+
border-right: 1px solid rgba(0, 0, 0, 0.1);
|
|
12
|
+
//background-color: rgba(0, 0, 0, 0.1);
|
|
13
|
+
}
|
|
14
|
+
&.divider-space {
|
|
15
|
+
display: block;
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
height: 16px;
|
|
19
|
+
border-bottom: none;
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.navigation {
|
|
2
|
+
flex: none;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
width: 12px;
|
|
6
|
+
margin: 0;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
background-color: #3a3a3a;
|
|
9
|
+
transition: 0.1s linear width;
|
|
10
|
+
&.type-rail {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
width: 80px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
// Here is where the magic happens
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
.material-progress {
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 4px;
|
|
7
|
+
background-color: lighten($primary-color, 30%);
|
|
8
|
+
.bar {
|
|
9
|
+
width: 0%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
background-color: $primary-color;
|
|
12
|
+
transition: width 3s;
|
|
13
|
+
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.material-progress.type-indeterminate {
|
|
17
|
+
position: relative;
|
|
18
|
+
height: 4px;
|
|
19
|
+
display: block;
|
|
20
|
+
width: 100%;
|
|
21
|
+
background-color: lighten($primary-color, 30%);
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
.determinate {
|
|
24
|
+
position: absolute;
|
|
25
|
+
background-color: inherit;
|
|
26
|
+
top: 0;
|
|
27
|
+
bottom: 0;
|
|
28
|
+
background-color: $primary-color;
|
|
29
|
+
transition: width .3s linear;
|
|
30
|
+
}
|
|
31
|
+
.bar {
|
|
32
|
+
background-color: $primary-color;
|
|
33
|
+
&:before {
|
|
34
|
+
content: '';
|
|
35
|
+
position: absolute;
|
|
36
|
+
background-color: inherit;
|
|
37
|
+
top: 0;
|
|
38
|
+
left: 0;
|
|
39
|
+
bottom: 0;
|
|
40
|
+
will-change: left, right {
|
|
41
|
+
/* empty */
|
|
42
|
+
}
|
|
43
|
+
-webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
44
|
+
animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
45
|
+
}
|
|
46
|
+
&:after {
|
|
47
|
+
content: '';
|
|
48
|
+
position: absolute;
|
|
49
|
+
background-color: inherit;
|
|
50
|
+
top: 0;
|
|
51
|
+
left: 0;
|
|
52
|
+
bottom: 0;
|
|
53
|
+
will-change: left, right {
|
|
54
|
+
/* empty */
|
|
55
|
+
}
|
|
56
|
+
-webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
|
|
57
|
+
animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
|
|
58
|
+
-webkit-animation-delay: 1.15s;
|
|
59
|
+
animation-delay: 1.15s;
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
@-webkit-keyframes indeterminate {
|
|
65
|
+
0% {
|
|
66
|
+
left: -35%;
|
|
67
|
+
right: 100%;
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
60% {
|
|
71
|
+
left: 100%;
|
|
72
|
+
right: -90%;
|
|
73
|
+
|
|
74
|
+
}
|
|
75
|
+
100% {
|
|
76
|
+
left: 100%;
|
|
77
|
+
right: -90%;
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
@keyframes indeterminate {
|
|
83
|
+
0% {
|
|
84
|
+
left: -35%;
|
|
85
|
+
right: 100%;
|
|
86
|
+
|
|
87
|
+
}
|
|
88
|
+
60% {
|
|
89
|
+
left: 100%;
|
|
90
|
+
right: -90%;
|
|
91
|
+
|
|
92
|
+
}
|
|
93
|
+
100% {
|
|
94
|
+
left: 100%;
|
|
95
|
+
right: -90%;
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
@-webkit-keyframes indeterminate-short {
|
|
101
|
+
0% {
|
|
102
|
+
left: -200%;
|
|
103
|
+
right: 100%;
|
|
104
|
+
|
|
105
|
+
}
|
|
106
|
+
60% {
|
|
107
|
+
left: 107%;
|
|
108
|
+
right: -8%;
|
|
109
|
+
|
|
110
|
+
}
|
|
111
|
+
100% {
|
|
112
|
+
left: 107%;
|
|
113
|
+
right: -8%;
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
@keyframes indeterminate-short {
|
|
119
|
+
0% {
|
|
120
|
+
left: -200%;
|
|
121
|
+
right: 100%;
|
|
122
|
+
|
|
123
|
+
}
|
|
124
|
+
60% {
|
|
125
|
+
left: 107%;
|
|
126
|
+
right: -8%;
|
|
127
|
+
|
|
128
|
+
}
|
|
129
|
+
100% {
|
|
130
|
+
left: 107%;
|
|
131
|
+
right: -8%;
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
.material-progress.type-circular {
|
|
138
|
+
.progress {
|
|
139
|
+
animation: rotator 1.4s linear infinite;
|
|
140
|
+
|
|
141
|
+
}
|
|
142
|
+
@keyframes rotator {
|
|
143
|
+
0% {
|
|
144
|
+
transform: rotate(0deg);
|
|
145
|
+
|
|
146
|
+
}
|
|
147
|
+
100% {
|
|
148
|
+
transform: rotate(270deg);
|
|
149
|
+
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
.path {
|
|
153
|
+
stroke: #4285F4;
|
|
154
|
+
stroke-dasharray: 187;
|
|
155
|
+
stroke-dashoffset: 0;
|
|
156
|
+
transform-origin: center;
|
|
157
|
+
animation: dash 1.4s ease-in-out infinite;
|
|
158
|
+
|
|
159
|
+
}
|
|
160
|
+
@keyframes dash {
|
|
161
|
+
0% {
|
|
162
|
+
stroke-dashoffset: 187;
|
|
163
|
+
|
|
164
|
+
}
|
|
165
|
+
50% {
|
|
166
|
+
stroke-dashoffset: 187 / 4;
|
|
167
|
+
transform: rotate(135deg);
|
|
168
|
+
|
|
169
|
+
}
|
|
170
|
+
100% {
|
|
171
|
+
stroke-dashoffset: 187;
|
|
172
|
+
transform: rotate(450deg);
|
|
173
|
+
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
.material-text {
|
|
2
|
+
// -moz-osx-font-smoothing: grayscale
|
|
3
|
+
// -webkit-font-smoothing: antialiased
|
|
4
|
+
|
|
5
|
+
&.text-display4 {
|
|
6
|
+
font-size: 7rem;
|
|
7
|
+
font-weight: 300;
|
|
8
|
+
letter-spacing: -0.04em;
|
|
9
|
+
line-height: 7rem;
|
|
10
|
+
|
|
11
|
+
}
|
|
12
|
+
&.text-display3 {
|
|
13
|
+
font-size: 3.5rem;
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
letter-spacing: -0.02em;
|
|
16
|
+
line-height: 3.5rem;
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
&.text-display2 {
|
|
20
|
+
font-size: 2.813rem;
|
|
21
|
+
font-weight: 400;
|
|
22
|
+
letter-spacing: normal;
|
|
23
|
+
line-height: 3rem;
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
&.text-display1 {
|
|
27
|
+
font-size: 2.125rem;
|
|
28
|
+
font-weight: 400;
|
|
29
|
+
letter-spacing: normal;
|
|
30
|
+
line-height: 2.5rem;
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
&.text-headline {
|
|
34
|
+
font-size: 1.5rem;
|
|
35
|
+
font-weight: 400;
|
|
36
|
+
letter-spacing: normal;
|
|
37
|
+
line-height: 2rem;
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
&.text-title {
|
|
41
|
+
font-size: 1.25rem;
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
letter-spacing: 0.02em;
|
|
44
|
+
line-height: 2rem;
|
|
45
|
+
|
|
46
|
+
// margin-bottom: 30px;
|
|
47
|
+
|
|
48
|
+
}
|
|
49
|
+
&.text-subheading2 {
|
|
50
|
+
font-size: 1rem;
|
|
51
|
+
font-weight: 400;
|
|
52
|
+
letter-spacing: 0.04em;
|
|
53
|
+
line-height: 1.75rem;
|
|
54
|
+
|
|
55
|
+
}
|
|
56
|
+
&.text-subheading1 {
|
|
57
|
+
font-size: 0.938rem;
|
|
58
|
+
font-weight: 400;
|
|
59
|
+
letter-spacing: 0.04em;
|
|
60
|
+
line-height: 1.5rem;
|
|
61
|
+
|
|
62
|
+
}
|
|
63
|
+
&.text-body2 {
|
|
64
|
+
font-size: 0.875rem;
|
|
65
|
+
font-weight: 500;
|
|
66
|
+
letter-spacing: 0.04em;
|
|
67
|
+
line-height: 1.5rem;
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
&.text-body1 {
|
|
71
|
+
font-size: 0.875rem;
|
|
72
|
+
font-weight: 400;
|
|
73
|
+
letter-spacing: 0.04em;
|
|
74
|
+
line-height: 1.25rem;
|
|
75
|
+
|
|
76
|
+
}
|
|
77
|
+
&.text-caption {
|
|
78
|
+
font-size: 0.75rem;
|
|
79
|
+
font-weight: 400;
|
|
80
|
+
letter-spacing: 0.08em;
|
|
81
|
+
line-height: 1.25rem;
|
|
82
|
+
|
|
83
|
+
}
|
|
84
|
+
&.text-button {
|
|
85
|
+
font-size: 14px;
|
|
86
|
+
font-weight: 500;
|
|
87
|
+
text-transform: uppercase;
|
|
88
|
+
|
|
89
|
+
}
|
|
90
|
+
&.secondary-color {
|
|
91
|
+
color: $secondary-color;
|
|
92
|
+
|
|
93
|
+
}
|
|
94
|
+
&.primary-color {
|
|
95
|
+
color: $primary-color;
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
// margin-bottom: 30px;
|
|
99
|
+
|
|
100
|
+
}
|
|
101
|
+
}
|