-
Notifications
You must be signed in to change notification settings - Fork 0
/
notice.css
63 lines (60 loc) · 1.38 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
.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;
transform-origin: top;
}
/* colors from bootstrap */
.notice-container .notice-warning {
background: #fcf8e3;
background: rgba(252, 248, 227, 0.9);
border-color: #fbeed5;
color: #c09853;
}
.notice-container .notice-success {
background: #EAFBE3;
background: rgba(221, 242, 210, 0.9);
border-color: #D6E9C6;
color: #3FB16F;
}
.notice-container .notice-danger,
.notice-container .notice-error {
background: #f2dede;
background: rgba(242, 222, 222, 0.9);
border-color: #ebccd1;
color: #a94442;
}
.notice-container .notice-content {
color: inherit;
text-decoration: none;
margin: 0 auto;
max-width: 650px;
}
.notice-container .notice-close {
position: absolute;
top: 5px;
height: 40px;
right: 20px;
width: 40px;
cursor: pointer;
font: 400 normal 22px/40px "Arial", sans-serif;
color: rgba(231, 76, 60, 0.6);
}
.notice-container .notice-dismiss {
transform: rotateX(-75deg);
opacity: 0;
}