Advertisement
Guest User

Untitled

a guest
Aug 25th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.82 KB | None | 0 0
  1. /* keyframe styles */
  2. @keyframes bounce-in {
  3. 0%, 20%, 40%, 60%, 80%, 100% {
  4. -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  5. transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  6. }
  7. 0% {
  8. opacity: 0;
  9. -webkit-transform: scale3d(0.3, 0.3, 0.3);
  10. transform: scale3d(0.3, 0.3, 0.3);
  11. }
  12. 20% {
  13. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  14. transform: scale3d(1.1, 1.1, 1.1);
  15. }
  16. 40% {
  17. -webkit-transform: scale3d(0.9, 0.9, 0.9);
  18. transform: scale3d(0.9, 0.9, 0.9);
  19. }
  20. 60% {
  21. opacity: 1;
  22. -webkit-transform: scale3d(1.03, 1.03, 1.03);
  23. transform: scale3d(1.03, 1.03, 1.03);
  24. }
  25. 80% {
  26. -webkit-transform: scale3d(0.97, 0.97, 0.97);
  27. transform: scale3d(0.97, 0.97, 0.97);
  28. }
  29. 100% {
  30. opacity: 1;
  31. -webkit-transform: scale3d(1, 1, 1);
  32. transform: scale3d(1, 1, 1);
  33. }
  34. }
  35.  
  36. @-webkit-keyframes bounce-in {
  37. 0%, 20%, 40%, 60%, 80%, 100% {
  38. -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  39. transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  40. }
  41. 0% {
  42. opacity: 0;
  43. -webkit-transform: scale3d(0.3, 0.3, 0.3);
  44. transform: scale3d(0.3, 0.3, 0.3);
  45. }
  46. 20% {
  47. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  48. transform: scale3d(1.1, 1.1, 1.1);
  49. }
  50. 40% {
  51. -webkit-transform: scale3d(0.9, 0.9, 0.9);
  52. transform: scale3d(0.9, 0.9, 0.9);
  53. }
  54. 60% {
  55. opacity: 1;
  56. -webkit-transform: scale3d(1.03, 1.03, 1.03);
  57. transform: scale3d(1.03, 1.03, 1.03);
  58. }
  59. 80% {
  60. -webkit-transform: scale3d(0.97, 0.97, 0.97);
  61. transform: scale3d(0.97, 0.97, 0.97);
  62. }
  63. 100% {
  64. opacity: 1;
  65. -webkit-transform: scale3d(1, 1, 1);
  66. transform: scale3d(1, 1, 1);
  67. }
  68. }
  69.  
  70. @-moz-keyframes bounce-in {
  71. 0%, 20%, 40%, 60%, 80%, 100% {
  72. -moz-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  73. transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  74. }
  75. 0% {
  76. opacity: 0;
  77. -moz-transform: scale3d(0.3, 0.3, 0.3);
  78. transform: scale3d(0.3, 0.3, 0.3);
  79. }
  80. 20% {
  81. -moz-transform: scale3d(1.1, 1.1, 1.1);
  82. transform: scale3d(1.1, 1.1, 1.1);
  83. }
  84. 40% {
  85. -moz-transform: scale3d(0.9, 0.9, 0.9);
  86. transform: scale3d(0.9, 0.9, 0.9);
  87. }
  88. 60% {
  89. opacity: 1;
  90. -moz-transform: scale3d(1.03, 1.03, 1.03);
  91. transform: scale3d(1.03, 1.03, 1.03);
  92. }
  93. 80% {
  94. -moz-transform: scale3d(0.97, 0.97, 0.97);
  95. transform: scale3d(0.97, 0.97, 0.97);
  96. }
  97. 100% {
  98. opacity: 1;
  99. -moz-transform: scale3d(1, 1, 1);
  100. transform: scale3d(1, 1, 1);
  101. }
  102. }
  103.  
  104.  
  105.  
  106. #tcm {
  107. position: fixed;
  108. top: 2%;
  109. left: 1%;
  110. display: block;
  111. width: 240px;
  112. max-height: 96%;
  113. background: rgba(0, 0, 0, 0.8);
  114. border: 1px solid #444;
  115. border-radius: 4px;
  116. -webkit-border-radius: 4px;
  117. -moz-border-radius: 4px;
  118. overflow-x: hidden;
  119. overflow-y: auto;
  120. z-index: 999999999;
  121. animation: 1s both bounce-in;
  122. -webkit-animation: 1s both bounce-in;
  123. -moz-animation: 1s both bounce-in;
  124. }
  125.  
  126. #tcm *:focus {
  127. outline: none;
  128. }
  129.  
  130. #tcm * {
  131. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  132. }
  133.  
  134. #tcm > #tcm-header {
  135. position: relative;
  136. display: block;
  137. width: initial;
  138. text-align: center;
  139. background: rgba(255, 255, 255, 0.4);
  140. padding: 8px;
  141. }
  142.  
  143. #tcm > #tcm-header > span {
  144. position: relative;
  145. display: block;
  146. font-family: 'Pacifico', cursive;
  147. font-size: 20px;
  148. color: #FFF;
  149. text-transform: capitalize;
  150. margin: 0 0 8px 0;
  151. }
  152.  
  153. #tcm > #tcm-header > p {
  154. position: relative;
  155. display: block;
  156. font-size: 12px;
  157. color: #222;
  158. margin: 0;
  159. }
  160.  
  161. #tcm > #tcm-main, #tcm > #tcm-main > div {
  162. position: relative;
  163. display: block;
  164. width: initial;
  165. }
  166.  
  167. #tcm > #tcm-main {
  168. padding: 8px;
  169. }
  170.  
  171. #tcm > #tcm-main > div {
  172. text-align: center;
  173. }
  174.  
  175. #tcm > #tcm-main > div > span {
  176. position: relative;
  177. display: block;
  178. font-size: 14px;
  179. color: #FFF;
  180. text-transform: capitalize;
  181. margin: 0 0 8px 0;
  182. }
  183.  
  184. #tcm > #tcm-main > div > div {
  185. position: relative;
  186. display: block;
  187. width: 100%;
  188. max-height: 160px;
  189. min-height: 20px;
  190. background: #222;
  191. overflow-x: hidden;
  192. overflow-y: auto;
  193. margin: 0 0 8px 0;
  194. border: 1px solid #444;
  195. border-radius: 2px;
  196. -webkit-border-radius: 2px;
  197. -moz-border-radius: 2px;
  198. }
  199.  
  200. #tcm > #tcm-main > div > div > span {
  201. position: relative;
  202. display: block;
  203. width: 100%;
  204. text-align: center;
  205. font-size: 12px;
  206. color: #FFF;
  207. padding: 4px 0;
  208. cursor: pointer;
  209. }
  210.  
  211. #tcm > #tcm-main > div > div > span:hover {
  212. background: rgba(0, 0, 0, 0.2);
  213. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement