@mdsfe/mds-ui 0.4.0-rc.7 → 0.4.0-rc.8
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/badge.js +2 -2
- package/dist/bordershadow.js +2 -2
- package/dist/carousel.js +2 -2
- package/dist/cascader.js +4 -4
- package/dist/cascaderpanel.js +16 -16
- package/dist/collapse.js +2 -2
- package/dist/divider.js +2 -2
- package/dist/drawer.js +4 -4
- package/dist/empty.js +2 -2
- package/dist/font/full-star.b5fdf00.png +0 -0
- package/dist/font/half-star.2625512.png +0 -0
- package/dist/font/zero-star.177c19c.png +0 -0
- package/dist/form.js +2 -2
- package/dist/icon.js +13 -4
- package/dist/index.js +5 -5
- package/dist/input.js +2 -2
- package/dist/inputnumber.js +2 -2
- package/dist/layout.js +2 -2
- package/dist/list.js +2 -2
- package/dist/loading.js +2 -2
- package/dist/mds-ui.min.css +1 -1
- package/dist/mds-ui.min.js +139 -127
- package/dist/menu.js +4 -4
- package/dist/message.js +2 -2
- package/dist/modal.js +2 -2
- package/dist/notification.js +8 -8
- package/dist/pagination.js +4 -4
- package/dist/popconfirm.js +2 -2
- package/dist/popover.js +2 -2
- package/dist/progress.js +2 -2
- package/dist/radio.js +2 -2
- package/dist/rate.js +2 -2
- package/dist/select.js +7 -7
- package/dist/slider.js +2 -2
- package/dist/slottable.js +7 -7
- package/dist/steps.js +2 -2
- package/dist/style/affix.css +10 -1
- package/dist/style/alert.css +138 -1
- package/dist/style/anchor.css +58 -1
- package/dist/style/avatar.css +73 -1
- package/dist/style/backtop.css +34 -1
- package/dist/style/badge.css +141 -1
- package/dist/style/bordershadow.css +42 -1
- package/dist/style/breadcrumb.css +37 -1
- package/dist/style/button.css +2172 -1
- package/dist/style/card.css +156 -1
- package/dist/style/carousel.css +217 -1
- package/dist/style/cascader.css +214 -1
- package/dist/style/cascaderpanel.css +122 -1
- package/dist/style/checkbox.css +186 -1
- package/dist/style/col.css +2607 -1
- package/dist/style/collapse.css +79 -1
- package/dist/style/color.css +622 -1
- package/dist/style/datepicker.css +542 -1
- package/dist/style/divider.css +47 -1
- package/dist/style/drawer.css +254 -1
- package/dist/style/dropdown.css +274 -1
- package/dist/style/empty.css +49 -1
- package/dist/style/font.css +45 -1
- package/dist/style/form.css +148 -1
- package/dist/style/icon.css +5625 -1
- package/dist/style/index.css +1 -1
- package/dist/style/input.css +760 -1
- package/dist/style/inputnumber.css +314 -1
- package/dist/style/layout.css +58 -1
- package/dist/style/list.css +141 -1
- package/dist/style/loading.css +2329 -1
- package/dist/style/menu.css +658 -1
- package/dist/style/message.css +191 -1
- package/dist/style/modal.css +123 -1
- package/dist/style/notification.css +192 -1
- package/dist/style/pagination.css +1190 -1
- package/dist/style/popconfirm.css +65 -1
- package/dist/style/popover.css +138 -1
- package/dist/style/progress.css +179 -1
- package/dist/style/radio.css +255 -1
- package/dist/style/rate.css +81 -1
- package/dist/style/row.css +2607 -1
- package/dist/style/select.css +221 -1
- package/dist/style/slider.css +80 -1
- package/dist/style/slottable.css +296 -1
- package/dist/style/steps.css +586 -1
- package/dist/style/switch.css +110 -1
- package/dist/style/table.css +2778 -1
- package/dist/style/tabs.css +518 -1
- package/dist/style/tag.css +421 -1
- package/dist/style/text.css +122 -1
- package/dist/style/timeline.css +88 -1
- package/dist/style/timepicker.css +393 -1
- package/dist/style/tooltip.css +161 -1
- package/dist/style/transfer.css +206 -1
- package/dist/style/transition.css +1413 -1
- package/dist/style/tree.css +84 -1
- package/dist/style/typography.css +126 -1
- package/dist/style/upload.css +320 -1
- package/dist/switch.js +2 -2
- package/dist/table.js +9 -9
- package/dist/tabs.js +2 -2
- package/dist/tag.js +2 -2
- package/dist/text.js +2 -2
- package/dist/timeline.js +2 -2
- package/dist/timepicker.js +2 -2
- package/dist/tooltip.js +2 -2
- package/dist/transfer.js +6 -6
- package/dist/transition.js +2 -2
- package/dist/tree.js +2 -2
- package/dist/typography.js +2 -2
- package/package.json +1 -1
package/dist/style/message.css
CHANGED
|
@@ -1 +1,191 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
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
|
+
}
|
package/dist/style/modal.css
CHANGED
|
@@ -1 +1,123 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
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 +1,192 @@
|
|
|
1
|
-
.mds-notification-topLeft[data-v-d94bfa66]
|
|
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 */
|