修改列表样式

This commit is contained in:
kekee000
2014-12-20 01:14:16 +08:00
parent 816b405206
commit 43b4e1b405
4 changed files with 16 additions and 10 deletions

View File

@@ -46,6 +46,10 @@
color: #4A90E2;
}
}
.i-edit,
.i-del {
color: lighten(#4A90E2, 10%)
}
.i-edit {
.i-ico('\e021');

View File

@@ -43,6 +43,10 @@ a:hover {
cursor: pointer;
color: #4A90E2;
}
.i-edit,
.i-del {
color: #76abe9;
}
.i-edit:before {
content: '\e021';
}
@@ -139,6 +143,12 @@ a:hover {
.i-tangencyshapes:before {
content: '\e027';
}
.i-rangemode:before {
content: '\e029';
}
.i-pointmode:before {
content: '\e028';
}
.glyf-editor {
width: 100%;
height: 100%;

View File

@@ -103,14 +103,6 @@ define(
setting: {},
viewer: null, // glyf查看器
project: null, // 项目管理器
projectViewer: null, // 项目查看器
ttfManager: null, // ttf管理器
listening: true, // 正在监听事件
loading: require('./loading')

View File

@@ -130,7 +130,7 @@ define(
*
* @param {Object} glyf glyf对象
*
* @return {Number} 添加的glyf
* @return {number} 添加的glyf
*/
TTF.prototype.addGlyf = function(glyf) {
return this.insertGlyf(glyf);
@@ -141,7 +141,7 @@ define(
*
* @param {Object} glyf glyf对象
* @param {Object} insertIndex 插入的索引
* @return {Number} 添加的glyf
* @return {number} 添加的glyf
*/
TTF.prototype.insertGlyf = function(glyf, insertIndex) {
if (insertIndex >= 0 && insertIndex < this.ttf.glyf.length) {