As you can see on the screenshot, my problem is that according livetable.css, 
the background color of the column name field and the border color of the 
filter field are the same ($theme.backgroundSecondaryColor)

=> If I want a darker color for the border, the column name field is unreadable 
(dark background).

I don't understand why xwiki uses $theme.backgroundSecondaryColor as border 
color.

If I want change the behavior, I need to edit livetable.css directly and I 
don't like that. (problem of compatibility with future xwiki releases)

Thanks,

Nicolas


-----Message d'origine-----
De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
Ecaterina Moraru (Valica)
Envoyé : mercredi 28 mars 2012 15:12
À : XWiki Users
Objet : Re: [xwiki-users] border in livetable CSS

Hi,

First of all if would have been great to have a screenshot of what you were
doing in order to understand better.

On Wed, Mar 28, 2012 at 14:28, CHENEAU-GREHALLE Nicolas <
nicolas.cheneau-greha...@sesam-vitale.fr> wrote:

> Hi,
>
>
>
> Somebody could explain me why xwiki uses
> $theme.pageContentBackgroundColor as border color in
> resources/js/xwiki/table/livetable.css ?
>
>
When the livetable was made it suppose to work also for IE6 and IE7 and
those browsers had problems displaying bottom-border on <tr > elements.
This means that they needed to be constructed from the <td >s (that's why
on IE6 you see a 1px spacing between columns). Also on the tag cloud, when
you select a tag, the tag is marked with a border. In order not to have a
flickr when you select and deselect the tag (because you add and remove the
border) hat border is predisplayed, but 'transparent' by having the color
of the $theme.pageContentBackgroundColor.


>
>
> A background color as border color : that's weird only for me ?
>
>
>
> That's a problem for us because if we want use a dark color as border,
> columns label are unreadable (dark on dark).
>

I don't quite understand what's the problem. $theme.borderColor is used for
the lines, $theme.backgroundSecondaryColor is used for the header and
$theme.textColor is used for the labels. What is dark on dark?


>
> Why not use border color from color theme instead ?
>
>
>
So, IMo is nothing wrong with the livetable's colors, but you can easy
change the values to suit your need.

Thanks,
Caty


>
> Thank you
>
>
>
> Best regards
>
>
>
> NCG
>
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to