如何编辑css for jquery datepicker prev / next按钮? [英] How to edit css for jquery datepicker prev/next buttons?

查看:95
本文介绍了如何编辑css for jquery datepicker prev / next按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用JQuery UI datepicker,在标题中,您可以使用左/右箭头选择下一个月或上一个月。我的问题是在悬停上一个或下一个箭头时更改颜色的CSS属性是什么?

Using the JQuery UI datepicker, in the header it gives you the option to go to the next month or previous month with left/right arrows. My question is what is the css property to change the colors when hovering over the previous or next arrows?

推荐答案

这有点困难比看起来好正如NimChipsky指出的那样,它是在美国状态,但颜色不是直接存在。

It's a little harder than it seems. As NimChipsky pointed out, it's in ui-state-hover, but the colors aren't there directly.

如果你看看ui-state-hover,你会看到一些类似的东西:

If you look at ui-state-hover, out of the box, you will see something that looks like:

background-image: url("images/ui-icons_222222_256x240.png");

基本上,这是告诉你,你将使用颜色#222222的图标,但是图标图表必须可用。您可以通过使用jQuery UI主题构建器直接生成其他图标,其他颜色。

Basically, this is telling you that you will be using an icon sheet with color #222222, but the icon sheet graphic has to be available. You can generate other icon sheets directly, with other colors, by using the jQuery UI theme builder.

这篇关于如何编辑css for jquery datepicker prev / next按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆