[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Styling t:link (bold / not bold)  XML
Forum Index -> Development
Author Message
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 744
Offline

Hi,

is it possible to create a style variant that the link is not shown in bold style?

I think it's possible, but I don't know how ;-)

BR
Markus
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

Hi,

of course - two possibilities:

add style variant into your style:

Code:
 style.xml
 
     <tag name="t:link" variant="nobold" extendstag="t:link" extendsvariant="default">
         <set attribute="font" value="weight:normal"/>
     </tag>
 


or if going through CSS styling:

Code:
 style.xml
 
     <tag name="t:link" variant="nobold" extendstag="t:link" extendsvariant="default">
         <set attribute="styleseq" value="nobold_risclink"/>
     </tag>
 
 riscstyle_xxx.xml
 
 <stylesheet>
     <class n="nobold_risclink" extends="risclink">
         <var   n="@buttonFontWeight@" v="normal"/>
     </class>
 </stylesheet>
 
 


Kind regards! Björn

Björn Müller, CaptainCasa GmbH
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 744
Offline

cool, thx
[WWW]
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team