[TASK] Move leftover deprecated CSS from backend 97/38297/2
authorBenjamin Kott <benjamin.kott@wfp2.com>
Fri, 27 Mar 2015 10:58:27 +0000 (11:58 +0100)
committerAndreas Fernandez <andreas.fernandez@aspedia.de>
Fri, 27 Mar 2015 11:02:26 +0000 (12:02 +0100)
- disable automatic inclusion of css files from backend
- remove structure and visual folders from backend
- move leftover files to less and deprecate usage

Releases: master
Resolves: #66091
Change-Id: I7aafcb024222ce02cd62e1e7791f7ec6665ada7c
Reviewed-on: http://review.typo3.org/38297
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
typo3/sysext/backend/Resources/Public/Css/structure/element_csh.css [deleted file]
typo3/sysext/backend/Resources/Public/Css/structure/element_docheader.css [deleted file]
typo3/sysext/backend/Resources/Public/Css/structure/main_scaffolding.css [deleted file]
typo3/sysext/backend/Resources/Public/Css/structure/print.css [deleted file]
typo3/sysext/backend/Resources/Public/Css/visual/main_content.css [deleted file]
typo3/sysext/t3skin/Resources/Private/Styles/TYPO3/_deprecated.less
typo3/sysext/t3skin/Resources/Public/Css/visual/t3skin.css

index 3e39d0e..e955862 100644 (file)
@@ -278,8 +278,6 @@ function jumpToUrl(URL) {
         * @var array
         */
        protected $stylesheetsCore = array(
-               'structure' => 'sysext/backend/Resources/Public/Css/structure/',
-               'visual' => 'sysext/backend/Resources/Public/Css/visual/',
                'generatedSprites' => '../typo3temp/sprites/'
        );
 
diff --git a/typo3/sysext/backend/Resources/Public/Css/structure/element_csh.css b/typo3/sysext/backend/Resources/Public/Css/structure/element_csh.css
deleted file mode 100644 (file)
index e181569..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-/* - - - - - - - - - - - - - - - - - - - - -
-Context Sensitive Help (CSH)
-
-- - - - - - - - - - - - - - - - - - - - - */
-
-a.typo3-csh-link span.typo3-csh-inline {
-       display: none;
-}
-
-a.typo3-csh-link:hover span.typo3-csh-inline {
-       display: block;
-}
-
-.t3-help-link span.t3-help-inline {
-       display: none;
-}
-
-a.t3-help-link:hover span.t3-help-inline {
-       display: block;
-}
\ No newline at end of file
diff --git a/typo3/sysext/backend/Resources/Public/Css/structure/element_docheader.css b/typo3/sysext/backend/Resources/Public/Css/structure/element_docheader.css
deleted file mode 100644 (file)
index 706b29a..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-/* - - - - - - - - - - - - - - - - - - - - -
-Docheader
-
-- - - - - - - - - - - - - - - - - - - - - */
-
-div#typo3-docbody {
-       bottom: 0;
-       overflow: auto;
-       position: absolute;
-       top: 51px;
-       width: 100%;
-}
\ No newline at end of file
diff --git a/typo3/sysext/backend/Resources/Public/Css/structure/main_scaffolding.css b/typo3/sysext/backend/Resources/Public/Css/structure/main_scaffolding.css
deleted file mode 100644 (file)
index 2a195c6..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-/* - - - - - - - - - - - - - - - - - - - - -
-TYPO3 backend scaffolding
-
-- - - - - - - - - - - - - - - - - - - - - */
-
-iframe {
-       width: 100%;
-}
-
-#typo3-side-menu,
-iframe {
-       height: 100%;
-       overflow: auto;
-}
\ No newline at end of file
diff --git a/typo3/sysext/backend/Resources/Public/Css/structure/print.css b/typo3/sysext/backend/Resources/Public/Css/structure/print.css
deleted file mode 100644 (file)
index 29c7deb..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-/* - - - - - - - - - - - - - - - - - - - - -
-
-Title  : TYPO3 general backend styles for printing
-
-Description :  Stylesheet for the TYPO3 backend when printing.
-                               You can configure another/additional stylesheet for
-                               use by the $TBE_STYLES global var
-
-
-- - - - - - - - - - - - - - - - - - - - - */
-
-@media print {
-       div#typo3-docbody {
-               overflow: visible;
-       }
-}
-
diff --git a/typo3/sysext/backend/Resources/Public/Css/visual/main_content.css b/typo3/sysext/backend/Resources/Public/Css/visual/main_content.css
deleted file mode 100644 (file)
index 0ae8a48..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-/* - - - - - - - - - - - - - - - - - - - - -
-Basic styles
-
-- - - - - - - - - - - - - - - - - - - - - */
-
-a img {
-       border: none;
-}
-
-.typo3-newRecord-treeline {
-       padding-right: 20px;
-}
-
-.typo3-newRecord-treeline img {
-       vertical-align: middle;
-}
-
-#typo3-newRecord tr {
-       line-height: 13px;
-}
index ddcc266..2dcfb27 100644 (file)
     color: #aa0225;
   }
 }
+
+
+//
+// Docheader
+//
+div#typo3-docbody {
+       bottom: 0;
+       overflow: auto;
+       position: absolute;
+       top: 51px;
+       width: 100%;
+}
+
+
+//
+// Context Sensitive Help (CSH)
+//
+a.typo3-csh-link {
+       span.typo3-csh-inline {
+               display: none;
+       }
+       &:hover span.typo3-csh-inline {
+               display: block;
+       }
+}
+.t3-help-link {
+       span.t3-help-inline {
+               display: none;
+       }
+       &:hover span.t3-help-inline {
+               display: block;
+       }
+}
+
+
+//
+// TYPO3 backend scaffolding
+//
+iframe {
+       width: 100%;
+}
+#typo3-side-menu,
+iframe {
+       height: 100%;
+       overflow: auto;
+}
+
+
+//
+// Print
+//
+@media print {
+       div#typo3-docbody {
+               overflow: visible;
+       }
+}
+
+
+//
+// Basic styles
+//
+a img {
+       border: none;
+}
+
+.typo3-newRecord-treeline {
+       padding-right: 20px;
+}
+
+.typo3-newRecord-treeline img {
+       vertical-align: middle;
+}
+
+#typo3-newRecord tr {
+       line-height: 13px;
+}
index e28894f..bfe0765 100644 (file)
@@ -7676,6 +7676,50 @@ button.close {
 .message-error a {
   color: #aa0225;
 }
+div#typo3-docbody {
+  bottom: 0;
+  overflow: auto;
+  position: absolute;
+  top: 51px;
+  width: 100%;
+}
+a.typo3-csh-link span.typo3-csh-inline {
+  display: none;
+}
+a.typo3-csh-link:hover span.typo3-csh-inline {
+  display: block;
+}
+.t3-help-link span.t3-help-inline {
+  display: none;
+}
+.t3-help-link:hover span.t3-help-inline {
+  display: block;
+}
+iframe {
+  width: 100%;
+}
+#typo3-side-menu,
+iframe {
+  height: 100%;
+  overflow: auto;
+}
+@media print {
+  div#typo3-docbody {
+    overflow: visible;
+  }
+}
+a img {
+  border: none;
+}
+.typo3-newRecord-treeline {
+  padding-right: 20px;
+}
+.typo3-newRecord-treeline img {
+  vertical-align: middle;
+}
+#typo3-newRecord tr {
+  line-height: 13px;
+}
 .text-monospace {
   font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
 }