[TYPO3-core] RFC: Bug #17302: Admin Panel CSS is loaded in the Backend

Sebastian Fischer sf at marketing-factory.de
Tue Jan 25 16:57:13 CET 2011


On 25.01.2011 16:35, Jeff Segars wrote:
> Hey guys,
>
> This is a SVN patch request.
>
> Type: Bugfix
> Bugtracker reference: http://bugs.typo3.org/view.php?id=17302
> Branch: trunk
>
> Problem:
> Since the admin panel CSS is at t3skin/visual/admin_panel.css, it is
> loaded with every backend request. Obviously, the admin panel is not
> needed in the backend so its a bit of a waste to load it.
>
> In addition, the CSS has a strange issue that it interferes with
> resizable text areas in Chrome 9 (as described in #17235 and Steffen
> G.'s followup to #15853).
>
> Solution:
> Move t3skin/visual/admin_panel.css to t3skin/standalone/admin_panel.css
> so that it is only loaded in the frontend.
>
> Additional Notes:
> To test the Chrome issue, just start typing in any resizable text area
> and notice how your text doesn't show up after a couple characters.
>
> For the curious, it is caused by the following CSS rule...
> #TSFE_ADMIN_PANEL_FORM #typo3-adminPanel-tsLog th span[style] {
> color: #fff !important;
> }
>
> Simplifying it as follows still results in the same behavior...
> span[style] { }
>
> Moving admin_panel.css out of the backend avoids the issue completely
> though :)
>
> Thanks,
> Jeff
>
>

+1 on reading

Greetings
Sebastian


More information about the TYPO3-team-core mailing list