From ee0fa9f7d467fba4aeda23e0a0a5d37842148748 Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Tue, 24 Feb 2026 17:23:50 +0100 Subject: [PATCH] studvw reduce height of elements e.g: - tabulator header filter - tabulator rows - form input and select - primevue autocomplete - primevue tabs --- public/css/Studentenverwaltung.css | 48 ++++++++++-- .../components/DetailHeader/DetailHeader.js | 4 +- .../Studentenverwaltung/Details/Details.js | 24 +++--- .../Studentenverwaltung/Details/Prestudent.js | 74 +++++++++++-------- .../Details/Prestudent/History.js | 2 +- .../Stv/Studentenverwaltung/List.js | 4 +- .../Stv/Studentenverwaltung/List/Filter.js | 2 +- public/js/components/Tabs.js | 3 +- 8 files changed, 106 insertions(+), 55 deletions(-) diff --git a/public/css/Studentenverwaltung.css b/public/css/Studentenverwaltung.css index eb6becc15..5139099c6 100644 --- a/public/css/Studentenverwaltung.css +++ b/public/css/Studentenverwaltung.css @@ -12,22 +12,22 @@ html { font-size: .875em; } html.fs_xx-small { - font-size: .5em; + font-size: .625em; } html.fs_x-small { - font-size: .625em; + font-size: .6875em; } html.fs_small { font-size: .75em; } html.fs_normal { - font-size: .875em; + font-size: .8125em; } html.fs_big { - font-size: 1em; + font-size: .875em; } html.fs_huge { - font-size: 1.125em; + font-size: 1em; } #appMenu { @@ -185,3 +185,41 @@ html.fs_huge { .tiny-90 div.tox.tox-tinymce { height: 90% !important; } + +/* slim begin */ +.stv .form-label { + margin-bottom: .15rem; +} + +.stv .form-control, +.stv .form-select, +.stv .input-group-text { + padding-top: .15rem; + padding-bottom: .15rem; + line-height: 1.25; +} + +:root { + --bs-body-line-height: 1.25; +} + +.stv .tabulator-row .tabulator-cell, +.stv .tabulator-header-filter input { + padding-top: 1px !important; + padding-bottom: 1px !important; +} + +.stv .tabulator-row { + min-height: 18px; +} + +.stv .btn { + --bs-btn-padding-y: 0.15rem; + --bs-btn-line-height: 1.25; +} + +.stv .p-button.p-button-icon-only { + padding-top: 0; + padding-bottom: 0; +} +/* slim ende */ diff --git a/public/js/components/DetailHeader/DetailHeader.js b/public/js/components/DetailHeader/DetailHeader.js index 04c6d1835..caf6492bb 100644 --- a/public/js/components/DetailHeader/DetailHeader.js +++ b/public/js/components/DetailHeader/DetailHeader.js @@ -112,7 +112,7 @@ export default { } }, template: ` -
+