From 6dd39c0441e9aa97d5debbdf3ee107d598a47ead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sun, 28 Jan 2024 23:46:01 +0100 Subject: [PATCH] fix css --- edupage.user.js | 96 +++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 89 insertions(+), 7 deletions(-) diff --git a/edupage.user.js b/edupage.user.js index 943ce70..2ca4b6a 100644 --- a/edupage.user.js +++ b/edupage.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Edupage H4x // @namespace https://brn.systems -// @version 0.2.32 +// @version 0.2.33 // @copyright Can be found at https://git.brn.systems/BRNSystems/Userscripts // @description Gives you a bit more options on EduPage, some are broken // @author BRNSystems @@ -36,8 +36,6 @@ --link-hover-color: #5bba6f; } - /* Specific selectors for each section */ - .userTopDiv, .userRozvrh, .user-novyPrvok, @@ -73,9 +71,24 @@ .diplomy-st-contet-outer, .print-nobreak, #fitheight>div:nth-child(2)>div>div>div:nth-child(2)>div:nth-child(1)>div>div, - /* ... (other selectors) ... */ - .sgpQuestionElem { - background-color: var(--tertiary-bg-color) !important; + #fitheight>div:nth-child(2)>div>div>div:nth-child(2)>div:nth-child(1)>div>div>div, + #fitheight>div:nth-child(2)>div>div>div:nth-child(2)>div:nth-child(2)>div>div:nth-child(1)>div, + #fitheight>div:nth-child(2)>div>div>div:nth-child(2)>div:nth-child(2)>div>div:nth-child(1), + #fitheight>div:nth-child(1)>span, + #fitheight>div:nth-child(1), + #fitheight, + #fitheight>div:nth-child(2)>div>div>div:nth-child(2)>div:nth-child(2)>div>div:nth-child(2)>div:nth-child(1)>div:nth-child(1), + #fitheight>div:nth-child(2)>div>div>div:nth-child(2)>div:nth-child(2)>div>div:nth-child(2)>div:nth-child(3)>div:nth-child(1), + #fitheight>div:nth-child(2)>div>div>div:nth-child(2)>div:nth-child(2)>div>div:nth-child(2)>div:nth-child(5)>div:nth-child(1), + #fitheight>div:nth-child(2)>div>div>div:nth-child(2)>div:nth-child(2)>div>div:nth-child(2)>div:nth-child(7)>div:nth-child(1), + #fitheight>div:nth-child(2)>div>div>div:nth-child(2)>div:nth-child(2)>div>div:nth-child(2)>div:nth-child(9)>div:nth-child(1), + #fitheight>div:nth-child(2)>div>div>div:nth-child(2)>div:nth-child(2)>div>div:nth-child(2)>div:nth-child(11)>div:nth-child(1), + #fitheight>div:nth-child(2)>div>div>div:nth-child(2)>div:nth-child(2)>div>div:nth-child(2)>div:nth-child(13)>div:nth-child(1), + div.mvtMainScroller.replies>div.messageViewerReplies.messageViewerReplies0>ul>li>div.messageReakciaInner, + .edubarHeader, + .edubarProfilebox .display, + .profilemenu { + background-color: var(--secondary-bg-color) !important; color: var(--text-color) !important; } @@ -107,7 +120,76 @@ background-color: var(--tertiary-bg-color) !important; } - /* ... (other selectors) ... */ + .hwLoadMoreDiv { + opacity: 1 !important; + } + + .userButton, + .edubarMenulist, + .calendar>div, + .hwmenuElem, + .ribbon-section, + .toolbarForm, + .hwDate, + .hwItem, + .hwLoadMoreDiv, + .hwListElem, + .hwsideElem, + .ui-datepicker-header, + .hwMainListMain, + .tmv-userCard, + .sgeRestrictedWidth, + .sgpTargetsPanel, + .etest-meditor-test-list-month, + .etest-meditor-tests-obdobie-combo, + .etest-meditor-test-list-tabs, + .etest-meditor-content, + .etest-meditor-search-results-toolbar { + background-color: #181818 !important; + color: var(--text-color) !important; + } + + .messageReplies, + .mvtMainScroller { + background-color: #181818 !important; + } + + .hwItem { + margin: 0 !important; + } + + .callout { + display: none; + } + + .edubarSidebar .edubarMenulist { + background-color: var(--secondary-bg-color) !important; + } + + .userButtonLast { + background-color: #1a1a1a !important; + color: var(--text-color); + } + + ul.edubarMenulist.level0>li:hover>a, + ul.edubarMenulist.level0>li.v2:hover>a { + background-color: var(--tertiary-bg-color) !important; + } + + .messageViewerUser, + .messageViewerText, + .messageViewerClosePart, + .tml-replies-actions, + .messageRepliesTitle, + .ui-dialog-content, + .ui-dialog, + .sgeNavPanel, + .signin-playaction-hero, + .etest-meditor-searchdiv-inner3, + .hwDetails { + background-color: var(--tertiary-bg-color) !important; + color: var(--text-color) !important; + } th, .fixedCell,