From 87a7fffc4f35a3a94f67c11415e8571ae8b11ebe Mon Sep 17 00:00:00 2001 From: kovacsv Date: Wed, 15 Sep 2021 08:38:58 +0200 Subject: [PATCH] Use css variables for dialog text inputs. --- website/o3dv/css/dialogs.css | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/website/o3dv/css/dialogs.css b/website/o3dv/css/dialogs.css index 285f077..c72255e 100644 --- a/website/o3dv/css/dialogs.css +++ b/website/o3dv/css/dialogs.css @@ -13,6 +13,18 @@ div.ov_dialog border-radius: 5px; } +div.ov_dialog input +{ + color: var(--ov_dialog_foreground_color); + background: var(--ov_dialog_background_color); +} + +div.ov_dialog textarea +{ + color: var(--ov_dialog_foreground_color); + background: var(--ov_dialog_background_color); +} + div.ov_dialog div.ov_dialog_title { font-size: 19px; @@ -124,8 +136,6 @@ div.ov_dialog div.ov_dialog_copyable_input div.ov_dialog div.ov_dialog_copyable_input input { - color: var(--ov_dialog_foreground_color); - background: var(--ov_dialog_background_color); width: 70%; margin-top: 6px; box-sizing: border-box;