Skip to content

Commit

Permalink
Fix oppia#2754: Math expression input box is more clear (oppia#2785)
Browse files Browse the repository at this point in the history
* Fix oppia#2754: Math expression input box is more clear

* fix line indentation

* address review comments

* remove box shadow
  • Loading branch information
arunabh98 authored and seanlip committed Dec 1, 2016
1 parent e78b7d7 commit be62a40
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions extensions/dependencies/guppy.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,27 @@
'/third_party/static/guppy-be6f14/src/transform.xsl',
'/third_party/static/guppy-be6f14/src/symbols.json');
</script>

<style>
.guppy_active {
border: 1px solid rgba(81, 203, 238, 1);
}

.guppy_inactive {
background: #ffffff;
border: 1px solid black;
}

.guppy_active .main_cursor {
animation: guppy-blink-animation 1s steps(2, start) infinite;
-webkit-animation: guppy-blink-animation 1s steps(2, start) infinite;
}

@keyframes guppy-blink-animation {
to { visibility: hidden; }
}

@-webkit-keyframes guppy-blink-animation {
to { visibility: hidden; }
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<script type="text/ng-template" id="interaction/MathExpressionInput">
<div class="guppy-div"
style="border: 1px solid black; width: 100%; height: 100px; padding: 5px;">
style="width: 100%; height: 100px; padding: 5px;">
</div>
<button type="button" class="btn btn-default"
ng-click="submitAnswer()" style="margin-top: 10px;">
Expand Down

0 comments on commit be62a40

Please sign in to comment.