[MTurk Tools] Dashboard Style

Bring sanity back to the MTurk Dashboard.

目前为 2018-01-27 提交的版本。查看 最新版本

// ==UserScript==
// @name        [MTurk Tools] Dashboard Style
// @version     0.1.2
// @description Bring sanity back to the MTurk Dashboard.
// @author      parseHex
// @namespace   https://greasyfork.org/users/8394
// @match       https://worker.mturk.com/dashboard*
// @grant       GM_addStyle
// @run-at      document-start
// ==/UserScript==

(function () {
'use strict';

const prefix = '#MainContent > .row';
const activityColumn = prefix + ' > .col-md-8';
const otherColumn = prefix + ' > .col-md-4';

const css = `
${activityColumn} {
	right: 0;
	width: 33.33333%;
}

${otherColumn} {
	left: 0;
	width: 66.66666%;
}

${otherColumn} .row.m-b-xl {
	display: inline-block;
	width: 50%;
	float: left;
	position: relative;
	min-height: 1px;
	padding-left: 0.7142rem;
	padding-right: 0.7142rem;
}
`;

function init() {
	GM_addStyle(css);
}

init();

}());