index.css
1.76 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
.rc-notification {
position: fixed;
z-index: 1000;
}
.rc-notification-notice {
padding: 7px 20px 7px 10px;
border-radius: 3px 3px;
border: 1px solid #999;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
border: 0px solid rgba(0, 0, 0, 0);
background: #fff;
display: block;
width: auto;
line-height: 1.5;
position: relative;
margin: 10px 0;
}
.rc-notification-notice-closable {
padding-right: 20px;
}
.rc-notification-notice-close {
position: absolute;
right: 5px;
top: 3px;
color: #000;
cursor: pointer;
outline: none;
font-size: 16px;
font-weight: 700;
line-height: 1;
text-shadow: 0 1px 0 #fff;
filter: alpha(opacity=20);
opacity: 0.2;
text-decoration: none;
}
.rc-notification-notice-close-x:after {
content: '×';
}
.rc-notification-notice-close:hover {
opacity: 1;
filter: alpha(opacity=100);
text-decoration: none;
}
.rc-notification-fade-appear,
.rc-notification-fade-enter {
opacity: 0;
animation-duration: 0.3s;
animation-fill-mode: both;
animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
animation-play-state: paused;
}
.rc-notification-fade-leave {
animation-duration: 0.3s;
animation-fill-mode: both;
animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
animation-play-state: paused;
}
.rc-notification-fade-appear.rc-notification-fade-appear-active,
.rc-notification-fade-enter.rc-notification-fade-enter-active {
animation-name: rcNotificationFadeIn;
animation-play-state: running;
}
.rc-notification-fade-leave.rc-notification-fade-leave-active {
animation-name: rcDialogFadeOut;
animation-play-state: running;
}
@keyframes rcNotificationFadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes rcDialogFadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}