-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotice.css
68 lines (67 loc) · 1.51 KB
/
notice.css
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
.notice-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 999999;
}
.notice-container .notice-item {
position: relative;
font: 500 16px/1.8 "Georgia","Xin Gothic","Hiragino Sans GB","WenQuanYi Micro Hei",sans-serif;
background: #fefefe;
background: rgba(255,255,255,0.9);
color: #565656;
padding: 10px 20px;
box-sizing: border-box;
border-bottom: 1px solid #efefef;
text-align: center;
transition: all .2s ease-in-out;
}
/* colors from bootstrap */
.notice-container .success,
.notice-container .ok {
background: #5cb85c;
background: rgba(92, 182, 92, 0.9);
border-color: #5cb85c;
color: #fff;
}
.notice-container .warning,
.notice-container .warn {
background: #f0ad4e;
background: rgba(240, 173, 78, 0.9);
border-color: #f0ad4e;
color: #fff;
}
.notice-container .danger,
.notice-container .error {
background: #d9534f;
background: rgba(217, 83, 79, 0.9);
border-color: #d9534f;
color: #fff;
}
.notice-container .info,
.notice-container .blue {
background: #5bc0de;
background: rgba(91, 192, 222, 0.9);
border-color: #5bc0de;
color: #fff;
}
.notice-container .notice-content {
color: inherit;
text-decoration: none;
margin: 0 auto;
max-width: 650px;
}
.notice-container .notice-close {
position: absolute;
top: 10px;
right: 20px;
cursor: pointer;
font: 400 normal 22px/1.3 "Arial", sans-serif;
}
.notice-container .notice-dismiss {
-webkit-transform: rotateX(60deg);
-ms-transform: rotateX(60deg);
transform: rotateX(60deg);
opacity: 0;
}