【发布时间】:2017-05-24 19:47:28
【问题描述】:
我在 Mac Sierra 上使用 Atom 1.15.0。我想将鼠标光标从细条更改为更明显的东西,例如块。我打开了我的 styles.less 文件并添加了
atom-text-editor .cursor {
transition:opacity 0.5s linear;
}
然后重新启动 Atom,但我的鼠标光标还是像以前一样出现(一条细线)。怎么改?
编辑:包括我的styles.less文件
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed and saved.
*
* Add your own CSS or Less to fully customize Atom.
* If you are unfamiliar with Less, you can read more about it here:
* http://lesscss.org
*/
/*
* Examples
* (To see them, uncomment and save)
*/
// style the background color of the tree view
.tree-view {
// background-color: whitesmoke;
}
// style the background and foreground colors on the atom-text-editor-element itself
atom-text-editor {
// color: white;
// background-color: hsl(180, 24%, 12%);
}
// style UI elements inside atom-text-editor
atom-text-editor .cursor {
transition:opacity 0.5s linear;
}
.editor .cursor {
position: absolute;
border: 1px solid;
background-color: rgba(244,100,122,0.6);
}
atom-text-editor .editor-contents--private { cursor: default; }
【问题讨论】:
标签: cursor styles atom-editor