Animate the user notification and make it red

This commit is contained in:
Joseph Schorr 2013-10-22 23:10:32 -04:00
parent 4b25d2458b
commit a8ebdc79c4
2 changed files with 44 additions and 2 deletions

View file

@ -2,6 +2,48 @@
font-family: 'Droid Sans', sans-serif;
}
.user-notification {
background: red;
}
.user-notification.notification-animated {
width: 21px;
transform: scale(0);
-moz-transform: scale(0);
-webkit-transform: scale(0);
animation: scaleup 500ms 1;
animation-timing-function: ease-in-out;
animation-fill-mode: forwards;
-moz-animation: scaleup 500ms 1;
-moz-animation-timing-function: ease-in-out;
-moz-animation-fill-mode: forwards;
-webkit-animation: scaleup 500ms 1;
-webkit-animation-timing-function: ease-in-out;
-webkit-animation-fill-mode: forwards;
}
@-moz-keyframes scaleup {
0% { -moz-transform: scale(0); }
100% { -moz-transform: scale(1); }
}
@-webkit-keyframes scaleup {
0% { -webkit-transform: scale(0); }
100% { -webkit-transform: scale(1); }
}
@keyframes scaleup {
0% { transform: scale(0); }
100% { transform: scale(1); }
}
.repo-circle {
position: relative;
background: #eee;