SHARE
TWEET

Untitled

a guest Jan 18th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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;
  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.4em;
  136.     right: 0.3em;
  137.     position: absolute;
  138.     opacity: 0;
  139. }
  140.  
  141. .widget-EventList .message {
  142.     padding-right: 3em;
  143.     display: block;
  144.     overflow: hidden;
  145.     white-space: nowrap;
  146.     text-overflow: ellipsis;
  147. }
  148.  
  149. .widget-EventList li {
  150.     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);
  151. }
  152.  
  153. .widget-EventList li > div:first-child {
  154.     -webkit-filter: sepia(100%) brightness(250%) saturate(300%) hue-rotate(-45deg) hue-rotate({hue}) brightness({brightness}) saturate({saturation});
  155.             filter: sepia(100%) brightness(250%) saturate(300%) hue-rotate(-45deg) hue-rotate({hue}) brightness({brightness}) saturate({saturation});
  156.     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);
  157.     background: linear-gradient(27deg, #151515 5px, transparent 5px) 0 5px,
  158.         linear-gradient(207deg, #151515 5px, transparent 5px) 10px 0px,
  159.         linear-gradient(27deg, #222 5px, transparent 5px) 0px 10px,
  160.         linear-gradient(207deg, #222 5px, transparent 5px) 10px 5px,
  161.         linear-gradient(90deg, #1b1b1b 10px, transparent 10px),
  162.         linear-gradient(#1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424);
  163.     background-color: #131313;
  164.     background-size: 20px 20px;
  165. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top