Add ability to drag controller

This commit is contained in:
Arjun Rao
2016-06-22 00:20:19 -07:00
parent 8224e4a59f
commit d09f9a0019
3 changed files with 68 additions and 2 deletions

View File

@@ -34,6 +34,15 @@
margin-left: 1em;
}
#controller.dragging {
opacity: 0.7;
cursor: -webkit-grabbing;
}
#controller.dragging #controls {
display: inline;
}
button {
cursor: pointer;
color: black;
@@ -67,3 +76,11 @@ button.hideButton {
margin: 0 2px 0 15px;
opacity: 0.5;
}
button.dragButton {
cursor: -webkit-grab;
}
button.dragButton:active {
cursor: -webkit-grabbing;
}