PythonAnyDark/script.user.js

51 lines
1 KiB
JavaScript
Raw Normal View History

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:13:32 -08:00
body, .primary-navbar .active a, .navbar, .ui-dialog {
2024-11-30 20:08:13 -08:00
background: #0f161c !important;
2024-11-30 21:08:02 -08:00
color: white !important;
2024-11-30 20:35:21 -08:00
}
2024-11-30 21:13:32 -08:00
.ui-widget-content {
color: white;
}
2024-11-30 21:05:34 -08:00
.ui-dialog-titlebar-close {
2024-11-30 21:06:55 -08:00
background: red !important;
border-radius: 100%;
2024-11-30 21:10:08 -08:00
border-width: 0px;
2024-11-30 21:05:34 -08:00
color: white;
}
2024-11-30 21:10:08 -08:00
.ui-icon-closethick {
display: none;
}
2024-11-30 21:05:34 -08:00
.ui-widget-header {
background: none;
border: none;
}
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);