Skip to content

Instantly share code, notes, and snippets.

@curtisj44
Last active January 6, 2016 20:34
Show Gist options
  • Save curtisj44/d56524223479669798b0 to your computer and use it in GitHub Desktop.
Save curtisj44/d56524223479669798b0 to your computer and use it in GitHub Desktop.
Trello Simple Supersize
var
styleId = 'simple-supersize',
style = '<style id="' + styleId + '">' +
// wider cards
'.list-wrapper { ' +
' width: 700px; ' +
'} ' +
'.list-card { ' +
' margin: 0; ' +
' border-radius: 0; ' +
' max-width: 700px; ' +
'} ' +
'.list-card-details { ' +
' padding: .5em 2%; ' +
'} ' +
'.list-card-title { ' +
' margin: 0; ' +
'} ' +
// no aging
'.aging-regular { ' +
' opacity: 1 !important; ' +
'} ' +
// no members
'.list-card-members { ' +
' display: none; ' +
'} ' +
// no covers
'.list-card-cover { ' +
' display: none; ' +
'} ' +
// no badges
'.badges { ' +
' display: none; ' +
'} ' +
// smaller labels
'.list-card-labels { ' +
' position: absolute; ' +
' top: 0; ' +
' left: 0; ' +
' overflow: visible; ' +
' margin: 0; ' +
'} ' +
'.list-card-labels .card-label { ' +
' border-radius: 0; ' +
' margin: 0; ' +
' width: 12px; ' +
' height: 3px; ' +
'} ' +
'</style>';
if ($('#' + styleId).length > 0) {
$('#' + styleId).remove();
} else {
$('head').append(style);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment