0 Replies Latest reply on Nov 25, 2010 11:31 PM by Mandy143

    css override

    Mandy143

      hi,

           i'm a newbie to flex. here is my problem........

      .css

      .....................................

      s|Button,mx|Button

      {

      chrome-color: #CC0000;

      cornerRadius: 3;

      color: #CCCCCC;

      border-thickness:1;

      border-color:#000000;

      }

       

      mx|Accordion

      {

      chrome-color:#ffffff;

      }

       

      ......................................

      the accordion's chrome color is being set to button's chrome color..also the dropdownlist's chrome color is being set to the same..

      i tried..

      <mx:accordion chromeColor="#ffffff" />

      it is still #CC0000...

      and when i remove s|Button...

      i.e.,

      mx|Button

      {

      chrome-color: #CC0000;

      cornerRadius: 3;

      color: #CCCCCC;

      border-thickness:1;

      border-color:#000000;

      }

      its normal...i don't want to change all the <mx:Button /> to <s/button>...

      Any HELP???

       

       

      thanks in advance