集成编辑器功能

This commit is contained in:
mkwiser
2014-10-19 18:00:36 +08:00
parent baa7118c8a
commit 4189b9cfcb
23 changed files with 478 additions and 82 deletions

View File

@@ -6,8 +6,7 @@
src: url('../font/iconfont.ttf') format('truetype');
}
.i-edit,
.i-del {
.ico() {
display: inline-block;
font-family: 'fonteditor';
font-size: 12px;
@@ -21,10 +20,21 @@
}
}
.i-edit:before {
content: '\e605';
.i-ico(@unicode) {
&:before {
content: @unicode;
}
}
.i-del:before {
content: '\e611';
.i-edit,
.i-del {
.ico();
}
.i-edit {
.i-ico('\e605');
}
.i-del {
.i-ico('\e611');
}