easysoft / zui

ZUI is an HTML5 front UI framework.
https://openzui.com
MIT License
2.71k stars 690 forks source link

关于css代码重复的问题,建议修正下 #99

Closed moxuandi closed 6 years ago

moxuandi commented 6 years ago

例如视图-卡片部分,cards.lesscards.reveal.less中都有关于.card:hover > .card-reveal{top:0;}这一段的定义,结果css文件中就有了两端这样的代码。 再例如,视图-列表视图-评论基础-排版中关于清楚浮动部分,下面这段代码页出现了两次:

.items .item-content:before,.items .item-content:after{display:table;content:" ";}
.items .item-content:after{clear:both;}
.items .item-content:before,.items .item-content:after{display:table;content:" ";}
.items .item-content:after{clear:both;}

.comment:before,.comment:after{display:table;content:" ";}
.comment:after{clear:both;}
.comment:before,.comment:after{display:table;content:" ";}
.comment:after{clear:both;}

.dl-inline:before,.dl-inline:after{display:table;content:" ";}
.dl-inline:after{clear:both;}
.dl-inline:before,.dl-inline:after{display:table;content:" ";}
.dl-inline:after{clear:both;}
catouse commented 6 years ago

已解决。谢谢反馈!