Files
atom/static/editor.css
2012-02-03 13:46:03 -08:00

49 lines
767 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;
-webkit-user-select: none;
}
.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;
}