iov-design 2.15.45 → 2.15.46
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/lib/dialog.js +49 -3
- package/lib/empty.js +4 -1
- package/lib/index.js +1 -1
- package/lib/iov-design.common.js +60 -11
- package/lib/message.js +6 -6
- package/lib/theme-chalk/alert.css +1 -1
- package/lib/theme-chalk/dialog.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/message.css +1 -1
- package/lib/theme-chalk/notification.css +1 -1
- package/package.json +1 -1
- package/packages/dialog/src/component.vue +44 -4
- package/packages/empty/src/index.vue +4 -1
- package/packages/message/src/main.js +1 -1
- package/packages/message/src/main.vue +6 -6
- package/packages/tabs/src/tabs.vue +196 -196
- package/packages/theme-chalk/src/alert.scss +21 -18
- package/packages/theme-chalk/src/common/var.scss +1 -34
- package/packages/theme-chalk/src/dialog.scss +16 -6
- package/packages/theme-chalk/src/message-box.scss +207 -207
- package/packages/theme-chalk/src/message.scss +28 -37
- package/packages/theme-chalk/src/tabs.scss +686 -686
- package/src/index.js +1 -1
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
@include b(alert) {
|
|
5
5
|
width: 100%;
|
|
6
|
-
padding:
|
|
6
|
+
padding: 11px 12px;
|
|
7
7
|
margin: 0;
|
|
8
8
|
box-sizing: border-box;
|
|
9
|
-
border-radius:
|
|
9
|
+
border-radius: 4px;
|
|
10
10
|
position: relative;
|
|
11
|
-
background-color:
|
|
11
|
+
background-color: #fff;
|
|
12
12
|
overflow: hidden;
|
|
13
13
|
opacity: 1;
|
|
14
14
|
display: flex;
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
|
|
27
27
|
@include when(dark) {
|
|
28
28
|
.el-alert__closebtn {
|
|
29
|
-
color:
|
|
29
|
+
color: #fff;
|
|
30
30
|
}
|
|
31
31
|
.el-alert__description {
|
|
32
|
-
color:
|
|
32
|
+
color: #fff;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
|
|
50
50
|
&.is-dark {
|
|
51
51
|
background-color: $--color-success-6;
|
|
52
|
-
color:
|
|
52
|
+
color: #fff;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
|
|
66
66
|
&.is-dark {
|
|
67
67
|
background-color: $--color-primary-6;
|
|
68
|
-
color:
|
|
68
|
+
color: #fff;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
|
|
82
82
|
&.is-dark {
|
|
83
83
|
background-color: $--color-warning-6;
|
|
84
|
-
color:
|
|
84
|
+
color: #fff;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
|
|
98
98
|
&.is-dark {
|
|
99
99
|
background-color: $--color-danger-6;
|
|
100
|
-
color:
|
|
100
|
+
color: #fff;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
|
|
@@ -107,30 +107,33 @@
|
|
|
107
107
|
|
|
108
108
|
@include e(icon) {
|
|
109
109
|
margin-right: 8px;
|
|
110
|
-
font-size:
|
|
111
|
-
width:
|
|
110
|
+
font-size: 16px;
|
|
111
|
+
width: 16px;
|
|
112
112
|
@include when(big) {
|
|
113
|
-
font-size:
|
|
114
|
-
width:
|
|
113
|
+
font-size: 16px;
|
|
114
|
+
width: 16px;
|
|
115
|
+
align-self: flex-start;
|
|
115
116
|
}
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
@include e(title) {
|
|
119
|
-
font-size:
|
|
120
|
+
font-size: 12px;
|
|
121
|
+
line-height: 16px;
|
|
122
|
+
display: block;
|
|
120
123
|
@include when(bold) {
|
|
121
124
|
font-weight: 500;
|
|
122
125
|
}
|
|
123
126
|
}
|
|
124
127
|
|
|
125
128
|
& .el-alert__description {
|
|
126
|
-
font-size:
|
|
127
|
-
margin:
|
|
129
|
+
font-size: 12px;
|
|
130
|
+
margin: 4px 0 0 0;
|
|
128
131
|
color: $--color-text-6;
|
|
129
132
|
font-weight: 400;
|
|
130
133
|
}
|
|
131
134
|
|
|
132
135
|
@include e(closebtn) {
|
|
133
|
-
font-size:
|
|
136
|
+
font-size: 14px;
|
|
134
137
|
opacity: 1;
|
|
135
138
|
position: absolute;
|
|
136
139
|
top: 12px;
|
|
@@ -139,7 +142,7 @@
|
|
|
139
142
|
|
|
140
143
|
@include when(customed) {
|
|
141
144
|
font-style: normal;
|
|
142
|
-
font-size:
|
|
145
|
+
font-size: 12px;
|
|
143
146
|
top: 11px;
|
|
144
147
|
}
|
|
145
148
|
}
|
|
@@ -280,44 +280,11 @@ $--select-dropdown-border: solid 0.5px $--color-line-2 !default;
|
|
|
280
280
|
|
|
281
281
|
/* Alert
|
|
282
282
|
-------------------------- */
|
|
283
|
-
$--alert-padding: 11px 12px !default;
|
|
284
|
-
$--alert-border-radius: 4px !default;
|
|
285
|
-
$--alert-title-font-size: 12px !default;
|
|
286
|
-
$--alert-description-font-size: 12px !default;
|
|
287
|
-
$--alert-close-font-size: 14px !default;
|
|
288
|
-
$--alert-close-customed-font-size: 12px !default;
|
|
289
|
-
|
|
290
|
-
$--alert-success-color: $--color-success-lighter !default;
|
|
291
|
-
$--alert-info-color: $--color-info-lighter !default;
|
|
292
|
-
$--alert-warning-color: $--color-warning-lighter !default;
|
|
293
|
-
$--alert-danger-color: $--color-danger-lighter !default;
|
|
294
|
-
|
|
295
|
-
$--alert-icon-size: 16px !default;
|
|
296
|
-
$--alert-icon-large-size: 28px !default;
|
|
297
283
|
|
|
298
284
|
/* MessageBox
|
|
299
285
|
|
|
300
286
|
/* Message
|
|
301
287
|
-------------------------- */
|
|
302
|
-
$--message-shadow: $--box-shadow-base !default;
|
|
303
|
-
$--message-min-width: 380px !default;
|
|
304
|
-
$--message-background-color: #edf2fc !default;
|
|
305
|
-
$--message-padding: 15px 15px 15px 20px !default;
|
|
306
|
-
/// color||Color|0
|
|
307
|
-
$--message-close-icon-color: $--color-text-placeholder !default;
|
|
308
|
-
/// height||Other|4
|
|
309
|
-
$--message-close-size: 16px !default;
|
|
310
|
-
/// color||Color|0
|
|
311
|
-
$--message-close-hover-color: $--color-text-secondary !default;
|
|
312
|
-
|
|
313
|
-
/// color||Color|0
|
|
314
|
-
$--message-success-font-color: $--color-success !default;
|
|
315
|
-
/// color||Color|0
|
|
316
|
-
$--message-info-font-color: $--color-info !default;
|
|
317
|
-
/// color||Color|0
|
|
318
|
-
$--message-warning-font-color: $--color-warning !default;
|
|
319
|
-
/// color||Color|0
|
|
320
|
-
$--message-danger-font-color: $--color-danger !default;
|
|
321
288
|
|
|
322
289
|
/* Notification
|
|
323
290
|
-------------------------- */
|
|
@@ -329,7 +296,7 @@ $--notification-shadow: $--box-shadow-light !default;
|
|
|
329
296
|
/// color||Color|0
|
|
330
297
|
$--notification-border-color: $--border-color-lighter !default;
|
|
331
298
|
$--notification-icon-size: 24px !default;
|
|
332
|
-
$--notification-close-font-size:
|
|
299
|
+
$--notification-close-font-size: 14px !default;
|
|
333
300
|
$--notification-group-margin-left: 13px !default;
|
|
334
301
|
$--notification-group-margin-right: 8px !default;
|
|
335
302
|
/// fontSize||Font|1
|
|
@@ -10,13 +10,22 @@
|
|
|
10
10
|
border-radius: 8px;
|
|
11
11
|
box-sizing: border-box;
|
|
12
12
|
width: 50%;
|
|
13
|
+
transform: translateY(-50%);
|
|
13
14
|
|
|
14
15
|
@include when(fullscreen) {
|
|
15
16
|
width: 100%;
|
|
16
|
-
|
|
17
|
+
top: 0;
|
|
17
18
|
margin-bottom: 0;
|
|
18
19
|
height: 100%;
|
|
19
20
|
overflow: auto;
|
|
21
|
+
transform: none;
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
.el-dialog__body {
|
|
26
|
+
flex: 1;
|
|
27
|
+
max-height: none;
|
|
28
|
+
}
|
|
20
29
|
}
|
|
21
30
|
|
|
22
31
|
@include e(wrapper) {
|
|
@@ -79,22 +88,23 @@
|
|
|
79
88
|
}
|
|
80
89
|
|
|
81
90
|
@include e(footer) {
|
|
82
|
-
padding: 16px 24px 20px
|
|
91
|
+
padding: 16px 24px 20px;
|
|
83
92
|
text-align: right;
|
|
84
93
|
box-sizing: border-box;
|
|
85
94
|
font-size: 0;
|
|
95
|
+
&.el-dialog__footer--shadow {
|
|
96
|
+
box-shadow: 0 0 12px 0 rgba(196, 198, 207, 0.21);
|
|
97
|
+
}
|
|
86
98
|
}
|
|
87
99
|
|
|
88
|
-
// 内容居中布局
|
|
89
100
|
@include m(center) {
|
|
90
|
-
text-align: center;
|
|
91
101
|
|
|
92
102
|
@include e(body) {
|
|
93
|
-
text-align:
|
|
103
|
+
text-align: left;
|
|
94
104
|
}
|
|
95
105
|
|
|
96
106
|
@include e(footer) {
|
|
97
|
-
text-align:
|
|
107
|
+
text-align: center;
|
|
98
108
|
}
|
|
99
109
|
}
|
|
100
110
|
}
|
|
@@ -1,207 +1,207 @@
|
|
|
1
|
-
@import "mixins/mixins";
|
|
2
|
-
@import "common/var";
|
|
3
|
-
@import "common/popup";
|
|
4
|
-
@import "button";
|
|
5
|
-
@import "input";
|
|
6
|
-
|
|
7
|
-
@include b(message-box) {
|
|
8
|
-
display: inline-block;
|
|
9
|
-
width: 480px;
|
|
10
|
-
background: #fff;
|
|
11
|
-
border-radius: 8px;
|
|
12
|
-
text-align: left;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
backface-visibility: hidden;
|
|
15
|
-
|
|
16
|
-
@include e(wrapper) {
|
|
17
|
-
position: fixed;
|
|
18
|
-
top: 0;
|
|
19
|
-
bottom: 0;
|
|
20
|
-
left: 0;
|
|
21
|
-
right: 0;
|
|
22
|
-
text-align: center;
|
|
23
|
-
|
|
24
|
-
&::after {
|
|
25
|
-
content: "";
|
|
26
|
-
display: inline-block;
|
|
27
|
-
height: 100%;
|
|
28
|
-
width: 0;
|
|
29
|
-
vertical-align: middle;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@include e(header) {
|
|
34
|
-
position: relative;
|
|
35
|
-
padding: 16px 24px;
|
|
36
|
-
border-bottom: 1px solid $--color-line-1;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@include e(title) {
|
|
40
|
-
padding-left: 0;
|
|
41
|
-
margin-bottom: 0;
|
|
42
|
-
font-size: 16px;
|
|
43
|
-
line-height: 1;
|
|
44
|
-
color: $--color-text-6;
|
|
45
|
-
span {
|
|
46
|
-
font-weight: 500;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@include e(headerbtn) {
|
|
51
|
-
position: absolute;
|
|
52
|
-
top: 50%;
|
|
53
|
-
right: 20px;
|
|
54
|
-
padding: 4px;
|
|
55
|
-
cursor: pointer;
|
|
56
|
-
font-size: 0;
|
|
57
|
-
margin-top: -12px;
|
|
58
|
-
transition: all ease .3s;
|
|
59
|
-
border-radius: 4px;
|
|
60
|
-
|
|
61
|
-
.el-message-box__close {
|
|
62
|
-
font-size: 16px;
|
|
63
|
-
color: $--color-fill-5;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&:focus, &:hover {
|
|
67
|
-
background: $--color-fill-1;
|
|
68
|
-
.el-message-box__close {
|
|
69
|
-
color: $--color-fill-6;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
@include e(content) {
|
|
76
|
-
padding: 16px 24px 0;
|
|
77
|
-
color: $--color-text-6;
|
|
78
|
-
font-size: 13px;
|
|
79
|
-
line-height: 20px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@include e(container) {
|
|
83
|
-
position: relative;
|
|
84
|
-
overflow: hidden;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
@include e(input) {
|
|
88
|
-
padding-top: 4px;
|
|
89
|
-
& input.invalid {
|
|
90
|
-
border-color: $--color-danger;
|
|
91
|
-
&:focus {
|
|
92
|
-
border-color: $--color-danger;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@include e(status) {
|
|
98
|
-
margin-right: 8px;
|
|
99
|
-
font-size: 24px !important;
|
|
100
|
-
float: left;
|
|
101
|
-
|
|
102
|
-
+ .el-message-box__message {
|
|
103
|
-
padding-top: 2px;
|
|
104
|
-
overflow: hidden;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&.iov-icon-fill-success {
|
|
108
|
-
color: $--color-success-6;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&.iov-icon-fill-explain {
|
|
112
|
-
color: $--color-primary-6;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&.iov-icon-fill-warning {
|
|
116
|
-
color: $--color-warning-6;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
&.iov-icon-fill-fail {
|
|
120
|
-
color: $--color-danger-6;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
@include e(message) {
|
|
125
|
-
margin: 0;
|
|
126
|
-
|
|
127
|
-
& p {
|
|
128
|
-
margin: 0;
|
|
129
|
-
line-height: 20px;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
@include e(errormsg) {
|
|
134
|
-
color: $--color-danger-6;
|
|
135
|
-
font-size: 12px;
|
|
136
|
-
min-height: 18px;
|
|
137
|
-
margin-top: 2px;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
@include e(btns) {
|
|
141
|
-
padding: 16px 24px 20px;
|
|
142
|
-
text-align: right;
|
|
143
|
-
|
|
144
|
-
& button:nth-child(2) {
|
|
145
|
-
margin-left: 10px;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
@include e(btns-reverse) {
|
|
150
|
-
flex-direction: row-reverse;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
// centerAlign 布局
|
|
154
|
-
@include m(title-icon) {
|
|
155
|
-
@include e(header) {
|
|
156
|
-
padding: 24px 24px 0;
|
|
157
|
-
border-bottom: 0 none;
|
|
158
|
-
}
|
|
159
|
-
@include e(title) {
|
|
160
|
-
display: flex;
|
|
161
|
-
align-items: center;
|
|
162
|
-
}
|
|
163
|
-
@include e(status) {
|
|
164
|
-
float: none;
|
|
165
|
-
}
|
|
166
|
-
@include e(content) {
|
|
167
|
-
padding-top: 8px;
|
|
168
|
-
color: $--color-text-3;
|
|
169
|
-
}
|
|
170
|
-
@include e(message) {
|
|
171
|
-
padding-left: 32px;
|
|
172
|
-
&.no-type {
|
|
173
|
-
padding-left: 0;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.msgbox-fade-enter-active {
|
|
180
|
-
animation: msgbox-fade-in .3s;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.msgbox-fade-leave-active {
|
|
184
|
-
animation: msgbox-fade-out .3s;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
@keyframes msgbox-fade-in {
|
|
188
|
-
0% {
|
|
189
|
-
transform: translate3d(0, -20px, 0);
|
|
190
|
-
opacity: 0;
|
|
191
|
-
}
|
|
192
|
-
100% {
|
|
193
|
-
transform: translate3d(0, 0, 0);
|
|
194
|
-
opacity: 1;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
@keyframes msgbox-fade-out {
|
|
199
|
-
0% {
|
|
200
|
-
transform: translate3d(0, 0, 0);
|
|
201
|
-
opacity: 1;
|
|
202
|
-
}
|
|
203
|
-
100% {
|
|
204
|
-
transform: translate3d(0, -20px, 0);
|
|
205
|
-
opacity: 0;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
1
|
+
@import "mixins/mixins";
|
|
2
|
+
@import "common/var";
|
|
3
|
+
@import "common/popup";
|
|
4
|
+
@import "button";
|
|
5
|
+
@import "input";
|
|
6
|
+
|
|
7
|
+
@include b(message-box) {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
width: 480px;
|
|
10
|
+
background: #fff;
|
|
11
|
+
border-radius: 8px;
|
|
12
|
+
text-align: left;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
backface-visibility: hidden;
|
|
15
|
+
|
|
16
|
+
@include e(wrapper) {
|
|
17
|
+
position: fixed;
|
|
18
|
+
top: 0;
|
|
19
|
+
bottom: 0;
|
|
20
|
+
left: 0;
|
|
21
|
+
right: 0;
|
|
22
|
+
text-align: center;
|
|
23
|
+
|
|
24
|
+
&::after {
|
|
25
|
+
content: "";
|
|
26
|
+
display: inline-block;
|
|
27
|
+
height: 100%;
|
|
28
|
+
width: 0;
|
|
29
|
+
vertical-align: middle;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@include e(header) {
|
|
34
|
+
position: relative;
|
|
35
|
+
padding: 16px 24px;
|
|
36
|
+
border-bottom: 1px solid $--color-line-1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@include e(title) {
|
|
40
|
+
padding-left: 0;
|
|
41
|
+
margin-bottom: 0;
|
|
42
|
+
font-size: 16px;
|
|
43
|
+
line-height: 1;
|
|
44
|
+
color: $--color-text-6;
|
|
45
|
+
span {
|
|
46
|
+
font-weight: 500;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@include e(headerbtn) {
|
|
51
|
+
position: absolute;
|
|
52
|
+
top: 50%;
|
|
53
|
+
right: 20px;
|
|
54
|
+
padding: 4px;
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
font-size: 0;
|
|
57
|
+
margin-top: -12px;
|
|
58
|
+
transition: all ease .3s;
|
|
59
|
+
border-radius: 4px;
|
|
60
|
+
|
|
61
|
+
.el-message-box__close {
|
|
62
|
+
font-size: 16px;
|
|
63
|
+
color: $--color-fill-5;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&:focus, &:hover {
|
|
67
|
+
background: $--color-fill-1;
|
|
68
|
+
.el-message-box__close {
|
|
69
|
+
color: $--color-fill-6;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@include e(content) {
|
|
76
|
+
padding: 16px 24px 0;
|
|
77
|
+
color: $--color-text-6;
|
|
78
|
+
font-size: 13px;
|
|
79
|
+
line-height: 20px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@include e(container) {
|
|
83
|
+
position: relative;
|
|
84
|
+
overflow: hidden;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@include e(input) {
|
|
88
|
+
padding-top: 4px;
|
|
89
|
+
& input.invalid {
|
|
90
|
+
border-color: $--color-danger;
|
|
91
|
+
&:focus {
|
|
92
|
+
border-color: $--color-danger;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@include e(status) {
|
|
98
|
+
margin-right: 8px;
|
|
99
|
+
font-size: 24px !important;
|
|
100
|
+
float: left;
|
|
101
|
+
|
|
102
|
+
+ .el-message-box__message {
|
|
103
|
+
padding-top: 2px;
|
|
104
|
+
overflow: hidden;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&.iov-icon-fill-success {
|
|
108
|
+
color: $--color-success-6;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&.iov-icon-fill-explain {
|
|
112
|
+
color: $--color-primary-6;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&.iov-icon-fill-warning {
|
|
116
|
+
color: $--color-warning-6;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&.iov-icon-fill-fail {
|
|
120
|
+
color: $--color-danger-6;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@include e(message) {
|
|
125
|
+
margin: 0;
|
|
126
|
+
|
|
127
|
+
& p {
|
|
128
|
+
margin: 0;
|
|
129
|
+
line-height: 20px;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@include e(errormsg) {
|
|
134
|
+
color: $--color-danger-6;
|
|
135
|
+
font-size: 12px;
|
|
136
|
+
min-height: 18px;
|
|
137
|
+
margin-top: 2px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@include e(btns) {
|
|
141
|
+
padding: 16px 24px 20px;
|
|
142
|
+
text-align: right;
|
|
143
|
+
|
|
144
|
+
& button:nth-child(2) {
|
|
145
|
+
margin-left: 10px;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
@include e(btns-reverse) {
|
|
150
|
+
flex-direction: row-reverse;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// centerAlign 布局
|
|
154
|
+
@include m(title-icon) {
|
|
155
|
+
@include e(header) {
|
|
156
|
+
padding: 24px 24px 0;
|
|
157
|
+
border-bottom: 0 none;
|
|
158
|
+
}
|
|
159
|
+
@include e(title) {
|
|
160
|
+
display: flex;
|
|
161
|
+
align-items: center;
|
|
162
|
+
}
|
|
163
|
+
@include e(status) {
|
|
164
|
+
float: none;
|
|
165
|
+
}
|
|
166
|
+
@include e(content) {
|
|
167
|
+
padding-top: 8px;
|
|
168
|
+
color: $--color-text-3;
|
|
169
|
+
}
|
|
170
|
+
@include e(message) {
|
|
171
|
+
padding-left: 32px;
|
|
172
|
+
&.no-type {
|
|
173
|
+
padding-left: 0;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.msgbox-fade-enter-active {
|
|
180
|
+
animation: msgbox-fade-in .3s;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.msgbox-fade-leave-active {
|
|
184
|
+
animation: msgbox-fade-out .3s;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
@keyframes msgbox-fade-in {
|
|
188
|
+
0% {
|
|
189
|
+
transform: translate3d(0, -20px, 0);
|
|
190
|
+
opacity: 0;
|
|
191
|
+
}
|
|
192
|
+
100% {
|
|
193
|
+
transform: translate3d(0, 0, 0);
|
|
194
|
+
opacity: 1;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
@keyframes msgbox-fade-out {
|
|
199
|
+
0% {
|
|
200
|
+
transform: translate3d(0, 0, 0);
|
|
201
|
+
opacity: 1;
|
|
202
|
+
}
|
|
203
|
+
100% {
|
|
204
|
+
transform: translate3d(0, -20px, 0);
|
|
205
|
+
opacity: 0;
|
|
206
|
+
}
|
|
207
|
+
}
|