FL:RP

Makes the FearlessRP forums not eye-singingly bright.

  1. // ==UserScript==
  2. // @name FL:RP
  3. // @namespace FLRP
  4. // @version 1.1d
  5. // @grant none
  6. // @description Makes the FearlessRP forums not eye-singingly bright.
  7.  
  8. // @include http://*fearlessrp.net/*
  9. // @include https://*fearlessrp.net/*
  10. // ==/UserScript==
  11.  
  12. //
  13. // Written by Glenn Wiking
  14. // Script Version: 1.1d
  15. // Date of issue: 20/01/16
  16. // Date of resolution: 06/01/16
  17. //
  18.  
  19. function ShadeRootFLRP(css) {
  20. var head, style;
  21. head = document.getElementsByTagName('head')[0];
  22. if (!head) { return; }
  23. style = document.createElement('style');
  24. style.type = 'text/css';
  25. style.innerHTML = css;
  26. head.appendChild(style);
  27. }
  28.  
  29. ShadeRootFLRP(
  30. //'body {display: none;}'
  31. //+
  32. 'body[contenteditable="true"] {background: #929292 !important;}'
  33. +
  34. 'body, #container2 {background-color: #171A1B !important;}'
  35. +
  36. '#container {background: rgba(0, 0, 0, 0.35);}'
  37. +
  38. 'table {color: #E1E8EA !important;}'
  39. +
  40. '#posts_container {background-color: #646B6E;}'
  41. +
  42. 'a:link, h5, font p {color: #D7D7D7 !important;}'
  43. +
  44. '#menu {background-color: #21292D !important;}'
  45. +
  46. '.post .post_author {background: #313232; border-bottom: 1px solid #3B4D57; border-top: 2px solid #2D3235;}'
  47. +
  48. '.smalltext, .post_date {color: #999 !important;}'
  49. +
  50. '.post_controls {background: #313232; border-bottom: 1px solid #272323;}'
  51. +
  52. '.largetext {text-shadow: 0px 0px 5px #99F;}'
  53. +
  54. '.edited_post a {color: #CCC !important;}'
  55. +
  56. '.tfoot {background: #1E2324;}'
  57. +
  58. '.trow2 {background: #293135 !important; border-color: #393C3E #373E44 #272E32 #1B2023 !important; color: #C1CBCC;}'
  59. +
  60. '.trow1 {background: #444A4E !important; border-color: #2A383C #213035 #294853 #45575F !important; color: #C1CBCC;}'
  61. +
  62. 'td div span span a:link {color: #ECECEC;}'
  63. +
  64. '.author a:link {color: #BEC7CB !important;}'
  65. +
  66. '.trow_sep {background: #202529 !important; color: #DADCDD; border-bottom: 1px solid #262E30;}'
  67. +
  68. '.trow1 strong a:link, .trow2 strong a:link {color: #D6DEE3 !important;}'
  69. +
  70. '.smalltext a {color: #D6DEE3 !important;}'
  71. +
  72. '.pm_alert {border: 1px solid #3F9AC6 !important; color: #3F9AC6 !important; background-color: #34505F !important;}'
  73. +
  74. '.navegador ul {background: #313232 !important; border: 1px solid #26373F !important;}'
  75. +
  76. '.navegador .active {color: #D4DEE0 !important;}'
  77. +
  78. '#menuspacer {background: #313232 !important;}'
  79. +
  80. '#cssmenu > ul {background: #313232 !important;}'
  81. +
  82. '#cssmenu > ul > li > a, .float_left {color: #C4D6DB !important;}'
  83. +
  84. 'a:link, strong a, strong a:link, a:visited {color: #D1D1D1 !important;}'
  85. +
  86. '.subject_old a:link, . subject_old a:link {color: #C1CBCC !important;}'
  87. +
  88. 'td strong a, .trow2 strong a, img, #gametracker a, #gametracker a img, img::before {color: #D6DEE3 !important;}'
  89. +
  90. '.tcat_foot {background: rgb(49, 50, 50) !important;}'
  91. +
  92. '.tborder {background: rgba(0, 0, 0, 0);}'
  93. +
  94. 'a:link {color: #D7D7D7 !important;}'
  95. +
  96. '.post_content, textarea, #message, input.textbox {background: #5A6062 !important;}'
  97. +
  98. 'textarea, input.textbox {border: 1px solid #133745 !important;}'
  99. +
  100. '.postbit_buttons > a:link, .postbit_buttons > a:hover, .postbit_buttons > a:visited, .postbit_buttons > a:active, button, input.button, .pagination a, .pagination_page {background: #304D54 !important; border: 1px solid #37646C !important; color: #C0CCD1 !important;}'
  101. +
  102. '.tcat {background: -moz-linear-gradient(top, #27444D 0%, #122535 100%) !important; background: -webkit-linear-gradient(top, #27444D 0%, #122535 100%) !important; background: linear-gradient(to bottom, #124b5b 0%,#0a283f 100%) !important; border-top: 1px solid #293C42 !important; border-bottom: 1px solid #293C42 !important;}'
  103. +
  104. '.menufooter {border-bottom: 1px solid #273538 !important;}'
  105. +
  106. '.thead {border-bottom: 2px solid #263839 !important;}'
  107. +
  108. 'blockquote {border: 1px solid #255375; background: #153544; color: #CCD !important;}'
  109. +
  110. '.post .post_author div.author_statistics {color: #BBC5CB !important;}'
  111. +
  112. '.post_content .signature {border-top: 1px dotted #122F3B !important;}'
  113. +
  114. 'blockquote cite {border-bottom: 1px solid #1F4F5F !important;}'
  115. +
  116. '.post .post_author div.author_avatar img {border: 1px solid #253135 !important; background: #475356 !important;}'
  117. +
  118. 'img {opacity: .9;}'
  119. +
  120. '.content navigation, .content navigation h2 {background-color: rgba(25,25,35,.9) !important;}'
  121. +
  122. '#rounded-corner th, .rounded-q5, .rounded-company {color: #AFC7C8; background: #2A3336 !important;}'
  123. +
  124. '#rounded-corner td {background: #191C1D; border-top: 1px solid #3C7781;}'
  125. +
  126. '#rounded-corner tr:nth-child(odd) td {background-color: #1E2B32;}'
  127. +
  128. '#rounded-corner tbody tr:hover td {background: #10161A;}'
  129. +
  130. '#rounded-corner a {color: #ADB7BA !important;}'
  131. +
  132. '.tb2 {background-color: #1E2B32; border: 1px solid #3C7781;}'
  133. +
  134. '#rounded-corner tfoot td.rounded-foot-left, #rounded-corner tfoot td.rounded-foot-right {background: #1E2B32;}'
  135. +
  136. '#notice, #rounded-corner td {color: #8C989C !important;}'
  137. +
  138. '.tb2 {color: #CCD !important;}'
  139. +
  140. '#header img {border-radius: .4em !important; background-color: #094550 !important;}'
  141. +
  142. 'div.error {border-top: 2px solid #3F9AC6 !important; border-bottom: 2px solid #3F9AC6 !important; background: #34505F !important;}'
  143. +
  144. 'div.error p em {color: #3F9AC6 !important;}'
  145. +
  146. '#container .error ul li {color: #D1D1D1 !important;}'
  147. +
  148. '.popup_menu {background: #2A3A44 !important; border: 1px solid #2B4350 !important;}'
  149. +
  150. '.popup_menu .popup_item {background: #323B3E !important;}'
  151. +
  152. 'tbody tr td .top tbody tr td, h1, td h3, td h4, td h5, td p {color: #AEBABF !important;}'
  153. +
  154. 'div.sceditor-toolbar, .sceditor-container {background: #242424 !important; border-bottom: 1px solid #293032 !important;}'
  155. +
  156. '.sceditor-group {background: #444A4E !important; border-bottom: 1px solid #294853 !important;}'
  157. +
  158. '.sceditor-button:hover, .sceditor-button:active, .sceditor-button.active {background: #165E80 !important;}'
  159. +
  160. '.menufooter .smalltext, .menufooter .smalltext a {background: rgba(25,25,35,.8) !important; border-radius: .25em;}'
  161. +
  162. '.sceditor-container {border: 1px solid #133745 !important; opacity: .92;}'
  163. +
  164. 'select, input {background: #304D54 !important; border: 1px solid #37646C !important; color: #C0CCD1 !important;}'
  165. );