[TYPO3-core] RFC #15872: NoBrainer: Size definition in to restrictive selektor prevents other stylesheet to overwrite icon size

Steffen Ritter info at rs-websystems.de
Thu Sep 30 18:04:02 CEST 2010


Hey list,
This is an SVN patch request.

Type: NoBrainer

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

Branches:
trunk

Problem:
When having icons with different sizes as "normal" core you would add 
this to the icon class with width and height, since these icons have to 
be possible in every tag, they are defined as

.myiconname

  typo3/stylesheets/visual/main_content.css defines the size in 
span.t3-icon, not in .t3-icon.
Since the span.t3-icon is pro restrictive selektor than without the the 
tag-name, the size cannot be overriden anymore.

Solution:
just move some lines


regards
Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rfc15872.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100930/1a7d29d1/attachment.txt>


More information about the TYPO3-team-core mailing list