-
21 May 2012 9:17 AM #1
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:
and next image show checkbox/radio actuallyCode:.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;** }
color.change.png
Please help me.
-
23 May 2012 6:59 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,684
- Vote Rating
- 435
- Answers
- 3111
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.
-
23 May 2012 7:08 AM #3
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


Reply With Quote