Project

General

Profile

Actions

Bug #23524

closed

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

Added by Kay Strobach about 14 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-09-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)

Actions

Also available in: Atom PDF