Hi, Ivan,
Thanks a lot for your attention.
Ivan M wrote:
Hi T.J., Clayton, all,
On Wed, Jan 21, 2009 at 2:10 AM, T. J. Frazier <[email protected]> wrote:
From a dev-doc thread:
TJ wrote:
ccornell - OpenOffice.org wrote:
The OOoSkin has a couple of little problems with its tabs.
* The text in the tabs gets truncated on the bottom when zooming in a
couple of times (Ff 3.0.5, View > Zoom, *Zoom Text Only* set).
I counted 3 zooms times before the 'y' in History started being
truncated (Both WinXP & Ubuntu, FF 3.0.5). After 5 zooms, all
characters started being truncated. That seems pretty reasonable - are
you using some special font?
I run about 3 zooms above that. I admit that the cataract operation, and the progressive
lenses I wear, may have something to do with that. 8-)>>> [glasses, smile, long grey beard
here]. I view from about 30 inches away, very comfortably.
* The tab shows no indication of existence (real link or redlink) until
hovering (see most Discussion pages).
WikiSkin feedback should be posted over on [email protected].
There is probably not much that can be done with the truncated text when
you zoom in on text. The tabs are not images (created with some css magic),
and the text on the tabs is not tied to the size of the tab.
In a few years, when there is wider browser support for border-radius,
we will be able to create them using pure CSS - till then, the tabs
remain as images for browser compatibility purposes.
The strange part here is that the tabs are plenty large enough to hold the
zoomed text, but the text seems to expand downward instead of upward. If the
baseline could be moved up, and the leading (bottom margin padding on the
text) correspondingly reduced (or maybe the top margin padding?), it ought
to work fine.
The text moves downward because of the top padding which is required
to center the text in the tabs. I switched to a line-height solution
but it only produced a marginal improvement. Because the tab div has a
specific vertical height, it is not allowed to expand even if it wants
to - if it were, the text would remain vertically centered. There are
reasons why a specific height is set for the navigation, but if this
feature is needed, I could investigate further.
I admit to probably not understanding the problem; but then, I do CSS / HTML in Notepad,
only very simple stuff.
* Why is (vertical) centering in the tabs wanted or needed? Closer to the top
should be OK.
For that matter, try running the zoom down four or five times (from /your/ normal setting;
more for mine). The text stays close to the top of the image.
The tab colors use the same color scheme as the main OOo website. In the
tabs, a link to be edited is grey, and a link with content is blue. This
may need tweaking...
C.
On a page without an associated Discussion page, all the other tabs appear
grey. The impression this gives is that the blue = "you are on this tab",
while the grey = "inactive, you are not here". Quite a two-pipe problem. I
would very much like to see some special color/shading designation for
"action=edit" redlink.
I'm not sure what you mean by color/shading - as far as I know, every
.new (action = edit) link has a different style to its standard
counterpart.
AFAIK, CSS doesn't provide background patterns (although the images could, of course). At
present, on the wiki Main Page, all the tabs except "Page" show grey. The grey tabs all
have some kind of "action=" link, but not always "=edit".
This is a more serious problem than the zoom, because it affects everyone, not just
near-sighted old fossils like me. I am seeking a way to make it visually *obvious* what's
going on with the tabs. I suggest that the current styles don't do that. I seek to
distinguish "you aren't here" from "you may not want to go here" (action=edit). Patterns
could do that. Different colors could do that. Something else could do that?
As for the case where the discussion tab remains grey when it is
active, this is a good point and I've added a fix for it in the CSS -
it'll be online when Clayton and I sort out the upcoming OOoSkin / CSS
fix (should be in the next day or two).
Regards,
Ivan.
Thanks again. /tj/
--
T. J. Frazier
Melbourne, FL
(TJFrazier on OO.o)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]