greasyfork-theme

Greasyfork new style

目前为 2016-11-10 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @author @leoncastro
  3. // @namespace https://github.com/leoncastro
  4. // @name greasyfork-theme
  5. // @version 1.03
  6. // @description Greasyfork new style
  7. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAMFBMVEVHcEwdHR0rKytERETZ2dk9PT2FhYWurq5gYGACAgL///+zs7NycnLh4eGUlJRZWVmvelI3AAAACXRSTlMA/vv+I8d7UKSOO7XsAAACWElEQVR4AZXW8XKzIBAEcPcQZd2De/+3/T5FqU1tMt36B5PhN8lROJxeM69LyQaSsFyWeXqfeckgCY8GOBHI6xszF/PmJG1LzSGa0JiXX6eDZsAORFMHgpjXp/mrpaBLfgPRAbk8zAd9cx7pgFI7AJzMr5UsJNmGQH/6XyT+EAsxxFNexUpWfRS39TEybR/FMuZn8rsA6eAtcJJcrwKspu+iGcFvwe1HzYa6vYhwB5qCHi1IwvdRWq4VvYkdbE4oKUxJLVWQJqolpXkHmUhfAv/n70Iu0pqMsg720dqX1MQh6nYEHiL9FexVFNLES2jrSclcEl4A5r6m4Cna1nNg2LVHSJyjZVrBM6hV13zxl5S+6y6xXan26/4o/JOwKd/Bq3DwHoCYwBE3QrU2HwK8pR/HKbWgpwaSjQEC5BABkraHJEQIk5mSdH6QGhHAELuG9vTtQdlk/f/P8wN6oPkQJIk9JNFBpp8AIj3E5nYT4xsusDShAzYQW2PIK4Z4KTpP69diWPShAeSTAFj28/yUR9HPdeZfxLofuD8Im48jfW8OGHv5QfROUxqvmKCv0/JTYO5t7+gIaHECCFWqck9fwhuYynSkUC1VTxV9qkSFKSBxCCR5zFdj6r9AO5BZiMLxGIlTgFXL6N3tBkhcNSgYY5fQbv27oINRdFT//zSpIk4Bm6eROd+ukD4AARlA8BAarfgSD5GxJ9TQC3gv8HQ5DFH4JvZ08S7GhzhIllHv5y+R9Xv9OWsxd8Kvm8SUIi/z+7eTkjyshVoSPJd1+ph5XbKZIZfl4U3mH2+RPKg5glBiAAAAAElFTkSuQmCC
  8. // @include https://greasyfork.org/*
  9. // @include https://sleazyfork.org/*
  10. // @compatible firefox+greasemonkey
  11. // @compatible chrome+tampermonkey
  12. // @grant none
  13. // @run-at document-start
  14. // ==/UserScript==
  15. //
  16. !(function(){
  17.  
  18. function addStyleEx(css)
  19. {
  20. var dad, obj = document.createElement('style');
  21. obj.setAttribute('type', 'text/css');
  22. obj.innerHTML = css;
  23. dad = document.getElementsByTagName('head');
  24. (dad && dad.length ? dad[0] : document).appendChild(obj);
  25. if(document.readyState == 'loading')
  26. document.addEventListener('DOMContentLoaded', function(){obj.parentNode.appendChild(obj)});
  27. return obj;
  28. }
  29.  
  30. function onReady(fn){(document.readyState!='loading')?fn():document.addEventListener('DOMContentLoaded',fn)}
  31. function qsRemove(a){var b=document.querySelector(a);if(b)b.remove()}
  32. function qsMoveAfter(a,b){var c=document.querySelector(a);if(c){var d=document.querySelector(b);if(d)d.parentNode.insertBefore(c,d.nextSibling)}}
  33.  
  34. addStyleEx(`
  35. /*
  36. //
  37. // @part-name @maxstarkenburg/greasyfork/app/assets/stylesheets/application.css
  38. // @part-webpage https://github.com/maxstarkenburg/greasyfork/
  39. // @part-author Max Starkenburg; https://github.com/maxstarkenburg
  40. // @part-content https://github.com/maxstarkenburg/greasyfork/blob/21d7a30bffef4cab214dff1a0925b37236b3eaa0/app/assets/stylesheets/application.css.erb
  41. //
  42. // <@application.css>
  43. */
  44.  
  45. body {
  46. margin: 0;
  47. background-color: #F6F6F6;
  48. }
  49. body, select, input {
  50. font-family: "Open Sans", sans-serif;
  51. }
  52.  
  53. a {
  54. color: #670000;
  55. }
  56. a:visited {
  57. color: #A42121;
  58. }
  59.  
  60. #main-header {
  61. background-color: #670000;
  62. background-image: linear-gradient(#670000, #990000);
  63. padding: 0.25em 0;
  64. }
  65. .width-constraint {
  66. margin: auto;
  67. max-width: 960px;
  68. }
  69.  
  70. #main-header .width-constraint {
  71. padding: 0 0 0.25em 0;
  72. /* enable absolute positioning for children */
  73. position: relative;
  74. }
  75. #site-name img {
  76. vertical-align: bottom;
  77. }
  78. #site-name-text {
  79. display: inline-block;
  80. vertical-align: top;
  81. }
  82. #site-name-text h1 {
  83. line-height: 1.1em;
  84. }
  85.  
  86. #main-header, #main-header a, #main-header a:visited, #main-header a:active {
  87. color: white;
  88. }
  89. #main-header h1 {
  90. font-size: 72px;
  91. margin: 0;
  92. margin-top: 0px;
  93. letter-spacing: -2px;
  94. }
  95. #main-header h1 a {
  96. text-decoration: none;
  97. }
  98. #main-header .subtitle {
  99. margin: -8px 0 0 10px;
  100. font-size: 0.7em;
  101. /* in case it overlaps the y in Greasy */
  102. text-shadow: -1px -1px 0px #670000, 1px -1px 0px #670000, -1px 1px 0px #670000, 1px 1px 0px #670000;
  103. }
  104.  
  105. #site-nav nav, #nav-user-info {
  106. text-align: right;
  107. position: absolute;
  108. right: 0;
  109. }
  110. #site-nav nav {
  111. bottom: 0;
  112. }
  113. #nav-user-info {
  114. top: 0;
  115. }
  116. nav a:hover {
  117. color: white;
  118. }
  119. nav {
  120. padding: 0;
  121. }
  122. nav li {
  123. list-style-type: none;
  124. display: inline;
  125. }
  126. nav li + li {
  127. margin-left: 0.5em;
  128. }
  129. #script-search, #language-selector {
  130. display: inline;
  131. }
  132. #nav-user-info {
  133. font-size: small;
  134. }
  135. #nav-user-info select, #nav-user-info input {
  136. font-size: 11px;
  137. }
  138.  
  139. #script-info {
  140. padding: 0 1em 1em;
  141. border: 1px solid #BBBBBB;
  142. border-radius: 5px;
  143. clear: left;
  144. background-color: white;
  145. margin: 1em 0;
  146. box-shadow: 0 0 5px #DDDDDD;
  147. }
  148.  
  149. #script-content {
  150. margin-top: 1.5em;
  151. }
  152. #script-content > *:first-child {
  153. margin-top: 0;
  154. }
  155. #script-info header h2 {
  156. margin: 0.25em 0 0 0;
  157. font-size: 2em;
  158. }
  159. #script-description {
  160. margin: 0;
  161. }
  162. #version-note {
  163. font-style: italic;
  164. background-color: #FFFF99;
  165. border: 2px dotted #CC9999;
  166. padding: 0.5em;
  167. }
  168. #script-feedback-suggestion {
  169. margin: 0.75em 0;
  170. }
  171.  
  172. #script-links {
  173. list-style: none;
  174. padding: 0 1em;
  175. margin: 0 -1em 0;
  176. }
  177. #script-links li {
  178. display: inline-block;
  179. margin: 0 -4px 0 0;
  180. }
  181. #script-links li > * {
  182. padding: 0.25em .5em .5em;
  183. display: block;
  184. }
  185. #script-links a {
  186. text-decoration: none;
  187. }
  188. #script-links .current {
  189. background: rgba(0, 0, 0, 0.03);
  190. position: relative;
  191. top: -4px;
  192. font-weight: bold;
  193. border-top: 7px solid #990000;
  194. box-shadow: inset 1px 0 rgba(0, 0, 0, 0.1), inset -1px 0 rgba(0, 0, 0, 0.1), inset 0 -1px rgba(0, 0, 0, 0.1);
  195. }
  196. /* shift the text back up to align with the others */
  197. #script-links .current > * {
  198. position: relative;
  199. top: 4px;
  200. }
  201.  
  202. #install-area {
  203. margin-bottom: 1em;
  204. }
  205. .install-link, .install-link:visited, .install-link:active, .install-link:hover, .install-help-link {
  206. display: inline-block;
  207. background-color: #005200;
  208. padding: 0.5em 1em;
  209. color: white;
  210. text-decoration: none;
  211. }
  212. .install-help-link, .install-help-link:visited, .install-help-link:active, .install-help-link:hover {
  213. background-color: #1E971E;
  214. color: white;
  215. }
  216. .script-in-sets {
  217. display: inline-block;
  218. margin-left: 1em;
  219. }
  220. #script-meta {
  221. display: table;
  222. font-size: small;
  223. }
  224. #script-meta > * {
  225. margin-bottom: 1em;
  226. }
  227. #script-meta > dl dd {
  228. max-width: 50%;
  229. }
  230. #script-stats, #script-stats dt, #script-stats dd, #script-applies-to, #script-applies-to dt, #script-applies-to dd {
  231. vertical-align: top;
  232. margin: 0;
  233. padding: 0;
  234. }
  235. #script-stats {
  236. padding-right: 1em;
  237. min-width: 18em;
  238. -moz-column-count: 2;
  239. -webkit-column-count: 2;
  240. column-count: 2;
  241. -moz-column-gap: 1;
  242. -webkit-column-gap: 1;
  243. column-gap: 1;
  244. }
  245. #script-stats dt, #script-meta dt {
  246. clear: left;
  247. float: left;
  248. width: 12em;
  249. font-weight: bold;
  250. }
  251. #script-stats dd, #script-meta dd{
  252. float: left;
  253. min-width: 12em;
  254. }
  255. #script-applies-to dt:after, #script-meta dt:after {
  256. content: ":";
  257. }
  258. .inline-list {
  259. display: inline;
  260. padding-left: 0;
  261. list-style: none;
  262. }
  263. .inline-list li {
  264. display: inline;
  265. }
  266. .inline-list li:after {
  267. content: ", ";
  268. }
  269. .inline-list li:last-child:after {
  270. content: "";
  271. }
  272. dt[title] > span {
  273. border-bottom: 1px dotted black;
  274. }
  275.  
  276.  
  277. #additional-info > div {
  278. margin: 1em 0;
  279. padding: 1em;
  280. border: 1px solid #E6DDD6;
  281. background-color: #F2E5E5;
  282. }
  283. #additional-info > div:not(:first-of-type) {
  284. padding-top: 0.5em;
  285. }
  286. .script-author-description > *:first-child {
  287. margin-top: 0;
  288. }
  289. .script-author-description > *:last-child {
  290. margin-bottom: 0;
  291. }
  292. .script-author-description img {
  293. max-width: 100%;
  294. }
  295. .script-screenshots * {
  296. vertical-align: middle;
  297. }
  298. .script-screenshots a {
  299. text-decoration: none;
  300. }
  301.  
  302. .form-control {
  303. margin-bottom: 1em;
  304. }
  305. .form-control textarea, #ace-editor {
  306. width: 100%;
  307. height: 20em;
  308. box-sizing: border-box;
  309. margin-top: 1px;
  310. margin-bottom: 1px;
  311. }
  312. #ace-editor {
  313. border: 1px solid #BBB;
  314. border-style: inset;
  315. }
  316. .form-control input:not([type=radio]):not([type=file]):not([type=checkbox]):not([size]) {
  317. width: 100%;
  318. }
  319. .radio-group input[type=radio] {
  320. margin-left: 1em;
  321. }
  322. .form-control label {
  323. font-weight: bold;
  324. }
  325. .form-control label.radio-label, .form-control label.checkbox-label {
  326. font-weight: normal;
  327. }
  328. .field_with_errors textarea {
  329. background-color: #FEE;
  330. }
  331. .label-note {
  332. font-size: smaller;
  333. }
  334. .screenshots-controls > *:not(label) {
  335. padding-left: 1em;
  336. }
  337. .add-screenshot-control, .screenshot-control {
  338. clear: left;
  339. }
  340. .screenshot-control > * {
  341. vertical-align: middle;
  342. }
  343. .screenshot-control a {
  344. float: left;
  345. min-width: 150px;
  346. text-align: center;
  347. }
  348.  
  349. .script-list, .user-list {
  350. list-style-type: none;
  351. padding: 0;
  352. box-shadow: 0 0 5px #DDDDDD;
  353. background-color: white;
  354. border: 1px solid #BBBBBB;
  355. border-radius: 5px;
  356. box-sizing: border-box;
  357. }
  358. .user-list {
  359. padding: 1em;
  360. margin: 1em 0;
  361. }
  362. .list-option-groups ~ ol {
  363. width: calc(960px - 14em);
  364. }
  365. .script-list li {
  366. border-bottom: 1px solid #DDDDDD;
  367. padding: 1em;
  368. }
  369. .script-list h2 {
  370. margin: 0;
  371. font-size: 18px;
  372. }
  373. .script-list p {
  374. margin: 0;
  375. }
  376. .script-list footer {
  377. margin-top: 0.25em;
  378. }
  379. .script-list dl {
  380. font-size: smaller;
  381. -moz-column-count: 2;
  382. -webkit-column-count: 2;
  383. column-count: 2;
  384. -moz-column-gap: 0;
  385. -webkit-column-gap: 0;
  386. column-gap: 0;
  387. max-width: 45em;
  388. margin: 0;
  389. }
  390. .script-list dt, .script-list dd {
  391. margin: 0;
  392. padding: 0;
  393. }
  394. .script-list dd {
  395. color: #666;
  396. }
  397. .script-list dt::after {
  398. content: ": ";
  399. }
  400. .script-list dt {
  401. clear: left;
  402. float: left;
  403. width: 12em;
  404. padding-right: 1em;
  405. padding-left: 1em;
  406. }
  407. .script-list dd {
  408. float: left;
  409. }
  410. .list-current {
  411. font-weight: bold;
  412. }
  413. .script-list h2 {
  414. font-weight: normal;
  415. }
  416. .script-list .description {
  417. font-weight: normal;
  418. display: block;
  419. margin: .5em 0;
  420. font-size: smaller;
  421. }
  422. .script-list .name-description-separator {
  423. display: none;
  424. }
  425. .script-list + .pagination, .user-list + .pagination {
  426. font-size: 18px;
  427. display: inline-block;
  428. background-color: #F2E5E5;
  429. padding: 0.5em;
  430. margin-bottom: 1em;
  431. border-radius: 5px;
  432. }
  433. .pagination .current {
  434. font-style: normal;
  435. font-weight: bold;
  436. }
  437.  
  438. .good-rating-count, .ok-rating-count, .bad-rating-count {
  439. display: inline-block;
  440. min-width: 1em;
  441. text-align: center;
  442. padding: 0 0.25em;
  443. border: 1px solid #DDDDDD;
  444. border-radius: 10px;
  445. }
  446. .good-rating-count {
  447. background-color: rgba(51, 155, 51, 0.1);
  448. border-color: rgba(51, 155, 51, 0.3);
  449. color: #1E971E;
  450. color: rgba(51, 155, 51, 1);
  451. }
  452. .ok-rating-count {
  453. background-color: rgba(155, 155, 0, 0.1);
  454. border-color: rgba(155, 155, 0, 0.3);
  455. color: #a80;
  456. color: rgba(155, 155, 0, 1);
  457. }
  458. .bad-rating-count {
  459. background-color: rgba(155, 51, 51, 0.1);
  460. border-color: rgba(155, 51, 51, 0.3);
  461. color: rgba(155, 51, 51, 1);
  462. }
  463.  
  464.  
  465.  
  466. /* activated by js */
  467. .select-all, .select-none {
  468. display: none;
  469. }
  470.  
  471. .diff {
  472. border: 2px solid black;
  473. }
  474.  
  475. #help-allowed-elements {
  476. -moz-column-width: 15em;
  477. -webkit-column-width: 15em;
  478. column-width: 15em;
  479. }
  480.  
  481. #by-site-list {
  482. list-style-type: none;
  483. padding: 0;
  484. }
  485. #by-site-list li {
  486. display: inline;
  487. vertical-align: middle;
  488. }
  489.  
  490. /* Edit */
  491. #user_profile {
  492. width: 100%;
  493. height: 10em;
  494. }
  495. /* View */
  496. #user-profile {
  497. border: 1px solid #E6DDD6;
  498. background-color: #F2E5E5;
  499. padding: 1em;
  500. }
  501.  
  502. .preview-button {
  503. }
  504. .preview-result {
  505. display: none;
  506. background-color: #FFA;
  507. padding: 0.5em;
  508. }
  509.  
  510. .failed-sync {
  511. background-color: #FCC;
  512. }
  513.  
  514. .discussion-question {
  515. list-style-image: url(/images/circle-blue.png);
  516. }
  517. .discussion-report {
  518. list-style-image: url(/images/report.png);
  519. }
  520. .discussion-bad {
  521. list-style-image: url(/images/circle-red.png);
  522. }
  523. .discussion-ok {
  524. list-style-image: url(/images/circle-yellow.png);
  525. }
  526. .discussion-good {
  527. list-style-image: url(/images/circle-green.png);
  528. }
  529.  
  530. .alert {
  531. font-style: italic;
  532. background-color: #FFFF99;
  533. border: 2px dotted #CC9999;
  534. padding: 0.5em;
  535. }
  536.  
  537. .front-page-p {
  538. margin-bottom: 0;
  539. }
  540. .front-page-box {
  541. display: inline-block;
  542. width: 45%;
  543. vertical-align: top;
  544. text-align: justify;
  545. }
  546. .front-page-box:first-of-type {
  547. padding-right: 6%;
  548. }
  549. @media (max-width: 600px) {
  550. .front-page-box {
  551. display: block;
  552. width: auto;
  553. padding: 0;
  554. }
  555. }
  556.  
  557. #install-stats-chart {
  558. width: 100%;
  559. height: 400px;
  560. }
  561. .stats-table {
  562. border-collapse: collapse;
  563. }
  564. .stats-table th, .stats-table td {
  565. border: 1px solid gray;
  566. padding: 0 0.5em;
  567. }
  568. td.numeric, th.numeric {
  569. text-align: right;
  570. }
  571.  
  572. .list-option-groups {
  573. margin-top: 1em;
  574. float: right;
  575. width: 15em;
  576. font-size: smaller;
  577. margin-left: 2em;
  578. }
  579. .list-option-group {
  580. margin-bottom: 1em;
  581. }
  582. .list-option-group ul {
  583. margin: .5em 0 0;
  584. list-style-type: none;
  585. padding: 1em 0;
  586. box-shadow: 0 0 5px #DDDDDD;
  587. border: 1px solid #BBBBBB;
  588. border-radius: 5px;
  589. background-color: white;
  590. }
  591. .list-option-group a {
  592. padding: .35em 1em;
  593. display: block;
  594. }
  595. .list-option-group a:hover {
  596. background: linear-gradient(white, #F6F6F6);
  597. text-decoration: none;
  598. box-shadow: inset 0 -1px #DDDDDD, inset 0 1px #EEEEEE;
  599. }
  600. .list-option-group .list-current {
  601. border-left: 7px solid #800;
  602. box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), inset 0 -1px rgba(0, 0, 0, 0.1);
  603. margin: .25em 0 .25em -4px;
  604. padding: .4em 1em .4em calc(1em - 3px);
  605. background: linear-gradient(white, #EEEEEE);
  606. }
  607.  
  608. .translation_missing {
  609. outline: dashed red;
  610. }
  611.  
  612. #edit_user > div {
  613. margin-bottom: 0.5em;
  614. }
  615. #edit_user > div > label:first-child {
  616. font-weight: bold;
  617. }
  618.  
  619. .inline-form {
  620. display: inline;
  621. }
  622.  
  623. :target {
  624. background-color: #F2E5E5;
  625. }
  626. a.self-link, a.self-link:visited {
  627. text-decoration: none;
  628. color: black;
  629. opacity: 0.2;
  630. }
  631.  
  632. .indented {
  633. padding-left: 1em;
  634. }
  635.  
  636. .expander {
  637. cursor: pointer;
  638. padding: 2px 5px;
  639. color: #670000;
  640. border-radius: 3px;
  641. background-color: #F2E5E5;
  642. text-decoration: underline;
  643. }
  644.  
  645. #script-show-info-ad {
  646. width: 732px;
  647. box-sizing: border-box;
  648. margin: 1.5em auto;
  649. }
  650. .ad-note {
  651. font-size: x-small;
  652. line-height: 1em;
  653. max-width: -webkit-max-content;
  654. max-width: -moz-max-content;
  655. max-width: max-content;
  656. border-top: 2px solid #E7CF87;
  657. border-left: 2px solid #E7CF87;
  658. border-right: 2px solid #E7CF87;
  659. padding: 0 0.5em;
  660. }
  661. .ad-note, .ad-content {
  662. background-color: #E7CF87;
  663. }
  664. .ad-content {
  665. border: 2px solid #E7CF87;
  666. }
  667. .ad-content > * {
  668. vertical-align: bottom;
  669. }
  670.  
  671. .social_share_privacy_area.box li.settings_info {
  672. /* Shrink a bit */
  673. height: 20px;
  674. width: 135px;
  675. /* Show on separate line */
  676. display: block;
  677. }
  678.  
  679. pre, code, #code-container {
  680. border-radius: 2px;
  681. border: 1px solid #E6DDD6;
  682. background-color: #F2E5E5;
  683. }
  684. pre.CodeRay, table.CodeRay, .CodeRay pre {
  685. background: none;
  686. border: 0;
  687. padding: 0;
  688. margin: 0;
  689. }
  690. /* Non-syntax highlighted block */
  691. pre.CodeRay {
  692. padding: 4px 8px;
  693. }
  694. .CodeRay .line-numbers pre, .CodeRay .line-numbers pre a {
  695. background-color: transparent !important;
  696. }
  697. .CodeRay .line-numbers {
  698. background-color: #E6DDDD !important;
  699. }
  700. .CodeRay .line-numbers, .CodeRay .code {
  701. /* Otherwise tall characters can make these not align */
  702. line-height: 1em;
  703. }
  704. .CodeRay {
  705. -moz-tab-size: 4;
  706. tab-size: 4;
  707. }
  708.  
  709. .external-login {
  710. padding: 2px 2px 3px 22px;
  711. border: 1px solid black;
  712. border-radius: 2px;
  713. background-repeat: no-repeat;
  714. background-size: 16px 16px;
  715. background-position: 5px 4px;
  716. }
  717. .external-login-container {
  718. display: inline-block;
  719. vertical-align: top;
  720. }
  721. .external-login-container * {
  722. text-align: center;
  723. display: block;
  724. }
  725. .external-login-container > *:not(button) {
  726. font-size: smaller;
  727. }
  728. .external-login-container:not(:last-child) {
  729. margin-right: 5px;
  730. }
  731. .github-login {
  732. background-image: url('/assets/github-32-5326bf72dcecdc93c13888b126a90712.png');
  733. }
  734. .google_oauth2-login {
  735. background-image: url('/assets/google-32-d35291d676ed05beab43f5dfd5e9fb5f.png');
  736. }
  737. .browser_id-login {
  738. background-image: url('/assets/persona-c64fac782455753df274abe8bc5f68a4.png');
  739. }
  740.  
  741.  
  742. /*
  743. // </@application.css>
  744.  
  745. //
  746. // @part-name @JasonBarnabe/greasyfork/vendor/assets/stylesheets/jquery.socialshareprivacy.min.css
  747. // @part-webpage https://github.com/JasonBarnabe/greasyfork/
  748. // @part-author Jason Barnabe; https://github.com/JasonBarnabe
  749. // @part-content https://github.com/JasonBarnabe/greasyfork/blob/master/vendor/assets/stylesheets/jquery.socialshareprivacy.min.css
  750. //
  751. // <@jquery.socialshareprivacy.min.css>
  752. */
  753.  
  754. .social_share_privacy_area{clear:both;margin:5px 0;list-style-type:none;padding:0;width:auto;display:block}.social_share_privacy_area.line{height:25px;line-height:16px}.social_share_privacy_area.box{width:95px}.social_share_privacy_area li{margin:0 !important;padding:0 !important;list-style-type:none !important}.social_share_privacy_area.box li{text-align:center}.social_share_privacy_area.line li{height:21px;float:left}.social_share_privacy_area li .dummy_btn{cursor:pointer;padding:0;height:inherit}.social_share_privacy_area.line li .dummy_btn{float:left;margin:0 20px 0 10px}.social_share_privacy_area.box li .dummy_btn{margin-bottom:10px}.social_share_privacy_area li .dummy_btn img.privacy_dummy,.social_share_privacy_area li .dummy_btn iframe{vertical-align:bottom}.social_share_privacy_area li .dummy_btn iframe{overflow:hidden;height:inherit;width:inherit;border-style:none}.social_share_privacy_area.line li{display:inline-block}.social_share_privacy_area li .switch{display:inline-block;text-indent:-9999em;background:transparent url(../images/socialshareprivacy_on_off.png) no-repeat 0 0 scroll;width:23px;height:12px;overflow:hidden;margin:4px 0 0;padding:0;cursor:pointer}.social_share_privacy_area.line li .switch{float:left}.social_share_privacy_area li .switch.on{background-position:0 -12px}.social_share_privacy_area li.help_info{position:relative}.social_share_privacy_area li.settings_info,.social_share_privacy_area li.help_info .info{text-align:left}.social_share_privacy_area li.help_info .info,.social_share_privacy_area li .help_info.icon .info{display:none;position:absolute;bottom:40px;width:290px;padding:10px 15px;margin:0;font-size:12px;line-height:16px;font-weight:bold;border:1px solid #ccc;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-moz-box-shadow:0 0 15px rgba(0,0,0,0.4);-webkit-box-shadow:0 0 15px rgba(0,0,0,0.4);box-shadow:0 0 15px rgba(0,0,0,0.4);background-color:#fdfbec;color:#000;z-index:500}.social_share_privacy_area.line li.help_info .info,.social_share_privacy_area li .help_info.icon .info{left:0}.social_share_privacy_area.box li.help_info .info{left:100%;top:0;bottom:auto}.social_share_privacy_area li .help_info.icon .info{width:350px}.social_share_privacy_area li.help_info.display .info,.social_share_privacy_area li .help_info.icon.display .info{display:block}.social_share_privacy_area li.help_info.info_off.display .info{display:none}.social_share_privacy_area li .help_info.icon{background:#fff url(../images/socialshareprivacy_info.png) no-repeat center center scroll;width:25px;height:20px;position:relative;display:inline-block;vertical-align:top;border:2px solid #e7e3e3;border-right-width:0;-moz-border-radius:5px 0 0 5px;-webkit-border-radius:5px 0 0 5px;border-radius:5px 0 0 5px;margin:0;padding:0}.social_share_privacy_area li.settings_info .settings_info_menu.perma_option_off .help_info.icon{border-right-width:2px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.social_share_privacy_area li.settings_info{position:relative;top:-2px}.social_share_privacy_area li.settings_info a{text-decoration:none;margin:0 !important}.social_share_privacy_area li.settings_info .settings_info_menu{background-color:#f3f4f5;color:#000;border-style:none;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:0 0 15px rgba(0,0,0,0.4);-webkit-box-shadow:0 0 15px rgba(0,0,0,0.4);box-shadow:0 0 15px rgba(0,0,0,0.4);left:0;position:absolute;top:0;min-width:135px;margin:0;padding:0}.social_share_privacy_area li.settings_info .settings_info_menu.on{z-index:1000}.social_share_privacy_area li.settings_info .settings_info_menu.off{border-width:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;background-color:transparent}.social_share_privacy_area li.settings_info .settings_info_menu.off form{display:none;margin:0;padding:0}.social_share_privacy_area li.settings_info .settings_info_menu .settings{text-indent:-9999em;display:inline-block;background:#fff url(../images/settings.png) no-repeat center center scroll;width:25px;height:20px;border:2px solid #e7e3e3;-moz-border-radius:0 5px 5px 0;-webkit-border-radius:0 5px 5px 0;border-radius:0 5px 5px 0;border-left:1px solid #ddd;margin:0;padding:0}.social_share_privacy_area li.settings_info .settings_info_menu form fieldset{border-width:0;margin:0;padding:0 10px 10px}.social_share_privacy_area li.settings_info .settings_info_menu form fieldset legend{font-size:11px;font-weight:bold;line-height:14px;margin:0;padding:10px 0;width:115px}.social_share_privacy_area li.settings_info .settings_info_menu form fieldset input{margin:4px 10px 4px 0;padding:0}.social_share_privacy_area li.settings_info .settings_info_menu form fieldset label{display:block;font-size:12px;font-weight:bold;line-height:24px;-moz-transition:color .5s ease-in;-webkit-transition:color .5s ease-in;transition:color .5s ease-in;margin:0;padding:0;white-space:nowrap}.social_share_privacy_area li.settings_info .settings_info_menu form fieldset label.checked{color:#090}.social_share_privacy_area.line .buffer iframe{width:110px;height:20px}.social_share_privacy_area.line .buffer img{width:55px;height:20px;margin-right:55px}.social_share_privacy_area.box .buffer iframe,.social_share_privacy_area.box .buffer img{width:55px;height:62px}.social_share_privacy_area.box .delicious .delicious-widget,.social_share_privacy_area.box .delicious img.privacy_dummy{width:50px;height:62px}.social_share_privacy_area.line .delicious .delicious-widget,.social_share_privacy_area.line .delicious img.privacy_dummy{width:75px;height:20px;margin-right:20px}.social_share_privacy_area.box .delicious div.delicious-widget{font-family:Arial,Tahoma,Sans-Serif;font-size:11px;width:50px;margin:0 auto}.social_share_privacy_area.box .delicious a.icon,.social_share_privacy_area.box .delicious a.count{color:#FFF !important;display:block;-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px;outline:none !important;text-decoration:none !important}.social_share_privacy_area.box .delicious a.icon{background:#fff;border:1px solid #ccc;height:38px;overflow:hidden;position:relative;direction:ltr}.social_share_privacy_area.box .delicious a.icon:hover{border-color:#666}.social_share_privacy_area.box .delicious a.count{margin-top:2px;text-align:center;font-size:12px;line-height:18px;height:18px;background:#3274d0;border:#3274d0 1px solid;text-shadow:#2a5580 1px 1px 0}.social_share_privacy_area.box .delicious a.count:hover{background:#369;border-color:#369}.social_share_privacy_area.box .delicious a.count:active{background:#000;border:#333 1px solid;text-shadow:#222 1px 1px 0;outline:0}.social_share_privacy_area.line .delicious div.delicious-widget{font-family:Arial,Tahoma,Sans-Serif;font-size:11px;width:76px}.social_share_privacy_area.line .delicious a.icon,.social_share_privacy_area.line .delicious a.count{display:block;float:left;line-height:18px;border:#666 solid 1px;-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px;outline:none !important;text-decoration:none !important;height:18px;overflow:hidden;color:#FFF !important}.social_share_privacy_area.line .delicious a.icon{background:#fff;border-color:#ccc;width:20px;position:relative;direction:ltr;margin-right:1px}.social_share_privacy_area.line .delicious a.icon:hover{border-color:#666}.social_share_privacy_area.line .delicious a.count{font-size:12px;background:#3274d0;border-color:#3274d0;width:50px;text-align:center;text-shadow:#2a5580 1px 1px 0}.social_share_privacy_area.line .delicious a.count:hover{background:#369;border-color:#369;text-shadow:#369 1px 1px 0}.social_share_privacy_area.line .delicious a.count:active{background:#000;border-color:#333;text-shadow:#222 1px 1px 0}.social_share_privacy_area.box .delicious a.icon:hover *,.social_share_privacy_area.line .delicious a.icon:hover *{opacity:.85;filter:alpha(opacity=85)}.social_share_privacy_area.box .delicious a.icon *,.social_share_privacy_area.line .delicious a.icon *{width:50%;height:50%;position:absolute;margin:0 !important}.social_share_privacy_area.box .delicious div.delicious1,.social_share_privacy_area.line .delicious div.delicious1{background:#3274d0;left:50%;top:0}.social_share_privacy_area.box .delicious div.delicious2,.social_share_privacy_area.line .delicious div.delicious2{background:#000;left:0;top:50%}.social_share_privacy_area.box .delicious div.delicious3,.social_share_privacy_area.line .delicious div.delicious3{background:#d3d2d2;left:50%;top:50%}.social_share_privacy_area.box .delicious a.count i,.social_share_privacy_area.line .delicious a.count i{display:none;font-style:normal}.social_share_privacy_area.box .delicious a.count b,.social_share_privacy_area.line .delicious a.count b{font-weight:normal}.social_share_privacy_area.line .disqus img.privacy_dummy{width:49px;height:20px;margin-right:45px}.social_share_privacy_area.box .disqus img.privacy_dummy{width:55px;height:61px}.social_share_privacy_area .disqus .disqus-widget{line-height:20px;font-size:11px;font-family:Arial,sans-serif;cursor:text;white-space:nowrap;text-align:left}.social_share_privacy_area .disqus .disqus-widget a,.social_share_privacy_area .disqus .disqus-widget a:hover{-webkit-text-shadow:none;-moz-text-shadow:none;-ms-text-shadow:none;-o-text-shadow:none;text-shadow:none}.social_share_privacy_area .disqus .disqus-widget a.name{overflow:hidden;font-weight:bold;text-transform:uppercase;text-decoration:none;color:#5e8ba9;-webkit-text-shadow:0 1px 0 rgba(255,255,255,0.5);-moz-text-shadow:0 1px 0 rgba(255,255,255,0.5);-ms-text-shadow:0 1px 0 rgba(255,255,255,0.5);-o-text-shadow:0 1px 0 rgba(255,255,255,0.5);text-shadow:0 1px 0 rgba(255,255,255,0.5);height:18px;border:1px solid #ccc;border-radius:3px;background-color:#f8f8f8;background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#dedede));background-image:-moz-linear-gradient(top,#fff,#dedede);background-image:-o-linear-gradient(top,#fff,#dedede);background-image:-ms-linear-gradient(top,#fff,#dedede);background-image:linear-gradient(top,#fff,#dedede)}.social_share_privacy_area .disqus .disqus-widget a.name .us{color:#b84}.social_share_privacy_area.line .disqus .disqus-widget{min-width:94px}.social_share_privacy_area.line .disqus .disqus-widget .count,.social_share_privacy_area.line .disqus .disqus-widget a.name{display:inline-block;padding:0 4px;vertical-align:top}.social_share_privacy_area.box .disqus .disqus-widget{display:block;width:55px;height:61px;margin:auto}.social_share_privacy_area.box .disqus .disqus-widget .count,.social_share_privacy_area.box .disqus .disqus-widget a.name{display:block;width:53px;text-align:center}.social_share_privacy_area .disqus .disqus-widget a.name:hover{border-color:#bbb;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8f8f8),to(#d9d9d9));background-image:-moz-linear-gradient(top,#f8f8f8,#d9d9d9);background-image:-o-linear-gradient(top,#f8f8f8,#d9d9d9);background-image:-ms-linear-gradient(top,#f8f8f8,#d9d9d9);background-image:linear-gradient(top,#f8f8f8,#d9d9d9)}.social_share_privacy_area .disqus .disqus-widget a.name:active{background-color:#efefef;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.1);box-shadow:inset 0 3px 5px rgba(0,0,0,0.1)}.social_share_privacy_area .disqus .disqus-widget .count{position:relative;height:18px;border:1px solid #bbb;background:white;border-radius:3px;text-align:center}.social_share_privacy_area .disqus .disqus-widget .count a{font-weight:normal}.social_share_privacy_area.line .disqus .disqus-widget .count{margin-left:4px;min-width:1em}.social_share_privacy_area.box .disqus .disqus-widget .count{height:34px;line-height:34px;font-size:14px;margin-bottom:5px}.social_share_privacy_area.line .disqus .disqus-widget .count u,.social_share_privacy_area.line .disqus .disqus-widget .count i{position:absolute;zoom:1;line-height:0;width:0;height:0;left:0;top:50%;margin:-4px 0 0 -4px;border:4px transparent solid;border-right-color:#aaa;border-left:0}.social_share_privacy_area.line .disqus .disqus-widget .count u{margin-left:-3px;border-right-color:#fff}.social_share_privacy_area.box .disqus .disqus-widget .count u,.social_share_privacy_area.box .disqus .disqus-widget .count i{position:absolute;zoom:1;line-height:0;top:auto;left:50%;bottom:0;right:auto;margin:0 0 -4px -4px;border:4px transparent solid;border-top-color:#aaa;border-bottom:0;width:0;height:0}.social_share_privacy_area.box .disqus .disqus-widget .count u{margin-bottom:-3px;border-top-color:#fff}.social_share_privacy_area .disqus .disqus-widget .count a{color:#333;text-decoration:none}.social_share_privacy_area .disqus .disqus-widget .count a:hover{color:#333;text-decoration:underline}.social_share_privacy_area.line .facebook .fb_like{margin-right:30px;width:120px}.social_share_privacy_area.line .facebook iframe{width:130px;height:21px}.social_share_privacy_area.box .facebook iframe{width:48px;height:62px}.social_share_privacy_area.line .flattr img{width:72px;height:20px;margin-right:98px}.social_share_privacy_area.line .flattr a,.social_share_privacy_area.line .flattr iframe{width:150px;height:20px;margin-right:20px}.social_share_privacy_area.line .flattr a{display:inline-block}.social_share_privacy_area.box .flattr a,.social_share_privacy_area.box .flattr img,.social_share_privacy_area.box .flattr iframe{width:62px;height:62px}.social_share_privacy_area.box .flattr a{display:block;visibility:hidden;margin:auto}.social_share_privacy_area.box .flattr .dummy_btn{min-width:62px;min-height:67px}.social_share_privacy_area.line .gplus img.gplusone_privacy_dummy{width:32px}.social_share_privacy_area.line li div.gplusone{width:90px}.social_share_privacy_area.box li div.gplusone{min-width:50px;min-height:65px}.social_share_privacy_area.line .hackernews img.privacy_dummy{width:20px;height:20px;margin-right:70px}.social_share_privacy_area.box .hackernews img.privacy_dummy{width:62px;height:62px}.social_share_privacy_area .hackernews .hackernews-widget{line-height:20px;font-size:11px;font-family:Arial,sans-serif;cursor:text;white-space:nowrap;text-align:left}.social_share_privacy_area .hackernews .hackernews-widget a.name{overflow:hidden;font-weight:bold;font-size:12px;text-decoration:none;text-align:center;color:#fff;height:20px;border-radius:3px;background-color:#f60}.social_share_privacy_area.line .hackernews .hackernews-widget{min-width:90px}.social_share_privacy_area.line .hackernews .hackernews-widget .points{display:inline-block;padding:0 4px;vertical-align:top}.social_share_privacy_area.line .hackernews .hackernews-widget a.name{display:inline-block;width:20px}.social_share_privacy_area.box .hackernews .hackernews-widget{display:block;width:62px;height:62px;margin:auto}.social_share_privacy_area.box .hackernews .hackernews-widget a.name{display:block;width:62px}.social_share_privacy_area .hackernews .hackernews-widget a.name:hover{background-color:#ff8635}.social_share_privacy_area .hackernews .hackernews-widget a.name:active{background-color:#ff8635;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.1);box-shadow:inset 0 3px 5px rgba(0,0,0,0.1)}.social_share_privacy_area .hackernews .hackernews-widget .points{position:relative;height:18px;border:1px solid #bbb;background:white;border-radius:3px;text-align:center}.social_share_privacy_area .hackernews .hackernews-widget .points a{font-weight:normal}.social_share_privacy_area.line .hackernews .hackernews-widget .points{margin-left:4px;min-width:1em}.social_share_privacy_area.box .hackernews .hackernews-widget .points{display:block;width:60px;height:35px;line-height:35px;font-size:14px;margin-bottom:5px}.social_share_privacy_area.line .hackernews .hackernews-widget .points u,.social_share_privacy_area.line .hackernews .hackernews-widget .points i{position:absolute;zoom:1;line-height:0;width:0;height:0;left:0;top:50%;margin:-4px 0 0 -4px;border:4px transparent solid;border-right-color:#aaa;border-left:0}.social_share_privacy_area.line .hackernews .hackernews-widget .points u{margin-left:-3px;border-right-color:#fff}.social_share_privacy_area.box .hackernews .hackernews-widget .points u,.social_share_privacy_area.box .hackernews .hackernews-widget .points i{position:absolute;zoom:1;line-height:0;top:auto;left:50%;bottom:0;right:auto;margin:0 0 -4px -4px;border:4px transparent solid;border-top-color:#aaa;border-bottom:0;width:0;height:0}.social_share_privacy_area.box .hackernews .hackernews-widget .points u{margin-bottom:-3px;border-top-color:#fff}.social_share_privacy_area .hackernews .hackernews-widget .points a{color:#333;text-decoration:none}.social_share_privacy_area .hackernews .hackernews-widget .points a:hover{color:#333;text-decoration:underline}.social_share_privacy_area.line .linkedin img.linkedin_privacy_dummy{width:63px;height:20px}.social_share_privacy_area.box .linkedin img.linkedin_privacy_dummy{width:61px;height:62px}.social_share_privacy_area.box .linkedin .dummy_btn{min-width:61px;min-height:62px}.social_share_privacy_area.line .mail a{display:inline-block;width:43px;height:20px;margin-right:20px}.social_share_privacy_area.box .mail a{display:block;margin:auto;width:58px;height:39px}.social_share_privacy_area.line li div.pinit{width:100px}.social_share_privacy_area.box .pinterest .dummy_btn.pinit a{margin-top:29px !important}.social_share_privacy_area.line .pinterest .dummy_btn img.privacy_dummy{width:40px;height:20px}.social_share_privacy_area.box .pinterest .dummy_btn img.privacy_dummy{width:40px;height:50px}.social_share_privacy_area.line .reddit iframe{width:120px;height:18px}.social_share_privacy_area.box .reddit iframe{width:58px;height:66px}.social_share_privacy_area.line .stumbleupon iframe,.social_share_privacy_area.line .stumbleupon img{width:74px;height:18px}.social_share_privacy_area.box .stumbleupon iframe,.social_share_privacy_area.box .stumbleupon img{width:50px;height:60px}.social_share_privacy_area.line .tumblr a{display:inline-block;width:81px;height:20px;margin-right:20px}.social_share_privacy_area.box .tumblr a{display:block;margin:auto;width:58px;height:58px}.social_share_privacy_area.line li div.tweet{width:115px}.social_share_privacy_area.line .twitter iframe{width:120px;height:20px}.social_share_privacy_area.box .twitter iframe{width:62px;height:62px}.social_share_privacy_area.line .xing img.xing_privacy_dummy{width:55px;height:20px;margin-right:66px}.social_share_privacy_area.box .xing img.xing_privacy_dummy{width:55px;height:62px}.social_share_privacy_area.box .xing .dummy_btn{min-width:55px;min-height:62px}.social_share_privacy_area.box .xing .dummy_btn div{margin:auto}
  755.  
  756.  
  757. /*
  758. // </@jquery.socialshareprivacy.min.css>
  759.  
  760. //
  761. // @part-name @JasonBarnabe/greasyfork/app/assets/stylesheets/diff.css
  762. // @part-webpage https://github.com/JasonBarnabe/greasyfork/
  763. // @part-author Jason Barnabe; https://github.com/JasonBarnabe
  764. // @part-content https://github.com/JasonBarnabe/greasyfork/blob/master/app/assets/stylesheets/diff.css
  765. //
  766. // <@diff.css>
  767. */
  768.  
  769. /* From Diffy::CSS */
  770. .diff{overflow:auto;}
  771. .diff ul{background:#fff;overflow:auto;font-size:13px;list-style:none;margin:0;padding:0;display:table;width:100%;}
  772. .diff del, .diff ins{display:block;text-decoration:none;}
  773. .diff li{padding:0; display:table-row;margin: 0;height:1em;}
  774. .diff li.ins{background:#dfd; color:#080}
  775. .diff li.del{background:#fee; color:#b00}
  776. .diff li:hover{background:#ffc}
  777. /* try &#39;whitespace:pre;&#39; if you don&#39;t want lines to wrap */
  778. .diff del, .diff ins, .diff span{white-space:pre-wrap;font-family:courier;}
  779. .diff del strong{font-weight:normal;background:#fcc;}
  780. .diff ins strong{font-weight:normal;background:#9f9;}
  781. .diff li.diff-comment { display: none; }
  782. .diff li.diff-block-info { background: none repeat scroll 0 0 gray; }
  783.  
  784.  
  785. /*
  786. // </@diff.css>
  787.  
  788. //
  789. // @part-name @JasonBarnabe/greasyfork/app/assets/stylesheets/socialshareprivacy.css
  790. // @part-webpage https://github.com/JasonBarnabe/greasyfork/
  791. // @part-author Jason Barnabe; https://github.com/JasonBarnabe
  792. // @part-content https://github.com/JasonBarnabe/greasyfork/blob/master/app/assets/stylesheets/socialshareprivacy.css.erb
  793. //
  794. // <@socialshareprivacy.css>
  795. */
  796.  
  797. .social_share_privacy_area li .switch {
  798. background-image: url(/assets/jquery-socialshareprivacy/socialshareprivacy_on_off-22485b54b88d18d16188913e158eedbd.png);
  799. }
  800. .social_share_privacy_area li .help_info.icon {
  801. background-image: url(/assets/jquery-socialshareprivacy/socialshareprivacy_info-3e99e1416cfc6f8ba58dae4bd90958ee.png);
  802. }
  803. .social_share_privacy_area li.settings_info .settings_info_menu .settings {
  804. background-image: url(/assets/jquery-socialshareprivacy/settings-ea092969ee74a79c095514bcd1684f45.png);
  805. }
  806. /*
  807. .social_share_privacy_area.line li {
  808. float: none;
  809. display: block;
  810. }
  811. .social_share_privacy_area.line .reddit iframe {
  812. height: 20px;
  813. }
  814. .info + .dummy_btn {
  815. padding-left: 23px !important;
  816. }
  817. */
  818.  
  819. /* Show all in a row */
  820. .social_share_privacy_area.box {
  821. width: auto;
  822. }
  823. .social_share_privacy_area.box li {
  824. display: inline-block;
  825. vertical-align: top;
  826. }
  827. /* Space them out */
  828. .social_share_privacy_area.box li div, .social_share_privacy_area.box li .switch {
  829. margin-right: 10px;
  830. }
  831. /* Make those that don't have the switch line up with the rest. */
  832. .box .info + .dummy_btn {
  833. margin-top: 21px;
  834. }
  835. /* Shrink the settings box */
  836. .social_share_privacy_area li.settings_info .settings_info_menu form fieldset input {
  837. margin-top: 0;
  838. margin-bottom: 0;
  839. vertical-align: middle;
  840. }
  841. .social_share_privacy_area li.settings_info .settings_info_menu form fieldset label {
  842. line-height: normal;
  843. vertical-align: baseline;
  844. }
  845. .social_share_privacy_area li.settings_info .settings_info_menu form fieldset legend {
  846. width: auto;
  847. }
  848. /* Give the settings box room */
  849. #share {
  850. margin-bottom: 90px;
  851. }
  852.  
  853.  
  854. /*
  855. // </@socialshareprivacy.css>
  856.  
  857. //
  858. // @part-name @leoncastro/greasyfork/app/assets/stylesheets/custom.css
  859. // @part-webpage https://github.com/leoncastro
  860. // @part-author leoncastro; https://github.com/leoncastro
  861. //
  862. // <@custom.css>
  863. */
  864.  
  865. .pagination, .script-list + .pagination, .user-list + .pagination {
  866. display: block;
  867. margin: 0;
  868. padding: 0;
  869. background-color: transparent;
  870. }
  871. .pagination > *, .script-list + .pagination > *, .user-list + .pagination > * {
  872. display: inline-block;
  873. background-color: #F2E5E5;
  874. padding: 0.5em;
  875. margin-bottom: 1em;
  876. border-radius: 5px;
  877. text-decoration: none;
  878. }
  879. .pagination .disabled {
  880. display: none;
  881. }
  882. .pagination .current, .pagination .gap {
  883. background-color: transparent;
  884. }
  885. #script-links a:hover {
  886. background: rgba(0, 0, 0, 0.03);
  887. position: relative;
  888. top: -4px;
  889. box-shadow: inset 1px 0 rgba(0, 0, 0, 0.1), inset -1px 0 rgba(0, 0, 0, 0.1), inset 0 -1px rgba(0, 0, 0, 0.1);
  890. padding-top: 8px;
  891. }
  892. #script-links a:hover span {
  893. position: relative;
  894. top: 4px;
  895. }
  896. #script-stats {
  897. -moz-column-count: 2;
  898. -webkit-column-count: 2;
  899. column-count: 2;
  900. -moz-column-gap: 1em;
  901. -webkit-column-gap: 1em;
  902. column-gap: 1em;
  903. }
  904. #install-area a:hover {
  905. box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  906. }
  907. #script-meta {
  908. display: inherit;
  909. font-size: inherit;
  910. }
  911. .expander {
  912. display: none;
  913. }
  914. .alert {
  915. background-color: #ffffcc;
  916. border: none;
  917. border-left: 6px solid #ffeb3b;
  918. }
  919. .notice {
  920. background-color: #d9edf7;
  921. border: none;
  922. border-left: 6px solid #31708f;
  923. padding: 0.5em;
  924. }
  925. pre {
  926. border-radius: inherit;
  927. border: inherit;
  928. background-color: inherit;
  929. }
  930.  
  931. /* forum */
  932. #Head {
  933. background-color: #670000;
  934. background-image: linear-gradient(#670000, #990000);
  935. padding: 0.25em 0;
  936. }
  937. #Panel {
  938. float: left;
  939. width: 200px;
  940. margin: 0 10px 10px 0;
  941. font-size: smaller;
  942. }
  943. #Panel .FilterMenu, #Panel .PanelCategories {
  944. margin: .5em 0 0;
  945. list-style-type: none;
  946. padding: 1em 0;
  947. box-shadow: 0 0 5px #DDDDDD;
  948. border: 1px solid #BBBBBB;
  949. border-radius: 5px;
  950. background-color: white;
  951. }
  952. #Panel .FilterMenu li, #Panel .PanelCategories li {
  953. border: none!important;
  954. padding:0!important;
  955. }
  956. #Panel .FilterMenu a, #Panel .PanelCategories a {
  957. padding: .35em 1em;
  958. display: block;
  959. }
  960. #Panel .FilterMenu a:hover, #Panel .PanelCategories a:hover {
  961. background: linear-gradient(white, #F6F6F6);
  962. text-decoration: none;
  963. box-shadow: inset 0 -1px #DDDDDD, inset 0 1px #EEEEEE;
  964. }
  965. #Panel .FilterMenu .Active a, #Panel .PanelCategories .Active a {
  966. border-left: 7px solid #800;
  967. box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), inset 0 -1px rgba(0, 0, 0, 0.1);
  968. margin: .25em 0 .25em -4px;
  969. padding: .4em 1em .4em calc(1em - 3px);
  970. background: linear-gradient(white, #EEEEEE);
  971. }
  972. #Content {
  973. float: left;
  974. width: 720px;
  975. margin: 10px 0;
  976. padding: 0 1em 1em;
  977. border: 1px solid #BBBBBB;
  978. border-radius: 5px;
  979. background-color: white;
  980. box-shadow: 0 0 5px #DDDDDD;
  981. }
  982. #Content .HomepageTitle {
  983. display: inline-block;
  984. position: relative;
  985. top: -4px;
  986. margin: 0 -4px 0 0;
  987. padding: 0.25em .5em .5em;
  988. background: rgba(0, 0, 0, 0.03);
  989. font-weight: bold;
  990. border-top: 7px solid #990000;
  991. box-shadow: inset 1px 0 rgba(0, 0, 0, 0.1), inset -1px 0 rgba(0, 0, 0, 0.1), inset 0 -1px rgba(0, 0, 0, 0.1);
  992. }
  993. #Content .PageControls {
  994. display: inline-block;
  995. float: right;
  996. }
  997. .Discussions {
  998. clear: both;
  999. }
  1000. .Discussions > li:first-child {
  1001. border-width: 1px 0;
  1002. }
  1003. .Message pre {
  1004. border-radius: 2px;
  1005. border: 1px solid #E6DDD6;
  1006. background-color: #F2E5E5;
  1007. }
  1008. .RecentDiscussionFilterOptions {
  1009. text-align: left;
  1010. }
  1011. .RecentDiscussionFilter a {
  1012. display: inline-block;
  1013. background-color: #F2E5E5;
  1014. padding: 0.2em 0.5em;
  1015. margin-top: 0.5em;
  1016. border-radius: 5px;
  1017. text-decoration: none;
  1018. }
  1019. .Pager > * {
  1020. display: inline-block;
  1021. background-color: #F2E5E5;
  1022. padding: 0.2em 0.5em;
  1023. margin-bottom: 1em;
  1024. border-radius: 5px;
  1025. text-decoration: none;
  1026. }
  1027. .Pager > span {
  1028. display: none;
  1029. }
  1030. .Pager > .Ellipsis, .Pager > .Highlight {
  1031. display: inline-block;
  1032. background-color: transparent;
  1033. }
  1034. .Pager > a:hover {
  1035. background-color: #e2c5c5;
  1036. }
  1037. .Pager, .Category-script-discussions{
  1038. -webkit-user-select: none;
  1039. -moz-user-select: none;
  1040. user-select: none;
  1041. }
  1042. /* sign_up, sign_in and password/new */
  1043. body .width-constraint > h2, body .width-constraint > h3 {
  1044. width: 340px;
  1045. margin: 1em auto;
  1046. text-align: center;
  1047. }
  1048. form.inline-form {
  1049. position: relative;
  1050. display: block;
  1051. margin: 0 auto;
  1052. padding: 1em;
  1053. background-color: #fff;
  1054. border: 1px solid #d8dee2;
  1055. border-radius: 5px;
  1056. text-align: center;
  1057. }
  1058. form.new_user {
  1059. position: relative;
  1060. width: 340px;
  1061. margin: 0 auto;
  1062. padding: 1em;
  1063. background-color: #fff;
  1064. border: 1px solid #d8dee2;
  1065. border-radius: 5px;
  1066. text-align: left;
  1067. }
  1068. form.new_user label {
  1069. display: block;
  1070. font-size: small;
  1071. }
  1072. form.new_user br {
  1073. display: none;
  1074. }
  1075. form.new_user input[type="text"],
  1076. form.new_user input[type="email"],
  1077. form.new_user input[type="password"] {
  1078. display: block;
  1079. width: 100%;
  1080. min-height: 34px;
  1081. box-sizing: border-box;
  1082. margin-top: 0.2em;
  1083. margin-bottom: 0.5em;
  1084. padding: 6px 8px;
  1085. font-size: 14px;
  1086. line-height: 20px;
  1087. vertical-align: middle;
  1088. color: #333;
  1089. background-color: #fff;
  1090. border: 1px solid #ddd;
  1091. border-radius: 3px;
  1092. outline: none;
  1093. box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  1094. }
  1095. form input[type="checkbox"],
  1096. form input[type="checkbox"] + label {
  1097. display: inline-block;
  1098. font-size: small;
  1099. }
  1100. form.new_user input[type="submit"] {
  1101. display: block;
  1102. width: 100%;
  1103. min-height: 34px;
  1104. box-sizing: border-box;
  1105. margin: 0.5em 0 0 0;
  1106. padding: 6px 8px;
  1107. font-size: 14px;
  1108. font-weight: bold;
  1109. line-height: 20px;
  1110. text-align: center;
  1111. vertical-align: middle;
  1112. color: #fff;
  1113. background-color: #670000;
  1114. background-image: linear-gradient(#990000, #670000);
  1115. border: 1px solid #ddd;
  1116. border-radius: 3px;
  1117. }
  1118. form.new_user ~ br {
  1119. display: none
  1120. }
  1121. form.new_user ~ a {
  1122. width: 340px;
  1123. display: block;
  1124. margin: 0 auto 2em;
  1125. font-size: small;
  1126. }
  1127. form.new_user + a {
  1128. width: 340px;
  1129. display: block;
  1130. margin: 0 auto;
  1131. }
  1132. /* moderator_actions */
  1133. body > .width-constraint > table {
  1134. padding: 0 1em 1em;
  1135. border: 1px solid #BBBBBB;
  1136. border-radius: 5px;
  1137. clear: left;
  1138. background-color: white;
  1139. margin: 1em 0;
  1140. box-shadow: 0 0 5px #DDDDDD;
  1141. }
  1142. body > .width-constraint > table time {
  1143. display: inline-block;
  1144. min-width: 7em;
  1145. }
  1146. /*
  1147. // </@custom.css>
  1148. */
  1149. `);
  1150.  
  1151. onReady(function(){
  1152. // remove only the CSS in the main site, not in the forum
  1153. qsRemove('link[rel="stylesheet"][href*="/assets/application"]');
  1154.  
  1155. // reorganize elements on scripts info page:
  1156. qsMoveAfter('#script-info>header', '#script-links');
  1157. qsMoveAfter('dt.script-show-version', 'dd.script-list-ratings');
  1158. qsMoveAfter('dd.script-show-version' , 'dt.script-show-version');
  1159. qsMoveAfter('dt.script-show-compatibility', 'dd.script-show-updated-date');
  1160. qsMoveAfter('dd.script-show-compatibility', 'dt.script-show-compatibility');
  1161.  
  1162. });
  1163. })();