Skip to content

Instantly share code, notes, and snippets.

@CEBracco
Last active February 20, 2020 17:46
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 CEBracco/b8d678a745d9eb33a94e8092b4822da8 to your computer and use it in GitHub Desktop.
Save CEBracco/b8d678a745d9eb33a94e8092b4822da8 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name UniverseTheming
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://rosales.dat.cespi.unlp.edu.ar/*
// @require https://gist.githubusercontent.com/CEBracco/3840b85d881d4a536eaa0c9641dcdec9/raw/waitForKeyElements.js
// @grant none
// ==/UserScript==
(function() {
'use strict';
function init(){
$('link[href*="bootstrap.min.css"]').attr('href','http://127.0.0.1:8080/flat-bootstrap.min.css')
$('link[href*="bootstrap-theme.min.css"]').remove()
$('link[href*="main.css"]').after('<link rel="stylesheet" href="http://127.0.0.1:8080/bootstrap-theme.css">')
}
waitForKeyElements ('link[href*="bootstrap-theme.min.css"]', init);
})();
/*
.container.print-container {
width: auto;
}
.paginator-input {
padding: 8.5px 8px !important;
}
.table>tbody>tr:nth-of-type(odd) {
background-color: #f9f9f9;
}
.table {
margin-top: 15px;
border: 1px solid #ecf0f1;
}
.table-flat>tbody>tr:nth-of-type(odd) {
background-color: none;
border: 1px solid #ecf0f1;
}
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment