virtual-gamepad-controls.css 684 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .touchZone {
  2. position: absolute;
  3. height: 20vh;
  4. bottom: 0;
  5. }
  6. .touchZone.left {
  7. left: 0;
  8. right: 55%;
  9. }
  10. .touchZone.right {
  11. left: 55%;
  12. right: 0;
  13. }
  14. .mockJoystickContainer {
  15. position: absolute;
  16. height: 0;
  17. left: 0;
  18. right: 0;
  19. bottom: 10vh;
  20. display: flex;
  21. align-items: center;
  22. justify-content: space-around;
  23. }
  24. .mockJoystick {
  25. display: flex;
  26. align-items: center;
  27. justify-content: center;
  28. width: 100px;
  29. height: 100px;
  30. background-color: rgba(255,255,255,0.5);
  31. border-top-left-radius: 50%;
  32. border-top-right-radius: 50%;
  33. border-bottom-right-radius: 50%;
  34. border-bottom-left-radius: 50%;
  35. }
  36. .mockJoystick.inner {
  37. width: 50px;
  38. height: 50px;
  39. }