Results 1 to 2 of 2

Thread: overriding css toggle field

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    49
    Vote Rating
    2
      0  

    Default overriding css toggle field

    I did inspect the element in Safari and found the css classes that effect to toggle field 'ON' appearance.

    And I used following CSS in my css file but no effect , any idea?

    Code:
    .x-field-toggle .x-slider.x-toggle-on{    
        background-color : red !important;
        
        background: red !important;
    }

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Answers
    3976
    Vote Rating
    1391
      0  

    Default

    That works for me.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •