Use cursor:text on atom-text-editor elements

Signed-off-by: Nathan Sobo <nathan@github.com>
This commit is contained in:
Antonio Scandurra
2017-04-21 18:30:14 +02:00
parent e1ae3749c0
commit efdb044ce6
2 changed files with 4 additions and 3 deletions

View File

@@ -13,14 +13,14 @@
// Editors
& when ( lightness(@syntax-background-color) < 50% ) {
.platform-darwin atom-text-editor:not([mini]) .editor-contents--private {
.platform-darwin atom-text-editor:not([mini]) {
.cursor-white();
}
}
// Mini Editors
& when ( lightness(@input-background-color) < 50% ) {
.platform-darwin atom-text-editor[mini] .editor-contents--private {
.platform-darwin atom-text-editor[mini] {
.cursor-white();
}
}

View File

@@ -5,17 +5,18 @@
atom-text-editor {
display: flex;
font-family: Menlo, Consolas, 'DejaVu Sans Mono', monospace;
cursor: text;
.gutter-container {
width: min-content;
background-color: inherit;
cursor: default;
}
.gutter {
overflow: hidden;
z-index: 0;
text-align: right;
cursor: default;
min-width: 1em;
box-sizing: border-box;
background-color: inherit;