material 0.9.26 → 0.9.27

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.
Files changed (53) hide show
  1. package/package.json +1 -1
  2. package/src/skin/material/base/body.scss +14 -33
  3. package/src/skin/material/base/elevation.scss +0 -1
  4. package/src/skin/material/base/grid.scss +7 -11
  5. package/src/skin/material/base/typo.scss +22 -23
  6. package/src/skin/material/button/action.scss +5 -17
  7. package/src/skin/material/button/button.scss +17 -23
  8. package/src/skin/material/button/file.scss +1 -1
  9. package/src/skin/material/button/floating.scss +4 -8
  10. package/src/skin/material/button/raised.scss +4 -8
  11. package/src/skin/material/button/stroked.scss +6 -11
  12. package/src/skin/material/component/component.scss +2 -5
  13. package/src/skin/material/component/divider.scss +0 -1
  14. package/src/skin/material/component/image.scss +0 -1
  15. package/src/skin/material/component/label.scss +0 -1
  16. package/src/skin/material/component/progress.scss +22 -32
  17. package/src/skin/material/component/subheader.scss +0 -1
  18. package/src/skin/material/component/text.scss +13 -14
  19. package/src/skin/material/container/appbar.scss +11 -24
  20. package/src/skin/material/container/banner.scss +1 -2
  21. package/src/skin/material/container/card.scss +0 -1
  22. package/src/skin/material/container/dialog.scss +12 -16
  23. package/src/skin/material/container/drawer.scss +14 -23
  24. package/src/skin/material/container/menu.scss +5 -8
  25. package/src/skin/material/container/tabs.scss +2 -3
  26. package/src/skin/material/container/toolbar.scss +10 -24
  27. package/src/skin/material/control/button.scss +15 -18
  28. package/src/skin/material/control/checkbox.scss +12 -15
  29. package/src/skin/material/control/colorpicker.scss +9 -11
  30. package/src/skin/material/control/menu.scss +2 -6
  31. package/src/skin/material/control/progress.scss +22 -30
  32. package/src/skin/material/control/search.scss +1 -2
  33. package/src/skin/material/control/selecter.scss +5 -7
  34. package/src/skin/material/control/selector.scss +0 -2
  35. package/src/skin/material/control/slider.scss +19 -21
  36. package/src/skin/material/control/snackbar.scss +1 -4
  37. package/src/skin/material/control/switch.scss +21 -25
  38. package/src/skin/material/control/switcher.scss +0 -1
  39. package/src/skin/material/control/textfield.scss +17 -24
  40. package/src/skin/material/control/tooltip.scss +1 -3
  41. package/src/skin/material/layout/layout.scss +17 -21
  42. package/src/skin/material/layout/resizer.scss +16 -36
  43. package/src/skin/material/module/ripple.scss +0 -1
  44. package/src/skin/material/view/calendar.scss +13 -18
  45. package/src/skin/material/view/form.scss +1 -2
  46. package/src/skin/material/view/grid.scss +7 -8
  47. package/src/skin/material/view/list.scss +6 -8
  48. package/src/skin/material/view/listview.scss +10 -17
  49. package/src/skin/material/view/map.scss +0 -1
  50. package/src/skin/material/view/page.scss +0 -1
  51. package/src/skin/material/view/tabview-bak.scss +0 -1
  52. package/src/skin/material/view/tabview.scss +2 -4
  53. package/src/skin/material/view/tree.scss +6 -7
@@ -17,6 +17,5 @@
17
17
  margin: 0;
18
18
  height: 16px;
19
19
  border-bottom: none;
20
-
21
20
  }
22
21
  }
@@ -4,6 +4,5 @@
4
4
  background-size: cover;
5
5
  width: 300px;
6
6
  height: 200px;
7
-
8
7
  }
9
8
  }
@@ -1,4 +1,3 @@
1
1
  .material-label {
2
2
  line-height: 1.3rem;
3
-
4
3
  }
@@ -10,9 +10,9 @@
10
10
  height: 100%;
11
11
  background-color: $primary-color;
12
12
  transition: width 3s;
13
-
14
13
  }
15
14
  }
15
+
16
16
  .material-progress.type-indeterminate {
17
17
  position: relative;
18
18
  height: 4px;
@@ -37,9 +37,7 @@
37
37
  top: 0;
38
38
  left: 0;
39
39
  bottom: 0;
40
- will-change: left, right {
41
- /* empty */
42
- }
40
+ will-change: left, right;
43
41
  -webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
44
42
  animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
45
43
  }
@@ -50,127 +48,119 @@
50
48
  top: 0;
51
49
  left: 0;
52
50
  bottom: 0;
53
- will-change: left, right {
54
- /* empty */
55
- }
51
+ will-change: left, right;
56
52
  -webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
57
53
  animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
58
54
  -webkit-animation-delay: 1.15s;
59
55
  animation-delay: 1.15s;
60
-
61
56
  }
62
57
  }
63
58
  }
59
+
64
60
  @-webkit-keyframes indeterminate {
65
61
  0% {
66
62
  left: -35%;
67
63
  right: 100%;
68
-
69
64
  }
65
+
70
66
  60% {
71
67
  left: 100%;
72
68
  right: -90%;
73
-
74
69
  }
70
+
75
71
  100% {
76
72
  left: 100%;
77
73
  right: -90%;
78
-
79
-
80
74
  }
81
75
  }
76
+
82
77
  @keyframes indeterminate {
83
78
  0% {
84
79
  left: -35%;
85
80
  right: 100%;
86
-
87
81
  }
82
+
88
83
  60% {
89
84
  left: 100%;
90
85
  right: -90%;
91
-
92
86
  }
87
+
93
88
  100% {
94
89
  left: 100%;
95
90
  right: -90%;
96
-
97
-
98
91
  }
99
92
  }
93
+
100
94
  @-webkit-keyframes indeterminate-short {
101
95
  0% {
102
96
  left: -200%;
103
97
  right: 100%;
104
-
105
98
  }
99
+
106
100
  60% {
107
101
  left: 107%;
108
102
  right: -8%;
109
-
110
103
  }
104
+
111
105
  100% {
112
106
  left: 107%;
113
107
  right: -8%;
114
-
115
-
116
108
  }
117
109
  }
110
+
118
111
  @keyframes indeterminate-short {
119
112
  0% {
120
113
  left: -200%;
121
114
  right: 100%;
122
-
123
115
  }
116
+
124
117
  60% {
125
118
  left: 107%;
126
119
  right: -8%;
127
-
128
120
  }
121
+
129
122
  100% {
130
123
  left: 107%;
131
124
  right: -8%;
132
-
133
-
134
-
135
125
  }
136
126
  }
127
+
137
128
  .material-progress.type-circular {
138
129
  .progress {
139
130
  animation: rotator 1.4s linear infinite;
140
-
141
131
  }
132
+
142
133
  @keyframes rotator {
143
134
  0% {
144
135
  transform: rotate(0deg);
145
-
146
136
  }
137
+
147
138
  100% {
148
139
  transform: rotate(270deg);
149
-
150
140
  }
151
141
  }
142
+
152
143
  .path {
153
144
  stroke: #4285F4;
154
145
  stroke-dasharray: 187;
155
146
  stroke-dashoffset: 0;
156
147
  transform-origin: center;
157
148
  animation: dash 1.4s ease-in-out infinite;
158
-
159
149
  }
150
+
160
151
  @keyframes dash {
161
152
  0% {
162
153
  stroke-dashoffset: 187;
163
-
164
154
  }
155
+
165
156
  50% {
166
157
  stroke-dashoffset: 187 / 4;
167
158
  transform: rotate(135deg);
168
-
169
159
  }
160
+
170
161
  100% {
171
162
  stroke-dashoffset: 187;
172
163
  transform: rotate(450deg);
173
-
174
164
  }
175
165
  }
176
166
  }
@@ -1,5 +1,4 @@
1
1
  .component-subheader {
2
2
  margin-left: 16px;
3
3
  margin-right: 16px;
4
-
5
4
  }
@@ -7,36 +7,36 @@
7
7
  font-weight: 300;
8
8
  letter-spacing: -0.04em;
9
9
  line-height: 7rem;
10
-
11
10
  }
11
+
12
12
  &.text-display3 {
13
13
  font-size: 3.5rem;
14
14
  font-weight: 400;
15
15
  letter-spacing: -0.02em;
16
16
  line-height: 3.5rem;
17
-
18
17
  }
18
+
19
19
  &.text-display2 {
20
20
  font-size: 2.813rem;
21
21
  font-weight: 400;
22
22
  letter-spacing: normal;
23
23
  line-height: 3rem;
24
-
25
24
  }
25
+
26
26
  &.text-display1 {
27
27
  font-size: 2.125rem;
28
28
  font-weight: 400;
29
29
  letter-spacing: normal;
30
30
  line-height: 2.5rem;
31
-
32
31
  }
32
+
33
33
  &.text-headline {
34
34
  font-size: 1.5rem;
35
35
  font-weight: 400;
36
36
  letter-spacing: normal;
37
37
  line-height: 2rem;
38
-
39
38
  }
39
+
40
40
  &.text-title {
41
41
  font-size: 1.25rem;
42
42
  font-weight: 500;
@@ -44,58 +44,57 @@
44
44
  line-height: 2rem;
45
45
 
46
46
  // margin-bottom: 30px;
47
-
48
47
  }
48
+
49
49
  &.text-subheading2 {
50
50
  font-size: 1rem;
51
51
  font-weight: 400;
52
52
  letter-spacing: 0.04em;
53
53
  line-height: 1.75rem;
54
-
55
54
  }
55
+
56
56
  &.text-subheading1 {
57
57
  font-size: 0.938rem;
58
58
  font-weight: 400;
59
59
  letter-spacing: 0.04em;
60
60
  line-height: 1.5rem;
61
-
62
61
  }
62
+
63
63
  &.text-body2 {
64
64
  font-size: 0.875rem;
65
65
  font-weight: 500;
66
66
  letter-spacing: 0.04em;
67
67
  line-height: 1.5rem;
68
-
69
68
  }
69
+
70
70
  &.text-body1 {
71
71
  font-size: 0.875rem;
72
72
  font-weight: 400;
73
73
  letter-spacing: 0.04em;
74
74
  line-height: 1.25rem;
75
-
76
75
  }
76
+
77
77
  &.text-caption {
78
78
  font-size: 0.75rem;
79
79
  font-weight: 400;
80
80
  letter-spacing: 0.08em;
81
81
  line-height: 1.25rem;
82
-
83
82
  }
83
+
84
84
  &.text-button {
85
85
  font-size: 14px;
86
86
  font-weight: 500;
87
87
  text-transform: uppercase;
88
-
89
88
  }
89
+
90
90
  &.secondary-color {
91
91
  color: $secondary-color;
92
-
93
92
  }
93
+
94
94
  &.primary-color {
95
95
  color: $primary-color;
96
96
 
97
97
 
98
98
  // margin-bottom: 30px;
99
-
100
99
  }
101
100
  }
@@ -18,8 +18,8 @@
18
18
  &.type-bottom {
19
19
  bottom: 0;
20
20
  top: inherit;
21
-
22
21
  }
22
+
23
23
  &.type-app {
24
24
  z-index: 5;
25
25
  padding: 14px 16px;
@@ -30,18 +30,17 @@
30
30
  &.is-scrolled {
31
31
  transition: box-shadow .3s;
32
32
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.14),0 4px 8px rgba(0, 0, 0, 0.28);
33
-
34
-
35
33
  }
36
34
  }
35
+
37
36
  &.is-flexible {
38
37
  position: absolute;
39
38
  top: 0;
40
39
  left: 0;
41
40
  right: 0;
42
41
  //display: block
43
-
44
42
  }
43
+
45
44
  &.is-fixed {
46
45
  position: absolute;
47
46
  top: 0;
@@ -55,26 +54,19 @@
55
54
  &.type-bottom {
56
55
  bottom: 0;
57
56
  top: inherit;
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
57
  }
66
58
  }
59
+
67
60
  > * {
68
61
  &:first-child {
69
62
  margin-left: 0;
70
-
71
63
  }
64
+
72
65
  &:last-child {
73
66
  margin-right: 0;
74
-
75
-
76
67
  }
77
68
  }
69
+
78
70
  .material-text {
79
71
  flex: 1;
80
72
  display: inline-block;
@@ -87,8 +79,8 @@
87
79
  overflow: hidden;
88
80
  white-space: nowrap;
89
81
  text-overflow: ellipsis;
90
-
91
82
  }
83
+
92
84
  .material-checkbox {
93
85
  padding: 0;
94
86
  .checkbox-control {
@@ -102,20 +94,17 @@
102
94
  .checkbox-label {
103
95
  color: $primary-color-text;
104
96
  padding: 10px 0 6px;
105
-
106
-
107
-
108
97
  }
109
98
  }
99
+
110
100
  .material-button {
111
101
  .button-icon {
112
102
  svg {
113
103
  fill: $primary-color-text;
114
-
115
-
116
104
  }
117
105
  }
118
106
  }
107
+
119
108
  &.transparent-color {
120
109
  background-color: transparent;
121
110
  .material-text {
@@ -141,10 +130,10 @@
141
130
  .checkbox-label {
142
131
  color: $default-color-text;
143
132
  padding: 10px 0 6px;
144
-
145
133
  }
146
134
  }
147
135
  }
136
+
148
137
  &.primary-color {
149
138
  background-color: $primary-color;
150
139
  .material-text {
@@ -170,10 +159,10 @@
170
159
  .checkbox-label {
171
160
  color: $primary-color-text;
172
161
  padding: 10px 0 6px;
173
-
174
162
  }
175
163
  }
176
164
  }
165
+
177
166
  &.secondary-color {
178
167
  background-color: $secondary-color;
179
168
  .material-text {
@@ -207,8 +196,6 @@
207
196
  // .material-appbar
208
197
  // &.type-app
209
198
  // padding: 10px 16px
210
-
211
-
212
199
  }
213
200
  }
214
201
  }
@@ -17,9 +17,9 @@
17
17
  //transition: top .3s
18
18
  .material-toolbar {
19
19
  padding-top: 16px;
20
-
21
20
  }
22
21
  }
22
+
23
23
  .banner-wrapper {
24
24
  position: relative;
25
25
  overflow: hidden;
@@ -39,6 +39,5 @@
39
39
  //border: none
40
40
  //transform: translateY(-150px)
41
41
  //
42
-
43
42
  }
44
43
  }
@@ -18,6 +18,5 @@
18
18
  .toolbar-action {
19
19
  text-align: right;
20
20
  padding: 8px;
21
-
22
21
  }
23
22
  }
@@ -30,9 +30,9 @@
30
30
  opacity: 1;
31
31
  margin-top: 0;
32
32
  transition: .1s;
33
-
34
33
  }
35
34
  }
35
+
36
36
  .surface {
37
37
  transition: .1s;
38
38
  max-height: 600px;
@@ -44,9 +44,9 @@
44
44
  background-color: $background-color;
45
45
  box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
46
46
  transform: translateY(150px) scale(0.8);
47
-
48
47
  }
49
48
  }
49
+
50
50
  .material-dialog {
51
51
  position: fixed;
52
52
  top: 0;
@@ -95,44 +95,43 @@
95
95
  flex: none;
96
96
  margin: 24px 24px 24px 24px;
97
97
  padding: 0;
98
-
99
98
  }
99
+
100
100
  .dialog-content {
101
101
  flex: 1;
102
102
  padding: 0 24px 24px 24px;
103
103
  &.material-text {
104
104
  opacity: .7;
105
-
106
105
  }
107
106
  }
107
+
108
108
  .dialog-actions {
109
109
  flex: none;
110
110
  display: block;
111
111
  text-align: right;
112
112
  overflow: hidden;
113
113
  //padding: 8px
114
-
115
114
  }
115
+
116
116
  .material-toolbar {
117
117
  position: relative;
118
-
119
-
120
118
  }
119
+
121
120
  .component-body {
122
121
  flex: 1;
123
122
  overflow: hidden;
124
123
  position: relative;
125
124
  padding: 16px;
126
-
127
125
  }
126
+
128
127
  .list-list {
129
128
  overflow: scroll;
130
129
  position: relative;
131
130
  padding: 0;
132
131
  border-top: 1px solid rgba(0, 0, 0, 0.1);
133
132
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
134
-
135
133
  }
134
+
136
135
  .component-action {
137
136
  flex: none;
138
137
  display: 'flex';
@@ -144,10 +143,10 @@
144
143
 
145
144
  .material-button {
146
145
  margin: 0 0 0 8px;
147
-
148
146
  }
149
147
  }
150
148
  }
149
+
151
150
  &.dialog-show {
152
151
  // display: flex;
153
152
  // width: 10;
@@ -162,9 +161,9 @@
162
161
  opacity: 1;
163
162
  margin-top: 0;
164
163
  transition: .1s;
165
-
166
164
  }
167
165
  }
166
+
168
167
  &.dialog-closing {
169
168
  pointer-events: none;
170
169
  opacity: 0;
@@ -181,16 +180,13 @@
181
180
  opacity: 0;
182
181
  transform: translateY(150px) scale(0.8);
183
182
  transition: .1s;
184
-
185
183
  }
186
184
  }
187
185
  }
188
- .dark-mode .material-dialog, {
189
- /* empty */
190
- }
186
+
187
+ .dark-mode .material-dialog,
191
188
  .material-dialog.dark-mode {
192
189
  .dialog-surface {
193
190
  background-color: $background-color-dark;
194
-
195
191
  }
196
192
  }
@@ -11,8 +11,8 @@
11
11
 
12
12
  &.is-fixed {
13
13
  position: fixed;
14
-
15
14
  }
15
+
16
16
  .drawer-panel {
17
17
  background-color: rgba(255,255,255, 1);
18
18
  z-index: 8;
@@ -22,8 +22,8 @@
22
22
  transform: translateX(calc(100% - 20px));
23
23
  background-color: rgba(255, 255, 255, 1);
24
24
  width: 0;
25
-
26
25
  }
26
+
27
27
  &.show {
28
28
  pointer-events: initial;
29
29
  background-color: rgba(0, 0, 0, 0);
@@ -34,10 +34,10 @@
34
34
  transform: translateX(0);
35
35
  transition: 0.2s cubic-bezier(0, 0, 0.2, 1);
36
36
  background-color: rgba(255, 255, 255, 1);
37
-
38
37
  }
39
38
  }
40
39
  }
40
+
41
41
  .material-drawer.drawer-temporary {
42
42
  opacity: 0;
43
43
  pointer-events: none;
@@ -57,13 +57,13 @@
57
57
  .drawer-panel {
58
58
  width: 340px;
59
59
  transform: none;
60
-
61
60
  }
62
61
  }
62
+
63
63
  &.is-fixed {
64
64
  position: fixed;
65
-
66
65
  }
66
+
67
67
  .drawer-panel {
68
68
  position: absolute;
69
69
  height: 100%;
@@ -72,9 +72,9 @@
72
72
  z-index: 16;
73
73
  box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);
74
74
  transition: 233ms cubic-bezier(0,0,.21,1);
75
-
76
75
  }
77
76
  }
77
+
78
78
  .material-drawer.drawer-persistent {
79
79
  opacity: 0;
80
80
  pointer-events: none;
@@ -92,8 +92,8 @@
92
92
 
93
93
  &.is-fixed {
94
94
  position: fixed;
95
-
96
95
  }
96
+
97
97
  .drawer-panel {
98
98
  position: relative;
99
99
  height: 100%;
@@ -104,12 +104,11 @@
104
104
  //box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12)
105
105
  transition: 233ms cubic-bezier(0,0,.21,1);
106
106
  border-right: 1px solid rgb(228, 228, 228);
107
-
108
107
  }
108
+
109
109
  .content-persistent {
110
- /* empty */
111
- }
112
110
  //flex: 1
111
+ }
113
112
 
114
113
  &.show {
115
114
  pointer-events: initial;
@@ -120,13 +119,10 @@
120
119
  width: 240px;
121
120
  transform: none;
122
121
  background-color: rgba(0,0,0,.05);
123
-
124
-
125
-
126
-
127
122
  }
128
123
  }
129
124
  }
125
+
130
126
  .material-drawer.drawer-permanent {
131
127
  opacity: 1;
132
128
  pointer-events: none;
@@ -144,12 +140,12 @@
144
140
 
145
141
  &.is-fixed {
146
142
  position: fixed;
147
-
148
143
  }
144
+
149
145
  .material-toolbar {
150
146
  position: relative;
151
-
152
147
  }
148
+
153
149
  .drawer-panel {
154
150
  position: relative;
155
151
  height: 100%;
@@ -161,12 +157,11 @@
161
157
  //box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12)
162
158
  transition: 190ms cubic-bezier(0,0,.21,1);
163
159
  border-right: 1px solid rgb(228, 228, 228);
164
-
165
160
  }
161
+
166
162
  .content-permanent {
167
- /* empty */
168
- }
169
163
  //flex: 1
164
+ }
170
165
 
171
166
  &.show {
172
167
  pointer-events: initial;
@@ -176,10 +171,6 @@
176
171
  .drawer-panel {
177
172
  width: 340px;
178
173
  transform: none;
179
-
180
-
181
-
182
-
183
174
  }
184
175
  }
185
176
  }