NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Trello tweaks // @namespace https://openuserjs.org/meta/alexey.rubasheff/Trello_tweaks.meta.js // @version 0.2 // @description show label titles, minifi card elements to one row, card wider, no checklist strike // @author Alexey Rubasheff via Vasily Chapaev, vasilychapaev@gmail.com // @match https://trello.com/* // ==/UserScript== var css = ` /* labels title - show */ .list-card-labels .card-label { font-weight: normal; font-size: 10px; height: 12px !important; line-height: 10px !important; padding: 0 3px; margin: 0 3px 0 0; text-shadow: none; width: auto; max-width: 50px; } /* labels + title + icons - one row = mini UI */ .list-card-labels { float: left; margin: 3px 0; } .list-card-title {display: inline;} /* checklist count - green>gray */ .badge.is-complete {background-color: #EDEFF0;} /* card - wider */ .window {width: 85vw;} .window-main-col {width: 75vw;} /* card - "edit" link hide */ .card-detail-item-header, .card-detail-item-header-edit {display: none;} /* checklist - strike remove */ .checklist-item-state-complete .checklist-item-details-text {text-decoration: none;} } `; insertCss(css); function insertCss( code ) { var style = document.createElement('style'); style.type = 'text/css'; if (style.styleSheet) { // IE style.styleSheet.cssText = code; } else { // Other browsers style.innerHTML = code; } document.getElementsByTagName("head")[0].appendChild( style ); }