Issue Bug Closed

#23524Using core Sprites with ExtJS in TYPO3 4.4 - CSS Problem or Bug?

Kay Strobach 09/10/10, 16:59 updated 03/06/14, 09:13

Description

Hello guys,

i tried to use the default generated sprite classes in TYPO3 4.4.2 with
an ExtJS BE Module. But I need to change the css to get it working.

For example: I “set t3-icon-actions t3-icon-actions-document
t3-icon-document-new” as icon-class for an extjs button.

Additionally i need to disable the following rules in firebug:

ext-all-notheme.css:

> > .x-btn-text-icon .x-btn-icon-small-left .x-btn-text {
> > background-position:0 center;
> > }
> > .x-btn button {
> > background:none repeat scroll 0 0 transparent;
> > }
to see the icons.

I created the Backendmodule with the following code (only relevant parts
for creating the module):

> > $this->doc->getPageRenderer()->loadExtJS();
> > <…>
> > $this->content = $this->doc->startPage($LANG->getLL(‘title’));
> > $this->content.= $this->doc->moduleBody($this->pageinfo,
> > $docHeaderButtons, $markers);
> > $this->content.= $this->doc->endPage();
> > $this->content = $this->doc->insertStylesAndJS($this->content);

Is this a general Extjs problem or a problem of the order of css
inclusion what i assume. I hope I made the misstake, thanks for your help.

I think it would be nice, if it would be possible to use the default
icons provided by the installed skin.

Best regards
Kay

(issue imported from #M15680)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.