diff editor.css @ 12:6e4851a204a5

Add ability to load code into editor
author Mike Pavone <pavone@retrodev.com>
date Wed, 21 Mar 2012 23:13:51 -0700
parents 3d1b8e96f5dc
children e69f5ab0a453
line wrap: on
line diff
--- a/editor.css	Wed Mar 21 21:42:38 2012 -0700
+++ b/editor.css	Wed Mar 21 23:13:51 2012 -0700
@@ -27,9 +27,29 @@
 	display: inline-block;
 	padding: 0;
 	margin: 0;
+	white-space: pre;
+	font-family: monospace;
+	overflow: auto;
+	height: 100%;
+}
+
+#editor
+{
+	display: none;
+	height: 100%;
 }
 
-ul
+body.editorMode > #editor
+{
+	display: block;
+}
+
+body.editorMode > #browser
+{
+	display: none;
+}
+
+#editor ul
 {
 	border-style: solid;
 	border-color: black;
@@ -44,22 +64,22 @@
 	overflow: auto;
 }
 
-ul:first-child
+#editor ul:first-child
 {
 	border-bottom-width: 0px;
 }
 
-#operators, .showops > #builtin
+#editor #operators, #editor .showops > #builtin
 {
 	display: none;
 }
 
-.showops > #operators
+#editor .showops > #operators
 {
 	display: block;
 }
 
-li
+#editor li
 {
 	display: inline-block;
 	border-style: solid;