keyboard.css 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. * {
  2. touch-action: none;
  3. }
  4. .virtual-keyboard-window {
  5. user-select: none;
  6. position: fixed;
  7. top: 0;
  8. width: 800px;
  9. border-radius: 10px;
  10. box-shadow: 0 1px 5px 2px rgba(0, 0, 0, 0.1);
  11. border: 1px solid #ddd;
  12. background: #ececec;
  13. z-index: 999;
  14. overflow: hidden;
  15. }
  16. .virtual-keyboard-window .window-content {
  17. height: 100%;
  18. }
  19. .hg-theme-default .hg-button {
  20. height: 45px;
  21. }
  22. .virtual-keyboard-window .window-top {
  23. cursor: move;
  24. text-align: center;
  25. height: 20px;
  26. border-top-right-radius: 5px;
  27. border-top-left-radius: 5px;
  28. padding: 5px;
  29. background-color: #ddd;
  30. color: #333;
  31. }
  32. .virtual-keyboard-window .btn-close {
  33. display: flex;
  34. align-items: center;
  35. justify-content: center;
  36. position: absolute;
  37. right: 0;
  38. top: 0;
  39. width: 50px;
  40. height: 30px;
  41. box-sizing: border-box;
  42. padding: 5px 15px;
  43. border: none;
  44. background: none;
  45. cursor: pointer;
  46. }
  47. .keyboard-toggle,
  48. .logs-toggle {
  49. width: 20px;
  50. height: 20px;
  51. padding: 5px;
  52. position: absolute;
  53. top: 0;
  54. left: 0;
  55. display: flex;
  56. align-items: center;
  57. justify-content: center;
  58. background: #fff;
  59. opacity: 0.5;
  60. box-shadow: 0 1px 5px 2px rgba(0, 0, 0, 0.1);
  61. color: #333;
  62. border-radius: 4px;
  63. border: 1px solid #ddd;
  64. z-index: 999;
  65. cursor: pointer;
  66. }
  67. .logs-window {
  68. position: absolute;
  69. top: 0;
  70. right: 0;
  71. height: 400px;
  72. background: rgba(0, 0, 0, 0.3);
  73. width: 50%;
  74. color: white;
  75. padding: 20px;
  76. overflow: auto;
  77. display: none;
  78. }