[BUGFIX] Allow overflow in default modal windows 22/49422/4
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 8 Aug 2016 16:07:00 +0000 (18:07 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 8 Aug 2016 16:43:24 +0000 (18:43 +0200)
The color picker is used in modal windows but may gets cutted as
the modal has an `overflow: hidden` definition. This definition
is moved to `.modal-dark .modal-content` as the definition
is essential for the image cropper.

Resolves: #77441
Releases: master
Change-Id: If24512a0ff37f0483dedaff527578e9e538f471f
Reviewed-on: https://review.typo3.org/49422
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Florian Steller <florian-steller@outlook.de>
Tested-by: Florian Steller <florian-steller@outlook.de>
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Build/Resources/Public/Less/TYPO3/_element_modal.less
typo3/sysext/backend/Resources/Public/Css/backend.css

index ca81489..5e1b421 100644 (file)
@@ -82,7 +82,6 @@
 .modal-content {
        .transition(margin-top .1s ease-in);
        border: none;
-       overflow: hidden;
 
        .loadmessage {
                text-align: center;
 
        color: #FFF;
        .modal-content {
+               overflow: hidden;
                background-color: #212424;
        }
        .modal-header {
index 792f85d..5043db6 100644 (file)
@@ -9328,7 +9328,6 @@ div#contentMenu1 {
 .modal-content {
   transition: margin-top 0.1s ease-in;
   border: none;
-  overflow: hidden;
 }
 .modal-content .loadmessage {
   text-align: center;
@@ -9353,6 +9352,7 @@ div#contentMenu1 {
   color: #FFF;
 }
 .modal.modal-dark .modal-content {
+  overflow: hidden;
   background-color: #212424;
 }
 .modal.modal-dark .modal-header {