From 4cdfe0a2855a2b80b7395b4526ab013ca733d284 Mon Sep 17 00:00:00 2001 From: Andreas Fernandez <a.fernandez@scripting-base.de> Date: Sat, 25 Mar 2017 16:55:48 +0100 Subject: [PATCH] [BUGFIX] Decrease z-index for disabled fields in FormEngine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The z-index for disabled input fields is decreased to a much lower value to avoid overlaying the module header bar. Resolves: #80428 Releases: master, 7.6 Change-Id: Ia6f861fc66269b843571720e31f4f935d5cc9614 Reviewed-on: https://review.typo3.org/52149 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Frank Nägler <frank.naegler@typo3.org> Tested-by: Frank Nägler <frank.naegler@typo3.org> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> --- Build/Resources/Public/Less/TYPO3/_element_tceforms.less | 4 ++-- typo3/sysext/backend/Resources/Public/Css/backend.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Build/Resources/Public/Less/TYPO3/_element_tceforms.less b/Build/Resources/Public/Less/TYPO3/_element_tceforms.less index fad6c1627faf..a92718e2f335 100644 --- a/Build/Resources/Public/Less/TYPO3/_element_tceforms.less +++ b/Build/Resources/Public/Less/TYPO3/_element_tceforms.less @@ -238,7 +238,7 @@ div.t3-form-field-container:first-child .t3-form-field-label-flex { .formengine-field-item.disabled { position: relative; .t3-form-field-disable { - z-index: 8000; + z-index: 100; background: #fafafa; display: block; position: absolute; @@ -252,7 +252,7 @@ div.t3-form-field-container:first-child .t3-form-field-label-flex { // z-index must be higher as .t3-form-field-disable z-index // this is required for the eval=null field checkbox .t3-form-field-eval-null-checkbox { - z-index: 9000; + z-index: 150; } .t3-form-palette-field-label { text-indent: 2px; diff --git a/typo3/sysext/backend/Resources/Public/Css/backend.css b/typo3/sysext/backend/Resources/Public/Css/backend.css index eb52e702b77b..033fa42abb77 100644 --- a/typo3/sysext/backend/Resources/Public/Css/backend.css +++ b/typo3/sysext/backend/Resources/Public/Css/backend.css @@ -11823,7 +11823,7 @@ div.t3-form-field-container:first-child .t3-form-field-label-flex { position: relative; } .formengine-field-item.disabled .t3-form-field-disable { - z-index: 8000; + z-index: 100; background: #fafafa; display: block; position: absolute; @@ -11833,7 +11833,7 @@ div.t3-form-field-container:first-child .t3-form-field-label-flex { filter: alpha(opacity=50); } .t3-form-field-eval-null-checkbox { - z-index: 9000; + z-index: 150; } .t3-form-palette-field-label { text-indent: 2px; -- GitLab