Skip to content

Commit

Permalink
add new pie menu on right-click and long press
Browse files Browse the repository at this point in the history
  • Loading branch information
walterbender committed Aug 18, 2018
1 parent ed55bf3 commit 2675084
Show file tree
Hide file tree
Showing 6 changed files with 264 additions and 58 deletions.
36 changes: 36 additions & 0 deletions css/activity.css
Original file line number Diff line number Diff line change
Expand Up @@ -1083,3 +1083,39 @@ input.timbreName {
margin-left: 40px;
font-weight: bold;
}

.wheelNav {
height: 350px;
width: 350px;
margin: auto;
-moz-transition: ease 1s;
-o-transition: ease 1s;
-webkit-transition: ease 1s;
transition: ease 1s;
}

.wheelNav > svg {
width: 100%;
height: 100%;
}

@media (max-width: 880px) {
.wheelNav {
height: 330px;
width: 330px;
}
}

@media (max-width: 680px) {
.wheelNav {
height: 310px;
width: 310px;
}
}

@media (max-width: 480px) {
.wheelNav {
height: 290px;
width: 290px;
}
}
44 changes: 23 additions & 21 deletions header-icons/copy-button.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ <h2 id="planetWorldwide"></h2>
<div id="myBar"></div>
</div>

<div id="wheelDiv">
<div id="wheelDiv" class="wheelNav">
</div>

<div id="contextWheelDiv" class="wheelNav">
</div>

</div> <!-- hideContents -->
Expand Down
Loading

0 comments on commit 2675084

Please sign in to comment.