From ae725c08a95ad8757858070b9d324b3dc69a25b5 Mon Sep 17 00:00:00 2001 From: SimonGschnell Date: Wed, 23 Jul 2025 11:18:38 +0200 Subject: [PATCH] update(News und Paginator styling): updates how the news widget is highlighted and adds paginator css overwrites --- public/css/components/dashboard/news.css | 9 +-- public/css/theme/default.css | 19 ++++++ .../ProfilComponents/ProfilInformation.js | 6 +- public/js/components/DashboardWidget/News.js | 2 +- system/phrasesupdate.php | 60 +++++++++++++++++++ 5 files changed, 85 insertions(+), 11 deletions(-) diff --git a/public/css/components/dashboard/news.css b/public/css/components/dashboard/news.css index 0253a1789..8c3a090d7 100644 --- a/public/css/components/dashboard/news.css +++ b/public/css/components/dashboard/news.css @@ -168,19 +168,14 @@ opacity: 1 !important; } -.fhc-news-items-lg .row:hover{ - background-color: var(--fhc-primary); - color: var(--fhc-light) !important; - cursor: pointer; -} .fhc-news-items-lg .row .news-truncate span{ color: var(--fhc-primary); cursor: pointer; } -.fhc-news-items-lg .row:hover .news-truncate span { - color: var(--fhc-light); +.fhc-news-items-lg .row:hover .news-truncate span{ + text-decoration: underline; cursor: pointer; } diff --git a/public/css/theme/default.css b/public/css/theme/default.css index 35a0c98f9..ba6493542 100644 --- a/public/css/theme/default.css +++ b/public/css/theme/default.css @@ -266,4 +266,23 @@ html.dark .tabulator .tabulator-header .tabulator-col:hover { .p-paginator{ background-color: var(--fhc-background) !important; +} + +.p-paginator .p-paginator-pages .p-paginator-page.p-highlight, +.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight { + background-color: var(--fhc-primary) !important; + border-color: var(--fhc-primary) !important; + color: var(--fhc-light) !important; +} + +.p-paginator .p-paginator-pages .p-paginator-page, +.p-paginator .p-paginator-next, +.p-paginator .p-paginator-prev, +.p-paginator .p-paginator-first, +.p-paginator .p-paginator-last { + color: var(--fhc-primary) !important; +} + +.p-link:focus { + box-shadow: 0 0 0 0.2rem rgba(var(--fhc-primary), 0.5) !important; } \ No newline at end of file diff --git a/public/js/components/Cis/Profil/ProfilComponents/ProfilInformation.js b/public/js/components/Cis/Profil/ProfilComponents/ProfilInformation.js index 5dd4a6969..d714c9faa 100644 --- a/public/js/components/Cis/Profil/ProfilComponents/ProfilInformation.js +++ b/public/js/components/Cis/Profil/ProfilComponents/ProfilInformation.js @@ -73,7 +73,7 @@ export default {
-
+
@@ -90,10 +90,10 @@ export default {
profile picture -
+
-
+
diff --git a/public/js/components/DashboardWidget/News.js b/public/js/components/DashboardWidget/News.js index 0f15a165e..247f04b40 100644 --- a/public/js/components/DashboardWidget/News.js +++ b/public/js/components/DashboardWidget/News.js @@ -243,7 +243,7 @@ export default {