Mercurial > repos > tabletprog
comparison 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 |
comparison
equal
deleted
inserted
replaced
11:5447cff52da6 | 12:6e4851a204a5 |
---|---|
25 { | 25 { |
26 width: 70%; | 26 width: 70%; |
27 display: inline-block; | 27 display: inline-block; |
28 padding: 0; | 28 padding: 0; |
29 margin: 0; | 29 margin: 0; |
30 white-space: pre; | |
31 font-family: monospace; | |
32 overflow: auto; | |
33 height: 100%; | |
30 } | 34 } |
31 | 35 |
32 ul | 36 #editor |
37 { | |
38 display: none; | |
39 height: 100%; | |
40 } | |
41 | |
42 body.editorMode > #editor | |
43 { | |
44 display: block; | |
45 } | |
46 | |
47 body.editorMode > #browser | |
48 { | |
49 display: none; | |
50 } | |
51 | |
52 #editor ul | |
33 { | 53 { |
34 border-style: solid; | 54 border-style: solid; |
35 border-color: black; | 55 border-color: black; |
36 border-width: 1px; | 56 border-width: 1px; |
37 display: block; | 57 display: block; |
42 height: 50%; | 62 height: 50%; |
43 margin: 0; | 63 margin: 0; |
44 overflow: auto; | 64 overflow: auto; |
45 } | 65 } |
46 | 66 |
47 ul:first-child | 67 #editor ul:first-child |
48 { | 68 { |
49 border-bottom-width: 0px; | 69 border-bottom-width: 0px; |
50 } | 70 } |
51 | 71 |
52 #operators, .showops > #builtin | 72 #editor #operators, #editor .showops > #builtin |
53 { | 73 { |
54 display: none; | 74 display: none; |
55 } | 75 } |
56 | 76 |
57 .showops > #operators | 77 #editor .showops > #operators |
58 { | 78 { |
59 display: block; | 79 display: block; |
60 } | 80 } |
61 | 81 |
62 li | 82 #editor li |
63 { | 83 { |
64 display: inline-block; | 84 display: inline-block; |
65 border-style: solid; | 85 border-style: solid; |
66 border-color: lightgrey; | 86 border-color: lightgrey; |
67 border-width: 1px; | 87 border-width: 1px; |