[TASK] Form elements being numerated and hidden elements are visible 48/45548/6
authorGianluigi Martino <gmartino27@gmail.com>
Sat, 2 Jan 2016 09:20:19 +0000 (10:20 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 4 Mar 2016 10:52:10 +0000 (11:52 +0100)
Form elements being numerated because browsers numerated <ol> elements by
default

Change-Id: Ia1af699ced49d0e5d44c600b94d80aa93cafc528
Resolves: #72312
Releases: master
Reviewed-on: https://review.typo3.org/45548
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/form/Configuration/TypoScript/setup.txt

index 8b07d06..acb5306 100644 (file)
@@ -39,6 +39,10 @@ plugin.tx_form {
        }
 
        _CSS_DEFAULT_STYLE (
+               div.csc-mailform ol {
+                       list-style-type: none;
+               }
+
                div.csc-mailform ol,
                div.csc-mailform ol li {
                        margin: 0;
@@ -241,5 +245,12 @@ plugin.tx_form {
                        margin: 0;
                        padding: 0.5em 0 0;
                }
+
+               /**
+                * hide hidden elements
+                */
+               .csc-form-element-hidden {
+                       display: none;
+               }
        )
-}
\ No newline at end of file
+}