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

Jeff Segars jsegars at alumni.rice.edu
Tue Jan 25 16:35:45 CET 2011


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


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17302.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110125/9d367019/attachment-0001.txt>


More information about the TYPO3-team-core mailing list