Advertisement
Guest User

Untitled

a guest
May 24th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.13 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Charm's "Smooth" Gota.io!
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0 - Report any bugs
  5. // @description Makes the menues look smoother!
  6. // @author Charm | C.H.M
  7. // @match http://gota.io/web/
  8. // @grant none
  9.  
  10.  
  11.  
  12. // ==/UserScript==//
  13.  
  14.  
  15. //Change the background and Grid color!!!
  16. //Change the background and Grid color!!!
  17. //Change the background and Grid color!!!
  18. //vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv// NOTE: Only change the area located between the " ", you can change to whatever colors you want (You can use HEX codes like #FF0000 or rgb codes like 255,255,255)
  19. //
  20. // REMOVE THE TWO //'s AT THE START OF BOTH CODES (settings.background etc.)
  21. //settings.background="white";
  22. //settings.gridColor="black";
  23. // REMOVE THE TWO //'s AT THE START OF BOTH CODES (settings.background etc.)
  24. //
  25. //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^// If you change the Dark Theme setting this will be reset. Fixing this in further updates!
  26. //Change the background and Grid color!!!
  27. //Change the background and Grid color!!!
  28. //Change the background and Grid color!!!
  29.  
  30.  
  31. //
  32.  
  33. function makeStyle(css) {
  34. var head, style;
  35. head = document.getElementsByTagName('head')[0];
  36. if (!head) { return; }
  37. style = document.createElement('style');
  38. style.type = 'text/css';
  39. style.innerHTML = css;
  40. head.appendChild(style);
  41. }
  42.  
  43. //
  44.  
  45. makeStyle('#leaderboard-panel { color:#1E7FE6; !important;');makeStyle('.main-content { height:620; !important;');makeStyle('.main-panel { background-color:white;border-witdh:0; !important;');makeStyle('#chat-container { background-color:rgba(255, 255, 255, 0);!important;');
  46. makeStyle('#popup-login { background-color:white; !important;');
  47. makeStyle('.gota-btn { background-color:rgb(55, 119, 193);border-radius: 5px; !important;');
  48. makeStyle('#popup-party { background-color:white; !important;');
  49. makeStyle('.title-text { color:rgba(64, 197, 92, 0.8);text-shadow: 1px 1px 1px #000000; !important;');
  50. makeStyle('#chat-input { background-color:white; color:black; !important;');
  51. makeStyle('#server-content { background-color:rgba(64, 197, 92, 0.8); !important;');
  52. makeStyle('::-webkit-scrollbar-thumb { background:-webkit-linear-gradient(left,#33C15F,#249C37); border:1px solid #28A03B; box-shadow important;');
  53. makeStyle('.server-active { background-color:rgb(102, 208, 124); !important;');
  54. makeStyle('.server-tab { background-color:rgb(83, 165, 100); !important;');
  55. makeStyle('#popup-party-text { background-color: rgb(53, 116, 167);border-radius: 10px; !important;');
  56. makeStyle('#btn-spec { background-color:#3CB33C; !important;');
  57. makeStyle('input { background-color:green; !important;');
  58.  
  59.  
  60. //
  61.  
  62.  
  63.  
  64. $(".main-bottom").replaceWith('');$(".divider").replaceWith('');
  65. $(".main-bottom-links").replaceWith('');
  66. makeStyle('.main-input { margin-bottom:15px; !important;');
  67. $("span".contains="Dark Theme").replaceWith('');
  68.  
  69.  
  70. // Thanks to Verseh for helping me out a little!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement