Use default cursor when sorting or pagination links are disabled

Use default cursor when sorting or pagination links are disabled

ZenCocoonZenCocoon Posts: 10Questions: 0Answers: 0
edited April 2013 in General
Hi Alan,

Just a quick CSS update to use the default cursor when sorting or pagination links are disabled:

[code]
18a19,23
> table.dataTable thead th.sorting_disabled {
> cursor: default;
> *cursor: default;
> }
>
172a178,183
> .pagination ul > .disabled > a,
> .pagination ul > .disabled > a:hover,
> .pagination ul > .disabled > a:focus {
> cursor: default;
> *cursor: default;
> }
[/code]

Thank for your amazing work,
- Sébastien Grosjean - ZenCocoon

Replies

  • ZenCocoonZenCocoon Posts: 10Questions: 0Answers: 0
    edited April 2013
    Also available at https://github.com/rweng/jquery-datatables-rails/pull/44
  • allanallan Posts: 63,516Questions: 1Answers: 10,473 Site admin
    That's an interesting one. The thing is that it is still a button, so I'm thinking the cursor should still change to what it would for a button, but I very much see your point that the button is disabled.

    If this gets more votes than I'll include it in DataTables core, but I'm going to hang fire for the moment.

    Thanks,
    Allan
This discussion has been closed.