summaryrefslogtreecommitdiff
path: root/assets/css/app.css
diff options
context:
space:
mode:
authorFrédéric Guillot <fguillot@users.noreply.github.com>2014-05-03 11:59:20 -0400
committerFrédéric Guillot <fguillot@users.noreply.github.com>2014-05-03 11:59:20 -0400
commit9531e439cd99fb7dbcfb039f422f1d1ba414ec30 (patch)
tree2238333c4c1a1a417caf9727d15e4c60f205c0ca /assets/css/app.css
parentb10d4f51ebfb61e397a6a8783f3027b703deda8d (diff)
Add notifications fade-out animation
Diffstat (limited to 'assets/css/app.css')
-rw-r--r--assets/css/app.css32
1 files changed, 32 insertions, 0 deletions
diff --git a/assets/css/app.css b/assets/css/app.css
index 132a7d39..ebfeca61 100644
--- a/assets/css/app.css
+++ b/assets/css/app.css
@@ -239,6 +239,38 @@ input.form-date {
border-radius: 4px;
}
+.alert-fade-out {
+ animation: fadeOut 1s forwards;
+ -webkit-animation: fadeOut 1s forwards;
+ animation-delay: 7s;
+ -webkit-animation-delay: 7s;
+ cursor: pointer;
+}
+
+@-webkit-keyframes fadeOut {
+ from {
+ opacity: 1;
+ }
+ to {
+ opacity: 0;
+ margin: 0;
+ padding: 0;
+ height: 0;
+ }
+}
+
+@keyframes fadeOut {
+ from {
+ opacity: 1;
+ }
+ to {
+ opacity: 0;
+ margin: 0;
+ padding: 0;
+ height: 0;
+ }
+}
+
.alert-success {
color: #468847;
background-color: #dff0d8;