[TYPO3-core] RFC #16218: Bug/Feature: TCE-Forms does not use sprite icons -- this leads to inconsistency

Steffen Ritter info at rs-websystems.de
Thu Dec 9 07:26:43 CET 2010


Am 09.12.2010 00:08, schrieb Jeff Segars:
> Hey guys,
> I've noticed an issue with this patch and after digging for a while,
> haven't figured out a great way to address it.
>
> If you edit page properties and go to the appearance tab, you'll see
> that the styling for "Selected plugin" is off (see attached
> screenshots). In this particular case, there is no icon set for the
> empty item in the list, but the same bug occurs if a sprite icon is used
> for a list item instead of a normal background image.
>
> The issue is that line 1648 of t3lib_tceforms gets any relevant sprite
> icon classes and applies them to the select tag. .t3-icon is one of
> these classes and it make the select element 16x16 with a line height of
> 0 (the normal styling for sprite images in a span tag).
>
> The simplest solution for this part is to define a new CSS rule for
> select.t3-icon that that can override the height and width from .t3icon.
>
> After that, the problem is all about trying to use sprite images inside
> a select element. Since there's not a wrapping span around the sprite
> images, additional icons are displayed when the text is padded.
>
> Any great ideas on how to handle this? :)

Hi Jeff,
I'm, already aware of these issues and had a short look at it.
I will have a deep look at it at the weekend, and fix the issues with 
select-boxes and and icons.

regards

Steffen


More information about the TYPO3-team-core mailing list