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