[TASK] Remove obsolete constant editor CSS 33/47633/3
authorBenjamin Kott <benjamin.kott@wfp2.com>
Tue, 12 Apr 2016 20:04:54 +0000 (22:04 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Wed, 13 Apr 2016 08:13:13 +0000 (10:13 +0200)
Releases: master
Resolves: #75557
Change-Id: I556d536d590fd7ad2d531c2d803ee2b771155bb4
Reviewed-on: https://review.typo3.org/47633
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Build/Resources/Public/Less/TYPO3/_deprecated.less
typo3/sysext/core/Classes/TypoScript/ExtendedTemplateService.php
typo3/sysext/t3skin/Resources/Public/Css/backend.css
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateModuleController.php
typo3/sysext/tstemplate/Resources/Private/Less/styles.less [deleted file]
typo3/sysext/tstemplate/Resources/Public/Css/styles.css [deleted file]

index 610d6ab..79c647e 100644 (file)
@@ -9,9 +9,6 @@
                color: #fff;
        }
 }
-.typo3-tstemplate-ceditor-control {
-       cursor: pointer;
-}
 
 
 //
index 540836e..f1c904e 100644 (file)
@@ -1159,7 +1159,7 @@ class ExtendedTemplateService extends TemplateService
                     if ($subcat != $params['subcat_name']) {
                         $subcat = $params['subcat_name'];
                         $subcat_name = $params['subcat_name'] ? $this->subCategories[$params['subcat_name']][0] : 'Others';
-                        $output .= '<h3 class="typo3-tstemplate-ceditor-subcat">' . $subcat_name . '</h3>';
+                        $output .= '<h3>' . $subcat_name . '</h3>';
                     }
                     $label = $this->getLanguageService()->sL($params['label']);
                     $label_parts = explode(':', $label, 2);
@@ -1299,7 +1299,7 @@ class ExtendedTemplateService extends TemplateService
                     $checkboxID = 'check-' . $idName;
                     // Handle type=color specially
                     if ($typeDat['type'] === 'color' && substr($params['value'], 0, 2) != '{$') {
-                        $appendedGroupAddon = '<span class="input-group-addon colorbox" id="colorbox-' . $idName . '" class="typo3-tstemplate-ceditor-colorblock" style="background-color:' . $params['value'] . ';"></span>';
+                        $appendedGroupAddon = '<span class="input-group-addon colorbox" id="colorbox-' . $idName . '" style="background-color:' . $params['value'] . ';"></span>';
                     } else {
                         $appendedGroupAddon = '';
                     }
index c917ff4..d22624d 100644 (file)
@@ -8498,9 +8498,6 @@ button.close {
 .t3-row-header a:hover {
   color: #fff;
 }
-.typo3-tstemplate-ceditor-control {
-  cursor: pointer;
-}
 div#typo3-docbody {
   bottom: 0;
   overflow: auto;
index 629105b..3bd1756 100755 (executable)
@@ -169,8 +169,6 @@ class TypoScriptTemplateModuleController extends BaseScriptClass
         $this->pageinfo = BackendUtility::readPageAccess($this->id, $this->perms_clause);
         $this->access = is_array($this->pageinfo);
 
-        $this->moduleTemplate->getPageRenderer()->addCssFile(ExtensionManagementUtility::extRelPath('tstemplate') . 'Resources/Public/Css/styles.css');
-
         $lang = $this->getLanguageService();
 
         if ($this->id && $this->access) {
diff --git a/typo3/sysext/tstemplate/Resources/Private/Less/styles.less b/typo3/sysext/tstemplate/Resources/Private/Less/styles.less
deleted file mode 100644 (file)
index e87c8ba..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * This file is part of the TYPO3 CMS project.
- *
- * It is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License, either version 2
- * of the License, or any later version.
- *
- * For the full copyright and license information, please read the
- * LICENSE.txt file that was distributed with this source code.
- *
- * The TYPO3 project - inspiring people to share!
- */
-
-/* - - - - - - - - - - - - - - - - - - - - -
-Template > Constant Editor
-- - - - - - - - - - - - - - - - - - - - - */
-
-#ext-tstemplate-Modules-TsTemplate-index-php {
-       dl.typo3-tstemplate-ceditor-constant {
-               dt {
-                       display: inline;
-                       font-weight: bold;
-                       margin-right: 5px;
-               }
-
-               dd {
-                       div.typo3-tstemplate-ceditor-row {
-                               margin-top: 2px;
-                               padding: 3px;
-                       }
-
-                       div.typo3-tstemplate-ceditor-colorblock {
-                               display: -moz-inline-box;
-                               display: inline-block;
-                               margin-left: 5px;
-                               width: 50px;
-                       }
-               }
-       }
-}
diff --git a/typo3/sysext/tstemplate/Resources/Public/Css/styles.css b/typo3/sysext/tstemplate/Resources/Public/Css/styles.css
deleted file mode 100644 (file)
index bb9b75b..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * This file is part of the TYPO3 CMS project.
- *
- * It is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License, either version 2
- * of the License, or any later version.
- *
- * For the full copyright and license information, please read the
- * LICENSE.txt file that was distributed with this source code.
- *
- * The TYPO3 project - inspiring people to share!
- */
-/* - - - - - - - - - - - - - - - - - - - - -
-Template > Constant Editor
-- - - - - - - - - - - - - - - - - - - - - */
-#ext-tstemplate-Modules-TsTemplate-index-php dl.typo3-tstemplate-ceditor-constant dt {
-  display: inline;
-  font-weight: bold;
-  margin-right: 5px;
-}
-#ext-tstemplate-Modules-TsTemplate-index-php dl.typo3-tstemplate-ceditor-constant dd div.typo3-tstemplate-ceditor-row {
-  margin-top: 2px;
-  padding: 3px;
-}
-#ext-tstemplate-Modules-TsTemplate-index-php dl.typo3-tstemplate-ceditor-constant dd div.typo3-tstemplate-ceditor-colorblock {
-  display: -moz-inline-box;
-  display: inline-block;
-  margin-left: 5px;
-  width: 50px;
-}