@mdsfe/mds-ui 0.4.0-rc.1 → 0.4.0-rc.3
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/dist/affix.js +10 -10
- package/dist/alert.js +6 -6
- package/dist/anchor.js +6 -6
- package/dist/avatar.js +6 -6
- package/dist/backtop.js +11 -11
- package/dist/badge.js +18 -18
- package/dist/bordershadow.js +6 -6
- package/dist/breadcrumb.js +6 -6
- package/dist/button.js +11 -18
- package/dist/card.js +6 -6
- package/dist/carousel.js +8 -8
- package/dist/cascader.js +21 -21
- package/dist/cascaderpanel.js +15 -15
- package/dist/checkbox.js +4 -4
- package/dist/col.js +8 -8
- package/dist/collapse.js +6 -6
- package/dist/color.js +6 -6
- package/dist/datepicker.js +22 -22
- package/dist/divider.js +6 -6
- package/dist/drawer.js +9 -9
- package/dist/dropdown.js +13 -35
- package/dist/empty.js +6 -6
- package/dist/font.js +6 -6
- package/dist/form.js +10 -10
- package/dist/icon.js +6 -6
- package/dist/index.js +7 -7
- package/dist/input.js +10 -10
- package/dist/inputnumber.js +6 -6
- package/dist/layout.js +6 -6
- package/dist/list.js +6 -6
- package/dist/loading.js +6 -6
- package/dist/mds-ui.min.css +1 -1
- package/dist/mds-ui.min.js +15 -14
- package/dist/menu.js +17 -17
- package/dist/message.js +4 -4
- package/dist/modal.js +11 -11
- package/dist/notification.js +11 -11
- package/dist/pagination.js +11 -11
- package/dist/popconfirm.js +18 -64
- package/dist/popover.js +11 -18
- package/dist/progress.js +6 -6
- package/dist/radio.js +6 -6
- package/dist/rate.js +10 -10
- package/dist/row.js +8 -8
- package/dist/select.js +20 -20
- package/dist/slider.js +25 -25
- package/dist/slottable.js +18 -18
- package/dist/steps.js +6 -6
- package/dist/style/affix.css +1 -10
- package/dist/style/alert.css +1 -138
- package/dist/style/anchor.css +1 -58
- package/dist/style/avatar.css +1 -73
- package/dist/style/backtop.css +1 -34
- package/dist/style/badge.css +1 -141
- package/dist/style/bordershadow.css +1 -42
- package/dist/style/breadcrumb.css +1 -37
- package/dist/style/button.css +1 -2172
- package/dist/style/card.css +1 -156
- package/dist/style/carousel.css +1 -217
- package/dist/style/cascader.css +1 -214
- package/dist/style/cascaderpanel.css +1 -122
- package/dist/style/checkbox.css +1 -186
- package/dist/style/col.css +1 -2607
- package/dist/style/collapse.css +1 -79
- package/dist/style/color.css +1 -622
- package/dist/style/datepicker.css +1 -542
- package/dist/style/divider.css +1 -47
- package/dist/style/drawer.css +1 -2465
- package/dist/style/dropdown.css +1 -2443
- package/dist/style/empty.css +1 -49
- package/dist/style/font.css +1 -45
- package/dist/style/form.css +1 -148
- package/dist/style/icon.css +1 -25
- package/dist/style/index.css +1 -1
- package/dist/style/input.css +1 -760
- package/dist/style/inputnumber.css +1 -314
- package/dist/style/layout.css +1 -58
- package/dist/style/list.css +1 -141
- package/dist/style/loading.css +1 -2329
- package/dist/style/menu.css +1 -658
- package/dist/style/message.css +1 -191
- package/dist/style/modal.css +1 -123
- package/dist/style/notification.css +1 -192
- package/dist/style/pagination.css +1 -1190
- package/dist/style/popconfirm.css +1 -2369
- package/dist/style/popover.css +1 -138
- package/dist/style/progress.css +1 -179
- package/dist/style/radio.css +1 -255
- package/dist/style/rate.css +1 -81
- package/dist/style/row.css +1 -2607
- package/dist/style/select.css +1 -221
- package/dist/style/slider.css +1 -80
- package/dist/style/slottable.css +1 -296
- package/dist/style/steps.css +1 -586
- package/dist/style/switch.css +1 -110
- package/dist/style/table.css +1 -2778
- package/dist/style/tabs.css +1 -518
- package/dist/style/tag.css +1 -421
- package/dist/style/text.css +1 -122
- package/dist/style/timeline.css +1 -88
- package/dist/style/timepicker.css +1 -393
- package/dist/style/tooltip.css +1 -161
- package/dist/style/transfer.css +1 -206
- package/dist/style/transition.css +1 -1413
- package/dist/style/tree.css +1 -84
- package/dist/style/typography.css +1 -126
- package/dist/style/upload.css +1 -320
- package/dist/switch.js +6 -6
- package/dist/table.js +66 -80
- package/dist/tabs.js +6 -6
- package/dist/tag.js +6 -6
- package/dist/text.js +828 -828
- package/dist/timeline.js +6 -6
- package/dist/timepicker.js +18 -18
- package/dist/tooltip.js +8 -8
- package/dist/transfer.js +75 -75
- package/dist/transition.js +4 -4
- package/dist/tree.js +6 -6
- package/dist/typography.js +6 -6
- package/dist/upload.js +10 -10
- package/package.json +1 -1
package/dist/style/message.css
CHANGED
|
@@ -1,191 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/* stylelint-disable declaration-bang-space-before */
|
|
3
|
-
/* stylelint-disable declaration-bang-space-before */
|
|
4
|
-
.mds-message {
|
|
5
|
-
font-size: 12px;
|
|
6
|
-
position: fixed;
|
|
7
|
-
width: 100%;
|
|
8
|
-
top: 16px;
|
|
9
|
-
left: 0;
|
|
10
|
-
pointer-events: none;
|
|
11
|
-
font-size: 14px;
|
|
12
|
-
font-family: PingFangSC-Regular, PingFang SC;
|
|
13
|
-
font-weight: 400;
|
|
14
|
-
color: #354052;
|
|
15
|
-
}
|
|
16
|
-
.mds-message-notice {
|
|
17
|
-
padding: 8px;
|
|
18
|
-
text-align: center;
|
|
19
|
-
}
|
|
20
|
-
.mds-message-notice:first-child {
|
|
21
|
-
margin-top: -8px;
|
|
22
|
-
}
|
|
23
|
-
.mds-message-notice-content {
|
|
24
|
-
word-break: break-all;
|
|
25
|
-
border-radius: 4px;
|
|
26
|
-
background: #fff;
|
|
27
|
-
display: inline-block;
|
|
28
|
-
pointer-events: all;
|
|
29
|
-
text-align: left;
|
|
30
|
-
position: relative;
|
|
31
|
-
}
|
|
32
|
-
.mds-message-close {
|
|
33
|
-
position: absolute;
|
|
34
|
-
right: 20px;
|
|
35
|
-
top: 50%;
|
|
36
|
-
transform: translateY(-53%);
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
}
|
|
39
|
-
.mds-message-link {
|
|
40
|
-
position: absolute;
|
|
41
|
-
right: 20px;
|
|
42
|
-
top: 50%;
|
|
43
|
-
transform: translateY(-53%);
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
color: #666666;
|
|
46
|
-
}
|
|
47
|
-
.mds-message-notice-content .mds-message-success,
|
|
48
|
-
.mds-message-error,
|
|
49
|
-
.mds-message-warning,
|
|
50
|
-
.mds-message-info,
|
|
51
|
-
.mds-message-loading,
|
|
52
|
-
.mds-message-help {
|
|
53
|
-
max-width: 684px;
|
|
54
|
-
border-radius: 4px;
|
|
55
|
-
font-weight: 400;
|
|
56
|
-
font-family: PingFangSC-Regular;
|
|
57
|
-
padding: 13px 37px 13px 24px;
|
|
58
|
-
}
|
|
59
|
-
.mds-message-notice-content .mds-message-success-size,
|
|
60
|
-
.mds-message-error-size,
|
|
61
|
-
.mds-message-warning-size,
|
|
62
|
-
.mds-message-info-size,
|
|
63
|
-
.mds-message-loading-size,
|
|
64
|
-
.mds-message-help-size {
|
|
65
|
-
padding: 24px 30px 32px 24px;
|
|
66
|
-
}
|
|
67
|
-
.mds-message-notice-content .mds-message-success-size-content,
|
|
68
|
-
.mds-message-error-size-content,
|
|
69
|
-
.mds-message-warning-size-content,
|
|
70
|
-
.mds-message-info-size-content,
|
|
71
|
-
.mds-message-loading-size-content,
|
|
72
|
-
.mds-message-help-size-content {
|
|
73
|
-
padding-left: 30px;
|
|
74
|
-
font-size: 14px;
|
|
75
|
-
color: #666666;
|
|
76
|
-
margin-top: 9px;
|
|
77
|
-
}
|
|
78
|
-
.mds-message-notice-content .mds-message-success-size-title,
|
|
79
|
-
.mds-message-error-size-title,
|
|
80
|
-
.mds-message-warning-size-title,
|
|
81
|
-
.mds-message-info-size-title,
|
|
82
|
-
.mds-message-loading-size-title,
|
|
83
|
-
.mds-message-help-size-title {
|
|
84
|
-
font-size: 18px;
|
|
85
|
-
font-family: PingFangSC-Regular, PingFangSC;
|
|
86
|
-
font-weight: 400;
|
|
87
|
-
}
|
|
88
|
-
.mds-message-notice-content .mds-message-success-size-icon,
|
|
89
|
-
.mds-message-error-size-icon,
|
|
90
|
-
.mds-message-warning-size-icon,
|
|
91
|
-
.mds-message-info-size-icon,
|
|
92
|
-
.mds-message-loading-size-icon,
|
|
93
|
-
.mds-message-help-size-icon {
|
|
94
|
-
font-size: 22px !important;
|
|
95
|
-
vertical-align: baseline;
|
|
96
|
-
margin-right: 5px;
|
|
97
|
-
}
|
|
98
|
-
.mds-message-notice-content .mds-message-success-size ~ .mds-message-close,
|
|
99
|
-
.mds-message-error-size ~ .mds-message-close,
|
|
100
|
-
.mds-message-warning-size ~ .mds-message-close,
|
|
101
|
-
.mds-message-info-size ~ .mds-message-close,
|
|
102
|
-
.mds-message-loading-size ~ .mds-message-close,
|
|
103
|
-
.mds-message-help-size ~ .mds-message-close {
|
|
104
|
-
top: 40px;
|
|
105
|
-
}
|
|
106
|
-
.mds-message-info-size-title,
|
|
107
|
-
.mds-message-loading-size-title,
|
|
108
|
-
.mds-message-help-size-title {
|
|
109
|
-
color: #0364FF;
|
|
110
|
-
}
|
|
111
|
-
.link .mds-message-success,
|
|
112
|
-
.link .mds-message-error,
|
|
113
|
-
.link .mds-message-warning,
|
|
114
|
-
.link .mds-message-info,
|
|
115
|
-
.link .mds-message-loading,
|
|
116
|
-
.link .mds-message-help {
|
|
117
|
-
padding: 13px 77px 13px 24px;
|
|
118
|
-
}
|
|
119
|
-
.mds-message-notice-content .mds-message-info,
|
|
120
|
-
.mds-message-loading,
|
|
121
|
-
.mds-message-help {
|
|
122
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
123
|
-
}
|
|
124
|
-
.mds-message-success {
|
|
125
|
-
background: rgba(0, 170, 0, 0.05);
|
|
126
|
-
color: #004400;
|
|
127
|
-
border: 1px solid #00aa00;
|
|
128
|
-
}
|
|
129
|
-
.mds-message-success-link {
|
|
130
|
-
color: #004400;
|
|
131
|
-
}
|
|
132
|
-
.mds-message-error {
|
|
133
|
-
background: rgba(238, 51, 51, 0.05);
|
|
134
|
-
color: #8A3934;
|
|
135
|
-
border: 1px solid #ee3333;
|
|
136
|
-
}
|
|
137
|
-
.mds-message-error-link {
|
|
138
|
-
color: #8A3934;
|
|
139
|
-
}
|
|
140
|
-
.mds-message-warning {
|
|
141
|
-
background: rgba(255, 204, 1, 0.05);
|
|
142
|
-
color: #685401;
|
|
143
|
-
border: 1px solid #ffcc01;
|
|
144
|
-
}
|
|
145
|
-
.mds-message-warning-link {
|
|
146
|
-
color: #685401;
|
|
147
|
-
}
|
|
148
|
-
.mds-message-help {
|
|
149
|
-
color: #0364FF;
|
|
150
|
-
}
|
|
151
|
-
.mds-message-help-link {
|
|
152
|
-
color: #685401;
|
|
153
|
-
}
|
|
154
|
-
.mds-message-success .mdsicon {
|
|
155
|
-
color: #00a854;
|
|
156
|
-
}
|
|
157
|
-
.mds-message-error .mdsicon {
|
|
158
|
-
color: #EE3333;
|
|
159
|
-
}
|
|
160
|
-
.mds-message-warning .mdsicon {
|
|
161
|
-
color: #ffbf00;
|
|
162
|
-
}
|
|
163
|
-
.mds-message-info .mdsicon,
|
|
164
|
-
.mds-message-loading .mdsicon {
|
|
165
|
-
color: #0364ff;
|
|
166
|
-
}
|
|
167
|
-
.mds-message .mdsicon {
|
|
168
|
-
font-size: 14px;
|
|
169
|
-
top: 1px;
|
|
170
|
-
position: relative;
|
|
171
|
-
}
|
|
172
|
-
.mds-message span {
|
|
173
|
-
vertical-align: baseline;
|
|
174
|
-
}
|
|
175
|
-
.mds-message-notice.move-up-leave.move-up-leave-active {
|
|
176
|
-
animation-name: MessageMoveOut;
|
|
177
|
-
overflow: hidden;
|
|
178
|
-
animation-duration: .3s;
|
|
179
|
-
}
|
|
180
|
-
@keyframes MessageMoveOut {
|
|
181
|
-
0% {
|
|
182
|
-
opacity: 1;
|
|
183
|
-
max-height: 150px;
|
|
184
|
-
padding: 8px;
|
|
185
|
-
}
|
|
186
|
-
100% {
|
|
187
|
-
opacity: 0;
|
|
188
|
-
max-height: 0;
|
|
189
|
-
padding: 0;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
1
|
+
.mds-message{font-size:12px;position:fixed;width:100%;top:16px;left:0;pointer-events:none;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#354052}.mds-message-notice{padding:8px;text-align:center}.mds-message-notice:first-child{margin-top:-8px}.mds-message-notice-content{word-break:break-all;border-radius:4px;background:#fff;display:inline-block;pointer-events:all;text-align:left;position:relative}.mds-message-close,.mds-message-link{position:absolute;right:20px;top:50%;transform:translateY(-53%);cursor:pointer}.mds-message-link{color:#666}.mds-message-error,.mds-message-help,.mds-message-info,.mds-message-loading,.mds-message-notice-content .mds-message-success,.mds-message-warning{max-width:684px;border-radius:4px;font-weight:400;font-family:PingFangSC-Regular;padding:13px 37px 13px 24px}.mds-message-error-size,.mds-message-help-size,.mds-message-info-size,.mds-message-loading-size,.mds-message-notice-content .mds-message-success-size,.mds-message-warning-size{padding:24px 30px 32px 24px}.mds-message-error-size-content,.mds-message-help-size-content,.mds-message-info-size-content,.mds-message-loading-size-content,.mds-message-notice-content .mds-message-success-size-content,.mds-message-warning-size-content{padding-left:30px;font-size:14px;color:#666;margin-top:9px}.mds-message-error-size-title,.mds-message-help-size-title,.mds-message-info-size-title,.mds-message-loading-size-title,.mds-message-notice-content .mds-message-success-size-title,.mds-message-warning-size-title{font-size:18px;font-family:PingFangSC-Regular,PingFangSC;font-weight:400}.mds-message-error-size-icon,.mds-message-help-size-icon,.mds-message-info-size-icon,.mds-message-loading-size-icon,.mds-message-notice-content .mds-message-success-size-icon,.mds-message-warning-size-icon{font-size:22px!important;vertical-align:baseline;margin-right:5px}.mds-message-error-size~.mds-message-close,.mds-message-help-size~.mds-message-close,.mds-message-info-size~.mds-message-close,.mds-message-loading-size~.mds-message-close,.mds-message-notice-content .mds-message-success-size~.mds-message-close,.mds-message-warning-size~.mds-message-close{top:40px}.mds-message-help-size-title,.mds-message-info-size-title,.mds-message-loading-size-title{color:#0364ff}.link .mds-message-error,.link .mds-message-help,.link .mds-message-info,.link .mds-message-loading,.link .mds-message-success,.link .mds-message-warning{padding:13px 77px 13px 24px}.mds-message-help,.mds-message-loading,.mds-message-notice-content .mds-message-info{box-shadow:0 2px 8px rgba(0,0,0,.2)}.mds-message-success{background:rgba(0,170,0,.05);color:#040;border:1px solid #0a0}.mds-message-success-link{color:#040}.mds-message-error{background:rgba(238,51,51,.05);color:#8a3934;border:1px solid #e33}.mds-message-error-link{color:#8a3934}.mds-message-warning{background:rgba(255,204,1,.05);color:#685401;border:1px solid #ffcc01}.mds-message-warning-link{color:#685401}.mds-message-help{color:#0364ff}.mds-message-help-link{color:#685401}.mds-message-success .mdsicon{color:#00a854}.mds-message-error .mdsicon{color:#e33}.mds-message-warning .mdsicon{color:#ffbf00}.mds-message-info .mdsicon,.mds-message-loading .mdsicon{color:#0364ff}.mds-message .mdsicon{font-size:14px;top:1px;position:relative}.mds-message span{vertical-align:baseline}.mds-message-notice.move-up-leave.move-up-leave-active{animation-name:MessageMoveOut;overflow:hidden;animation-duration:.3s}@keyframes MessageMoveOut{0%{opacity:1;max-height:150px;padding:8px}to{opacity:0;max-height:0;padding:0}}
|
package/dist/style/modal.css
CHANGED
|
@@ -1,123 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/* stylelint-disable declaration-bang-space-before */
|
|
3
|
-
/* stylelint-disable declaration-bang-space-before */
|
|
4
|
-
.mds-modal-container {
|
|
5
|
-
position: fixed;
|
|
6
|
-
top: 0;
|
|
7
|
-
right: 0;
|
|
8
|
-
bottom: 0;
|
|
9
|
-
left: 0;
|
|
10
|
-
}
|
|
11
|
-
.mds-modal-container .mds-modal {
|
|
12
|
-
-webkit-box-sizing: border-box;
|
|
13
|
-
box-sizing: initial;
|
|
14
|
-
margin: 0;
|
|
15
|
-
padding: 24px;
|
|
16
|
-
color: rgba(0, 0, 0, 0.65);
|
|
17
|
-
font-size: 14px;
|
|
18
|
-
font-variant: tabular-nums;
|
|
19
|
-
line-height: 1.5;
|
|
20
|
-
list-style: none;
|
|
21
|
-
-webkit-font-feature-settings: 'tnum';
|
|
22
|
-
font-feature-settings: 'tnum';
|
|
23
|
-
position: relative;
|
|
24
|
-
top: 100px;
|
|
25
|
-
min-width: 400px;
|
|
26
|
-
margin: 0 auto;
|
|
27
|
-
padding-bottom: 24px;
|
|
28
|
-
}
|
|
29
|
-
.mds-modal-container .mds-modal-mask {
|
|
30
|
-
height: 100%;
|
|
31
|
-
background-color: rgba(0, 0, 0, 0.65);
|
|
32
|
-
}
|
|
33
|
-
.mds-modal-container .mds-modal-wrap {
|
|
34
|
-
position: fixed;
|
|
35
|
-
top: 0;
|
|
36
|
-
right: 0;
|
|
37
|
-
bottom: 0;
|
|
38
|
-
left: 0;
|
|
39
|
-
overflow: auto;
|
|
40
|
-
outline: 0;
|
|
41
|
-
overflow-scrolling: touch;
|
|
42
|
-
}
|
|
43
|
-
.mds-modal-container .mds-modal-content {
|
|
44
|
-
overflow: hidden;
|
|
45
|
-
background-color: #fff;
|
|
46
|
-
position: relative;
|
|
47
|
-
background-clip: padding-box;
|
|
48
|
-
border: 0;
|
|
49
|
-
border-radius: 4px;
|
|
50
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
51
|
-
}
|
|
52
|
-
.mds-modal-container .mds-modal-close {
|
|
53
|
-
position: absolute;
|
|
54
|
-
width: 56px;
|
|
55
|
-
height: 56px;
|
|
56
|
-
top: 0;
|
|
57
|
-
right: 0;
|
|
58
|
-
z-index: 10;
|
|
59
|
-
text-align: center;
|
|
60
|
-
padding: 0;
|
|
61
|
-
font-size: 12px;
|
|
62
|
-
color: rgba(0, 0, 0, 0.45);
|
|
63
|
-
font-weight: 700;
|
|
64
|
-
line-height: 56px;
|
|
65
|
-
text-decoration: none;
|
|
66
|
-
background: transparent;
|
|
67
|
-
border: 0;
|
|
68
|
-
outline: 0;
|
|
69
|
-
cursor: pointer;
|
|
70
|
-
transition: color .3s;
|
|
71
|
-
}
|
|
72
|
-
.mds-modal-container .mds-modal-header {
|
|
73
|
-
padding: 24px 24px 15px 24px;
|
|
74
|
-
color: rgba(0, 0, 0, 0.65);
|
|
75
|
-
background: #fff;
|
|
76
|
-
border-radius: 4px 4px 0 0;
|
|
77
|
-
}
|
|
78
|
-
.mds-modal-container .mds-modal-bottom {
|
|
79
|
-
border-bottom: 1px solid #F0F2F5;
|
|
80
|
-
}
|
|
81
|
-
.mds-modal-container .mds-modal-icon {
|
|
82
|
-
margin-bottom: 16px;
|
|
83
|
-
text-align: center;
|
|
84
|
-
}
|
|
85
|
-
.mds-modal-container .mds-modal-icon i {
|
|
86
|
-
font-size: 48px;
|
|
87
|
-
}
|
|
88
|
-
.mds-modal-container .mds-modal-title {
|
|
89
|
-
margin: 0;
|
|
90
|
-
color: #333;
|
|
91
|
-
font-weight: 500;
|
|
92
|
-
font-size: 18px;
|
|
93
|
-
line-height: 22px;
|
|
94
|
-
}
|
|
95
|
-
.mds-modal-container .mds-modal-title.center {
|
|
96
|
-
text-align: center;
|
|
97
|
-
}
|
|
98
|
-
.mds-modal-container .mds-modal-body {
|
|
99
|
-
padding: 16px 24px 6px 24px;
|
|
100
|
-
font-size: 14px;
|
|
101
|
-
line-height: 1.5;
|
|
102
|
-
word-wrap: break-word;
|
|
103
|
-
min-height: 56px;
|
|
104
|
-
}
|
|
105
|
-
.mds-modal-container .mds-modal-footer {
|
|
106
|
-
padding: 16px 24px 16px 24px;
|
|
107
|
-
text-align: right;
|
|
108
|
-
border-radius: 0 0 4px 4px;
|
|
109
|
-
}
|
|
110
|
-
.mds-modal-container .mds-modal-footer-default {
|
|
111
|
-
display: flex;
|
|
112
|
-
}
|
|
113
|
-
.mds-modal-container .mds-modal-footer-default button {
|
|
114
|
-
flex: 1;
|
|
115
|
-
font-size: 14px;
|
|
116
|
-
height: 36px;
|
|
117
|
-
}
|
|
118
|
-
.mds-modal-container .mds-modal-button {
|
|
119
|
-
margin-right: 16px;
|
|
120
|
-
}
|
|
121
|
-
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
122
|
-
/* stylelint-disable declaration-bang-space-before */
|
|
123
|
-
/* stylelint-disable declaration-bang-space-before */
|
|
1
|
+
.mds-modal-container{position:fixed;top:0;right:0;bottom:0;left:0}.mds-modal-container .mds-modal{-webkit-box-sizing:border-box;box-sizing:initial;margin:0;padding:24px;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;top:100px;min-width:400px;margin:0 auto;padding-bottom:24px}.mds-modal-container .mds-modal-mask{height:100%;background-color:rgba(0,0,0,.65)}.mds-modal-container .mds-modal-wrap{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;outline:0;overflow-scrolling:touch}.mds-modal-container .mds-modal-content{overflow:hidden;background-color:#fff;position:relative;background-clip:padding-box;border:0;border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,.15)}.mds-modal-container .mds-modal-close{position:absolute;width:56px;height:56px;top:0;right:0;z-index:10;text-align:center;padding:0;font-size:12px;color:rgba(0,0,0,.45);font-weight:700;line-height:56px;text-decoration:none;background:transparent;border:0;outline:0;cursor:pointer;transition:color .3s}.mds-modal-container .mds-modal-header{padding:24px 24px 15px;color:rgba(0,0,0,.65);background:#fff;border-radius:4px 4px 0 0}.mds-modal-container .mds-modal-bottom{border-bottom:1px solid #f0f2f5}.mds-modal-container .mds-modal-icon{margin-bottom:16px;text-align:center}.mds-modal-container .mds-modal-icon i{font-size:48px}.mds-modal-container .mds-modal-title{margin:0;color:#333;font-weight:500;font-size:18px;line-height:22px}.mds-modal-container .mds-modal-title.center{text-align:center}.mds-modal-container .mds-modal-body{padding:16px 24px 6px;font-size:14px;line-height:1.5;word-wrap:break-word;min-height:56px}.mds-modal-container .mds-modal-footer{padding:16px 24px;text-align:right;border-radius:0 0 4px 4px}.mds-modal-container .mds-modal-footer-default{display:flex}.mds-modal-container .mds-modal-footer-default button{flex:1;font-size:14px;height:36px}.mds-modal-container .mds-modal-button{margin-right:16px}
|
|
@@ -1,192 +1 @@
|
|
|
1
|
-
.mds-notification-topLeft[data-v-d94bfa66] {
|
|
2
|
-
top: 24px;
|
|
3
|
-
left: 0;
|
|
4
|
-
}
|
|
5
|
-
.mds-notification-topRight[data-v-d94bfa66] {
|
|
6
|
-
top: 24px;
|
|
7
|
-
right: 0;
|
|
8
|
-
}
|
|
9
|
-
.mds-notification-bottomLeft[data-v-d94bfa66] {
|
|
10
|
-
bottom: 24px;
|
|
11
|
-
left: 0;
|
|
12
|
-
}
|
|
13
|
-
.mds-notification-bottomRight[data-v-d94bfa66] {
|
|
14
|
-
bottom: 24px;
|
|
15
|
-
right: 0;
|
|
16
|
-
}
|
|
17
|
-
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
18
|
-
/* stylelint-disable declaration-bang-space-before */
|
|
19
|
-
/* stylelint-disable declaration-bang-space-before */
|
|
20
|
-
.mds-notification {
|
|
21
|
-
position: fixed;
|
|
22
|
-
z-index: 1010;
|
|
23
|
-
width: 400px;
|
|
24
|
-
margin-right: 24px;
|
|
25
|
-
}
|
|
26
|
-
.mds-notification-topLeft,
|
|
27
|
-
.mds-notification-bottomLeft {
|
|
28
|
-
margin-left: 24px;
|
|
29
|
-
margin-right: 0;
|
|
30
|
-
}
|
|
31
|
-
.mds-notification-topLeft .mds-notification-fade-enter.mds-notification-fade-enter-active,
|
|
32
|
-
.mds-notification-bottomLeft .mds-notification-fade-enter.mds-notification-fade-enter-active,
|
|
33
|
-
.mds-notification-topLeft .mds-notification-fade-appear.mds-notification-fade-appear-active,
|
|
34
|
-
.mds-notification-bottomLeft .mds-notification-fade-appear.mds-notification-fade-appear-active {
|
|
35
|
-
animation-name: NotificationLeftFadeIn;
|
|
36
|
-
}
|
|
37
|
-
.mds-notification-notice {
|
|
38
|
-
padding: 24px;
|
|
39
|
-
border-radius: 4px;
|
|
40
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
41
|
-
background: #fff;
|
|
42
|
-
margin-bottom: 10px;
|
|
43
|
-
line-height: 1.5;
|
|
44
|
-
position: relative;
|
|
45
|
-
overflow: hidden;
|
|
46
|
-
box-shadow: 0px 0px 12px 0px #d8dce6;
|
|
47
|
-
}
|
|
48
|
-
.mds-notification-notice-close-btn {
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
position: absolute;
|
|
51
|
-
right: 20px;
|
|
52
|
-
top: 20px;
|
|
53
|
-
}
|
|
54
|
-
.mds-notification-notice-title {
|
|
55
|
-
color: #333333;
|
|
56
|
-
display: inline-block;
|
|
57
|
-
font-weight: 500;
|
|
58
|
-
font-size: 18px;
|
|
59
|
-
padding: 0 20px 0 0;
|
|
60
|
-
margin-bottom: 4px;
|
|
61
|
-
overflow: hidden;
|
|
62
|
-
text-overflow: ellipsis;
|
|
63
|
-
white-space: nowrap;
|
|
64
|
-
width: 100%;
|
|
65
|
-
}
|
|
66
|
-
.mds-notification-notice-desc {
|
|
67
|
-
font-size: 14px;
|
|
68
|
-
}
|
|
69
|
-
.mds-notification-notice-with-icon .mds-notification-notice-title {
|
|
70
|
-
padding: 0 20px 0 48px;
|
|
71
|
-
}
|
|
72
|
-
.mds-notification-notice-with-icon .mds-notification-notice-desc {
|
|
73
|
-
padding-left: 48px;
|
|
74
|
-
}
|
|
75
|
-
.mds-notification-notice-single-line-auto-margin {
|
|
76
|
-
width: calc(400px - 24px * 2 - 24px - 48px - 100%);
|
|
77
|
-
background-color: transparent;
|
|
78
|
-
pointer-events: none;
|
|
79
|
-
display: block;
|
|
80
|
-
max-width: 4px;
|
|
81
|
-
}
|
|
82
|
-
.mds-notification-notice-single-line-auto-margin:before {
|
|
83
|
-
content: '';
|
|
84
|
-
display: block;
|
|
85
|
-
padding-bottom: 100%;
|
|
86
|
-
}
|
|
87
|
-
.mds-notification-notice-icon {
|
|
88
|
-
position: absolute;
|
|
89
|
-
font-size: 24px;
|
|
90
|
-
line-height: 24px;
|
|
91
|
-
}
|
|
92
|
-
.mds-notification-notice-icon-success {
|
|
93
|
-
color: #00a854;
|
|
94
|
-
}
|
|
95
|
-
.mds-notification-notice-icon-info {
|
|
96
|
-
color: #0364ff;
|
|
97
|
-
}
|
|
98
|
-
.mds-notification-notice-icon-warning {
|
|
99
|
-
color: #ffbf00;
|
|
100
|
-
}
|
|
101
|
-
.mds-notification-notice-icon-error {
|
|
102
|
-
color: #EE3333;
|
|
103
|
-
}
|
|
104
|
-
.mds-notification-notice-close-x:after {
|
|
105
|
-
font-size: 12px;
|
|
106
|
-
content: "\E633";
|
|
107
|
-
font-family: "mdsicon";
|
|
108
|
-
cursor: pointer;
|
|
109
|
-
}
|
|
110
|
-
.mds-notification-notice-close {
|
|
111
|
-
position: absolute;
|
|
112
|
-
right: 16px;
|
|
113
|
-
top: 10px;
|
|
114
|
-
color: rgba(0, 0, 0, 0.43);
|
|
115
|
-
outline: none;
|
|
116
|
-
text-decoration: none;
|
|
117
|
-
}
|
|
118
|
-
.mds-notification-notice-close:hover {
|
|
119
|
-
color: #404040;
|
|
120
|
-
}
|
|
121
|
-
.mds-notification-notice-btn {
|
|
122
|
-
text-align: right;
|
|
123
|
-
margin-top: 16px;
|
|
124
|
-
}
|
|
125
|
-
.mds-notification .notification-fade-effect {
|
|
126
|
-
animation-duration: 0.24s;
|
|
127
|
-
animation-fill-mode: both;
|
|
128
|
-
animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
129
|
-
}
|
|
130
|
-
.mds-notification-fade-enter,
|
|
131
|
-
.mds-notification-fade-appear {
|
|
132
|
-
opacity: 0;
|
|
133
|
-
animation-duration: 0.24s;
|
|
134
|
-
animation-fill-mode: both;
|
|
135
|
-
animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
136
|
-
animation-play-state: paused;
|
|
137
|
-
}
|
|
138
|
-
.mds-notification-fade-leave {
|
|
139
|
-
animation-duration: 0.24s;
|
|
140
|
-
animation-fill-mode: both;
|
|
141
|
-
animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
142
|
-
animation-duration: 0.2s;
|
|
143
|
-
animation-play-state: paused;
|
|
144
|
-
}
|
|
145
|
-
.mds-notification-fade-enter.mds-notification-fade-enter-active,
|
|
146
|
-
.mds-notification-fade-appear.mds-notification-fade-appear-active {
|
|
147
|
-
animation-name: NotificationFadeIn;
|
|
148
|
-
animation-play-state: running;
|
|
149
|
-
}
|
|
150
|
-
.mds-notification-fade-leave.mds-notification-fade-leave-active {
|
|
151
|
-
animation-name: NotificationFadeOut;
|
|
152
|
-
animation-play-state: running;
|
|
153
|
-
}
|
|
154
|
-
@keyframes NotificationFadeIn {
|
|
155
|
-
0% {
|
|
156
|
-
opacity: 0;
|
|
157
|
-
left: 400px;
|
|
158
|
-
}
|
|
159
|
-
100% {
|
|
160
|
-
left: 0;
|
|
161
|
-
opacity: 1;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
@keyframes NotificationLeftFadeIn {
|
|
165
|
-
0% {
|
|
166
|
-
opacity: 0;
|
|
167
|
-
right: 400px;
|
|
168
|
-
}
|
|
169
|
-
100% {
|
|
170
|
-
right: 0;
|
|
171
|
-
opacity: 1;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
@keyframes NotificationFadeOut {
|
|
175
|
-
0% {
|
|
176
|
-
opacity: 1;
|
|
177
|
-
margin-bottom: 10px;
|
|
178
|
-
padding-top: 24px;
|
|
179
|
-
padding-bottom: 24px;
|
|
180
|
-
max-height: 150px;
|
|
181
|
-
}
|
|
182
|
-
100% {
|
|
183
|
-
opacity: 0;
|
|
184
|
-
margin-bottom: 0;
|
|
185
|
-
padding-top: 0;
|
|
186
|
-
padding-bottom: 0;
|
|
187
|
-
max-height: 0;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
191
|
-
/* stylelint-disable declaration-bang-space-before */
|
|
192
|
-
/* stylelint-disable declaration-bang-space-before */
|
|
1
|
+
.mds-notification-topLeft[data-v-d94bfa66]{top:24px;left:0}.mds-notification-topRight[data-v-d94bfa66]{top:24px;right:0}.mds-notification-bottomLeft[data-v-d94bfa66]{bottom:24px;left:0}.mds-notification-bottomRight[data-v-d94bfa66]{bottom:24px;right:0}.mds-notification{position:fixed;z-index:1010;width:400px;margin-right:24px}.mds-notification-bottomLeft,.mds-notification-topLeft{margin-left:24px;margin-right:0}.mds-notification-bottomLeft .mds-notification-fade-appear.mds-notification-fade-appear-active,.mds-notification-bottomLeft .mds-notification-fade-enter.mds-notification-fade-enter-active,.mds-notification-topLeft .mds-notification-fade-appear.mds-notification-fade-appear-active,.mds-notification-topLeft .mds-notification-fade-enter.mds-notification-fade-enter-active{animation-name:NotificationLeftFadeIn}.mds-notification-notice{padding:24px;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.2);background:#fff;margin-bottom:10px;line-height:1.5;position:relative;overflow:hidden;box-shadow:0 0 12px 0 #d8dce6}.mds-notification-notice-close-btn{cursor:pointer;position:absolute;right:20px;top:20px}.mds-notification-notice-title{color:#333;display:inline-block;font-weight:500;font-size:18px;padding:0 20px 0 0;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.mds-notification-notice-desc{font-size:14px}.mds-notification-notice-with-icon .mds-notification-notice-title{padding:0 20px 0 48px}.mds-notification-notice-with-icon .mds-notification-notice-desc{padding-left:48px}.mds-notification-notice-single-line-auto-margin{width:calc(400px - 24px * 2 - 24px - 48px - 100%);background-color:transparent;pointer-events:none;display:block;max-width:4px}.mds-notification-notice-single-line-auto-margin:before{content:"";display:block;padding-bottom:100%}.mds-notification-notice-icon{position:absolute;font-size:24px;line-height:24px}.mds-notification-notice-icon-success{color:#00a854}.mds-notification-notice-icon-info{color:#0364ff}.mds-notification-notice-icon-warning{color:#ffbf00}.mds-notification-notice-icon-error{color:#e33}.mds-notification-notice-close-x:after{font-size:12px;content:"\E633";font-family:mdsicon;cursor:pointer}.mds-notification-notice-close{position:absolute;right:16px;top:10px;color:rgba(0,0,0,.43);outline:none;text-decoration:none}.mds-notification-notice-close:hover{color:#404040}.mds-notification-notice-btn{text-align:right;margin-top:16px}.mds-notification .notification-fade-effect{animation-duration:.24s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.645,.045,.355,1)}.mds-notification-fade-appear,.mds-notification-fade-enter{opacity:0;animation-play-state:paused}.mds-notification-fade-appear,.mds-notification-fade-enter,.mds-notification-fade-leave{animation-duration:.24s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.645,.045,.355,1)}.mds-notification-fade-leave{animation-duration:.2s;animation-play-state:paused}.mds-notification-fade-appear.mds-notification-fade-appear-active,.mds-notification-fade-enter.mds-notification-fade-enter-active{animation-name:NotificationFadeIn;animation-play-state:running}.mds-notification-fade-leave.mds-notification-fade-leave-active{animation-name:NotificationFadeOut;animation-play-state:running}@keyframes NotificationFadeIn{0%{opacity:0;left:400px}to{left:0;opacity:1}}@keyframes NotificationLeftFadeIn{0%{opacity:0;right:400px}to{right:0;opacity:1}}@keyframes NotificationFadeOut{0%{opacity:1;margin-bottom:10px;padding-top:24px;padding-bottom:24px;max-height:150px}to{opacity:0;margin-bottom:0;padding-top:0;padding-bottom:0;max-height:0}}
|