NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Feedly - Android Holo / Gmail Dark Theme // @license MPL-2.0 // @description Makes Feedly look like an Android 4.x holo dark app, with emphasis on minimizing wasted space (huge margins / padding) as well as modernizing (web 2.0'ing!) the color scheme // @author SniperFox // @homepage https://openuserjs.org/users/SniperFox // @copyright 2018, SniperFox (https://openuserjs.org/users/SniperFox) // @include http://feedly.com/* // @include https://feedly.com/* // @include http://*.feedly.com/* // @include https://*.feedly.com/* // @run-at document-start // @version 42 // ==/UserScript== (function () { var css = [ "/* Override default styles */", "*{ font-family: \'Ubuntu\', \'Helvetica Neue\', Helvetica, Arial, sans-serif !important}", "a {color: #32A9D5 !important;}", "", "/* Fix colors */", "body.home, div.area, h1, h2, div.inlineFrame, .entryHolder, div.u100Entry, .inlineFrame .selectedEntry, div.entryBody, #floatingBar, #feedlyTabs, #bigMarkAllAsReadButton, #feedlyFrame {background-color:black !important; color: #CCCCCC !important;}", "div.header.target:hover, div.feedIndex.target:hover, div.u0Entry:hover, #bigMarkAllAsReadButton:hover {background-color: #222222 !important;}", "", "/* Fix widths */", "div.u100Entry, div.entryBody {padding:0 !important; margin: 0 !important; width: 100%; max-width: none !important; }", "", "/* Hide garbage */", "div.frameActionsTop, div.wikiWidget, a.websiteCallForAction, div.quicklistHandle, div.recommendationInfo, div.commentsHolder, span.pin, div.shareBarHolder {display: none !important;}", "", "/* Style specific items */", "div.pageActionBar {background-color:white; border-radius:5px;}", "div.u0Entry {border:0px !important; padding:0 !important;}", "div.inlineFrame {border: 1px solid #222222 !important; padding: 5px !important; min-height:1px !important;}", "div.content br {display:none;}", "img.pinable{margin: 0 auto !important;}", "#feedlyPart0.area{padding: 0 0 0 14px !important; min-height: 0 !important;}", "#bigMarkAllAsReadButton{border: 1px solid #222222 !important; line-height:50px;}" ].join("\n"); if (typeof GM_addStyle != "undefined") { GM_addStyle(css); } else if (typeof PRO_addStyle != "undefined") { PRO_addStyle(css); } else if (typeof addStyle != "undefined") { addStyle(css); } else { var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css)); var heads = document.getElementsByTagName("head"); if (heads.length > 0) { heads[0].appendChild(node); } else { // no head yet, stick it whereever document.documentElement.appendChild(node); } } })();