Skip to content

Commit

Permalink
Make the user message disappear after 5 secs
Browse files Browse the repository at this point in the history
  • Loading branch information
ppasq committed Jun 12, 2019
1 parent ab9da36 commit add3df7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 7 deletions.
2 changes: 1 addition & 1 deletion geonode/static/geonode/css/base.css

Large diffs are not rendered by default.

33 changes: 27 additions & 6 deletions geonode/static/geonode/less/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,33 @@
div#user_messages {
position: absolute;
width: 500px;
margin-top: 80px;
right: 300px;
bottom: 20px;
left: 40px;
z-index: 9999;
-moz-animation: msgDisappear 0s ease-in 5s forwards;
-webkit-animation: msgDisappear 0s ease-in 5s forwards;
-o-animation: msgDisappear 0s ease-in 5s forwards;
animation: msgDisappear 0s ease-in 5s forwards;
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards;
}
@keyframes msgDisappear {
from {
opacity: 1;
}

to {
opacity: 0;
}
}
@-webkit-keyframes msgDisappear {
from {
opacity: 1;
}

to {
opacity: 0;
}
}

body {
Expand Down Expand Up @@ -729,10 +754,6 @@ article.tab-pane {
background: white;
color: @text-color;

small {
word-wrap: break-word;
}

.group-logo {
margin: 0.5em;
padding: 0;
Expand Down

0 comments on commit add3df7

Please sign in to comment.