发哥要做活神仙

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2016年3月4日

摘要: Go to \dev\tools\grunt\configs, open your themes.js file, and change it according to the following example: luma: { area: 'frontend', name: 'Magento/l 阅读全文
posted @ 2016-03-04 16:54 发哥要做活神仙(笔记) 阅读(366) 评论(0) 推荐(0) 编辑

摘要: 1、清除pub/static和var中相应文件 2、源头文件重新导入pub/static 3、pub中的less编译 4、字面翻译是跟踪源头文件变化实时编译,但是这里的the source files指的是哪里的就不知道咯。据我执行结果表明指向是pub中的less文件,这编译的jb用啊! 待续。。。 阅读全文
posted @ 2016-03-04 14:01 发哥要做活神仙(笔记) 阅读(462) 评论(0) 推荐(0) 编辑

2016年3月2日

摘要: 路径: \app\design\adminhtml\Magento\backend\web\app\setup\styles\less\lib\_variables.less 阅读全文
posted @ 2016-03-02 17:14 发哥要做活神仙(笔记) 阅读(317) 评论(0) 推荐(0) 编辑

摘要: 扩展选择器是less的伪类选择器,他会复制当前选择器,定义新的样式,而原来的不变 nav ul { &:extend(.inline); background: blue; } .inline { color: red; } 编译后 nav ul { background: blue; } .inl 阅读全文
posted @ 2016-03-02 15:11 发哥要做活神仙(笔记) 阅读(205) 评论(0) 推荐(0) 编辑

2016年2月26日

摘要: Magento修改css样式 阅读全文
posted @ 2016-02-26 17:53 发哥要做活神仙(笔记) 阅读(848) 评论(0) 推荐(0) 编辑

2016年2月15日

摘要: 在jQuery的attr与prop提到过在IE9之前版本中如果使用property不当会造成内存泄露问题,而且关于Attribute和Property的区别也让人十分头痛,在HTML5中添加了data-*的方式来自定义属性,所谓data-*实际上上就是data-前缀加上自定义的属性名,使用这样的结构 阅读全文
posted @ 2016-02-15 15:03 发哥要做活神仙(笔记) 阅读(138) 评论(0) 推荐(0) 编辑

2016年2月14日

摘要: 类似这样的效果: 1: $(window).scroll(function() { if ($(".header").offset().top > 50) { $(".header").addClass("top-nav-collapse"); } else { $(".header").remov 阅读全文
posted @ 2016-02-14 13:41 发哥要做活神仙(笔记) 阅读(167) 评论(0) 推荐(0) 编辑

2016年2月3日

摘要: IE样式兼容写法 阅读全文
posted @ 2016-02-03 16:50 发哥要做活神仙(笔记) 阅读(630) 评论(0) 推荐(0) 编辑

2016年1月31日

摘要: http://www.dbpoo.com/getting-started-with-gulp/ 阅读全文
posted @ 2016-01-31 15:37 发哥要做活神仙(笔记) 阅读(139) 评论(0) 推荐(0) 编辑

2016年1月18日

摘要: 换了电脑经常碰到这个问题,不能安装插件,不出现install package。解决方法如下:从菜单 View - Show Console 或者 ctrl + ~ 快捷键,调出 console。将以下 Python 代码粘贴进去并 enter 执行,不出意外即完成安装。以下提供 ST3 和 ST2 ... 阅读全文
posted @ 2016-01-18 11:48 发哥要做活神仙(笔记) 阅读(471) 评论(0) 推荐(0) 编辑