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