index.css
4.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-alert {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5715;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding: 8px 15px;
word-wrap: break-word;
border-radius: 2px;
}
.ant-alert-content {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
min-width: 0;
}
.ant-alert-icon {
margin-right: 8px;
}
.ant-alert-description {
display: none;
font-size: 14px;
line-height: 22px;
}
.ant-alert-success {
background-color: #f6ffed;
border: 1px solid #b7eb8f;
}
.ant-alert-success .ant-alert-icon {
color: #52c41a;
}
.ant-alert-info {
background-color: #e6f7ff;
border: 1px solid #91d5ff;
}
.ant-alert-info .ant-alert-icon {
color: #1890ff;
}
.ant-alert-warning {
background-color: #fffbe6;
border: 1px solid #ffe58f;
}
.ant-alert-warning .ant-alert-icon {
color: #faad14;
}
.ant-alert-error {
background-color: #fff2f0;
border: 1px solid #ffccc7;
}
.ant-alert-error .ant-alert-icon {
color: #ff4d4f;
}
.ant-alert-error .ant-alert-description > pre {
margin: 0;
padding: 0;
}
.ant-alert-action {
margin-left: 8px;
}
.ant-alert-close-icon {
margin-left: 8px;
padding: 0;
overflow: hidden;
font-size: 12px;
line-height: 12px;
background-color: transparent;
border: none;
outline: none;
cursor: pointer;
}
.ant-alert-close-icon .anticon-close {
color: rgba(0, 0, 0, 0.45);
-webkit-transition: color 0.3s;
transition: color 0.3s;
}
.ant-alert-close-icon .anticon-close:hover {
color: rgba(0, 0, 0, 0.75);
}
.ant-alert-close-text {
color: rgba(0, 0, 0, 0.45);
-webkit-transition: color 0.3s;
transition: color 0.3s;
}
.ant-alert-close-text:hover {
color: rgba(0, 0, 0, 0.75);
}
.ant-alert-with-description {
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
padding: 15px 15px 15px 24px;
}
.ant-alert-with-description.ant-alert-no-icon {
padding: 15px 15px;
}
.ant-alert-with-description .ant-alert-icon {
margin-right: 15px;
font-size: 24px;
}
.ant-alert-with-description .ant-alert-message {
display: block;
margin-bottom: 4px;
color: rgba(0, 0, 0, 0.85);
font-size: 16px;
}
.ant-alert-message {
color: rgba(0, 0, 0, 0.85);
}
.ant-alert-with-description .ant-alert-description {
display: block;
}
.ant-alert.ant-alert-motion-leave {
overflow: hidden;
opacity: 1;
-webkit-transition: max-height 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), opacity 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-top 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), margin-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: max-height 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), opacity 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-top 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), margin-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
}
.ant-alert.ant-alert-motion-leave-active {
max-height: 0;
margin-bottom: 0 !important;
padding-top: 0;
padding-bottom: 0;
opacity: 0;
}
.ant-alert-banner {
margin-bottom: 0;
border: 0;
border-radius: 0;
}
.ant-alert.ant-alert-rtl {
direction: rtl;
}
.ant-alert-rtl.ant-alert.ant-alert-no-icon {
padding: 8px 15px;
}
.ant-alert-rtl .ant-alert-icon {
margin-right: auto;
margin-left: 8px;
}
.ant-alert-rtl .ant-alert-action {
margin-right: 8px;
margin-left: auto;
}
.ant-alert-rtl .ant-alert-close-icon {
margin-right: 8px;
margin-left: auto;
}
.ant-alert-rtl.ant-alert-with-description .ant-alert-icon {
margin-right: auto;
margin-left: 15px;
}