Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the ugly cursor image on disabled radio buttons / checkboxes

I want to remove this ugly red image on hover on disabled controls which appears in most browsers (Chrome, Internet Explorer etc.)

enter image description here

like image 436
Denis Biondic Avatar asked Sep 10 '15 09:09

Denis Biondic


3 Answers

If CSS3 is an option, simply use the :disabled selector and set the cursor to something else:

input[type='radio']:disabled {
    cursor: default;
}

input[type='checkbox']:disabled {
    cursor: default;
}
like image 59
Denis Biondic Avatar answered Sep 22 '22 01:09

Denis Biondic


Just use this

CSS

For radio button in disable state

input[type='radio']:disabled {
    cursor: default;
}

For checkbox in disable state

input[type='checkbox']:disabled {
    cursor: default;
}
like image 30
Amit singh Avatar answered Sep 22 '22 01:09

Amit singh


/* goodby the ugly cursor image on disabled inputs */
input:disabled {
    cursor: default !important;
}
like image 45
Sith2021 Avatar answered Sep 18 '22 01:09

Sith2021