minibar: word-for-word replacement (experimental)

The new functionality also needs some new PGF service functionality, which will
be provided in a separate patch.
This commit is contained in:
hallgren
2012-03-18 20:02:11 +00:00
parent 63e531ad39
commit 771c1a0ad7
4 changed files with 178 additions and 16 deletions

View File

@@ -21,7 +21,7 @@ div#words {
border: 3px solid #e0e0e0;
}
div.word, span.word, div#words div, div#words input[type=button] {
div.word, span.word, div#words div, div#words input[type=button], div#surface input[type=button] {
display: inline-block;
font-family: sans-serif;
font-size: 100%;
@@ -31,6 +31,12 @@ div.word, span.word, div#words div, div#words input[type=button] {
margin: 3px;
box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
div#surface span.editable, div#surface input[type=button] {
color: blue;
border-color: blue;
box-shadow: 2px 2px 4px rgba(0,0,255,0.5)
}
.invalid { color: red; }
@@ -52,4 +58,19 @@ span.field { background-color: #eee; }
pre.feedbacklist { background: white }
img.button { padding: 1px; }
img.button { padding: 1px; }
div.brackets {
margin: 5px;
}
span.brackets {
background: #ddd;
display: inline-block;
border: 1px solid black;
padding: 3px;
}
div.brackets .token {
padding: 0.5ex
}