Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
// ==UserScript==
// @name visualstudio taskboard
// @namespace http://wolfspelz.de/
// @version 0.1
// @description Restore white background
// @match https://*.visualstudio.com/DefaultCollection/*/_backlogs/*ask*oard/*
// @copyright 2015+, wolfspelz
// ==/UserScript==
function style(css) {
var head = document.getElementsByTagName('head')[0];
if (!head) { return; }
var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
style('#taskboard-table-header_s0 { width: 33%!important; } #taskboard-table-header_s1 { width: 33%!important; } #taskboard-table-header_s2 { display: none; } #taskboard-table-header_s3 { display: none; } #taskboard-table-header_s4 { width: 33%!important; } .taskboard-cell[axis="taskboard-table-body_s0"] { width: 33%!important; } .taskboard-cell[axis="taskboard-table-body_s1"] { width: 33%!important; } .taskboard-cell[axis="taskboard-table-body_s2"] { display: none; } .taskboard-cell[axis="taskboard-table-body_s3"] { display: none; } .taskboard-cell[axis="taskboard-table-body_s4"] { width: 33%!important; }');
style('.id-title-container { margin: 0!important; padding: 0px!important; min-height: 10px!important;}');
style('.tbTile { margin: 1px!important; }');
style('.tbTile.childTbTile { width: initial!important; min-height: 0px!important; }');
style('.taskboard-cell { padding: 0px!important; border-left: solid 1px #fff!important; border-bottom: solid 1px #fff!important;}');
style('.card-context-menu { top: 0px!important; right: 0px!important; height: 20px!important; padding: 2px 0 0 2px!important;}');
style('.container.witExtra { display: none; }');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment