summaryrefslogtreecommitdiff
path: root/src/www/syntax-editor/editor.css
diff options
context:
space:
mode:
authorjohn.j.camilleri <john.j.camilleri@chalmers.se>2012-11-20 13:56:56 +0000
committerjohn.j.camilleri <john.j.camilleri@chalmers.se>2012-11-20 13:56:56 +0000
commit09c4f8410eba31bafc567a7d4115d62681665938 (patch)
tree929de876163c301a6d3bea28a59d018c3a11eda7 /src/www/syntax-editor/editor.css
parent3eaeaed8fd741bb1f33c76032e7292df08b35a9f (diff)
Syntax editor: update to use common js files
Diffstat (limited to 'src/www/syntax-editor/editor.css')
-rw-r--r--src/www/syntax-editor/editor.css76
1 files changed, 76 insertions, 0 deletions
diff --git a/src/www/syntax-editor/editor.css b/src/www/syntax-editor/editor.css
new file mode 100644
index 000000000..8640a819f
--- /dev/null
+++ b/src/www/syntax-editor/editor.css
@@ -0,0 +1,76 @@
+body {
+ background: #ccc url("http://cloud.grammaticalframework.org/minibar/brushed-metal.png");
+}
+
+.hidden
+{
+ display:none;
+}
+
+select#to_menu
+{
+ height: 10em;
+ position: absolute;
+ min-width: 5em;
+ }
+
+#tree
+{
+ white-space:pre;
+ font-family: monospace;
+ background: rgba(238, 238, 238, 0.6);
+ padding:0.5em;
+ margin:0.5em 0;
+ }
+
+#tree .node
+{
+ margin: 0.4em 0 0.4em 1.5em;
+ }
+
+#tree .node a
+{
+ cursor: pointer;
+ }
+#tree .node a:hover
+{
+ text-decoration: underline;
+ }
+#tree .node a.current
+{
+ font-weight: bold;
+ }
+
+#linearisations
+{
+ /* background: rgba(170, 170, 170, 0.5); */
+ padding:0.5em;
+ margin:0.5em 0;
+ }
+#linearisations div
+{
+ padding:0.2em;
+ }
+#linearisations .lang
+{
+ display: inline-block;
+ margin-right: 0.5em;
+ width: 3em;
+ font-weight: bold;
+ text-align: center;
+ }
+#linearisations .lin
+{
+ }
+
+.refinement
+{
+ margin: 0 0.1em;
+ display: inline-block;
+ cursor: pointer;
+ border: 1px solid;
+ padding: 0.2em;
+ font: 0.9em sans-serif;
+ background: white;
+ }
+