-
Notifications
You must be signed in to change notification settings - Fork 0
/
notifier.css
63 lines (53 loc) · 1.16 KB
/
notifier.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
/* ----------------------------------
* Status
* ---------------------------------- */
section[role="status"] {
background: rgba(64,64,64,1) url(../img/status/pattern.png) repeat left top;
overflow: hidden;
position: absolute;
z-index: 100;
left: 0;
right: 0;
bottom: 0;
color: #fff;
text-align: left;
}
section[role="status"] p {
font-size: 1.8rem;
font-weight: normal;
line-height: 2.2rem;
margin: 1rem 3rem;
padding: 0;
text-align: left;
}
section[role="status"] p strong {
font-weight: 500;
}
section[role="status"].hidden {
display: none;
}
/*
* Right to Left View
*/
html[dir="rtl"] section[role="status"],
html[dir="rtl"] section[role="status"] p {
text-align: right;
}
@keyframes hide {
0% { transform: translateY(0); }
100% { transform: translateY(100%); }
}
@-webkit-keyframes hide {
0% { -webkit-transform: translateY(0); }
100% { -webkit-transform: translateY(100%); }
}
/* Building Blocks */
/* Status */
section[role="status"] {
animation: hide .3s forwards;
-webkit-animation: hide .3s forwards;
}
section[role="status"].onviewport {
animation: show .3s forwards;
-webkit-animation: show .3s forwards;
}