Basic codemirror editor
This commit is contained in:
+20
-15
@@ -35,23 +35,28 @@ a { color: #cccccc; }
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Make the textarea look presentable (TODO: replace with CodeMirror) */
|
||||
.content textarea {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: #000000;
|
||||
color: #a0a0a0;
|
||||
border: none;
|
||||
resize: none;
|
||||
outline: none;
|
||||
/* Make the editor fill the entire height */
|
||||
.content .editor .cm-editor {
|
||||
height: calc(100vh - 5em)
|
||||
}
|
||||
|
||||
.forge-editor textarea:focus {
|
||||
border: none;
|
||||
outline: none;
|
||||
}
|
||||
/*!* Make the textarea look presentable (TODO: replace with CodeMirror) *!*/
|
||||
/*.content textarea {*/
|
||||
/* height: 100%;*/
|
||||
/* width: 100%;*/
|
||||
/* padding: 0;*/
|
||||
/* margin: 0;*/
|
||||
/* background: #000000;*/
|
||||
/* color: #a0a0a0;*/
|
||||
/* border: none;*/
|
||||
/* resize: none;*/
|
||||
/* outline: none;*/
|
||||
/*}*/
|
||||
|
||||
/*.forge-editor textarea:focus {*/
|
||||
/* border: none;*/
|
||||
/* outline: none;*/
|
||||
/*}*/
|
||||
|
||||
/* Status, btns, tabs all look right */
|
||||
.status, .buttons, .tabbar { font-weight: bold; }
|
||||
|
||||
Reference in New Issue
Block a user