jQueryUI tabs mouseover a disabled link, how do I change the cursor so it doesn't appear clickable?

后端 未结 1 995
太阳男子
太阳男子 2021-01-16 07:27

I\'m using jQuery ui tabs. The app correctly sets the css class to .ui-state-disabled and the link can be clicked but it doesn\'t do anything. What I\'m trying to accomplish

1条回答
  •  隐瞒了意图╮
    2021-01-16 08:00

    Since you are using jQuery ui and and you want to override one of it's classes, you need to use !important. This way your css definition of the class will take more importance.

    .ui-state-disabled:hover {
         cursor: default !important;
    }
    

    0 讨论(0)
提交回复
热议问题