From 4e0fcfea3f6ed40966d2ff4cc966b46d83aff557 Mon Sep 17 00:00:00 2001 From: Bruno Eckhardt Date: Wed, 25 Mar 2026 07:45:24 +0100 Subject: [PATCH] dark and white mode for dropdown --- WEBROOT/style.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/WEBROOT/style.css b/WEBROOT/style.css index 062dc7c..e2e8a2c 100644 --- a/WEBROOT/style.css +++ b/WEBROOT/style.css @@ -1043,4 +1043,31 @@ body.dark-mode .db-table tr:nth-child(even) { body.dark-mode .sidebar::-webkit-scrollbar-thumb, body.dark-mode .content::-webkit-scrollbar-thumb { background: #444; +} + +.form-group { + display: flex; + flex-direction: column; + gap: 5px; + flex-grow: 1; +} + +.form-group label { + font-size: 0.85rem; + font-weight: 600; + color: var(--text); +} + +/* Optional: schöner Dropdown Pfeil */ +select { + appearance: none; + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='%23666' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7l5 5 5-5z'/%3E%3C/svg%3E"); + background-repeat: no-repeat; + background-position: right 10px center; + background-size: 16px; +} + +/* Dark Mode Pfeil */ +body.dark-mode select { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='%23ccc' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7l5 5 5-5z'/%3E%3C/svg%3E"); } \ No newline at end of file