1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    10
    Vote Rating
    0
    Answers
    1
    hekomobi is on a distinguished road

      0  

    Default Unanswered: How could change the color for checkbox/radio?

    Unanswered: How could change the color for checkbox/radio?


    Hi everyone,

    I try to change color to checkbox/radio with CSS3 class into ../resources/css/sencha_touch.css but I didn't changed.

    this is code:

    Code:
    .x-checkmark-base,.x-item-selected .x-list-selected:before,.x-item-selected .x-list-selected:after,.x-field .x-input-radio:after,.x-field .x-input-checkbox:after,.x-field .x-input-radio:checked:after,.x-field .x-input-checkbox:checked:after {
        content:"";
        position:absolute;
        width:0.75em;
        height:1.25em;
        top:50%;
        left:auto;
        **-webkit-transform:rotate(45deg) skew(5deg);**
        -webkit-transform-origin:50%50%;
        right:1.1em;
        border:.35em solid;
        border-top:none;
        border-left:none;
        margin-top:-0.75em;
        **background: green;**
    }
    and next image show checkbox/radio actually

    color.change.png

    Please help me.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,684
    Vote Rating
    435
    Answers
    3111
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Did you inspect the DOM to see what is going on on that element?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    10
    Vote Rating
    0
    Answers
    1
    hekomobi is on a distinguished road

      0  

    Default


    Yes, this element draw icon, but I didn't to change color icon on -webkit-transform:rotate(45deg) skew(5deg); this instruction draw icon, please help me @mitchell