Advertisement
Fonic_Artes

XSplit & OBSChat (Left Entrance/Exit Animated)

Oct 28th, 2015
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.94 KB | None | 0 0
  1. /* This uses the Nightdev chat plugin KapChat use this URL for the chat creation.
  2. https://www.nightdev.com/hosted/obschat/?theme=dark&channel=YOURCHANNELHERE&fade=30&prevent_clipping=true
  3. Please go to https://nightdev.com/kapchat/ to get the CLR Browser Plugin (for OBS), XSplit has support natively in XSplit 2.0. */
  4.  
  5. body {
  6.     overflow: hidden;
  7.     margin: 5px;
  8.     color: transparent;
  9. }
  10.  
  11. #chat_box {
  12.     background-color: transparent !important;
  13.     font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  14.     font-size: 12px;
  15.     font-style: normal;
  16.     font-variant: normal;
  17.     font-weight: normal;
  18.     position: relative;
  19.     overflow: hidden;
  20.     color: #FFFFFF !important;
  21.     border-radius: 4px;
  22.     width: calc(100% - 10px);
  23.     height: calc(100% - 10px);
  24.     line-height: 13px;
  25. }
  26.  
  27. .nick {
  28.     font-weight: bold;
  29.     /* This makes all nicks white. */
  30.     color: #FFFFFF !important;
  31. }
  32.  
  33. .tag {
  34.     /* Change to none if you don"t want tags displayed. If you have both a mod and broadcaster icon, do /unmod <your name> to remove the mod tag. */
  35.     display: inline-block;
  36.     text-indent: 15px;
  37.     background-position: 0 center;
  38.     background-repeat: no-repeat;
  39.     /* In the .turbo, .mod, .broadcaster etc tags remove the background-color segment to make transparent. */
  40.     background-color: transparent;
  41.     display: inline-block;
  42.     vertical-align: bottom;
  43.     height: 18px;
  44.     min-width: 18px;
  45.     width: expression(document.body.clientWidth < $width ? "18px":"auto");
  46.     padding: 0;
  47.     margin-right: 3px;
  48.     margin-bottom: -1px;
  49.     text-indent: -9999px;
  50.     border-radius: 2px;
  51.     -moz-border-radius: 2px;
  52.     -webkit-border-radius: 2px;
  53.     overflow: hidden;
  54. }
  55.  
  56. .turbo {
  57.     background-image: url("http://www-cdn.jtvnw.net/images/xarth/badge_turbo.svg");
  58.     background-size: 100%;
  59. }
  60.  
  61. .mod {
  62.     background-image: url("http://www-cdn.jtvnw.net/images/xarth/badge_mod.svg");
  63.     background-size: 100%;
  64. }
  65.  
  66. .broadcaster {
  67.     background-image: url("http://www-cdn.jtvnw.net/images/xarth/badge_broadcaster.svg");
  68.     background-size: 100%;
  69. }
  70.  
  71. .staff {
  72.     background-image: url("http://www-cdn.jtvnw.net/images/xarth/badge_staff.svg");
  73.     background-size: 100%;
  74. }
  75.  
  76. .admin {
  77.     background-image: url("http://www-cdn.jtvnw.net/images/xarth/badge_admin.svg");
  78.     background-size: 100%;
  79. }
  80.  
  81. .global_mod {
  82.     background-image: url("http://www-cdn.jtvnw.net/images/xarth/badge_globalmod.svg");
  83.     background-size: 100%;
  84. }
  85.  
  86. .chat_line {
  87.     margin-left: 3px;
  88.     margin-right: 3px;
  89.     padding-top: 2px;
  90.     padding-bottom: 3px;
  91.     line-height: 13px;
  92.     margin-bottom: 3px;
  93.     background-color: rgba(0,0,0,0.6);
  94.     border-radius: 6px;
  95.     padding: 5px;
  96.     animation: fadeInLeft 30.05s alternate forwards;
  97.     -moz-animation: fadeInLeft 30.05s alternate forwards;
  98.     -webkit-animation: fadeInLeft 30.05s alternate forwards;
  99. }
  100.  
  101. .chat_line[data-nick="Chat"] {
  102.     display: none !important;
  103. }
  104.  
  105. .chat_line .message {
  106.     /*word-break: break-all;*/
  107.     word-wrap: break-word;
  108. }
  109.            
  110. .chat_line .time_stamp {
  111.     display: none;
  112.     padding-right: 3px;
  113. }
  114.            
  115. span.message {
  116.     /* Makes all part of the chat line white. */
  117.     color: #FFFFFF !important;
  118. }
  119.  
  120. .emoticon {
  121.     margin-bottom: -7px;
  122. }
  123.            
  124. @keyframes fadeInLeft {
  125.     0%,100% {
  126.         opacity: 0;
  127.         -webkit-transform: translate3d(-100%, 0, 0);
  128.         -moz-transform: translate3d(-100%, 0, 0);
  129.         transform: translate3d(-100%, 0, 0);
  130.     }
  131.  
  132.     1%,99% {
  133.         opacity: 1;
  134.         -webkit-transform: none;
  135.         -moz-transform: none;
  136.         transform: none;
  137.     }
  138. }
  139.  
  140. @-webkit-keyframes fadeInLeft {
  141.     0%,100% {
  142.         opacity: 0;
  143.         -webkit-transform: translate3d(-100%, 0, 0);
  144.         -moz-transform: translate3d(-100%, 0, 0);
  145.         transform: translate3d(-100%, 0, 0);
  146.     }
  147.  
  148.     1%,99% {
  149.         opacity: 1;
  150.         -webkit-transform: none;
  151.         -moz-transform: none;
  152.         transform: none;
  153.     }
  154. }
  155.  
  156. @-moz-keyframes fadeInLeft {
  157.     0%,100% {
  158.         opacity: 0;
  159.         -webkit-transform: translate3d(-100%, 0, 0);
  160.         -moz-transform: translate3d(-100%, 0, 0);
  161.         transform: translate3d(-100%, 0, 0);
  162.     }
  163.  
  164.     1%,99% {
  165.         opacity: 1;
  166.         -webkit-transform: none;
  167.         -moz-transform: none;
  168.         transform: none;
  169.     }
  170. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement