Skip to content

Instantly share code, notes, and snippets.

@marcelovani
Created June 19, 2015 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcelovani/1bd463a75dd93a1e71cb to your computer and use it in GitHub Desktop.
Save marcelovani/1bd463a75dd93a1e71cb to your computer and use it in GitHub Desktop.
FogBugz tweaks
// ==UserScript==
// @name FogBugz
// @namespace work
// @description Tweaks
// @include *.fogbugz.com/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @version 1
// ==/UserScript==
$(document).ready(function() {
var style = document.createElement('style');
style.innerHTML =
'#stacking-context-main > #main, body {' +
' background:url(\'http://www.davidgrayston.co.uk/assets/images/moor2_blur.jpg\') no-repeat fixed center top !important;' +
' background-size: cover !important;' +
'} ' +
'#mainArea > div, #formWithGroup{' +
' background:url(\'http://www.davidgrayston.co.uk/assets/images/white.png\') repeat;' +
' border: 1px solid #FFFFFF;' +
' border-radius: 10px 10px 10px 10px;' +
' box-shadow: 0 0 5px #FFFFFF;' +
' padding:10px;' +
'} ' +
'#mainArea > #BugFields {' +
' background:none;' +
' border:none;' +
' border-radius:none;' +
' box-shadow:none;' +
' padding:5px;' +
'} ' +
'.bugviewWidth {' +
' width: 90% !important;' +
' max-width:1000px !important;' +
'} ' +
'a:visited {' +
' color: #8f4973 !important;' +
'}';
document.getElementsByTagName('head')[0].appendChild(style);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment