[BUGFIX] Decrease z-index for disabled fields in FormEngine 49/52149/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Sat, 25 Mar 2017 15:55:48 +0000 (16:55 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 25 Mar 2017 23:48:00 +0000 (00:48 +0100)
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
typo3/sysext/backend/Resources/Public/Css/backend.css

index fad6c16..a92718e 100644 (file)
@@ -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;
index eb52e70..033fa42 100644 (file)
@@ -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;