문제

The default style for disabled form elements in jqm makes them vary hard to read

I've tried adding a style to change the text color eg.

.ui-disabled{
    color: red;
}

This does change the color of the text (to a light red not the default) but there seems to be a semi-transparent layer over the top which I can't find in the DOM?

Ideally I'm just looking for a way to drop the transparency of the overlay

Thanks

도움이 되었습니까?

해결책

The opacity is set to .5 on disabled elements, so if you set opacity:1 it should be fine

.ui-disabled{
    color:red;
    opacity:1 !important;
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top