[TASK] Drop unused inline CSS for admin panel 60/42060/2
authorMarkus Klein <markus.klein@typo3.org>
Tue, 28 Jul 2015 17:31:27 +0000 (19:31 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 28 Jul 2015 19:27:09 +0000 (21:27 +0200)
Releases: master
Resolves: #68596
Change-Id: Iabf1d9ca090069effa731ac63def2622e8a59d9a
Reviewed-on: http://review.typo3.org/42060
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/frontend/Classes/Page/PageGenerator.php
typo3/sysext/t3editor/Resources/Private/tsref.xml
typo3/sysext/t3editor/Resources/Public/JavaScript/parse_typoscript/tokenizetyposcript.js

index 12c64d7..ced0a61 100644 (file)
@@ -538,20 +538,6 @@ class PageGenerator {
                        $style .= '
        BODY {margin: ' . $margins . 'px ' . $margins . 'px ' . $margins . 'px ' . $margins . 'px;}';
                }
-               if ($tsfe->pSetup['adminPanelStyles']) {
-                       $style .= '
-
-       /* Default styles for the Admin Panel */
-       TABLE.typo3-adminPanel { border: 1px solid black; background-color: #F6F2E6; }
-       TABLE.typo3-adminPanel TR.typo3-adminPanel-hRow TD { background-color: #9BA1A8; }
-       TABLE.typo3-adminPanel TR.typo3-adminPanel-itemHRow TD { background-color: #ABBBB4; }
-       TABLE.typo3-adminPanel TABLE, TABLE.typo3-adminPanel TD { border: 0px; }
-       TABLE.typo3-adminPanel TD FONT { font-family: verdana; font-size: 10px; color: black; }
-       TABLE.typo3-adminPanel TD A FONT { font-family: verdana; font-size: 10px; color: black; }
-       TABLE.typo3-editPanel { border: 1px solid black; background-color: #F6F2E6; }
-       TABLE.typo3-editPanel TD { border: 0px; }
-                       ';
-               }
                // CSS_inlineStyle from TS
                $style .= trim($tsfe->pSetup['CSS_inlineStyle']);
                $style .= $tsfe->cObj->cObjGet($tsfe->pSetup['cssInline.'], 'cssInline.');
index c26e6d6..c86196b 100644 (file)
@@ -5636,11 +5636,6 @@ page.30.value = Here goes the footer]]></description>
                        <default><![CDATA[
 ]]></default>
                </property>
-               <property name="adminPanelStyles" type="boolean">
-                       <description><![CDATA[Will include CSS styles for the Admin Panel.]]></description>
-                       <default><![CDATA[
-]]></default>
-               </property>
                <property name="bgImg" type="imgResource">
                        <description><![CDATA[Background image on the page. This is automatically added to the body-tag.]]></description>
                        <default><![CDATA[
index 7b2b332..9d475a2 100644 (file)
@@ -102,7 +102,6 @@ var typoscriptWords = {
        'addQueryString': 'reserved',
        'adjustItemsH': 'reserved',
        'adjustSubItemsH': 'reserved',
-       'adminPanelStyles': 'reserved',
        'after': 'reserved',
        'afterImg': 'reserved',
        'afterImgLink': 'reserved',
@@ -1421,7 +1420,6 @@ var typoscriptWords = {
        'addQueryString': 'reserved',
        'adjustItemsH': 'reserved',
        'adjustSubItemsH': 'reserved',
-       'adminPanelStyles': 'reserved',
        'after': 'reserved',
        'afterImg': 'reserved',
        'afterImgLink': 'reserved',