[TYPO3-dev] Small font in Admin panel

Steffen Kamper steffen at sk-typo3.de
Mon Apr 28 13:40:15 CEST 2008


Hi,

"Christopher Torgalson" <bedlamhotel at gmail.com> schrieb im Newsbeitrag 
news:mailman.3394.1209382402.18990.typo3-dev at lists.netfielders.de...
> H
>
> On Mon, Apr 28, 2008 at 10:41 AM, Steffen Kamper <steffen at sk-typo3.de> 
> wrote:
>> Hi,
>>
>>  the problem i saw is that it depends on the css used for FE, so it would 
>> be
>>  better imho to use px
>
>
> I disagree. This would be a step *backwards*.
>
> The admin panel (mostly) used to use <font> elements with the size
> attribute. This allowed the text to be resized in all circumstances.
> If it is now changed to CSS pixel-values, it will become non-resizable
> in many cases (i.e. where IE is used).
>
ah ok, in all other browser you can scale also px

> If the font-size declaration really *must* be independent of the FE
> stylesheet (I don't think it should be, see below), then I would
> suggest using the keyword "small". If this breaks the admin panel
> layout in some cases, then that's a problem with the admin panel that
> should (and can!) be fixed.
>
> Incidentally (I have no running install of 4.2, so can't test this),
> if the old font tags have been replaced with style attributes in the
> HTML directly, then absolutely nothing has been gained since such
> styles are nearly impossible to override. When there's a logged-in BE
> user with admin panel rights, we should be detecting this and serving
> up a stylesheet for it.
>

imho the admin panel should be independent from FE CSS. I've been working on 
some sites where Admin panel wasn't readable because of global font 
declarations in css. As this is a dev tool only i expect same look all the 
time (only changed by skin ext eg)


> Finally, while we're at it, is there *really* any good reason to
> include the admin panel *after* the closing html element? I admit,
> this has no important consequences, but it's occasionally embarrassing
> when working with developers new to TYPO3...
>

I agree this point. Having tidy it throws so many errors that any validating 
is only possible without. It would be easy to place admin panel before 
closing body-tag.

Same with any debug outputs - they are placed before html-tag

vg Steffen 






More information about the TYPO3-dev mailing list