Mercurial > repos > tabletprog
comparison editor.css @ 15:a5ef5af3df0f
Add toHTML methods to the rest of the AST nodes. Cleanup the formatting a bit
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 23 Mar 2012 18:06:53 -0700 |
parents | e69f5ab0a453 |
children | 068d63627b16 |
comparison
equal
deleted
inserted
replaced
14:85fb6ba15bc6 | 15:a5ef5af3df0f |
---|---|
95 min-width: 9mm; | 95 min-width: 9mm; |
96 min-height: 9mm; | 96 min-height: 9mm; |
97 cursor: pointer; | 97 cursor: pointer; |
98 } | 98 } |
99 | 99 |
100 /* AST Nodes */ | |
101 #src span | |
102 { | |
103 border-width: 1px; | |
104 border-style: solid; | |
105 border-color: lightgrey; | |
106 display: inline-block; | |
107 } | |
100 | 108 |
109 | |
110 .object:before | |
111 { | |
112 content: '#'; | |
113 } | |
114 | |
115 .lambda | |
116 { | |
117 padding-left: 2em; | |
118 } | |
119 | |
120 .lambda > * | |
121 { | |
122 vertical-align: top; | |
123 } | |
124 | |
125 .lambdabody | |
126 { | |
127 display: inline-block; | |
128 margin-left: 2em; | |
129 } | |
130 | |
131 .lambdabody:before | |
132 { | |
133 content: '{'; | |
134 } | |
135 | |
136 .lambda:after | |
137 { | |
138 display: block; | |
139 content: '}'; | |
140 } | |
141 | |
142 .funcall > .funcall, .assignment > .funcall | |
143 { | |
144 display: inline-block; | |
145 } | |
146 | |
147 .funcall > .funcall:before | |
148 { | |
149 content: '('; | |
150 } | |
151 | |
152 .funcall > .funcall:after | |
153 { | |
154 content: ')'; | |
155 } | |
156 | |
157 .string | |
158 { | |
159 color: #FF1030; | |
160 } |