Advertisement
Guest User

Untitled

a guest
Aug 28th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. @import url("https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800&subset=latin-ext");
  2.  
  3. html, .widget-EventList li > div {
  4. transform: rotateX($rotate_x) rotateY($rotate_y);
  5. }
  6.  
  7. .widget-EventList {
  8. font-weight: 800;
  9. font-size: 14px;
  10. font-family: "Open Sans";
  11. overflow: hidden;
  12. color: #fff;
  13. list-style: none;
  14. padding: 0;
  15. text-transform: uppercase;
  16. position: relative;
  17. background: $background;
  18. transform: rotate(180deg);
  19. height: 100%;
  20. width: 100%;
  21. margin: 0;
  22. padding: 10px;
  23. }
  24.  
  25. .widget-EventList, .widget-EventList * {
  26. box-sizing: border-box;
  27. }
  28.  
  29. .widget-EventList li {
  30. transform: rotate(-180deg);
  31. overflow: hidden;
  32. margin-bottom: 0.1em;
  33. }
  34.  
  35. .widget-EventList li > div:last-child {
  36. /*padding: 0 10px;*/
  37. height: 60px;
  38. line-height:60px;
  39. width:300px;
  40. overflow: hidden;
  41. position: relative;
  42. z-index: 10;
  43. text-align: right;
  44. display: inline-block;
  45. float: right;
  46. white-space: nowrap;
  47. padding-right:10px;
  48. position:relative;
  49. left:0
  50. }
  51.  
  52. .widget-EventList .tag {
  53. float: right;
  54. margin: 0 0.25em;
  55. display: inline-block;
  56. }
  57.  
  58. .widget-EventList .message {
  59. float: right;
  60. white-space: nowrap;
  61. text-overflow: ellipsis;
  62. margin: 0 0.25em;
  63. display: inline-block;
  64. }
  65.  
  66. .widget-EventList li:first-child div:last-child {
  67. background: rgba(3,3,3,0.8);
  68. color: #fff;
  69. }
  70.  
  71. .widget-EventList li:nth-child(2) div:last-child {
  72. color: #fff;
  73. }
  74.  
  75. .widget-EventList li:nth-child(3) div:last-child {
  76. color: #fff;
  77. }
  78.  
  79. .widget-EventList li > div:last-child {
  80. animation: grow 0.5s forwards;
  81. -webkit-animation: grow 0.5s forwards;
  82. }
  83.  
  84. .widget-EventList li:nth-child(n+ $max_events ) {
  85. animation: fadeOut 1.5s forwards;
  86. -webkit-animation: fadeOut 1.5s forwards;
  87. }
  88.  
  89. @keyframes grow {
  90. 0% {
  91. left: 330px;
  92. padding-top: 0;
  93. padding-bottom: 0;
  94. }
  95. }
  96.  
  97. @-webkit-keyframes grow {
  98. 0% {
  99. height: 0;
  100. padding-top: 0;
  101. padding-bottom: 0;
  102. }
  103. }
  104. .widget-EventList li.twitch-follow > div:before {background:url(http://overlay.zmsk.pl/buttons/follow.png)center center no-repeat;position:absolute;content:'';top:0;bottom:0;margin:auto;height:56px;left:5px;;width:57px;z-index:999;display:block;}
  105. .widget-EventList li.twitch-host > div:before {background:url(http://overlay.zmsk.pl/buttons/host.png)center center no-repeat;position:absolute;content:'';top:0;bottom:0;margin:auto;height:56px;left:5px;;width:57px;z-index:999;display:block;}
  106. .widget-EventList li.donation > div:before {background:url(http://overlay.zmsk.pl/buttons/donate.png)center center no-repeat;position:absolute;content:'';top:0;bottom:0;margin:auto;height:56px;left:5px;;width:57px;z-index:999;display:block;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement