Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.62 KB | None | 0 0
  1. @import url("https://fonts.googleapis.com/css?family={font_family}");
  2.  
  3. html, .widget-EventList li > div {
  4. -webkit-transform: rotateX({rotate_x}) rotateY({rotate_y});
  5. transform: rotateX({rotate_x}) rotateY({rotate_y});
  6. }
  7.  
  8. .widget-EventList, .widget-EventList * {
  9. box-sizing: border-box;
  10. }
  11.  
  12. .widget-EventList {
  13. font-weight: 700;
  14. font-size: {font_size};
  15. font-family: "{font_family}";
  16. color: {text_color};
  17. background: {background};
  18. overflow: hidden;
  19. list-style: none;
  20. padding: 0;
  21. margin: 10px 30px;
  22. text-transform: uppercase;
  23. position: relative;
  24. }
  25.  
  26. .widget-EventList li {
  27. width: 100%;
  28. position: relative;
  29. -webkit-animation: {show_animation} {animation_speed} forwards;
  30. animation: {show_animation} {animation_speed} forwards;
  31. }
  32.  
  33. .widget-EventList li > div:first-child {
  34. position: absolute;
  35. top: 0;
  36. left: 0;
  37. width: 100%;
  38. height: 100%;
  39. border-radius: 4px;
  40. opacity: 0.0;
  41. -webkit-transition: opacity {animation_speed};
  42. transition: opacity {animation_speed};
  43. }
  44.  
  45. .widget-EventList li > div:last-child {
  46. overflow: hidden;
  47. position: relative;
  48. margin-bottom: 4px;
  49. padding: 0 10px;
  50. opacity: 0.7;
  51. font-size: 0.9em;
  52. height: 1.2em;
  53. line-height: 1.2em;
  54. -webkit-animation: growB {animation_speed} forwards;
  55. animation: growB {animation_speed} forwards;
  56. }
  57.  
  58. .widget-EventList li:first-child > div:first-child {
  59. opacity: 0.0;
  60. }
  61.  
  62. .widget-EventList li:first-child > div:last-child {
  63. -webkit-animation: growA {animation_speed} forwards;
  64. animation: growA {animation_speed} forwards;
  65. }
  66.  
  67. .widget-EventList li:nth-child(n+{max_events}) {
  68. -webkit-animation: {hide_animation} {animation_speed} forwards;
  69. animation: {hide_animation} {animation_speed} forwards;
  70. }
  71.  
  72.  
  73. @-webkit-keyframes growA {
  74. 0% {
  75. opacity: 0;
  76. font-size: 0em;
  77. height: 0em;
  78. line-height: 0em;
  79. margin-bottom: 0px;
  80. padding: 0;
  81. }
  82.  
  83. 100% {
  84. opacity: 1;
  85. font-size: 1em;
  86. height: 1.6em;
  87. line-height: 1.6em;
  88. margin-bottom: 4px;
  89. padding: 0 10px;
  90. }
  91. }
  92.  
  93.  
  94. @keyframes growA {
  95. 0% {
  96. opacity: 0;
  97. font-size: 0em;
  98. height: 0em;
  99. line-height: 0em;
  100. margin-bottom: 0px;
  101. padding: 0;
  102. }
  103.  
  104. 100% {
  105. opacity: 1;
  106. font-size: 1em;
  107. height: 1.6em;
  108. line-height: 1.6em;
  109. margin-bottom: 4px;
  110. padding: 0 10px;
  111. }
  112. }
  113.  
  114. @-webkit-keyframes growB {
  115. 0% {
  116. opacity: 1;
  117. font-size: 1em;
  118. height: 1.6em;
  119. line-height: 1.6em;
  120. }
  121. }
  122.  
  123. @keyframes growB {
  124. 0% {
  125. opacity: 1;
  126. font-size: 1em;
  127. height: 1.6em;
  128. line-height: 1.6em;
  129. }
  130. }
  131.  
  132. .widget-EventList .tag {
  133. font-size: 0.6em;
  134. line-height: 0.6em;
  135. top: 0.5em;
  136. right: 3em;
  137. position: absolute;
  138. }
  139.  
  140. .widget-EventList .message {
  141. padding-right: 3em;
  142. display: block;
  143. overflow: hidden;
  144. white-space: nowrap;
  145. text-overflow: ellipsis;
  146. }
  147.  
  148. .widget-EventList li {
  149. text-shadow: 0 0 1px rgba(0, 0, 0, 0.7), 0 0 2px rgba(0, 0, 0, 0.7), 0 0 3px rgba(0, 0, 0, 0.7);
  150. }
  151.  
  152. .widget-EventList li > div:first-child {
  153. -webkit-filter: sepia(100%) brightness(250%) saturate(300%) hue-rotate(-45deg) hue-rotate({hue}) brightness({brightness}) saturate({saturation});
  154. filter: sepia(100%) brightness(250%) saturate(300%) hue-rotate(-45deg) hue-rotate({hue}) brightness({brightness}) saturate({saturation});
  155. background: -webkit-linear-gradient(63deg, #151515 5px, transparent 5px) 0 5px, -webkit-linear-gradient(243deg, #151515 5px, transparent 5px) 10px 0px, -webkit-linear-gradient(63deg, #222 5px, transparent 5px) 0px 10px, -webkit-linear-gradient(243deg, #222 5px, transparent 5px) 10px 5px, -webkit-linear-gradient(0deg, #1b1b1b 10px, transparent 10px), -webkit-linear-gradient(#1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424);
  156. background: linear-gradient(27deg, #151515 5px, transparent 5px) 0 5px,
  157. linear-gradient(207deg, #151515 5px, transparent 5px) 10px 0px,
  158. linear-gradient(27deg, #222 5px, transparent 5px) 0px 10px,
  159. linear-gradient(207deg, #222 5px, transparent 5px) 10px 5px,
  160. linear-gradient(90deg, #1b1b1b 10px, transparent 10px),
  161. linear-gradient(#1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424);
  162. background-color: #131313;
  163. background-size: 20px 20px;
  164. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement