diff --git a/src/css/injected.scss b/src/css/injected.scss index 19c011f9..19e16337 100644 --- a/src/css/injected.scss +++ b/src/css/injected.scss @@ -1987,6 +1987,10 @@ div.entry.new { border-radius: 4px; } +div.liveEntry { + border-radius: 4px; +} + .uiFileHandler .uiButton { border-radius: 32px !important; color: var(--text-primary) !important; @@ -2098,10 +2102,33 @@ div.bar.flat { background: var(--background-secondary) !important; } - .dashlet-motd { - .message { - font-size: 24px !important; - } +.dashlet-motd { + padding: 7px !important; + .message { + font-size: 24px !important; + border-radius: 12px !important; + border: none !important; + box-shadow: none !important; + color: #fff !important; + padding: 16px !important; + margin: 0 !important; + height: 100% !important; + max-height: none !important; + display: flex !important; + align-items: flex-start !important; + overflow: hidden !important; + } +} + + + .cke_toolbox > .cke_toolbar > .cke_toolgroup > .cke_button { + background: var(--background-secondary) !important; + color: var(--text-primary) !important; + } + + .cke_toolbox > .cke_toolbar > .cke_combo > .cke_combo_button { + background: var(--background-secondary) !important; + color: var(--text-primary) !important; } } @@ -3942,4 +3969,4 @@ h2.home-subtitle { margin: 20px; font-size: 20px; font-weight: 400; -} \ No newline at end of file +} diff --git a/src/plugins/built-in/timetable/index.ts b/src/plugins/built-in/timetable/index.ts index 53f62d3f..849b0f51 100644 --- a/src/plugins/built-in/timetable/index.ts +++ b/src/plugins/built-in/timetable/index.ts @@ -67,7 +67,7 @@ async function handleTimetable(): Promise { // Convert time format if needed if (settingsState.timeFormat == "12") { - const times = document.querySelectorAll(".timetablepage .times .time"); + const times = document.querySelectorAll(".timetablepage .times .time, .timetablepage .entry.new"); for (const time of times) { if (!time.textContent) continue; time.textContent = convertTo12HourFormat(time.textContent, true);