Hi Telerik Team
I would like to create my custom button with our own designed image. I copied the specific style into my own custom skin project and change the buttonsprite.gif with my own design, but my image is heigher than default one, so I have to overwrite the default common style. according to telerik suggest, it's not recommend to "important" keyword. So can someone tell me how can I overwrite the following style in my custom skin css file? I try to put my custom name in front of them, e.g. .RadButton_LongWithImage .rbSkinnedButton, but it doesn't work.
I would like to create my custom button with our own designed image. I copied the specific style into my own custom skin project and change the buttonsprite.gif with my own design, but my image is heigher than default one, so I have to overwrite the default common style. according to telerik suggest, it's not recommend to "important" keyword. So can someone tell me how can I overwrite the following style in my custom skin css file? I try to put my custom name in front of them, e.g. .RadButton_LongWithImage .rbSkinnedButton, but it doesn't work.
.rbSkinnedButton
{
display
: inline-
block
;
position
:
relative
;
background-color
:
transparent
;
background-repeat
:
no-repeat
;
border
:
0
none
;
height
:
22px
;
text-align
:
center
;
text-decoration
:
none
;
white-space
:
nowrap
;
background-position
:
right
0
;
padding-right
:
4px
;
/* this value is hacked for webkit */
}
.rbDecorated
{
display
:
block
;
height
:
22px
;
padding
:
0
6px
0
10px
;
border
:
0
;
text-align
:
center
;
background-position
:
left
-22px
;
overflow
:
visible
;
background-color
:
transparent
;
outline
:
none
;
cursor
:
pointer
;
-wbkite-border-radius:
0
;
/* set default border-radius to 0 in mobile safari */
}