Mercurial > repos > tabletprog
comparison editor.css @ 111:b2a3f202d485
Fleshed out the UI a little. Added a "literal" button that replaces the operator panel with a literal panel. Added the navigation buttons, but they're not functional yet.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 14 Apr 2013 17:24:53 -0700 |
parents | d715fb3c39ab |
children | c0cf9444cf88 |
comparison
equal
deleted
inserted
replaced
110:d715fb3c39ab | 111:b2a3f202d485 |
---|---|
81 display: block; | 81 display: block; |
82 padding: 2px; | 82 padding: 2px; |
83 box-sizing: border-box; | 83 box-sizing: border-box; |
84 -moz-box-sizing: border-box; | 84 -moz-box-sizing: border-box; |
85 -webkit-box-sizing: border-box; | 85 -webkit-box-sizing: border-box; |
86 height: 50%; | 86 height: 33%; |
87 margin: 0; | 87 margin: 0; |
88 overflow: auto; | 88 overflow: auto; |
89 } | 89 } |
90 | 90 |
91 ul#inscope | 91 ul#inscope |
98 #editor ul:first-child | 98 #editor ul:first-child |
99 { | 99 { |
100 border-bottom-width: 0px; | 100 border-bottom-width: 0px; |
101 } | 101 } |
102 | 102 |
103 #editor #operators | 103 #editor #operators, #editor #literals |
104 { | 104 { |
105 display: none; | 105 display: none; |
106 } | 106 } |
107 | 107 |
108 #editor .showops > #operators | 108 #editor .showops > #operators, #editor .showlit > #literals |
109 { | 109 { |
110 display: block; | 110 display: block; |
111 } | 111 } |
112 | 112 |
113 #editor li | 113 #editor li |
121 min-width: 9mm; | 121 min-width: 9mm; |
122 min-height: 9mm; | 122 min-height: 9mm; |
123 cursor: pointer; | 123 cursor: pointer; |
124 } | 124 } |
125 | 125 |
126 #nav > li | |
127 { | |
128 min-width: 20mm; | |
129 } | |
130 | |
126 /* AST Nodes */ | 131 /* AST Nodes */ |
127 #src span | 132 #src span |
128 { | 133 { |
129 border-width: 1px; | 134 border-width: 1px; |
130 border-style: solid; | 135 border-style: solid; |