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
@@ -23,35 +23,33 @@
23
23
  //height: initial
24
24
  //width: initial
25
25
  //opacity: 1
26
-
27
26
  }
27
+
28
28
  .material-list {
29
29
  position: relative;
30
30
  bottom: 0;
31
31
  padding: 8px 0;
32
-
33
- }
34
- .material-list .material-item, {
35
- /* empty */
36
32
  }
33
+
34
+ .material-list .material-item,
37
35
  .material-item {
38
36
  display: block;
39
37
  padding: 8px 64px 8px 16px;
40
38
  &:active {
41
39
  transition: .2s;
42
40
  background-color: rgba(0, 0, 0, 0.05);
43
-
44
41
  }
45
42
  }
43
+
46
44
  .material-divider {
47
45
  display: block;
48
46
  height: 1px;
49
47
  padding: 0;
50
48
  background-color: rgba(0, 0, 0, 0.05);
51
49
  margin: 8px 0;
52
-
53
50
  }
54
51
  }
52
+
55
53
  .menu-mask {
56
54
  top: 0;
57
55
  pointer-events: none;
@@ -64,6 +62,5 @@
64
62
  transition: .3s;
65
63
  pointer-events: auto;
66
64
  background-color: rgba(0,0,0,.05);
67
-
68
65
  }
69
66
  }
@@ -41,8 +41,8 @@
41
41
  bottom: 0;
42
42
  background-color: $primary-color;
43
43
  transition: .2s;
44
-
45
44
  }
45
+
46
46
  &.primary-color {
47
47
  background-color: $primary-color;
48
48
  .material-list {
@@ -69,10 +69,10 @@
69
69
  }
70
70
  .material-indicator {
71
71
  background-color: $secondary-color-text;
72
-
73
72
  }
74
73
  }
75
74
  }
75
+
76
76
  .material-tabs.small {
77
77
  .material-list {
78
78
  .material-button {
@@ -87,7 +87,6 @@
87
87
  background-color: transparent;
88
88
  label {
89
89
  padding: 8px;
90
-
91
90
  }
92
91
  }
93
92
  }
@@ -25,18 +25,17 @@
25
25
  &.is-scrolled {
26
26
  transition: box-shadow .3s;
27
27
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.14),0 4px 8px rgba(0, 0, 0, 0.28);
28
-
29
-
30
28
  }
31
29
  }
30
+
32
31
  &.is-flexible {
33
32
  position: absolute;
34
33
  top: 0;
35
34
  left: 0;
36
35
  right: 0;
37
36
  //display: block
38
-
39
37
  }
38
+
40
39
  &.is-fixed {
41
40
  position: absolute;
42
41
  top: 0;
@@ -46,27 +45,19 @@
46
45
  &.is-scrolled {
47
46
  transition: box-shadow .3s;
48
47
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.14),0 4px 8px rgba(0, 0, 0, 0.28);
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
48
  }
58
49
  }
50
+
59
51
  > * {
60
52
  &:first-child {
61
53
  margin-left: 0;
62
-
63
54
  }
55
+
64
56
  &:last-child {
65
57
  margin-right: 0;
66
-
67
-
68
58
  }
69
59
  }
60
+
70
61
  .material-text {
71
62
  flex: 1;
72
63
  display: inline-block;
@@ -79,8 +70,8 @@
79
70
  overflow: hidden;
80
71
  white-space: nowrap;
81
72
  text-overflow: ellipsis;
82
-
83
73
  }
74
+
84
75
  .material-checkbox {
85
76
  padding: 0;
86
77
  .checkbox-control {
@@ -94,20 +85,17 @@
94
85
  .checkbox-label {
95
86
  color: $primary-color-text;
96
87
  padding: 10px 0 6px;
97
-
98
-
99
-
100
88
  }
101
89
  }
90
+
102
91
  .material-button {
103
92
  .button-icon {
104
93
  svg {
105
94
  fill: $default-color-icon;
106
-
107
-
108
95
  }
109
96
  }
110
97
  }
98
+
111
99
  &.transparent-color {
112
100
  background-color: transparent;
113
101
  .material-text {
@@ -133,10 +121,10 @@
133
121
  .checkbox-label {
134
122
  color: $default-color-text;
135
123
  padding: 10px 0 6px;
136
-
137
124
  }
138
125
  }
139
126
  }
127
+
140
128
  &.primary-color {
141
129
  background-color: $primary-color;
142
130
  .material-text {
@@ -162,10 +150,10 @@
162
150
  .checkbox-label {
163
151
  color: $primary-color-text;
164
152
  padding: 10px 0 6px;
165
-
166
153
  }
167
154
  }
168
155
  }
156
+
169
157
  &.secondary-color {
170
158
  background-color: $secondary-color;
171
159
  .material-text {
@@ -199,8 +187,6 @@
199
187
  // .material-toolbar
200
188
  // &.type-app
201
189
  // padding: 10px 16px
202
-
203
-
204
190
  }
205
191
  }
206
192
  }
@@ -24,31 +24,30 @@
24
24
  height: 24px;
25
25
  width: 24px;
26
26
  padding: 0;
27
-
28
27
  }
28
+
29
29
  &.hide {
30
30
  display: none;
31
31
 
32
32
  // pseudo class
33
-
34
-
35
33
  }
34
+
36
35
  &:focus {
37
36
  background-color: rgba(0, 0, 0, .1);
38
-
39
37
  }
38
+
40
39
  &:active {
41
40
  background-color: rgba(0, 0, 0, .1);
42
-
43
41
  }
42
+
44
43
  &:disabled {
45
44
  opacity: .5;
46
45
  background-color: transparent;
47
46
  &:hover {
48
47
  background-color: transparent;
49
-
50
48
  }
51
49
  }
50
+
52
51
  &[type="submit"] {
53
52
  font-weight: 600;
54
53
  padding: 6px 20px;
@@ -63,12 +62,12 @@
63
62
  }
64
63
  &.style-raised {
65
64
  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);
66
-
67
65
  }
66
+
68
67
  &.style-outline {
69
68
  border: 1px solid #E1E1E1;
70
-
71
69
  }
70
+
72
71
  &.style-action {
73
72
  width: 40px;
74
73
  height: 40px;
@@ -83,28 +82,28 @@
83
82
  margin-left: 0;
84
83
  svg {
85
84
  fill: rgba(0, 0, 0, 0.67);
86
-
87
85
  }
88
86
  }
87
+
89
88
  &:hover {
90
89
  background-color: rgba(0,0,0,.1);
91
-
92
90
  }
91
+
93
92
  &.small-size {
94
93
  width: 36px;
95
94
  height: 36px;
96
95
  padding: 6px;
97
-
98
96
  }
99
97
  }
98
+
100
99
  &.bold {
101
100
  font-weight: 600;
102
-
103
101
  }
102
+
104
103
  &.normal-case {
105
104
  text-transform: none;
106
-
107
105
  }
106
+
108
107
  &.color-secondary {
109
108
  color: $secondary-color-text;
110
109
  background-color: darken($secondary-color, 10%);
@@ -121,10 +120,10 @@
121
120
  background-color: darken($secondary-color, 10%);
122
121
  &:hover {
123
122
  background-color: darken($secondary-color, 10%);
124
-
125
123
  }
126
124
  }
127
125
  }
126
+
128
127
  &.color-primary {
129
128
  color: $primary-color-text;
130
129
  background-color: darken($primary-color, 10%);
@@ -141,12 +140,11 @@
141
140
  background-color: darken($primary-color, 10%);
142
141
  &:hover {
143
142
  background-color: darken($primary-color, 10%);
144
-
145
-
146
143
  }
147
144
  }
148
145
  }
149
146
  }
147
+
150
148
  @media only screen and (min-width: 640px) {
151
149
  /* empty */
152
150
  }
@@ -155,10 +153,10 @@
155
153
  background-color: rgba(0, 0, 0, .1);
156
154
  &:focus {
157
155
  background-color: rgba(0, 0, 0, .1);
158
-
159
156
  }
160
157
  }
161
158
  }
159
+
162
160
  .ripple {
163
161
  opacity: 1;
164
162
  pointer-events: none;
@@ -168,5 +166,4 @@
168
166
  height: 5px;
169
167
  width: 5px;
170
168
  border-radius: 50%;
171
-
172
169
  }
@@ -16,8 +16,8 @@
16
16
  position: absolute;
17
17
  left: -10000px;
18
18
  order: 2;
19
-
20
19
  }
20
+
21
21
  .control {
22
22
  //flex: none;
23
23
  order: 1;
@@ -45,10 +45,10 @@
45
45
  fill: rgba(255, 255, 255, 0.95);
46
46
  top: 8px;
47
47
  left: 8px;
48
-
49
48
  }
50
49
  }
51
50
  }
51
+
52
52
  label {
53
53
  flex: 1;
54
54
  order: 3;
@@ -58,8 +58,8 @@
58
58
  padding: 15px 0 9px;
59
59
  margin: 0px 2px 0px 12px;
60
60
  overflow: hidden;
61
-
62
61
  }
62
+
63
63
  &.is-checked {
64
64
  .control {
65
65
  .icon {
@@ -73,62 +73,59 @@
73
73
  fill: rgba(255, 255, 255, 0.95);
74
74
  top: 8px;
75
75
  left: 8px;
76
-
77
76
  }
78
77
  }
79
78
  }
80
79
  }
80
+
81
81
  &.is-disabled {
82
82
  label {
83
83
  opacity: .4;
84
-
85
84
  }
85
+
86
86
  .icon {
87
87
  background-color: rgba(0, 0, 0, 0.26);
88
88
  border-color: rgba(0, 0, 0, 0.26);
89
89
  //opacity: .4
90
-
91
90
  }
91
+
92
92
  .control {
93
93
  .icon {
94
94
  opacity: .4;
95
-
96
95
  }
97
96
  }
98
97
  }
98
+
99
99
  &.is-focused {
100
100
  .control {
101
101
  background-color: rgba(34, 31, 31, 0.05);
102
-
103
102
  }
104
103
  }
104
+
105
105
  &:active {
106
106
  .control {
107
107
  background-color: transparent;
108
-
109
108
  }
110
109
  }
111
110
  }
112
- .dark-mode .checkbox, {
113
- /* empty */
114
- }
111
+
112
+ .dark-mode .checkbox,
115
113
  .checkbox.dark-mode {
116
114
  .control {
117
115
  .icon {
118
116
  border: 2px solid rgba(255, 255, 255, 0.5);
119
-
120
117
  }
121
118
  }
119
+
122
120
  &.is-focused {
123
121
  .control {
124
122
  background-color: rgba(255, 255, 255, 0.05);
125
-
126
123
  }
127
124
  }
125
+
128
126
  &.is-checked {
129
127
  .control {
130
128
  background-color: rgba(255, 255, 255, 0.5);
131
-
132
129
  }
133
130
  }
134
131
  }
@@ -42,9 +42,7 @@
42
42
  }
43
43
  }
44
44
  }
45
- .hue, {
46
- /* empty */
47
- }
45
+ .hue,
48
46
  .alpha {
49
47
  position: relative;
50
48
  width: 100%;
@@ -60,8 +58,8 @@
60
58
  opacity: 0;
61
59
  cursor: pointer;
62
60
  appearance: none;
63
-
64
61
  }
62
+
65
63
  .marker {
66
64
  position: absolute;
67
65
  width: 20px;
@@ -72,13 +70,13 @@
72
70
  background-color: currentColor;
73
71
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
74
72
  pointer-events: none;
75
-
76
73
  }
77
74
  }
75
+
78
76
  .hue {
79
77
  background-image: linear-gradient(to right, #f00 0%, #ff0 16.66%, #0f0 33.33%, #0ff 50%, #00f 66.66%, #f0f 83.33%, #f00 100%);
80
-
81
78
  }
79
+
82
80
  .alpha {
83
81
  background-image: linear-gradient(45deg, #aaa 25%, transparent 25%, transparent 75%, #aaa 75%, #aaa), linear-gradient(45deg, #aaa 25%, #fff 25%, #fff 75%, #aaa 75%, #aaa);
84
82
  background-size: 8px 8px;
@@ -111,9 +109,9 @@
111
109
  &:focus {
112
110
  outline: none;
113
111
  border-color: var(--md-sys-color-primary);
114
-
115
112
  }
116
113
  }
114
+
117
115
  .preview {
118
116
  position: relative;
119
117
  width: 40px;
@@ -151,8 +149,8 @@
151
149
 
152
150
  &:hover {
153
151
  transform: scale(1.1);
154
-
155
152
  }
153
+
156
154
  &:focus {
157
155
  outline: 2px solid var(--md-sys-color-primary);
158
156
  outline-offset: 2px;
@@ -163,13 +161,13 @@
163
161
  }
164
162
  &.is-open {
165
163
  display: block;
166
-
167
164
  }
165
+
168
166
  &[data-inline="true"] {
169
167
  position: relative;
170
168
  display: block;
171
-
172
169
  }
170
+
173
171
  &[data-alpha="false"] {
174
172
  .alpha {
175
173
  display: none;
@@ -185,8 +183,8 @@
185
183
 
186
184
  input {
187
185
  padding-right: 40px;
188
-
189
186
  }
187
+
190
188
  .preview {
191
189
  position: absolute;
192
190
  right: 8px;
@@ -1,16 +1,15 @@
1
1
  .menu {
2
2
  //display: none
3
3
  &.show {
4
- /* empty */
5
- }
6
4
  //display: block
5
+ }
7
6
  .list {
8
7
  background: white;
9
8
  .item {
10
9
  color: rgba(0,0,0,.87);
11
-
12
10
  }
13
11
  }
12
+
14
13
  &.floating {
15
14
  display: flex;
16
15
  align-items: center;
@@ -18,8 +17,5 @@
18
17
  overflow: hidden;
19
18
  opacity: 0;
20
19
  transition: 0.2s;
21
-
22
-
23
-
24
20
  }
25
21
  }
@@ -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
  .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,125 +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
125
  }
134
126
  }
127
+
135
128
  .progress.type-circular {
136
129
  .progress {
137
130
  animation: rotator 1.4s linear infinite;
138
-
139
131
  }
132
+
140
133
  @keyframes rotator {
141
134
  0% {
142
135
  transform: rotate(0deg);
143
-
144
136
  }
137
+
145
138
  100% {
146
139
  transform: rotate(270deg);
147
-
148
140
  }
149
141
  }
142
+
150
143
  .path {
151
144
  stroke: #4285F4;
152
145
  stroke-dasharray: 187;
153
146
  stroke-dashoffset: 0;
154
147
  transform-origin: center;
155
148
  animation: dash 1.4s ease-in-out infinite;
156
-
157
149
  }
150
+
158
151
  @keyframes dash {
159
152
  0% {
160
153
  stroke-dashoffset: 187;
161
-
162
154
  }
155
+
163
156
  50% {
164
157
  stroke-dashoffset: 187 / 4;
165
158
  transform: rotate(135deg);
166
-
167
159
  }
160
+
168
161
  100% {
169
162
  stroke-dashoffset: 187;
170
163
  transform: rotate(450deg);
171
-
172
164
  }
173
165
  }
174
166
  }
@@ -22,8 +22,8 @@
22
22
  border: none;
23
23
  margin: 0;
24
24
  background-color: transparent;
25
-
26
25
  }
26
+
27
27
  >.clear {
28
28
  cursor: pointer;
29
29
  opacity: .4;
@@ -43,7 +43,6 @@
43
43
  .icon {
44
44
  svg {
45
45
  fill: $primary-color;
46
-
47
46
  }
48
47
  }
49
48
  }