├── Fix-Notts-Moodle_LayoutOnly.txt ├── LICENSE ├── docs └── index.html ├── README.md └── Fix-Notts-Moodle.txt /Fix-Notts-Moodle_LayoutOnly.txt: -------------------------------------------------------------------------------- 1 | ! Title: Fix Notts Moodle (Layout Only) 2 | ! Version: 1.0.1 3 | ! Last updated: 2023-12-19 4 | ! Expires: 4 days 5 | ! Description: Make Moodle Less 💩. Doesn't change the beige. Contact Discord: @cpt.dinosaur 6 | ! License: MIT 7 | ! Homepage: https://github.com/DoctorDinosaur/Fix-Notts-Moodle 8 | ! Syntax: uBlock 9 | !! Layout Filters 10 | ! Remove page width limit 11 | moodle.nottingham.ac.uk##body#page-my-index:remove-class(limitedwidth) 12 | moodle.nottingham.ac.uk##body#page-course-view-topics:remove-class(limitedwidth) 13 | ! 3 module cards -> 5 cards 14 | moodle.nottingham.ac.uk##.dashboard-card-deck:not(.fixed-width-cards) .dashboard-card:style(width: calc(20% - 0.5rem) !important;) 15 | 16 | !! Cosmetic Filters 17 | ! Increase border size between sections on module page 18 | moodle.nottingham.ac.uk##.course-section:style(border-bottom: 5px solid #CFD4D8 !important;) 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 DoctorDinosaur 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 30 | 31 | 32 |
33 | Install Filter 34 |
35 | 36 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Fix-Notts-Moodle 2 | Make New Moodle Less Disgusting 3 | 4 | - Make the pages full-width 5 | - Increase modules per row from 3 to 5 6 | - Change out horrible tan/beige to white. Good for dark reader extensions. (Optional, main file) 7 | 8 | Hacked together in an hour. It's a better idea to use something like [Stylus](https://github.com/openstyles/stylus) for the theme changes, but I already use uBlock. Moodle is using Bootstrap for its theming, so there's prob a much easier way. 9 | 10 | Fetches updates every 4 days. If something looks broke, you might need to force an update in ublock settings if it's already fixed here. 11 | 12 | ## Install 13 | Also, be sure to go to the moodle homepage -> Edit Mode in the top right -> add back Module Overview. 14 | ### Manually 15 | - Go to uBlock settings 16 | - Go to Filter Lists 17 | - Scroll to bottom -> Import... 18 | - Enter url: https://raw.githubusercontent.com/DoctorDinosaur/Fix-Notts-Moodle/main/Fix-Notts-Moodle.txt 19 | 20 | (Optional layout only version is here too, incase you _like_ the new colours) 21 | 22 | ### Automatically 23 | Click the link on https://doctordinosaur.github.io/Fix-Notts-Moodle/ 24 | 25 | *Why github pages?*: uBlock has a [hardcoded](https://github.com/gorhill/uBlock/blob/d0dbc27c025b894bdc5cf32d501a1aaf36725b07/platform/firefox/manifest.json#L60) list of domains that can have a filter list url. Github markdown doesn't support protocol links 26 | 27 | ## Contributing 28 | If you've found any horrible beige, please submit a pull request with a filter for it. 29 | If you feel like retheming the whole thing properly, good on you. Open an issue and let me know if this becomes obsolete. 30 | -------------------------------------------------------------------------------- /Fix-Notts-Moodle.txt: -------------------------------------------------------------------------------- 1 | ! Title: Fix Notts Moodle 2 | ! Version: 1.0.4 3 | ! Last updated: 2023-12-19 4 | ! Expires: 4 days 5 | ! Description: Make Moodle Less 💩. Contact Discord: @cpt.dinosaur 6 | ! License: MIT 7 | ! Homepage: https://github.com/DoctorDinosaur/Fix-Notts-Moodle 8 | ! Syntax: uBlock 9 | 10 | !! Layout Filters 11 | ! Remove page width limit 12 | moodle.nottingham.ac.uk##body#page-my-index:remove-class(limitedwidth) 13 | moodle.nottingham.ac.uk##body#page-course-view-topics:remove-class(limitedwidth) 14 | ! 3 module cards -> 5 cards 15 | moodle.nottingham.ac.uk##.dashboard-card-deck:not(.fixed-width-cards) .dashboard-card:style(width: calc(20% - 0.5rem) !important;) 16 | 17 | !! Cosmetic Filters 18 | ! Increase border size between sections on module page 19 | moodle.nottingham.ac.uk##.course-section:style(border-bottom: 5px solid #CFD4D8 !important;) 20 | ! Replace beige with white 21 | moodle.nottingham.ac.uk##body#page-my-index:style(background-color: #FFF !important;) 22 | moodle.nottingham.ac.uk##body#page-course-view-topics:style(background-color: #FFF !important;) 23 | moodle.nottingham.ac.uk##body:style(background-color: #FFF !important;) 24 | moodle.nottingham.ac.uk###page.drawers .main-inner:style(background-color: #fff !important;) 25 | moodle.nottingham.ac.uk##.card:style(background-color: #fff !important;) 26 | moodle.nottingham.ac.uk##.form-control:style(background-color: #fff !important;) 27 | moodle.nottingham.ac.uk##.bg-white:style(background-color: #fff !important;) 28 | moodle.nottingham.ac.uk##.secondary-navigation .navigation:style(background-color: #fff !important;) 29 | moodle.nottingham.ac.uk##.carousel-caption:style(background-color: #fff !important;) 30 | moodle.nottingham.ac.uk##.nav-tabs:style(background-color: #fff !important;) 31 | moodle.nottingham.ac.uk##.moremenu .nav-tabs:style(background-color: #fff !important;) 32 | moodle.nottingham.ac.uk###region-main:style(background-color: #fff !important;) 33 | moodle.nottingham.ac.uk##.bg-light:style(background-color: #fff !important;) 34 | moodle.nottingham.ac.uk##.page-link:style(background-color: #fff !important;) 35 | moodle.nottingham.ac.uk##.modal-content:style(background-color: #fff !important;) 36 | moodle.nottingham.ac.uk##.list-group-item:style(background-color: #fff !important;) 37 | moodle.nottingham.ac.uk##.message-app .list-group .list-group-item:hover:style(color: #fff !important;) 38 | moodle.nottingham.ac.uk##.dropdown-menu:style(background-color: #fff !important;) 39 | moodle.nottingham.ac.uk##.popover:style(background-color: #fff !important;) 40 | moodle.nottingham.ac.uk##.img-thumbnail:style(background-color: #fff !important;) 41 | moodle.nottingham.ac.uk##kbd:style(background-color: #fff !important;) 42 | moodle.nottingham.ac.uk##.table-light, .table-light>th, .table-light>td:style(background-color: #fff !important;) 43 | moodle.nottingham.ac.uk##.form-control:style(background-color: #fff !important;) 44 | moodle.nottingham.ac.uk##.form-control:focus:style(background-color: #fff !important;) 45 | moodle.nottingham.ac.uk##.btn-light:style(background-color: #fff !important; border-color: #fff !important;) 46 | moodle.nottingham.ac.uk##.btn-light.disabled .btn-light:disabled:style(background-color: #fff !important; border-color: #fff !important;) 47 | moodle.nottingham.ac.uk##.btn-outlign-light:hover:style(background-color: #fff !important; border-color: #fff !important;) 48 | moodle.nottingham.ac.uk##.btn-outline-light:not(:disabled):not(.disabled).active, .btn-outline-light:not(:disabled):not(.disabled):active, .show>.btn-outline-light.dropdown-toggle:style(background-color: #fff !important; border-color: #fff !important;) 49 | moodle.nottingham.ac.uk##.custom-control-label::before:style(background-color: #fff !important;) 50 | moodle.nottingham.ac.uk##.custom-switch .custom-control-input:checked~.custom-control-label::after:style(background-color: #fff !important;) 51 | moodle.nottingham.ac.uk##.custom-file-label:style(background-color: #fff !important;) 52 | moodle.nottingham.ac.uk##.badge-light:style(background-color: #fff !important;) 53 | moodle.nottingham.ac.uk##.alert-light:style(background-color: #fff !important; border-color: #fff !important;) 54 | moodle.nottingham.ac.uk##.list-group-item:style(background-color: #fff !important;) 55 | moodle.nottingham.ac.uk##.list-group-item.disabled, .list-group-item:disabled:style(background-color: #fff !important;) 56 | moodle.nottingham.ac.uk##.list-group-item-light:style(background-color: #fff !important;) 57 | moodle.nottingham.ac.uk##.carousel-indicators li:style(background-color: #fff !important;) 58 | moodle.nottingham.ac.uk##.bg-white:style(background-color: #fff !important;) 59 | moodle.nottingham.ac.uk##.table td, .table th:style(background-color: #fff !important;) 60 | moodle.nottingham.ac.uk###region-main:style(background-color: #fff !important;) 61 | moodle.nottingham.ac.uk##.moodle-dialogue-base .moodle-dialogue .moodle-dialogue-bd body:style(background-color: #fff !important;) 62 | moodle.nottingham.ac.uk##.modchooser .modal-body .optionsummary:style(background-color: #fff !important;) 63 | moodle.nottingham.ac.uk###region-flat-nav .nav:style(background-color: #fff !important;) 64 | moodle.nottingham.ac.uk##.region_main_settings_menu_proxy:style(background-color: #fff !important;) 65 | moodle.nottingham.ac.uk##.block .block-cards .course-summaryitem:style(background-color: #fff !important;) 66 | moodle.nottingham.ac.uk##.block_timeline .paged-content-page-container:style(background-color: #fff !important;) 67 | moodle.nottingham.ac.uk###course-category-listings .listitem.highlight:style(background-color: #fff !important;) 68 | moodle.nottingham.ac.uk##.message-app .message.received:style(background-color: #fff !important;) 69 | moodle.nottingham.ac.uk##.simplesearchform .collapse.show, .simplesearchform .collapsing:style(background-color: #fff !important;) 70 | moodle.nottingham.ac.uk##.login-container:style(background-color: #fff !important;) 71 | moodle.nottingham.ac.uk##.popover-region-footer-container:style(background-color: #fff !important;) 72 | moodle.nottingham.ac.uk##.layout.fullscreen:style(background-color: #fff !important;) 73 | moodle.nottingham.ac.uk##.mod_turnitintooltwo .btn-light:style(background-color: #fff !important; border-color: #fff !important;) 74 | moodle.nottingham.ac.uk##.mod_turnitintooltwo .btn-light.disabled .btn-light:disabled:style(background-color: #fff !important; border-color: #fff !important;) 75 | --------------------------------------------------------------------------------