2024-11-30 20:08:13 -08:00
|
|
|
// ==UserScript==
|
|
|
|
// @name PythonAnyDark
|
|
|
|
// @namespace http://tampermonkey.net/
|
|
|
|
// @version 0.1
|
|
|
|
// @description Darkmode for PythonAnywhere dashboard
|
|
|
|
// @author Swee
|
|
|
|
// @match *://www.pythonanywhere.com/*
|
|
|
|
// @grant none
|
|
|
|
// @run-at document-body
|
|
|
|
// ==/UserScript==
|
|
|
|
|
|
|
|
const style = document.createElement("style");
|
|
|
|
style.innerHTML = `
|
2024-11-30 21:01:05 -08:00
|
|
|
body, .primary-navbar .active a, .navbar, .ui-dialog {
|
2024-11-30 20:08:13 -08:00
|
|
|
background: #0f161c !important;
|
2024-11-30 20:35:21 -08:00
|
|
|
color: white;
|
|
|
|
}
|
2024-11-30 21:02:41 -08:00
|
|
|
.btn, .btn-default {
|
2024-11-30 20:44:21 -08:00
|
|
|
color: #0f161c !important;
|
|
|
|
}
|
2024-11-30 20:35:21 -08:00
|
|
|
.well {
|
|
|
|
background: black !important;
|
2024-11-30 20:08:13 -08:00
|
|
|
}
|
2024-11-30 20:37:41 -08:00
|
|
|
.alert-warning {
|
2024-11-30 20:40:15 -08:00
|
|
|
background: #2b1500;
|
2024-11-30 20:37:41 -08:00
|
|
|
}
|
2024-11-30 20:13:17 -08:00
|
|
|
tr.hoverable:hover {
|
2024-11-30 20:13:58 -08:00
|
|
|
background: #013e6d !important;
|
2024-11-30 20:11:35 -08:00
|
|
|
}
|
2024-11-30 20:25:36 -08:00
|
|
|
.pale, i.pale, .directory_listing_table {
|
2024-11-30 20:26:23 -08:00
|
|
|
color: white !important;
|
2024-11-30 20:17:05 -08:00
|
|
|
opacity: 1;
|
|
|
|
}
|
2024-11-30 20:08:13 -08:00
|
|
|
`;
|
2024-11-30 20:09:09 -08:00
|
|
|
document.body.appendChild(style);
|