From df8adf65de69ed275dc3467863bd5f6b2d138667 Mon Sep 17 00:00:00 2001
From: Zan <62830223+Zan1456@users.noreply.github.com>
Date: Mon, 8 Sep 2025 19:32:05 +0200
Subject: [PATCH] .
---
dashboard/dashboard.css | 39 +++++++++++++++++++++++----------------
icons/assigment.svg | 1 +
icons/homework.svg | 1 +
manifest.json | 13 ++++++++++++-
timetable/timetable.js | 8 ++++----
5 files changed, 41 insertions(+), 21 deletions(-)
create mode 100644 icons/assigment.svg
create mode 100644 icons/homework.svg
diff --git a/dashboard/dashboard.css b/dashboard/dashboard.css
index a2f0ebe..a6ca685 100644
--- a/dashboard/dashboard.css
+++ b/dashboard/dashboard.css
@@ -140,9 +140,10 @@ h2 {
font-weight: 600;
font-size: 16px;
line-height: 1.3;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
+ word-wrap: break-word;
+ overflow-wrap: break-word;
+ hyphens: auto;
+ max-width: 100%;
}
.widget-subtitle {
@@ -150,6 +151,8 @@ h2 {
font-weight: 500;
font-size: 14px;
line-height: 1.2;
+ word-wrap: break-word;
+ overflow-wrap: break-word;
}
.widget-content {
@@ -186,6 +189,8 @@ h2 {
font-size: 12px;
font-weight: 400;
margin-top: 4px;
+ word-wrap: break-word;
+ overflow-wrap: break-word;
}
.grade-date {
@@ -196,20 +201,24 @@ h2 {
text-align: right;
}
-
-
.widget-author {
color: var(--text-tertiary);
font-size: 12px;
font-weight: 400;
+ word-wrap: break-word;
+ overflow-wrap: break-word;
+ max-width: 100%;
}
-.widget-meta {
+.news-author {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 4px;
text-align: right;
+ word-wrap: break-word;
+ overflow-wrap: break-word;
+ hyphens: auto;
}
.widget-empty {
@@ -236,21 +245,27 @@ h2 {
font-size: 16px;
font-weight: 600;
margin-bottom: 8px;
+ word-wrap: break-word;
+ overflow-wrap: break-word;
+ hyphens: auto;
+ line-height: 1.4;
}
.news-content {
font-size: 14px;
line-height: 1.4;
color: var(--text-secondary);
+ word-wrap: break-word;
+ overflow-wrap: break-word;
+ hyphens: auto;
}
.exam-type {
- color: var(--accent-accent);
font-size: 12px;
font-weight: 500;
- text-transform: uppercase;
letter-spacing: 0.5px;
}
+
.more-link {
margin-top: auto;
display: inline-flex;
@@ -349,14 +364,6 @@ h2 {
line-height: 1.4;
color: var(--text-secondary);
}
-
-.exam-type {
- color: var(--accent-accent);
- font-size: 12px;
- font-weight: 500;
- text-transform: uppercase;
- letter-spacing: 0.5px;
-}
.more-link {
margin-top: auto;
display: inline-flex;
diff --git a/icons/assigment.svg b/icons/assigment.svg
new file mode 100644
index 0000000..00ebfa9
--- /dev/null
+++ b/icons/assigment.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/homework.svg b/icons/homework.svg
new file mode 100644
index 0000000..82d0a49
--- /dev/null
+++ b/icons/homework.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
index 5e3531a..c7ed26b 100644
--- a/manifest.json
+++ b/manifest.json
@@ -38,7 +38,18 @@
"content_scripts": [
{
"matches": [
- "https://*.e-kreta.hu/*"
+ "https://idp.e-kreta.hu/Account/Login*",
+ "https://idp.e-kreta.hu/Account/Logout*",
+ "https://idp.e-kreta.hu/Account/LoginWithTwoFactor*",
+ "https://*.e-kreta.hu/Hianyzas/Hianyzasok*",
+ "https://*.e-kreta.hu/Adminisztracio/BelepesKezelo*",
+ "https://*.e-kreta.hu/Intezmeny/Faliujsag*",
+ "https://*.e-kreta.hu/TanuloErtekeles/Osztalyzatok*",
+ "https://*.e-kreta.hu/Orarend/InformaciokOrarend*",
+ "https://*.e-kreta.hu/Adminisztracio/Profil*",
+ "https://*.e-kreta.hu/Tanulo/TanuloHaziFeladat*",
+ "https://*.e-kreta.hu/Adminisztracio/ElfelejtettJelszo*",
+ "https://intezmenykereso.e-kreta.hu/*"
],
"js": [
"global/language.js",
diff --git a/timetable/timetable.js b/timetable/timetable.js
index 49d2173..7d3bb4c 100644
--- a/timetable/timetable.js
+++ b/timetable/timetable.js
@@ -242,7 +242,7 @@
lesson.hasHomework
? `
-
+
`
: ""
@@ -251,7 +251,7 @@
lesson.testInfo
? `
-
+
`
: ""
@@ -330,7 +330,7 @@
? `