Hi,
> You're skinning the header right? Not the content?
> Else I don't know what that selector is doing there.
Yes, it is why I use "af|column::sortable-header-text". For information,
css styles included in my previous mail were the content of the
firebug panel,
that means that (.x77, .x79, ...) selectors are the selectors
generated by Trinidad
CSS parser from my skin css...
.x77 and .OraSortableHeaderBorder are both generated by Trinidad, but
.x77 seems
to be over-ridden by .OraSortableHeaderBorder. That's the problem, ...
af|column::sortable-header-text seems to be used for changing the
header and his
content... Which selector described on the documentation am I
supposed to use ?
> At worst you could override .OraSortableHeaderBorder directly,
although
> this selector is private and will most likely change in the near
future.
I tried inhibit it in the css included in skin with something like :
.OraSortableHeaderBorder {
-tr-inhibit: all;
}
But it did not work. As private selectors can change, I want to avoid
to use them.
I think I could abstract the questions in :
"Is there some CLEAN way for modifying the header borders ?"
"Why the user defined value for
af|column::sortable-header-text border-style
is over-ridden by Trinidad Default value ? (If it is the case
...)"
Good afternoon,
--
Stéphane Molina
________________________________
De : Simon Lessard [mailto:[EMAIL PROTECTED]
Envoyé : lundi 18 juin 2007 16:33
À : MyFaces Discussion
Objet : Re: [Trinidad] Default skinning properties and CSS content
Hello,
You're skinning the header right? Not the content? Else I don't know
what that selector is doing there. At worst you could override
.OraSortableHeaderBorder directly, although this selector is private
and will most likely change in the near future.
Regards,
~ Simon
On 6/18/07, MOLINA Stéphane <[EMAIL PROTECTED] > wrote:
It is more simple I do some cpy/paste of the content of
firebug panel.
My "border-style:none" seems to be the ".x77, .x79" one. I think
that .OraSortableHeaderBorder is the selector over-riding the
border style.
I tried to use -tr-inhibit: all; (I solved my table skining
problem on cells
borders this way) on it but it did not work.
.OraSortableHeaderBorder, .xao {sylveaskin-deskto... (line 192)
border-style:inset;
border-width:2px;
}
.x77, .x79 {sylveaskin-deskto... (line 135)
background-color:#CCCCCC;
border-color:#999999;
border-style:none;
color:#0000FF;
cursor:pointer;
font-family:Arial,Helvetica,Geneva,sans-serif;
font-size:10pt;
font-weight:bold;
text-align:center;
vertical-align:bottom;
}
Inherited from tr
.tableau tr {tableau.css (line 101)
line-height:21px;
}
Inherited from table.x6d
.x6d {sylveaskin-deskto... (line 117)
border-collapse:collapse;
border-style:none;
}
Inherited from td
.tableau td {tableau.css (line 33)
color:#4C5852;
font-size:10px;
text-align:left;
}
Inherited from tr
.tableau tr {tableau.css (line 101)
line-height:21px;
}
Inherited from div.tableau
.tableau {tableau.css (line 4)
font-size:11px;
}
Inherited from body
body {generique.css (line 4)
font-family:Arial,Helvetica,"Nimbus Sans L",sans-serif;
font-size:0.8em;
}
body {theme.css (line 74)
color:#616161;
font-family:Arial,sans-serif;
}
body {sylveaskin-deskto... (line 31)
font-family:Arial,Helvetica,Geneva,sans-serif;
}
Best regards,
--
Stephane Molina
-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De
la part de Matthias Wessendorf
Envoyé : lundi 18 juin 2007 14:53
À : MyFaces Discussion
Objet : Re: [Trinidad] Default skinning properties and CSS
content
xao is the compressed name.
Perhaps some other styles are overridden by others?
Does Firebug show you a line through ?
-M
On 6/18/07, MOLINA Stéphane <[EMAIL PROTECTED]> wrote:
> Well,
>
> I should have put an other example :
>
> af|column::sortable-header-text {
> border-style: none;
> color: #0000FF;
> font-weight: bold;
> text-align: center;
> }
>
> Here, border-style is not used. In firebug I saw that the
border-style
> is over-ridden by :
>
> .OraSortableHeaderBorder, .xao
{sylveaskin-deskto... (line 192)
> border-style:inset;
> border-width:2px;
> }
>
> How can I modify the .OraSortableHeaderBorder, .xao selector ?
>
>
> Good afternoon.
>
>
> --
> Stéphane Molina
>
>
> ________________________________
>
> De : Simon Lessard [mailto:[EMAIL PROTECTED]
> Envoyé : lundi 18 juin 2007 14:27
> À : MyFaces Discussion
> Objet : Re: [Trinidad] Default skinning properties and CSS
content
>
>
> Hello Stéphane,
>
> Do you have Firebug? If so, inspect the generated code and
you'll see what style selector is being used to set the table's cell
borders. Using the .AFTableCellDataBorderColor:alias alias might be
another option.
>
>
> On 6/18/07, MOLINA Stéphane <[EMAIL PROTECTED] >
wrote:
>
> Hi,
>
> I have some problems using Trinidad skining. Some
css elements seems to be ignored :
>
> For example :
>
> af|column::cell-text {
> border-style: none;
> text-align: left;
> vertical-align: middle;
> font-size: 10px;
> padding: 0px 4px 0px 4px;
> margin: 0px 0px 0px 0px;
> line-height: 21px;
> background-color: #E7F8D4;
> }
>
> Here, border-style wont be used. I think it
is not a property
> of cell-TEXT but I do not find how to
change borders on the
> documentation.
>
>
> regards,
>
>
> --
> Stéphane Molina
>
>
>
>
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org