From 001069a7d9edd8481d2b2e653db147f4a98d48ed Mon Sep 17 00:00:00 2001 From: IRBorisov <8611739+IRBorisov@users.noreply.github.com> Date: Mon, 10 Jun 2024 21:03:10 +0300 Subject: [PATCH] Fix text color for typification --- .../RSFormPage/EditorConstituenta/FormConstituenta.tsx | 2 +- rsconcept/frontend/src/styling/styles.css | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/FormConstituenta.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/FormConstituenta.tsx index edd9dc04..05b86374 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/FormConstituenta.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/FormConstituenta.tsx @@ -159,7 +159,7 @@ function FormConstituenta({ disabled={true} label='Типизация' value={typification} - colors='clr-app' + colors='clr-app clr-text-default' /> diff --git a/rsconcept/frontend/src/styling/styles.css b/rsconcept/frontend/src/styling/styles.css index 02410612..e6527d1e 100644 --- a/rsconcept/frontend/src/styling/styles.css +++ b/rsconcept/frontend/src/styling/styles.css @@ -156,9 +156,13 @@ } } - .clr-text-default { + :is(.clr-text-default, input:disabled, textarea:disabled) { + opacity: 1; + -webkit-text-fill-color: var(--cl-fg-100); color: var(--cl-fg-100); .dark & { + opacity: 1; + -webkit-text-fill-color: var(--cd-fg-100); color: var(--cd-fg-100); } }