50 lines
887 B
CSS
50 lines
887 B
CSS
|
.EditorTextWrapper {
|
||
|
position: relative;
|
||
|
background: white;
|
||
|
font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas,
|
||
|
"DejaVu Sans Mono", monospace;
|
||
|
font-weight: normal;
|
||
|
font-size: 1.3rem;
|
||
|
text-align: initial;
|
||
|
}
|
||
|
|
||
|
.EditorTextArea,
|
||
|
.EditorUnderlay {
|
||
|
font-family: inherit;
|
||
|
font-weight: inherit;
|
||
|
font-size: inherit;
|
||
|
padding: 5px;
|
||
|
box-sizing: border-box;
|
||
|
margin: 0;
|
||
|
line-height: normal;
|
||
|
}
|
||
|
|
||
|
.EditorTextArea {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
box-sizing: border-box;
|
||
|
border: none;
|
||
|
background-color: transparent;
|
||
|
resize: none;
|
||
|
outline: none;
|
||
|
}
|
||
|
|
||
|
.EditorUnderlay {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
pointer-events: none;
|
||
|
color: transparent;
|
||
|
white-space: pre-wrap;
|
||
|
word-wrap: break-word;
|
||
|
overflow-y: scroll;
|
||
|
|
||
|
.EditorHighlighted {
|
||
|
background: #ffff00;
|
||
|
}
|
||
|
}
|