GreasyFork - Dark Theme

Customizable Dark theme For GreasyFork.org

当前为 2020-01-24 提交的版本,查看 最新版本

  1. /* ==UserStyle==
  2. @name GreasyFork - Dark Theme
  3. @namespace https://greasyfork.org/en/users/124677-pabli
  4. @version 1.0.5
  5. @description Customizable Dark theme For GreasyFork.org
  6. @author Pabli
  7. @license CC-BY-SA-4.0
  8. @homepageURL https://greasyfork.org/en/scripts/395180-greasyfork-dark-theme
  9. @supportURL https://greasyfork.org/en/scripts/395180-greasyfork-dark-theme/feedback
  10. @preprocessor stylus
  11. @var color bg-header "Header background" #640000
  12. @var color t-header "Header text" #fafafa
  13. @var color bg "Background" #111
  14. @var color t-1 "Main text" #fafafa
  15. @var color t-2 "Second text" #aeaeae
  16. @var color t-link "Link" #ff7070
  17. @var color bg-sidebar "Sidebar" #1a1a1a
  18. @var color bg-sidebar-btn "Sidebar button" #510909
  19. @var color bg-sidebar-btn-h "Sidebar button hover" #323232
  20. @var color bg-btn "Button" #1a1a1a
  21. @var color bg-btn-h "Button hover" #323232
  22. @var color t-btn "Button text" #fafafa
  23. @var color border-btn "Button border" rgba(255, 255, 255, 0.1)
  24. @var color border-btn-h "Button border hover" rgba(255, 255, 255, 0.2)
  25. @var color bg-textarea "Text area background" #1a1a1a
  26. @var number maxwidth "Width Site (px)" 960
  27. @var number maxwidthf "Width Forum (px)" 960
  28. @var select theme "Theme syntax" ["Desert", "Sunburst", "Sons-Of-Obsidian", "Doxy"]
  29. @var checkbox wrap "Code wrap" 1
  30. @var checkbox scrollbar "Dark Scroll Bar" 1
  31. @var checkbox sidebar "Forum sidebar to the right" 0
  32. ==/UserStyle== */
  33.  
  34. @-moz-document domain("greasyfork.org") {
  35.  
  36. .width-constraint {
  37. max-width: maxwidth px;
  38. }
  39. body, .script-list, .user-list, .text-content,
  40. #script-info,
  41. body:not(.Settings), #Content {
  42. background-color: bg;
  43. color: t-1;
  44. }
  45. .announcement input {
  46. color: t-1;
  47. }
  48. #main-header,
  49. body:not(.Settings) #Head {
  50. background-color: bg-header;
  51. background-image: linear-gradient(rgba(0, 0, 0, 0.3), bg-header);
  52. }
  53. .script-list, .user-list, .text-content,
  54. .list-option-group ul,
  55. #script-info,
  56. #Content {
  57. box-shadow: none;
  58. border: none;
  59. }
  60. a, a:visited, body:not(.Settings) a:not(.Button):not(.ChangePicture) {
  61. color: t-link;
  62. text-decoration: none;
  63. &:hover {
  64. color: t-link;
  65. text-decoration: underline;
  66. }
  67. }
  68. #Head a {
  69. text-decoration: none;
  70. &:hover {
  71. text-decoration: underline;
  72. }
  73. }
  74. #main-header, #main-header a, #main-header a:visited, #main-header a:active,
  75. #site-nav>nav a:hover {
  76. color: t-header;
  77. }
  78. #site-name-text h1 a:hover {
  79. text-decoration: none !important;
  80. }
  81. #home-script-nav {
  82. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  83. }
  84. #language-selector-locale {
  85. background: bg-header;
  86. color: t-header;
  87. border: 1px solid rgba(255, 255, 255, .5);
  88. }
  89. nav nav,
  90. .SiteMenu nav {
  91. background-color: bg-header;
  92. }
  93.  
  94. textarea, textarea:focus, select, input, input.DateBox, input.InputBox, input.SmallInput, .InputBox, .Preview, input.SmallInput:focus, input.InputBox:focus,
  95. form.new_user input[type="text"], form.new_user input[type="email"], form.new_user input[type="password"], input[type="text"] {
  96. color: t-1;
  97. background: bg-textarea;
  98. border: 1px solid rgba(255, 255, 255, .1);
  99. outline: none;
  100. }
  101. .Button, .Button.Active, .ButtonGroup.Open .Button.Handle, .Button:focus, .Button:active, .BigButton, .NewDiscussion,
  102. form.new_user input[type="submit"], button {
  103. background: bg-btn;
  104. color: t-btn !important;
  105. border: 1px solid border-btn;
  106. text-decoration: none;
  107. box-shadow: none;
  108. cursor: pointer;
  109. &:hover {
  110. background: bg-btn-h;
  111. color: t-btn;
  112. border-color: border-btn-h;
  113. text-decoration: none;
  114. }
  115. }
  116. :focus {
  117. outline-style: none;
  118. }
  119. //search
  120. .sidebar-search input[type=submit], .home-search input[type=submit], .search-submit, .SiteSearch .Button {
  121. color: transparent !important;
  122. opacity: 1;
  123. background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABYklEQVQ4T5XTu2qVQRTF8d8CMdp7AW9V7MwLaNKo7+ANe1ERK7Hy2oidmOALiMlDKIIS8QEsRLFRYqG9lyBsmThHviMnB7ObGT5m/t9ae6+JQVXVAi6hrbvwFS+xmGR1eHa0T9tU1TY8xIVJh/q3JVxN8mt4ZgR41C9/wz08wSccxDlcx04sJbk8BuiyX6BdPpHk9b8qquoonnbI/NBOqmoFp3Ajyd3NLFTVLdzEcpKzf3tQVWvYh9kkH6YAZvEea0kODAE/sR0zSdanAGbwA+tJ2n6jmoX/VXAY7/A5yf4hYBmnm78kd6YouN36hJUkZ4aA+R6W7ziZ5NWEKRzrU2jSF8am0IPUQnIRDXIfj/ERh3Ae17ADXzCXpK1/ejBI4oMOmeSieqz34E3PywZkAzCqqmpSR29hb7/UQrbYR/gMR4aQMcBmDRz8YDcaZA5vcXxLgG632Rgpeb5lwADSnsCV30xRiAuwE+OqAAAAAElFTkSuQmCC') no-repeat center !important;
  124. border: none !important;
  125. cursor: pointer;
  126. }
  127. .SiteSearch .Button {
  128. top: 6px;
  129. }
  130. .SearchForm .SiteSearch .Button {
  131. top: 10px;
  132. }
  133. #Panel input.InputBox, .AddPeople textarea.MultiComplete {
  134. border-radius: 5px;
  135. }
  136. .sidebar-search input[type=search],
  137. .home-search input[type=search] {
  138. border-radius: 5px;
  139. padding: 5px;
  140. padding-inline-end: 25px;
  141. }
  142. .sidebar-search input[type=submit],
  143. .home-search input[type=submit] {
  144. padding: 5px;
  145. }
  146. .SearchForm .InputBox {
  147. border: 1px solid rgba(255, 255, 255, .1);
  148. }
  149. // sidebar
  150. .list-option-group ul,
  151. #Panel .FilterMenu, #Panel .PanelCategories, #Panel .MeBox,
  152. .list-option-groups .carbon-ad, .list-option-groups .adsense-ad {
  153. border: 1px solid rgba(255, 255, 255, .1);
  154. background-color: bg-sidebar;
  155. box-shadow: none;
  156. }
  157. .list-option-group .list-current,
  158. #Panel .FilterMenu .Active a, #Panel .PanelCategories .Active a {
  159. border-left: none;
  160. margin: unset;
  161. background: bg-sidebar-btn !important;
  162. color: t-1;
  163. }
  164. .list-option-group a:hover, .list-option-group a:focus,
  165. #Panel .FilterMenu a:hover, #Panel .PanelCategories a:hover, #Panel .FilterMenu a:focus, #Panel .PanelCategories a:focus {
  166. background: bg-sidebar-btn-h;
  167. color: t-1 !important;
  168. text-decoration: none !important;
  169. box-shadow: none;
  170. }
  171. if sidebar {
  172. #Panel {
  173. float: right;
  174. }
  175. }
  176.  
  177. #user-profile {
  178. border: 1px solid rgba(255, 255, 255, .1);
  179. background-color: bg-sidebar;
  180. }
  181. .change-script-set section {
  182. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  183. }
  184.  
  185. .install-link, .install-help-link {
  186. color: #fff !important;
  187. }
  188. .script-list li:not(.ad-entry),
  189. .DataList .Item, .NarrowList .Item {
  190. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  191. }
  192. #additional-info>div {
  193. border: 1px solid rgba(255, 255, 255, 0.1);
  194. background-color: rgba(0, 0, 0, 0.2);
  195. }
  196. .notice {
  197. background-color: #1c2123;
  198. border-left: 6px solid #204050;
  199. }
  200. .alert {
  201. background-color: #222211;
  202. border-left: 6px solid #a1931a;
  203. }
  204. :target {
  205. background-color: rgba(255, 255, 255, 0.05);
  206. }
  207.  
  208. .good-rating-count {
  209. color: #80ff80;
  210. }
  211. .ok-rating-count {
  212. color: #ffff80;
  213. }
  214. .bad-rating-count {
  215. color: #ff8080;
  216. }
  217.  
  218. //pagination buttons
  219. .pagination>*, .script-list+.pagination>*, .user-list+.pagination>*,
  220. .Pager > * {
  221. background-color: transparent;
  222. }
  223. .pagination>a:hover, .pagination>a:focus,
  224. .Pager > a:hover, .Pager > a:focus {
  225. background-color: bg-sidebar-btn-h;
  226. color: t-1 !important;
  227. text-decoration: none !important;
  228. }
  229. body .Pager .Highlight {
  230. color: t-1 !important;
  231. }
  232. // /stats script
  233. canvas {
  234. filter: invert(1) brightness(2);
  235. }
  236.  
  237. // history code
  238. .diff ul {
  239. background: #000;
  240. }
  241. .diff li:hover {
  242. background-color: rgba(255, 255, 255, .2) !important
  243. }
  244. .diff li.del, .diff del strong {
  245. background-color: rgba(255, 0, 0, .2);
  246. color: #fdd;
  247. }
  248. .diff li.ins, .diff ins strong {
  249. background-color: rgba(0, 255, 0, .2);
  250. color: #dfd;
  251. }
  252. .diff li.diff-block-info {
  253. background: none repeat scroll 0 0 #252525;
  254. }
  255.  
  256. .DiscussionForm label {
  257. color: t-2;
  258. }
  259.  
  260. .editor-fullpage #editor-fullpage-candidate,
  261. .editor-fullpage #editor-fullpage-candidate .editor {
  262. background-color: #000;
  263. }
  264.  
  265. code, .Message pre {
  266. background-color: #151515;
  267. }
  268. pre, code, .Message pre {
  269. border: 1px solid rgba(255, 255, 255, .1);
  270. }
  271.  
  272. if theme == Desert {
  273. /* desert scheme ported from vim to google prettify */
  274. pre.prettyprint, pre.prettyprinted, .Message pre ol { display: block; background-color: #333 }
  275. pre .nocode { background-color: none; color: #000 }
  276. pre .str { color: #ffa0a0 } /* string - pink */
  277. pre .kwd { color: #f0e68c; font-weight: bold }
  278. pre .com { color: #87ceeb } /* comment - skyblue */
  279. pre .typ { color: #98fb98 } /* type - lightgreen */
  280. pre .lit { color: #cd5c5c } /* literal - darkred */
  281. pre .pun { color: #fff } /* punctuation */
  282. pre .pln { color: #fff } /* plaintext */
  283. pre .tag { color: #f0e68c; font-weight: bold } /* html/xml tag - lightyellow */
  284. pre .atn { color: #bdb76b; font-weight: bold } /* attribute name - khaki */
  285. pre .atv { color: #ffa0a0 } /* attribute value - pink */
  286. pre .dec { color: #98fb98 } /* decimal - lightgreen */
  287.  
  288. /* Specify class=linenums on a pre to get line numbering */
  289. ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE } /* IE indents via margin-left */
  290. li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
  291. /* Alternate shading for lines */
  292. li.L1,li.L3,li.L5,li.L7,li.L9 { }
  293. }
  294. else if theme == Sunburst {
  295. /* Pretty printing styles. Used with prettify.js. */
  296. /* Vim sunburst theme by David Leibovic */
  297. pre .str, code .str { color: #65B042; } /* string - green */
  298. pre .kwd, code .kwd { color: #E28964; } /* keyword - dark pink */
  299. pre .com, code .com { color: #AEAEAE; font-style: italic; } /* comment - gray */
  300. pre .typ, code .typ { color: #89bdff; } /* type - light blue */
  301. pre .lit, code .lit { color: #3387CC; } /* literal - blue */
  302. pre .pun, code .pun { color: #fff; } /* punctuation - white */
  303. pre .pln, code .pln { color: #fff; } /* plaintext - white */
  304. pre .tag, code .tag { color: #89bdff; } /* html/xml tag - light blue */
  305. pre .atn, code .atn { color: #bdb76b; } /* html/xml attribute name - khaki */
  306. pre .atv, code .atv { color: #65B042; } /* html/xml attribute value - green */
  307. pre .dec, code .dec { color: #3387CC; } /* decimal - blue */
  308.  
  309. pre.prettyprint, code.prettyprint, , pre.prettyprinted, .Message pre ol {
  310. background-color: #000;
  311. border-radius: 8px;
  312. }
  313. /* Specify class=linenums on a pre to get line numbering */
  314. ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE; } /* IE indents via margin-left */
  315. li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
  316. /* Alternate shading for lines */
  317. li.L1,li.L3,li.L5,li.L7,li.L9 { }
  318. }
  319. else if theme == Sons-Of-Obsidian {
  320. /*
  321. * Derived from einaros's Sons of Obsidian theme at
  322. * http://studiostyl.es/schemes/son-of-obsidian by
  323. * Alex Ford of CodeTunnel:
  324. * http://CodeTunnel.com/blog/post/71/google-code-prettify-obsidian-theme
  325. */
  326. .str { color: #EC7600; }
  327. .kwd { color: #93C763; }
  328. .com { color: #66747B; }
  329. .typ { color: #678CB1; }
  330. .lit { color: #FACD22; }
  331. .pun { color: #F1F2F3; }
  332. .pln { color: #F1F2F3; }
  333. .tag { color: #8AC763; }
  334. .atn { color: #E0E2E4; }
  335. .atv { color: #EC7600; }
  336. .dec { color: purple; }
  337. pre.prettyprint { border: 0px solid #888; }
  338. ol.linenums
  339. {
  340. margin-top: 0;
  341. margin-bottom: 0;
  342. }
  343. .prettyprint, , pre.prettyprinted, .Message pre ol {
  344. background: #000;
  345. }
  346. li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9
  347. {
  348. color: #555;
  349. list-style-type: decimal;
  350. }
  351. li.L1, li.L3, li.L5, li.L7, li.L9 {
  352. background: #111;
  353. }
  354. }
  355. else if theme == Doxy {
  356. /* Doxy pretty-printing styles. Used with prettify.js. */
  357. pre .str, code .str { color: #fec243; } /* string - eggyolk gold */
  358. pre .kwd, code .kwd { color: #8470FF; } /* keyword - light slate blue */
  359. pre .com, code .com { color: #32cd32; font-style: italic; } /* comment - green */
  360. pre .typ, code .typ { color: #6ecbcc; } /* type - turq green */
  361. pre .lit, code .lit { color: #d06; } /* literal - cherry red */
  362. pre .pun, code .pun { color: #8B8970; } /* punctuation - lemon chiffon4 */
  363. pre .pln, code .pln { color: #f0f0f0; } /* plaintext - white */
  364. pre .tag, code .tag { color: #9c9cff; } /* html/xml tag (bluey) */
  365. pre .htm, code .htm { color: #dda0dd; } /* html tag light purply*/
  366. pre .xsl, code .xsl { color: #d0a0d0; } /* xslt tag light purply*/
  367. pre .atn, code .atn { color: #46eeee; font-weight: normal;} /* html/xml attribute name - lt turquoise */
  368. pre .atv, code .atv { color: #EEB4B4; } /* html/xml attribute value - rosy brown2 */
  369. pre .dec, code .dec { color: #3387CC; } /* decimal - blue */
  370. pre.prettyprint, code.prettyprint, pre.prettyprinted, .Message pre ol {
  371. font-family:'Droid Sans Mono','CPMono_v07 Bold','Droid Sans';
  372. font-weight: bold;
  373. font-size: 9pt;
  374. background-color: #0f0f0f;
  375. -moz-border-radius: 8px;
  376. -webkit-border-radius: 8px;
  377. -o-border-radius: 8px;
  378. -ms-border-radius: 8px;
  379. -khtml-border-radius: 8px;
  380. border-radius: 8px;
  381. } /* background is black (well, just a tad less dark ) */
  382. pre.prettyprint a, code.prettyprint a {
  383. text-decoration:none;
  384. }
  385. /* Specify class=linenums on a pre to get line numbering; line numbers themselves are the same color as punctuation */
  386. ol.linenums { margin-top: 0; margin-bottom: 0; color: #8B8970; } /* IE indents via margin-left */
  387. li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
  388. /* Alternate shading for lines */
  389. li.L1,li.L3,li.L5,li.L7,li.L9 { }
  390. }
  391. if wrap {
  392. pre.prettyprint, pre code {
  393. word-break: break-word;
  394. overflow-wrap: break-word;
  395. white-space: pre-wrap;
  396. }
  397. }
  398. // ace theme tomorrow_night_bright
  399. // Enable syntax-highlighting source editor
  400. #ace-editor {
  401. border: 1px solid rgba(255, 255, 255, 0.1);
  402. }
  403. .ace_gutter {
  404. background: #1a1a1a !important;
  405. color: #DEDEDE !important;
  406. }
  407. .ace_print-margin {
  408. width: 1px !important;
  409. background: #1a1a1a !important;
  410. }
  411. .ace_editor {
  412. background-color: #000000 !important;
  413. color: #DEDEDE !important;
  414. }
  415. .ace_cursor {
  416. color: #9F9F9F !important;
  417. }
  418. .ace_marker-layer .ace_selection {
  419. background: #424242 !important;
  420. }
  421. .ace_multiselect .ace_selection.ace_start {
  422. box-shadow: 0 0 3px 0px #000000 !important;
  423. }
  424. .ace_marker-layer .ace_step {
  425. background: rgb(102, 82, 0) !important;
  426. }
  427. .ace_marker-layer .ace_bracket {
  428. margin: -1px 0 0 -1px !important;
  429. border: 1px solid #888888 !important;
  430. }
  431. .ace_marker-layer .ace_highlight {
  432. border: 1px solid rgb(110, 119, 0) !important;
  433. border-bottom: 0 !important;
  434. box-shadow: inset 0 -1px rgb(110, 119, 0) !important;
  435. margin: -1px 0 0 -1px !important;
  436. background: rgba(255, 235, 0, 0.1) !important;
  437. }
  438. .ace_marker-layer .ace_active-line {
  439. background: #2A2A2A !important;
  440. }
  441. .ace_gutter-active-line {
  442. background-color: #2A2A2A !important;
  443. }
  444. .ace_stack {
  445. background-color: rgb(66, 90, 44) !important;
  446. }
  447. .ace_marker-layer .ace_selected-word {
  448. border: 1px solid #888888 !important;
  449. }
  450. .ace_invisible {
  451. color: #343434 !important;
  452. }
  453. .ace_keyword,
  454. .ace_meta,
  455. .ace_storage,
  456. .ace_storage.ace_type,
  457. .ace_support.ace_type {
  458. color: #C397D8 !important;
  459. }
  460. .ace_keyword.ace_operator {
  461. color: #70C0B1 !important;
  462. }
  463. .ace_constant.ace_character,
  464. .ace_constant.ace_language,
  465. .ace_constant.ace_numeric,
  466. .ace_keyword.ace_other.ace_unit,
  467. .ace_support.ace_constant,
  468. .ace_variable.ace_parameter {
  469. color: #E78C45 !important;
  470. }
  471. .ace_constant.ace_other {
  472. color: #EEEEEE !important;
  473. }
  474. .ace_invalid {
  475. color: #CED2CF !important;
  476. background-color: #DF5F5F !important;
  477. }
  478. .ace_invalid.ace_deprecated {
  479. color: #CED2CF !important;
  480. background-color: #B798BF !important;
  481. }
  482.  
  483. .ace_fold {
  484. background-color: #7AA6DA !important;
  485. border-color: #DEDEDE !important;
  486. }
  487. .ace_entity.ace_name.ace_function,
  488. .ace_support.ace_function,
  489. .ace_variable {
  490. color: #7AA6DA !important;
  491. }
  492. .ace_support.ace_class,
  493. .ace_support.ace_type {
  494. color: #E7C547 !important;
  495. }
  496. .ace_heading,
  497. .ace_markup.ace_heading,
  498. .ace_string {
  499. color: #B9CA4A !important;
  500. }
  501. .ace_entity.ace_name.ace_tag,
  502. .ace_entity.ace_other.ace_attribute-name,
  503. .ace_meta.ace_tag,
  504. .ace_string.ace_regexp,
  505. .ace_variable {
  506. color: #D54E53 !important;
  507. }
  508. .ace_comment {
  509. color: #969896 !important;
  510. }
  511. .ace_c9searchresults.ace_keyword {
  512. color: #C2C280 !important;
  513. }
  514. .ace_indent-guide {
  515. background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC') right repeat-y !important;
  516. }
  517.  
  518.  
  519. form.external-login-form,
  520. form.new_user {
  521. background-color: bg;
  522. border: none;
  523. }
  524. form.new_user input[type="text"], form.new_user input[type="email"], form.new_user input[type="password"] {
  525. color: texxt-color;
  526. background-color: textarea-color;
  527. border: 1px solid rgba(255, 255, 255, .1);
  528. box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  529. }
  530.  
  531. //forum
  532. .ItemDiscussion .Meta, .DataList .Meta,
  533. dl.About dt {
  534. color: t-2;
  535. }
  536. .Item.Read {
  537. background: rgba(255, 255, 255, 0.02);
  538. }
  539. .MenuItems, .FlyoutMenu {
  540. border: 1px solid rgba(255, 255, 255, 0.1);
  541. background: bg-sidebar;
  542. color: t-1;
  543. }
  544. .Flyout:after {
  545. border-bottom: 7px solid bg-sidebar;
  546. }
  547. .MenuItems a, .MenuItems a:link, .MenuItems a:visited, .MenuItems a:active {
  548. color: t-1 !important;
  549. }
  550. .MenuItems a:hover {
  551. color: t-1 !important;
  552. text-decoration: none !important;
  553. background-color: bg-sidebar-btn-h !important;
  554. }
  555. .MenuItems hr {
  556. border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  557. }
  558. .PopList .Meta {
  559. color: t-2;
  560. }
  561. .FlyoutMenu a {
  562. color: t-link;
  563. }
  564. blockquote.Quote, blockquote.UserQuote {
  565. background: rgba(255, 255, 255, 0.05);
  566. border-left: 4px solid rgba(255, 255, 255, 0.1);
  567. }
  568. .OptionsTitle {
  569. filter: invert(1);
  570. }
  571. .ReactSprite, .SpEditProfile {
  572. background-image: url(https://i.imgur.com/HbaKg8l.png);
  573. }
  574. .SpNotifications, .SpGlobe {
  575. background-position: -32px -212px;
  576. }
  577. .SpInbox, .SpEnvelope {
  578. background-position: 0 -228px;
  579. }
  580. .SpBookmarks, .SpStar {
  581. background-position: -80px -245px;
  582. }
  583. .SpDashboard, .SpOptions, .SpCog {
  584. background-position: 0 -211px;
  585. }
  586. table.PreferenceGroup tbody tr:hover td {
  587. background: rgba(255, 255, 255, 0.05);
  588. }
  589. .WarningMessage {
  590. background: #19100f;
  591. border: 1px solid #4c2825;
  592. }
  593. .DismissMessage {
  594. color: t-1;
  595. }
  596. .NavButton, .NavButton:hover, .ButtonGroup.Open .NavButton.Handle {
  597. border: 1px solid rgba(255, 255, 255, 0.1);
  598. background-color: bg-sidebar;
  599. color: t-1!important;
  600. text-decoration: none!important;
  601. }
  602.  
  603. .PoweredByVanilla {
  604. display: none;
  605. }
  606.  
  607. #Panel {
  608. margin: unset;
  609. }
  610. #Body {
  611. max-width: none;
  612. }
  613. #Body .Row {
  614. width: max-content;
  615. }
  616. #Content {
  617. width: maxwidthf - 200 px;
  618. }
  619.  
  620. //
  621. .tabs>*:not(.current) a {
  622. margin-top: unset;
  623. padding-top: unset;
  624. }
  625. .tabs .current {
  626. border-top: none;
  627. }
  628. .tabs>*>* {
  629. padding: 0.25em .5em .5em!important;
  630. }
  631. .current {
  632. font-weight: bold;
  633. }
  634.  
  635. .PageControls {
  636. margin: 0px;
  637. }
  638.  
  639. #Content .HomepageTitle {
  640. border-top: none;
  641. margin: 0px;
  642. padding: 0px;
  643. }
  644.  
  645. img[src*="images/defaulticon.png"] {
  646. opacity: 0.5;
  647. }
  648.  
  649. if scrollbar {
  650. //chrome
  651. ::-webkit-scrollbar {
  652. width: 8px;
  653. background-color: rgba(0, 0, 0, 0);
  654. }
  655. ::-webkit-scrollbar-thumb {
  656. background-color: #444;
  657. }
  658. ::-webkit-scrollbar-thumb:hover {
  659. background: #777 !important;
  660. }
  661. ::-webkit-scrollbar-corner {
  662. background: #444;
  663. }
  664. //firefox
  665. html {
  666. scrollbar-color: #444 bg !important;
  667. scrollbar-width: thin !important;
  668. }
  669. }
  670.  
  671.  
  672. //ads
  673. div#cf, div#cf span.cf-wrapper {
  674. background-color: rgba(255, 255, 255, .03) !important;
  675. }
  676. div#cf span.cf-wrapper span.cf-text,
  677. div#cf span.cf-wrapper a.cf-text,
  678. div#cf span.cf-wrapper a.cf-powered-by {
  679. color: hsla(0,0%,100%,.7) !important;
  680. }
  681. div#cf span.cf-wrapper a.cf-text span.cf-cta {
  682. color: #fff !important;
  683. }
  684.  
  685. }