keyboard.css 1.6 KB

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