[TYPO3-core] RFC #14442: Backend lacks a clean way for CSS browser conditions

Steffen Gebert steffen at steffen-gebert.de
Thu May 20 00:25:33 CEST 2010


Hi,

This is a SVN patch request.

Type: (Micro-)Feature (*)

Bugtracker references:
http://bugs.typo3.org/view.php?id=14442

Branches:
trunk

Problem:
We currently have no clean way to provide browser-specific CSS in BE.

Solution:
Add a few classes to the body tag, dependent on the HTTP user agent, like

> class="t3-browser-safari t3-browser-safari-531 t3-browser-safari-531.22  
> t3-system-mac"
> class="t3-browser-firefox t3-browser-firefox-3 t3-browser-firefox-3.6  
> t3-system-mac"
> class="t3-browser-msie t3-browser-msie-6 t3-browser-msie-6.0  
> t3-system-winNT"
> class="t3-browser-msie t3-browser-msie-7 t3-browser-msie-7.0  
> t3-system-winNT"
> class="t3-browser-msie t3-browser-msie-8 t3-browser-msie-8.0  
> t3-system-winNT"

Steffen

-- 
(*) Benni already gave me his OK for this RFC - for the records I ask him  
for a short confirmation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14442.diff
Type: text/x-diff
Size: 2086 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100520/4d18cadf/attachment.diff>


More information about the TYPO3-team-core mailing list