Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.34 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Open+Sans:400');
  2.  
  3. .widget-AlertBox {
  4. position: relative;
  5. }
  6. body,
  7. html {
  8. height: 100%;
  9. width: 100%;
  10. overflow: hidden;
  11. }
  12. #wrap {
  13. position: absolute;
  14. height: 100%;
  15. width: 100%;
  16. }
  17. #alert-box {
  18. height: 100%;
  19. width: 100%;
  20. position: absolute;
  21. }
  22. #alert-box.hidden,
  23. .hidden {
  24. opacity: 0;
  25. }
  26. #alert-text {
  27. text-align: absolute;
  28. text-transform: uppercase;
  29. font-family: "Open Sans", sans-serif;
  30. color: #ffffff;
  31. font-size: 12px;
  32. text-shadow: 0px 0px 6px #000000;
  33. }
  34.  
  35. #alert-message-box {
  36. position: absolute;
  37. width: 750px; height: 40px;
  38. left: 380px; top: 330px;
  39. transform: translate(0%, -50%);
  40. overflow: hidden;
  41. /*
  42. Container animation goes here
  43. */
  44. }
  45.  
  46. #alert-user-message-box {
  47. position: absolute;
  48. width: 550px; height: 125px;
  49. left: 50%; top: 236px;
  50. transform: translate(0%, -50%);
  51. overflow: hidden;
  52. animation: slideIn 6s linear; -webkit-animation: slideIn 6s linear;
  53. /*
  54. Container animation goes here, fade?
  55. */
  56. }
  57.  
  58. .alert-message-anim {
  59. /*Message text animation goes here*/
  60. transform: translateX(-100%);
  61. animation: slideIn 6s linear; -webkit-animation: slideIn 6s linear;
  62. }
  63.  
  64. .alert-user-message-anim {
  65. /*User Message text animation goes here*/
  66. transform: translateX(-100%);
  67. animation: slideIn 6s linear; -webkit-animation: slideIn 6s linear;
  68. }
  69.  
  70. #alert-message {
  71. }
  72.  
  73. #alert-user-message {
  74.  
  75. }
  76.  
  77. #alert-user-message img {
  78. vertical-align: middle;
  79. height: 1em;
  80. }
  81. #alert-image {
  82. position: relative;
  83. }
  84.  
  85. #alert-message > span > span {
  86. display: inline-block;
  87. }
  88. #alert-image {
  89. z-index: 6;
  90. position: relative;
  91. }
  92. #alert-text {
  93. z-index: 6;
  94. position: relative;
  95. }
  96. #alert-text-wrap {
  97. z-index: 6;
  98. position: relative;
  99. }
  100.  
  101. @-webkit-keyframes slideIn {
  102. 7% {left: 427px; animation-timing-function: cubic-bezier(0.77, 0.00, 0.91, 0.50);}
  103. 13% {left: 294px; animation-timing-function: cubic-bezier(0.05, 0.19, 0.46, 1.05);}
  104. 15% {left: 251px; animation-timing-function: cubic-bezier(0.31, 0.06, 0.73, 1.00);}
  105. 19% {left: 298px; animation-timing-function: cubic-bezier(0.33, 0.00, 0.67, 1.00);}
  106. 23% {left: 284px; animation-timing-function: cubic-bezier(0.33, 0.00, 0.67, 1.00);}
  107. 27% {left: 287px; animation-timing-function: linear;}
  108. 85% {left: 287px; animation-timing-function: cubic-bezier(0.51, 0.00, 0.50, 1.00);}
  109. 94% {left: 432px; animation-timing-function: linear;}
  110. }
  111.  
  112. @keyframes slideIn {
  113. 7% {left: 427px; animation-timing-function: cubic-bezier(0.77, 0.00, 0.91, 0.50);}
  114. 13% {left: 294px; animation-timing-function: cubic-bezier(0.05, 0.19, 0.46, 1.05);}
  115. 15% {left: 251px; animation-timing-function: cubic-bezier(0.31, 0.06, 0.73, 1.00);}
  116. 19% {left: 298px; animation-timing-function: cubic-bezier(0.33, 0.00, 0.67, 1.00);}
  117. 23% {left: 284px; animation-timing-function: cubic-bezier(0.33, 0.00, 0.67, 1.00);}
  118. 27% {left: 287px; animation-timing-function: linear;}
  119. 85% {left: 287px; animation-timing-function: cubic-bezier(0.51, 0.00, 0.50, 1.00);}
  120. 94% {left: 432px; animation-timing-function: linear;}
  121. }
  122.  
  123.  
  124. @-webkit-keyframes slideOut {
  125. 0% {transform: translateX(-100%); animation-timing-function: cubic-bezier(0.59, 0.00, 0.97, 0.91);}
  126. 13% {transform: translateX(0%); animation-timing-function: linear;}
  127.  
  128. 83% {transform: translateX(0%); animation-timing-function: cubic-bezier(0.77, 0.00, 0.37, 1.00);}
  129. 92% {transform: translateX(-100%); animation-timing-function: linear;}
  130. }
  131.  
  132. @keyframes slideOut {
  133. 6% {transform: translateX(-100%); animation-timing-function: cubic-bezier(0.59, 0.00, 0.97, 0.91);}
  134. 13% {transform: translateX(0%); animation-timing-function: linear;}
  135.  
  136. 83% {transform: translateX(0%); animation-timing-function: cubic-bezier(0.77, 0.00, 0.37, 1.00);}
  137. 92% {transform: translateX(-100%); animation-timing-function: linear;}
  138. }
  139.  
  140.  
  141. @-webkit-keyframes fadeOut {
  142. 0% {opacity: 1; animation-timing-function: linear;}
  143. 90% {opacity: 1; animation-timing-function: linear;}
  144. 95% {opacity: 0; animation-timing-function: linear;}
  145. }
  146.  
  147. @keyframes fadeOut {
  148. 0% {opacity: 1; animation-timing-function: linear;}
  149. 90% {opacity: 1; animation-timing-function: linear;}
  150. 95% {opacity: 0; animation-timing-function: linear;}
  151. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement