Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. .notification {
  2. font-family: "HeliosExtWeb", "Arial", sans-serif;
  3. position: fixed;
  4. z-index: 9999999;
  5. top: 20px;
  6. left: 50%;
  7. margin-left: -230px;
  8. width: 500px;
  9. display: block;
  10. background-color: #E5F7DC;
  11. padding: 19px 20px 21px;
  12. transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  13. transition-duration: 0.15s;
  14. transition-property: opacity, transform;
  15. opacity: 0;
  16. transform: translate(0, -10px);
  17. cursor: pointer;
  18. pointer-events: none;
  19. }
  20.  
  21. .notification .notification__message {
  22. padding-right: 80px;
  23. }
  24.  
  25. .notification .notification__close {
  26. transition-property: color, opacity;
  27. color: #0378E0;
  28. cursor: pointer;
  29. position: absolute;
  30. top: 19px;
  31. right: 20px;
  32. }
  33.  
  34. .notification .notification__close:hover {
  35. color: #FD871F;
  36. }
  37.  
  38. .notification .notification__close:visited, .notification .notification__close:active, .notification .notification__close:focus {
  39. outline: none;
  40. }
  41.  
  42. .notification .notification__close:active {
  43. opacity: 0.7;
  44. }
  45.  
  46. .notification.notification--visible {
  47. opacity: 1;
  48. transform: translate(0, 0);
  49. pointer-events: auto;
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement