Advertisement
SingularityUtopia

User style to modify new Twitter to eliminate snow-blindness

May 8th, 2014
893
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.19 KB | None | 0 0
  1. http://userstyles.org/ allows you to modify webpages.
  2.  
  3. It is available for Firefox and Chrome. I have only tested the style below on Firefox desktop. My style tones-down the white background and makes other changes to make twitter easier on the eye.
  4.  
  5. Install the Stylish addon then write a new style via pasting everything below (starting at @namespace) into your new style. If you want a different background color, change the top three color entries (#E3E3E3) to the color of your choice. Check back here for future updates. Tweet questions to @2045singularity.
  6.  
  7. If anything looks wonky let me know. 17th May 2014.
  8.  
  9. I will not be updating this pastebin version any more.
  10.  
  11. See latest version at:
  12.  
  13. http://userstyles.org/styles/101446/twitter-easy-eye-no-white-background
  14.  
  15.  
  16. @namespace url(http://www.w3.org/1999/xhtml);
  17. @-moz-document regexp("http(s)?://([^.]*\\.|)twitter\\.com/(?!widget).*")
  18.  
  19. {
  20.  
  21. /*Singularity Utopia Style ---- @2045singularity */
  22.  
  23. html, body, #doc, #page-outer
  24.  
  25. {
  26. background: #E3E3E3;
  27.  
  28. }
  29.  
  30. .Grid--withGutter
  31. {
  32. background: #E3E3E3;
  33.  
  34. }
  35.  
  36. .ProfileHeaderCard-screennameLink:hover
  37. {
  38. background: #E3E3E3 !important;
  39. box-shadow: none !important;
  40. }
  41.  
  42. .ProfilePage .AppContent
  43. {
  44. background: none;
  45.  
  46. }
  47.  
  48. .ProfileCanopy-navBar
  49.  
  50. {
  51. background: none;
  52.  
  53. }
  54.  
  55. .ProfileNav-item--userActions
  56. {
  57. background: none;
  58. }
  59.  
  60.  
  61.  
  62. .ProfileTweet
  63. {
  64. transition: all 0.5s ease-in-out;
  65. border-color: #C5CFD7;
  66. border-style: solid;
  67. border-width: 1px 1px 2px 1px;
  68. border-radius: 3px 3px 5px 5px !important;
  69. margin: 5px 0 5px 0 !important;
  70. }
  71.  
  72. .ProfileTweet:hover
  73. {
  74. border-color:#A8A7B5;
  75. box-shadow:#A5A4B3 0px 1px 7px;
  76. }
  77.  
  78.  
  79. .StreamToggler
  80. {
  81. border: none;
  82. padding-bottom:4px;
  83. }
  84.  
  85. .Container
  86. {
  87. background: white;
  88. }
  89.  
  90. #widget
  91.  
  92. {
  93. background:none;
  94. }
  95.  
  96.  
  97. .ProfileCard
  98. {
  99. border: 1px solid #CACBD2;
  100. background-color: #FFF2E3;
  101. border-radius: 4px 4px 12px 12px;
  102. border-bottom-width:2px;
  103. margin-bottom:6px;
  104.  
  105. }
  106.  
  107. .ProfilePage
  108. {
  109. min-width:900px;
  110. max-width:998px;
  111. margin: 0 auto auto auto;
  112. }
  113.  
  114. .global-nav-inner
  115. {
  116. background: none repeat scroll 0% 0% #F0ECE1;
  117. box-shadow: inset white 0px 0px 3px 0px, rgba(34, 34, 34, 0.2) 0px 0px 20px;
  118. }
  119.  
  120.  
  121. A.StreamToggler-link.u-textUserColor.js-nav
  122. {
  123. margin-top:5px;
  124. }
  125.  
  126.  
  127. /* TWEETS - TWEETS AND REPLIES */
  128.  
  129. .ProfileHeading-toggleItem
  130. {
  131. margin-right: 15px !important;
  132.  
  133. }
  134.  
  135. .ProfileHeading-toggleItem.is-active
  136.  
  137. {
  138. border-bottom: 3px solid #CFCFCF;
  139. border-radius: 20px 22px 4px 19px;
  140. background: #EDEDED;
  141. padding: 15px 15px 15px 15px;
  142. margin-right: 15px;
  143. margin-bottom:10px !important;
  144. transition: all 0.3s ease-in-out;
  145. }
  146.  
  147.  
  148. .ProfileHeading-toggleItem.is-active:hover
  149.  
  150. {
  151.  
  152. border-radius: 22px 20px 19px 4px;
  153.  
  154. color:#514970;
  155.  
  156. }
  157.  
  158. .ProfileHeading-content
  159.  
  160. {
  161. background:none !important;
  162. border:none;
  163. }
  164.  
  165. .ProfileHeading-toggleItem.u-textUserColor.js-nav
  166. {
  167. transition: all 0.2s ease-in-out;
  168. padding: 15px;
  169. border-radius: 13px 17px 4px 13px;
  170. margin: 3px 5px 7px 0px;
  171. border-bottom: 3px solid transparent;
  172. }
  173.  
  174. .ProfileHeading-toggleItem.u-textUserColor.js-nav:hover
  175. {
  176. background: #FFFBE3;
  177. color:darkblue !important;
  178. box-shadow: inset white 0px 0px 1px, lightgrey 0px 2px 8px;
  179. border-bottom: 3px solid #B1AEBD;
  180. }
  181.  
  182. .ProfileHeading-toggleItem.u-textUserColor.js-nav:active
  183. {
  184. background: #FFE2B3;
  185. border-bottom: 3px solid orange;
  186. }
  187.  
  188. .ProfileHeading-toggleItem.u-textUserColor.js-nav:focus
  189. {
  190. background: #FFE2B3;
  191. border-bottom: 3px solid orange;
  192. }
  193.  
  194. .ProfileNav-item.is-active .ProfileNav-stat, .ProfileNav-stat:hover, .ProfileNav-stat:focus
  195. {
  196. border-radius: 0px;
  197. background: #fff;
  198. }
  199.  
  200. #global-actions A.js-nav:hover
  201. {
  202. background: #EBF4FF;
  203. box-shadow: inset #fff 0px 0px 0px 1px;
  204. }
  205.  
  206. .ProfileNav-stat--link:hover, .ProfileNav-stat--link:focus
  207.  
  208. {
  209. background: #EBF4FF;
  210. box-shadow: inset #fff 0px 0px 0px 1px;
  211. }
  212.  
  213. .ProfileNav-stat--moreLink:hover, .ProfileNav-stat--moreLink:focus
  214. {
  215. margin-top: 7px;
  216. padding-top:7px;
  217. background:#FFFBE3;
  218. border-radius: 15px !important;
  219. }
  220.  
  221. A.ProfileHeaderCard-nameLink.u-textInheritColor.js-nav:hover
  222. {
  223. background:none;
  224. color:grey !important;
  225. transition: all 0.5s ease-in-out;
  226. box-shadow:none !important;
  227. }
  228.  
  229. .GridTimeline-footerIcon
  230. {
  231. background-color: #F5F8FA;
  232. padding: 8px 5px 2px 14px;
  233. border-radius: 20px;
  234. }
  235.  
  236. .GridTimeline-footer:before
  237.  
  238. {
  239. background:none;
  240. }
  241.  
  242.  
  243. .ProfileCanopy-header.u-bgUserColor
  244. {
  245. border-radius: 0px 0px 8px 8px !important;
  246. }
  247.  
  248. .btn:hover
  249. {
  250. box-shadow: white 0px 0px 1px 0px;
  251. }
  252.  
  253. #global-new-tweet-button:hover
  254. {
  255. border: 1px solid transparent !important;
  256. border-radius:2px;
  257. }
  258.  
  259. .tweet-btn:hover, .tweet-btn:active, .tweet-btn.active
  260.  
  261. {
  262. border:1px solid transparent !important;
  263. }
  264.  
  265. .btn:hover, .follow-combo.open .btn-user-actions, .dropdown.open .user-dropdown
  266. {
  267. border-color: #8FD0FF;
  268. }
  269.  
  270. A.js-nav.js-initial-focus
  271. {
  272. background:none;
  273. }
  274.  
  275. A.account-group.js-account-group.js-action-profile.js-user-profile-link.js-nav
  276. {
  277. background:none !important;
  278. }
  279.  
  280. .u-bgUserColorLightest
  281. {
  282. background: #F5EEE4 !important;
  283. border-color:#CCCCCC !important;
  284. box-shadow: inset #F5EEE4 0px 0px 12px 13px;
  285. }
  286.  
  287.  
  288. .ProfileTweetbox
  289.  
  290. {
  291. background: #F5EEE4 !important;
  292. }
  293.  
  294. #page-container .content:hover
  295. {
  296. background: none !important;
  297. }
  298.  
  299. /* NUMBER OF NEW TWEETS - 10etc new Tweets - notifications too */
  300.  
  301. .new-tweets-bar
  302. {
  303. font-size: 13pt;
  304. font-weight: bold;
  305. word-spacing:5px;
  306. letter-spacing:1px;
  307. background: #F5F2EB;
  308. padding: 14px 0px 13px 0px;
  309. border-color: #E0E0E0;
  310. font-family:arial;
  311. text-shadow: white 0px 0px 1px;
  312. transition: all 0.05s ease-in-out;
  313. color: #CC0003;
  314. font-style:italic;
  315. }
  316.  
  317. .new-tweets-bar:hover
  318.  
  319. {
  320. background: #BBEDCA;
  321. border-color: #ABD9B9;
  322. color: #001866;
  323. }
  324.  
  325.  
  326. .new-tweets-bar:active
  327.  
  328. {
  329. background: #FFE4A8;
  330. border-color: #EDCA9A;
  331. color: #470024;
  332. }
  333.  
  334.  
  335. .stream
  336.  
  337. {
  338. box-shadow: #BFBFBF 0px 60px 30px -40px;
  339. }
  340.  
  341. /* COG DROP */
  342.  
  343.  
  344. .small-user-dropdown
  345.  
  346. {
  347. margin-right:-1px !important;
  348. padding: 0 2px 0 5px !important;
  349.  
  350. }
  351.  
  352. .small-user-dropdown:hover
  353.  
  354. {
  355. background: #fff !important;
  356. border-radius:2px !important;
  357. }
  358.  
  359. .UserActions .user-dropdown
  360. {
  361. color: #2D648F;
  362. transition: all 0.4s ease-in-out;
  363. margin: 1px 11px 0px 0px;
  364. padding: 0 3px 0 8px;
  365. border: 1px solid transparent;
  366. }
  367.  
  368. .UserActions .user-dropdown:hover
  369. {
  370. color: #CF003B;
  371. background:#FFF9CF;
  372. box-shadow: #A3A3A3 0px 0px 1px 0px, lightgrey 0px 0px 1px 0px;
  373.  
  374. }
  375.  
  376. .ProfileSidebar .Footer-item, .ProfileSidebar .Footer-link
  377. {
  378. color: #3B3F63;
  379. }
  380.  
  381. .ProfileClusterFollow
  382.  
  383. {
  384. background:none;
  385. border:none;
  386. }
  387.  
  388. .ProfileClusterFollow-closeButton
  389.  
  390. {
  391. padding:8px 18px 8px 18px;
  392. margin-top: -11px;
  393. border-radius: 7px;
  394. background: white;
  395. border:1px solid #9FA8CC;
  396.  
  397. }
  398.  
  399. .ProfileClusterFollow-closeButton:hover
  400. {
  401. background: #B0FFDB;
  402. box-shadow:#BCD1CE 0px 2px 4px;
  403. border-color: grey;
  404. }
  405.  
  406. .ProfileClusterFollow-header
  407. {
  408.  
  409. padding: 0px 33px 0px 0px;
  410.  
  411. }
  412.  
  413. .primary-btn:hover
  414.  
  415. {
  416.  
  417. border-color: transparent !important;
  418.  
  419. }
  420.  
  421. .primary-btn.retweet-action:focus
  422.  
  423. {
  424. box-shadow: inset blue 0px 0px 1px 0px;
  425.  
  426. }
  427.  
  428. .related li
  429.  
  430. {
  431. border: 1px solid #CECECE;
  432. border-radius: 8px;
  433. background: white;
  434.  
  435. }
  436.  
  437. }
  438.  
  439. /* include this too so you are sure you have not missed anything, the end. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement