修改列表样式
This commit is contained in:
@@ -46,6 +46,10 @@
|
||||
color: #4A90E2;
|
||||
}
|
||||
}
|
||||
.i-edit,
|
||||
.i-del {
|
||||
color: lighten(#4A90E2, 10%)
|
||||
}
|
||||
|
||||
.i-edit {
|
||||
.i-ico('\e021');
|
||||
|
||||
@@ -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%;
|
||||
|
||||
@@ -103,14 +103,6 @@ define(
|
||||
|
||||
setting: {},
|
||||
|
||||
viewer: null, // glyf查看器
|
||||
|
||||
project: null, // 项目管理器
|
||||
|
||||
projectViewer: null, // 项目查看器
|
||||
|
||||
ttfManager: null, // ttf管理器
|
||||
|
||||
listening: true, // 正在监听事件
|
||||
|
||||
loading: require('./loading')
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user