Files
atom/static/editor.css
Nathan Sobo 9a639043ca Use default cursor in editor.
This prevents it from sporadically switching to the text insertion
cursor when hovering over lines.
2012-01-28 15:59:38 -08:00

48 lines
738 B
CSS

.editor {
font: 18px Inconsolata, Monaco, Courier !important;
position: relative;
width: 100%;
height: 100%;
background: #333;
color: white;
overflow-y: scroll;
overflow-x: auto;
cursor: default;
}
.editor pre {
margin: 0;
z-index: 1;
}
@-webkit-keyframes blink {
0% { opacity: .7; }
49% { opacity: .7; }
51% { opacity: 0; }
100% { opacity: 0; }
}
.editor .cursor {
border-left: 3px solid #9dff9d;
opacity: 0.7;
}
.editor .cursor.idle {
-webkit-animation: blink 0.6s;
-webkit-animation-iteration-count: infinite;
}
.editor .hidden-input {
position: absolute;
z-index: -1;
top: 0;
left: 0;
opacity: 0;
}
.editor .selection {
position: absolute;
background: white;
opacity: .1;
}