-
- )
+ )
+ }
+ }
+ confirmation {
+ layout {
+ confirmation (
+
+
+
+ )
+ containerWrap (
+
+
+
+ )
+ elementWrap (
+
+
+
+ )
+ fieldset (
+
+ )
+ checkbox (
+
+
+ )
+ radio (
+
+
+ )
+ radiogroup (
+
+ )
+ checkboxgroup < .radiogroup
+ label (
+
+ )
+ legend (
+
+ )
+ textline (
+
+ )
+ fileupload < .textline
+ textarea (
+
+ )
+ select (
+
+ )
+ }
}
stdWrap.wrap = |
}
diff --git a/Configuration/PageTS/mod_wizards.txt b/Configuration/PageTS/mod_wizards.txt
index 70a821769..0bb3d8723 100644
--- a/Configuration/PageTS/mod_wizards.txt
+++ b/Configuration/PageTS/mod_wizards.txt
@@ -1,3 +1,6 @@
+####################################
+#### BOOTSTRAP CONTENT ELEMENTS ####
+####################################
mod.wizards {
newContentElement {
wizardItems {
@@ -41,4 +44,30 @@ mod.wizards {
}
}
}
+}
+
+
+##############
+#### FORM ####
+##############
+mod.wizards {
+ form {
+ defaults {
+ tabs {
+ elements {
+ accordions {
+ basic {
+ showButtons = textarea, textline, select, fileupload, submit,
+ }
+ predefined {
+ showButtons = email, radiogroup, checkboxgroup
+ }
+ content {
+ showButtons = header, textblock
+ }
+ }
+ }
+ }
+ }
+ }
}
\ No newline at end of file
diff --git a/Resources/Private/Less/Theme/theme.less b/Resources/Private/Less/Theme/theme.less
index 3fb376895..057e71394 100644
--- a/Resources/Private/Less/Theme/theme.less
+++ b/Resources/Private/Less/Theme/theme.less
@@ -3,6 +3,7 @@
// --------------------------------------------------
@import "../Bootstrap/variables.less";
@import "../Bootstrap/mixins.less";
+@import "../Bootstrap/buttons.less";
//
@@ -949,14 +950,58 @@ body .typo3-feedit-element-hidden {
}
-
-//
-// Helper
-// --------------------------------------------------
-.help-block.text-danger:extend(.text-danger all) {}
-
-
//
-// RTE SPECIFICS
+// TYPO3 FORM
// --------------------------------------------------
-.htmlarea-content-body table:extend(.table all) {}
\ No newline at end of file
+.csc-form-element {
+ .form-group {
+ .clearfix();
+ }
+ .control-label {
+ text-align: left;
+ legend {
+ font-family: @font-family-base;
+ font-size: @font-size-base;
+ line-height: @line-height-base;
+ display: inline-block;
+ max-width: 100%;
+ margin-bottom: 5px;
+ font-weight: bold;
+ border: none;
+ }
+ }
+ .help-block.text-danger {
+ .text-emphasis-variant(@state-danger-text);
+ font-weight: normal;
+ }
+}
+.csc-form-element-radio .radio input[type="radio"],
+.csc-form-element-checkbox .checkbox input[type="checkbox"] {
+ margin-left: 0;
+}
+.csc-form-confirmation {
+ ol {
+ list-style: none;
+ padding-left: 0;
+ margin: 0;
+ li {
+ display: inline-block;
+ }
+ }
+}
+.csc-form-confirmation-false,
+.csc-form-confirmation-true {
+ input {
+ .btn();
+ }
+}
+.csc-form-confirmation-true {
+ input {
+ .btn-primary();
+ }
+}
+.csc-form-confirmation-false {
+ input {
+ .btn-default();
+ }
+}
\ No newline at end of file