satiel7314

Untitled

Aug 12th, 2020
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.44 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Ramka NI
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author You
  7. // @include http://*.margonem.pl/
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11.  
  12.  
  13. (() => {
  14. const style = document.createElement('style');
  15. const css = `
  16.  
  17.  
  18. .item:hover .highlight {
  19. z-index: 0;
  20. }
  21.  
  22. .item .highlight.h-exist,
  23. .bottomItem .highlight.h-exist,
  24. .item .icon.h-exist,
  25. .bottomItem .icon.h-exist {
  26. width: 30px;
  27. height: 30px;
  28. background: transparent;
  29. }
  30.  
  31. .item .highlight.t-uniupg,
  32. .bottomItem .highlight.t-uniupg,
  33. .item .icon.t-uniupg,
  34. .bottomItem .icon.t-uniupg {
  35. border: 1px solid #ffd700;
  36. box-shadow: inset 0 0 5px 3px rgba(255, 215, 0);
  37. animation-name: unique-highlight;
  38. }
  39.  
  40. .item .highlight.t-upgraded,
  41. .bottomItem .highlight.t-upgraded,
  42. .item .icon.t-upgraded,
  43. .bottomItem .icon.t-upgraded {
  44. border: 1px solid #00cd00;
  45. box-shadow: inset 0 0 5px 3px rgba(0, 205, 0);
  46. animation-name: upgraded-highlight;
  47. }
  48.  
  49. .item .highlight.t-her,
  50. .bottomItem .highlight.t-her,
  51. .item .icon.t-her,
  52. .bottomItem .icon.t-her {
  53. border: 1px solid #0996ed;
  54. box-shadow: inset 0 0 5px 3px rgba(9, 150, 237);
  55. animation-name: heroic-highlight;
  56. }
  57.  
  58. .item .highlight.t-leg,
  59. .bottomItem .highlight.t-leg,
  60. .item .icon.t-leg,
  61. .bottomItem .icon.t-leg {
  62. border: 1px solid #bb0088;
  63. box-shadow: inset 0 0 5px 3px rgba(187, 0, 136);
  64. animation-name: legendary-highlight;
  65. }
  66.  
  67. .item .highlight.t-art,
  68. .bottomItem .highlight.t-art,
  69. .item .icon.t-art,
  70. .bottomItem .icon.t-art {
  71. border: 1px solid #e84646;
  72. box-shadow: inset 0 0 5px 3px rgba(232, 70, 70);
  73. animation-name: artefact-highlight;
  74. }
  75.  
  76. .tip-wrapper[data-item-type="t-uniupg"] {
  77. box-shadow:
  78. 0 0 0 0 #2b282a,
  79. 0 0 0 1px #353131,
  80. 0 0 0 2px #191311,
  81. 0 0 0 3px #2b2727,
  82. 0 0 0 4px #59595a,
  83. 0 0 0 5px #ffd700,
  84. 0 0 0 6px #5a585b,
  85. 0 0 0 7px #2c2625;
  86. }
  87.  
  88. .tip-wrapper[data-item-type="t-upgraded"] {
  89. box-shadow:
  90. 0 0 0 0 #2b282a,
  91. 0 0 0 1px #353131,
  92. 0 0 0 2px #191311,
  93. 0 0 0 3px #2b2727,
  94. 0 0 0 4px #59595a,
  95. 0 0 0 5px #00cd00,
  96. 0 0 0 6px #5a585b,
  97. 0 0 0 7px #2c2625;
  98. }
  99.  
  100. .tip-wrapper[data-item-type="t-her"] {
  101. box-shadow:
  102. 0 0 0 0 #2b282a,
  103. 0 0 0 1px #353131,
  104. 0 0 0 2px #191311,
  105. 0 0 0 3px #2b2727,
  106. 0 0 0 4px #59595a,
  107. 0 0 0 5px #0996ed,
  108. 0 0 0 6px #5a585b,
  109. 0 0 0 7px #2c2625;
  110. }
  111.  
  112. .tip-wrapper[data-item-type="t-leg"] {
  113. box-shadow:
  114. 0 0 0 0 #2b282a,
  115. 0 0 0 1px #353131,
  116. 0 0 0 2px #191311,
  117. 0 0 0 3px #2b2727,
  118. 0 0 0 4px #59595a,
  119. 0 0 0 5px #bb0088,
  120. 0 0 0 6px #5a585b,
  121. 0 0 0 7px #2c2625;
  122. }
  123.  
  124. .tip-wrapper[data-item-type="t-art"] {
  125. box-shadow:
  126. 0 0 0 0 #2b282a,
  127. 0 0 0 1px #353131,
  128. 0 0 0 2px #191311,
  129. 0 0 0 3px #2b2727,
  130. 0 0 0 4px #59595a,
  131. 0 0 0 5px #e84646,
  132. 0 0 0 6px #5a585b,
  133. 0 0 0 7px #2c2625;
  134. }
  135. `;
  136.  
  137. style.appendChild(document.createTextNode(css));
  138. document.head.appendChild(style);
  139. })();
Add Comment
Please, Sign In to add comment