【问题标题】:How to upgrade a custom jQuery UI theme?如何升级自定义 jQuery UI 主题?
【发布时间】:2010-09-27 09:20:16
【问题描述】:

我使用 themeroller 为 JQuery UI 1.7 创建了 2 个自定义主题。现在我更新到 jQuery UI 1.8.5,我想确保我的主题也更新了。如何使用 themeroller 自动重新生成/更新我的自定义主题?

【问题讨论】:

    标签: jquery-ui themes themeroller


    【解决方案1】:

    jQuery UI 主题 css 文件在其 cmets 中包含一个编辑链接。此链接将使用您的自定义主题设置打开 Themeroller。

      /*
    * jQuery UI CSS Framework
    * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
    * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
    * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Segoe%20UI,%20Arial,%[...]*/
    

    【讨论】:

    • 非常感谢您发布对此的回答。我认为你应该接受它。
    • 是的。非常感谢。你刚刚让我头疼不已! =)
    • 如果我手动更改一些“margin”或“padding”会怎样(Themeroller 可以自定义的内容非常有限)?
    【解决方案2】:

    为了补充 fbuchinger 的答案,起初这对我不起作用 - 其中一种颜色无效,因此页面无法正确显示主题,我无法下载。

    如果您有同样的问题,请检查没有红色突出显示的内容(错误),按要求更正,应该没问题。

    是的,我知道作为评论会更好,但我没有评论所需的 50 声望。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-11
      • 1970-01-01
      • 2011-04-19
      • 2014-11-22
      • 1970-01-01
      相关资源
      最近更新 更多