0
使用通過Themeroller創建的自定義jQuery Mobile主題可以很好地與Rails一起用於本地開發。但是,在運行:Rails 3 + jQuery Mobile Themeroller =無效的CSS
rake assets:precompile
對生產服務器造成此錯誤:
Invalid CSS after "...gradient(linear": expected ")", was ",left top,left ..."
隨着定製theme.min.css存在該行的代碼:
background-image:-webkit-gradient(linear,left top,left bottom,from(#333333),to(#333333));
的定製主題包含在application.css中:
*= require_self
*= require_tree .
*= require jquery.mobile.structure-1.1.1.min
*= require custom-theme.min
*= require jquery-mobile-fluid960.min
我相信生成的Themeroller語法是有效的......它是否與css/sass/scss組合有關?