mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-05 19:24:39 +00:00
Merge pull request #324 from Jones8683/main
feat: Apply 12-hour time to more elements and restyle motd
This commit is contained in:
+32
-5
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ async function handleTimetable(): Promise<void> {
|
||||
|
||||
// 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);
|
||||
|
||||
Reference in New Issue
Block a user